SVN revision 302141 labeled "Move the rc.d scripts of the form *.sh.in to *.in" broke net-mgmt/ng_ipacct installation. Fix: Unknown How-To-Repeat: # make -dl -C /usr/ports/net-mgmt/ng_ipacct all install true /usr/bin/sed -e s!%%PREFIX%%!/usr/local!g -e s!%%LOCALBASE%%!/usr/local!g -e s!%%DATADIR%%!/usr/local/share/ng_ipacct!g -e s!%%DOCSDIR%%!/usr/local/share/doc/ng_ipacct!g -e s!%%EXAMPLESDIR%%!/usr/local/share/examples/ng_ipacct!g -e s!%%WWWDIR%%!/usr/local/www/ng_ipacct!g -e s!%%ETCDIR%%!/usr/local/etc/ng_ipacct!g -e '/^@comment /d' /usr/local/ports/net-mgmt/ng_ipacct/files/pkg-message.in > /var/tmp/usr/local/ports/net-mgmt/ng_ipacct/work/pkg-message /usr/bin/sed -e s!%%PREFIX%%!/usr/local!g -e s!%%LOCALBASE%%!/usr/local!g -e s!%%DATADIR%%!/usr/local/share/ng_ipacct!g -e s!%%DOCSDIR%%!/usr/local/share/doc/ng_ipacct!g -e s!%%EXAMPLESDIR%%!/usr/local/share/examples/ng_ipacct!g -e s!%%WWWDIR%%!/usr/local/www/ng_ipacct!g -e s!%%ETCDIR%%!/usr/local/etc/ng_ipacct!g -e '/^@comment /d' /usr/local/ports/net-mgmt/ng_ipacct/files/ng_ipacct.in > /var/tmp/usr/local/ports/net-mgmt/ng_ipacct/work/ng_ipacct cannot create /var/tmp/usr/local/ports/net-mgmt/ng_ipacct/work/ng_ipacct: Is a directory *** Error code 2
Responsible Changed From-To: freebsd-ports-bugs->skv Over to maintainer (via the GNATS Auto Assign Tool)
Author: dougb Date: Mon Aug 13 10:22:57 2012 New Revision: 302462 URL: http://svn.freebsd.org/changeset/ports/302462 Log: Fix problem introduced in r302141. The directory for the unpacked source files is unversioned, so it conflicts with the name of the rc.d script in WRKDIR after SUB_FILES is applied. PR: ports/170592 Submitted by: Eugene Grosbein <eugen@eg.sd.rdtc.ru> Modified: head/net-mgmt/ng_ipacct/Makefile Modified: head/net-mgmt/ng_ipacct/Makefile ============================================================================== --- head/net-mgmt/ng_ipacct/Makefile Mon Aug 13 08:38:27 2012 (r302461) +++ head/net-mgmt/ng_ipacct/Makefile Mon Aug 13 10:22:57 2012 (r302462) @@ -25,7 +25,7 @@ OPTIONS= MEM_ZONE "Use UMA zone allocato KMODDIR= /boot/modules PLIST_SUB+= KMODDIR=${KMODDIR:S!^/!!} -WRKSRC= ${WRKDIR}/${PORTNAME} +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} MAKE_ENV= BINDIR="${PREFIX}/sbin" KMODDIR=${KMODDIR} MAN8= ipacctctl.8 @@ -41,6 +41,9 @@ SUB_FILES= pkg-message CFLAGS+= -DMEM_USE_ZONE .endif +post-extract: + @${MV} ${WRKDIR}/${PORTNAME} ${WRKSRC} + post-install: @${MKDIR} ${PREFIX}/include/netgraph ${INSTALL_DATA} ${WRKSRC}/ng_ipacct/ng_ipacct.h ${PREFIX}/include/netgraph _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Fixed in r302462.
Responsible Changed From-To: skv->dougb My bug, my fix.