ports/169984: [MAINTAINER UPDATE] www/aolserver: Misc updates
Bryan Drewery
bryan at shatow.net
Wed Jul 18 20:40:05 UTC 2012
>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%%
- at exec mkdir -p %%AOLSERVERBASE%%/log
- at exec mkdir -p %%AOLSERVERBASE%%/servers/server1/modules/nslog
+ at exec mkdir -p %D/%%AOLSERVERBASE%%/log
+ at 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:
More information about the freebsd-ports-bugs
mailing list