diff -ru /usr/ports/sysutils/ezjail/Makefile ./Makefile --- /usr/ports/sysutils/ezjail/Makefile 2014-01-22 18:00:46.000000000 +0100 +++ ./Makefile 2014-06-01 13:46:54.559769660 +0200 @@ -8,16 +8,8 @@ MAINTAINER= erdgeist@erdgeist.org COMMENT= Framework to easily create, manipulate, and run FreeBSD jails -USE_BZIP2= yes +USES= tar:bzip2 -MAN5= ezjail.conf.5 -MAN7= ezjail.7 -MAN8= ezjail-admin.8 - -NO_STAGE= yes -post-install: - [ -f ${PREFIX}/etc/${PORTNAME}.conf ] || \ - ${CP} -p ${PREFIX}/etc/${PORTNAME}.conf.sample \ - ${PREFIX}/etc/${PORTNAME}.conf +MAKE_ENV= DESTDIR=${STAGEDIR} .include <bsd.port.mk> diff -ru /usr/ports/sysutils/ezjail/pkg-plist ./pkg-plist --- /usr/ports/sysutils/ezjail/pkg-plist 2014-01-22 16:16:56.000000000 +0100 +++ ./pkg-plist 2014-06-01 13:48:19.275149967 +0200 @@ -1,6 +1,4 @@ -@unexec cmp -s %D/etc/ezjail.conf.sample %D/etc/ezjail.conf && rm -f %D/etc/ezjail.conf || true -etc/ezjail.conf.sample -@exec [ -f %B/ezjail.conf ] || cp -p %D/%F %B/ezjail.conf +@sample etc/ezjail.conf.sample etc/rc.d/ezjail bin/ezjail-admin share/zsh/site-functions/ezjail-admin @@ -13,6 +11,9 @@ %%EXAMPLESDIR%%/nullmailer-example/etc/rc.conf %%EXAMPLESDIR%%/nullmailer-example/etc/mail/mailer.conf %%EXAMPLESDIR%%/nullmailer-example/usr/local/etc/nullmailer/remotes +man/man5/ezjail.conf.5.gz +man/man7/ezjail.7.gz +man/man8/ezjail-admin.8.gz @dirrm etc/ezjail @dirrm %%EXAMPLESDIR%%/example/usr/local/etc @dirrm %%EXAMPLESDIR%%/example/usr/local
This one references the wrong version of ezjail. I will roll another one.
Created attachment 143586 [details] New patch. Bumps version number.
It's failing to stage. chown: /usr/ports/sysutils/ezjail/work/stage/usr/local/man/man8/ezjail-admin.8: Operation not permitted chown: /usr/ports/sysutils/ezjail/work/stage/usr/local/man/man5/ezjail.conf.5: Operation not permitted chown: /usr/ports/sysutils/ezjail/work/stage/usr/local/man/man7/ezjail.7: Operation not permitted . . . The "chown" in work/ezjail-3.4/Makefile isn't necessary. Can you check, please? Thanks!
Created attachment 143590 [details] This patch has distinfo for newly rolled ezjail-3.4.tar.b2
I removed the -p flag from the cp lines in the Makefile, removing the need for the later chown. HTH and thanks
A commit references this bug: Author: danilo Date: Tue Jun 10 03:45:47 UTC 2014 New revision: 357253 URL: http://svnweb.freebsd.org/changeset/ports/357253 Log: - Update from 3.3 to 3.4 - Convert USE_BZIP2 to USES - Add stage support PR: ports/190846 Submitted by: erdgeist@erdgeist.org Changes: head/sysutils/ezjail/Makefile head/sysutils/ezjail/distinfo head/sysutils/ezjail/pkg-plist
Committed, thanks!