aboutsummaryrefslogtreecommitdiff
path: root/mail/lurker
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-09-14 20:58:04 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-09-14 20:58:04 +0000
commitbfa7f888ee4797da826bd32c078bd29ed5ab8d45 (patch)
tree449fb0e06e3d626ae2c5c79a3a43455e862e14a6 /mail/lurker
parenta587a52036efad5c7603a2f23c35b5892d6992e5 (diff)
downloadports-bfa7f888ee4797da826bd32c078bd29ed5ab8d45.tar.gz
ports-bfa7f888ee4797da826bd32c078bd29ed5ab8d45.zip
- Allow staging as a regular user
- Bump portrevision as some files were not packaged with intended owner
Notes
Notes: svn path=/head/; revision=368228
Diffstat (limited to 'mail/lurker')
-rw-r--r--mail/lurker/Makefile4
-rw-r--r--mail/lurker/pkg-plist12
2 files changed, 8 insertions, 8 deletions
diff --git a/mail/lurker/Makefile b/mail/lurker/Makefile
index bb67ab604f02..884cbf6fc9d2 100644
--- a/mail/lurker/Makefile
+++ b/mail/lurker/Makefile
@@ -2,7 +2,7 @@
PORTNAME= lurker
PORTVERSION= 2.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= mail
MASTER_SITES= SF:0 \
SF/${PORTNAME}/mimelib/${MIMELIB_VERSION}/:1
@@ -22,6 +22,7 @@ LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --with-mimelib-local \
--with-default-www-dir=${PREFIX}/www/lurker \
--with-cgi-bin-dir=${PREFIX}/www/lurker
+PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
OPTIONS_DEFINE= DOCS
@@ -34,7 +35,6 @@ post-install:
${INSTALL_MAN} ${WRKSRC}/INSTALL ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/FAQ ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/ChangeLog ${STAGEDIR}${DOCSDIR}
- @${CHOWN} -R www:www ${STAGEDIR}${PREFIX}/www/lurker
${INSTALL_DATA} ${WRKSRC}/lurker.conf ${STAGEDIR}${PREFIX}/etc/lurker/lurker.conf.sample
${INSTALL_DATA} ${WRKSRC}/apache.conf ${STAGEDIR}${PREFIX}/etc/lurker/apache.conf.sample
diff --git a/mail/lurker/pkg-plist b/mail/lurker/pkg-plist
index 7a43a4046576..b5925ed81dd0 100644
--- a/mail/lurker/pkg-plist
+++ b/mail/lurker/pkg-plist
@@ -4,12 +4,8 @@ bin/lurker-params
bin/lurker-prune
bin/lurker-regenerate
bin/lurker-search
-@unexec if cmp -s %D/etc/lurker/lurker.conf.sample $D/etc/lurker/lurker.conf; then rm -f $D/etc/lurker/lurker.conf; fi
-etc/lurker/lurker.conf.sample
-@exec if [ ! -f %D/etc/lurker/lurker.conf ] ; then cp -p $D/%F %B/lurker.conf; fi
-@unexec if cmp -s %D/etc/lurker/apache.conf.sample $D/etc/lurker/apache.conf; then rm -f $D/etc/lurker/apache.conf; fi
-etc/lurker/apache.conf.sample
-@exec if [ ! -f %D/etc/lurker/apache.conf ] ; then cp -p $D/%F %B/apache.conf; fi
+@sample etc/lurker/lurker.conf.sample
+@sample etc/lurker/apache.conf.sample
man/man1/lurker-index.1.gz
man/man1/lurker-list.1.gz
man/man1/lurker-params.1.gz
@@ -19,6 +15,8 @@ man/man1/lurker-search.1.gz
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
%%PORTDOCS%%%%DOCSDIR%%/FAQ
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+@owner %%WWWOWN%%
+@group %%WWWGRP%%
www/lurker/bounce.cgi
www/lurker/imgs/a.png
www/lurker/imgs/b.png
@@ -82,5 +80,7 @@ www/lurker/ui/thread.xsl
@dirrm www/lurker/imgs
@dirrm www/lurker/attach
@dirrm www/lurker
+@owner root
+@group wheel
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm etc/lurker