Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jul 2012 15:34:20 -0500
From:      "Bryan Drewery" <bryan@shatow.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/169984: [MAINTAINER UPDATE] www/aolserver: Misc updates
Message-ID:  <20120718203432.33C66106566C@hub.freebsd.org>
Resent-Message-ID: <201207182040.q6IKe4rW001241@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         169984
>Category:       ports
>Synopsis:       [MAINTAINER UPDATE] www/aolserver: Misc updates
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 18 20:40:04 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Bryan Drewery
>Release:        FreeBSD 8.3-RELEASE i386
>Organization:
>Environment:

	
>Description:
	- Remove pre/post include
	- No need for ARCH check since ONLY_FOR_ARCHS is used
	- Use USERS/GROUPS
	- Fix invalid @exec in plist causing directory to be created in the wrong place with pkgng

	To committer, please add this to GIDs (from base /etc/group):
	nogroup:*:65533:
>How-To-Repeat:
	
>Fix:

	

--- patch-aolserver.txt begins here ---
diff --git Makefile Makefile
index eadcd7f..7448ea8 100644
--- Makefile
+++ Makefile
@@ -26,6 +26,8 @@ WRKSRC=		${WRKDIR}/${DISTNAME:S/-src//}
 AOLSERVERBASE?=	${PORTNAME}
 AOLSERVERUSER?=	nobody
 AOLSERVERGROUP?=	nogroup
+USERS=	${AOLSERVERUSER}
+GROUPS=	${AOLSERVERGROUP}
 
 MANPREFIX=	${PREFIX}/${AOLSERVERBASE}
 USE_GMAKE=	yes
@@ -52,15 +54,11 @@ HTMLDOCS_DESC=	Install HTML documentation
 MANPAGES_DESC=	Install manpages
 TESTS_DESC=	Install tests in example directory
 
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
 SUB_LIST+=	MKDIR="${MKDIR}" ECHO_CMD="${ECHO_CMD}" \
 		CHOWN="${CHOWN}" CHMOD="${CHMOD}"
 
-.if (${ARCH} == "ia64")
-BROKEN=		does not compile on ia64
-.endif
-
 CONFIGURE_ENV+=		TCLSH="${TCLSH}"
 CONFIGURE_ARGS+=	--prefix="${PREFIX}/${AOLSERVERBASE}" \
 			--with-tcl="${TCL_LIBDIR}"
@@ -738,4 +736,4 @@ post-install:
 
 	@${CAT} ${PKGMESSAGE}
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git pkg-plist pkg-plist
index 52d6432..873ec97 100644
--- pkg-plist
+++ pkg-plist
@@ -832,8 +832,8 @@
 @dirrmtry %%AOLSERVERBASE%%/servers/server1
 @dirrmtry %%AOLSERVERBASE%%/servers
 @dirrmtry %%AOLSERVERBASE%%
-@exec mkdir -p %%AOLSERVERBASE%%/log
-@exec mkdir -p %%AOLSERVERBASE%%/servers/server1/modules/nslog
+@exec mkdir -p %D/%%AOLSERVERBASE%%/log
+@exec mkdir -p %D/%%AOLSERVERBASE%%/servers/server1/modules/nslog
 %%TESTS%%%%EXAMPLESDIR%%/tests/adp/test1.adp
 %%TESTS%%%%EXAMPLESDIR%%/tests/adp/test2.adp
 %%TESTS%%%%EXAMPLESDIR%%/tests/adp/test3.adp
--- patch-aolserver.txt ends here ---


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120718203432.33C66106566C>