diff options
author | Yen-Ming Lee <leeym@FreeBSD.org> | 2003-10-08 04:24:30 +0000 |
---|---|---|
committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2003-10-08 04:24:30 +0000 |
commit | d1f06513bd419fcaa5816e06f077101dfa0dfed4 (patch) | |
tree | 24825f52667db331420cdadbfa12690616f2e793 /mail | |
parent | Port update: www/elinks Elinks crashes on frameset webpages (diff) |
update to drbl-2.1
drop maintainership
Noticed by: http://people.freebsd.org/~fenner/portsurvey/mail.html#drbl
Notes
Notes:
svn path=/head/; revision=90593
Diffstat (limited to 'mail')
-rw-r--r-- | mail/drbl/Makefile | 32 | ||||
-rw-r--r-- | mail/drbl/distinfo | 2 | ||||
-rw-r--r-- | mail/drbl/pkg-plist | 18 |
3 files changed, 37 insertions, 15 deletions
diff --git a/mail/drbl/Makefile b/mail/drbl/Makefile index 8c2386186037..b10657b1c52e 100644 --- a/mail/drbl/Makefile +++ b/mail/drbl/Makefile @@ -6,23 +6,39 @@ # PORTNAME= drbl -PORTVERSION= 1.06 +PORTVERSION= 2.1 CATEGORIES= mail -MASTER_SITES= ftp://ftp.drbl.ofisp.org/drbl/ -EXTRACT_SUFX= .tgz +MASTER_SITES= http://www.agk.nnov.ru/drbl/prog/ -MAINTAINER= leeym@FreeBSD.org +MAINTAINER= ports@FreeBSD.org COMMENT= Distributed Realtime Black List NO_BUILD= yes +WRKSRC= ${WRKDIR}/${PORTNAME} +USE_PERL5= yes + +post-patch: + @${PERL} -pi.bak -e 's,./drblnode.conf,${PREFIX}/etc/drblnode.conf,g' ${WRKSRC}/*pl + @${PERL} -pi.bak -e 's,(config.pl|drbllib.pl),${DATADIR}/\1,g' ${WRKSRC}/*pl + @${PERL} -pi.bak -e 's,./header,${DATADIR}/header,g' ${WRKSRC}/drblnode.conf.sample + @${PERL} -pi.bak -e 's, do_, ${PREFIX}/bin/do_,g' ${WRKSRC}/create_drbl.sh do-install: @${MKDIR} ${DATADIR} -.for file in README header zones - @${INSTALL_DATA} ${WRKSRC}/${file} ${DATADIR} +.for f in config.pl drbllib.pl header + ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${DATADIR} .endfor -.for file in access2drbl build_drbl - @${INSTALL_SCRIPT} ${WRKSRC}/${file} ${PREFIX}/bin + @${MKDIR} ${PREFIX}/etc + ${INSTALL_DATA} ${WRKSRC}/drblnode.conf.sample ${PREFIX}/etc +.if !exists(${PREFIX}/etc/drblnode.conf) + ${CP} ${PREFIX}/etc/drblnode.conf.sample ${PREFIX}/etc/drblnode.conf +.endif +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} +.endif +.for f in create_drbl.sh do_drbl.pl do_info.pl do_vote.pl + ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${PREFIX}/bin .endfor .include <bsd.port.mk> diff --git a/mail/drbl/distinfo b/mail/drbl/distinfo index 74df4e47af42..8cf33288185f 100644 --- a/mail/drbl/distinfo +++ b/mail/drbl/distinfo @@ -1 +1 @@ -MD5 (drbl-1.06.tgz) = 86e2ab4fc2ad4f5849e38e9514f862ad +MD5 (drbl-2.1.tar.gz) = 60a384775cd1bbd83c6e051c2231512c diff --git a/mail/drbl/pkg-plist b/mail/drbl/pkg-plist index ebe312f97de9..e11763da4a13 100644 --- a/mail/drbl/pkg-plist +++ b/mail/drbl/pkg-plist @@ -1,6 +1,12 @@ -bin/access2drbl -bin/build_drbl -share/drbl/README -share/drbl/header -share/drbl/zones -@dirrm share/drbl +bin/create_drbl.sh +bin/do_drbl.pl +bin/do_info.pl +bin/do_vote.pl +@unexec if cmp -s %D/etc/drblnode.conf %D/etc/drblnode.conf.sample; then rm -f %D/etc/drblnode.conf; fi +etc/drblnode.conf.sample +%%DATADIR%%/config.pl +%%DATADIR%%/drbllib.pl +%%DATADIR%%/header +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%@dirrm %%DOCSDIR%% +@dirrm %%DATADIR%% |