ports/86560: net/freenx update to 0.4.4_1 (bugfix)

freenx at deweyonline.com freenx at deweyonline.com
Sun Sep 25 15:00:32 UTC 2005


>Number:         86560
>Category:       ports
>Synopsis:       net/freenx update to 0.4.4_1 (bugfix)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 25 15:00:28 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     dewey hylton
>Release:        FreeBSD 5.2.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD freenx.deweyonline.com 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Mon Feb 23 20:45:55 GMT 2004 root at wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
	fix for: nxsetup fails without --uid and --gid flags
>How-To-Repeat:
	
>Fix:

	

--- freenx-0.4.4_1.diff begins here ---
diff -ruN freenx-0.4.4/Makefile freenx-0.4.4_1/Makefile
--- freenx-0.4.4/Makefile	Sun Sep 25 09:12:42 2005
+++ freenx-0.4.4_1/Makefile	Sun Sep 25 09:12:13 2005
@@ -2,11 +2,12 @@
 # Date created:                         Sat 11 Sep 2004
 # Whom:                                 Lauri Watts <lauri at kde.org>
 #
-# $FreeBSD: ports/net/freenx/Makefile,v 1.3 2005/07/28 08:51:50 pav Exp $
+# $FreeBSD: ports/net/freenx/Makefile,v 1.4 2005/09/09 23:45:26 pav Exp $
 #
 
 PORTNAME=	freenx
 PORTVERSION=	0.4.4
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	http://download.berlios.de/freenx/ \
 		http://debian.tu-bs.de/knoppix/nx/
diff -ruN freenx-0.4.4/files/patch-freenx-nxsetup freenx-0.4.4_1/files/patch-freenx-nxsetup
--- freenx-0.4.4/files/patch-freenx-nxsetup	Tue Aug  9 17:05:45 2005
+++ freenx-0.4.4_1/files/patch-freenx-nxsetup	Sun Sep 25 09:10:25 2005
@@ -24,9 +24,9 @@
 +	elif [ "$(uname)" = "FreeBSD" ]
 +	then
 +		USERADD_OPTIONS="-d $NX_HOME_DIR -s $PATH_BIN/nxserver"
-+		[ -n $SETUP_UID ] && USERADD_OPTIONS="-u $SETUP_UID $USERADD_OPTIONS"
-+		[ -n $SETUP_GID ] && USERADD_OPTIONS="-g $SETUP_GID $USERADD_OPTIONS"
-+		[ -n $SETUP_GID ] && pw groupadd nx -g $SETUP_GID
++		[ -n "$SETUP_UID" ] && USERADD_OPTIONS="-u $SETUP_UID $USERADD_OPTIONS"
++		[ -n "$SETUP_GID" ] && USERADD_OPTIONS="-g $SETUP_GID $USERADD_OPTIONS"
++		[ -n "$SETUP_GID" ] && pw groupadd nx -g $SETUP_GID
 +		pw useradd nx $USERADD_OPTIONS
 +
  	# no, its a "normal" useradd
--- freenx-0.4.4_1.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list