summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2002-11-24 03:08:37 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2002-11-24 03:08:37 +0000
commit8f06159d307991744e4d7c10fb7abe93545c9fc3 (patch)
tree21f5921c2aa25b742f3448f43eb265d9391f2634
parentUpdated to version 3.9. Added new webdocs author provided for me. (diff)
fix 2 omissions in my previous commit.
1. add Text-Iconv into RUN_DEPENDS 2. replace suidperl with perl Noticed by: Vitor de Matos Carvalho <vitor@softinfo.com.br> Markus Wennrich <nick@schoko.org>
Notes
Notes: svn path=/head/; revision=70936
-rw-r--r--mail/openwebmail/Makefile5
-rw-r--r--mail/openwebmail/pkg-plist15
2 files changed, 20 insertions, 0 deletions
diff --git a/mail/openwebmail/Makefile b/mail/openwebmail/Makefile
index 8b2b844a6465..c11907a0d8fc 100644
--- a/mail/openwebmail/Makefile
+++ b/mail/openwebmail/Makefile
@@ -7,6 +7,7 @@
PORTNAME= openwebmail
PORTVERSION= 1.80
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://openwebmail.org/openwebmail/download/ \
http://turtle.ee.ncku.edu.tw/openwebmail/download/
@@ -16,11 +17,13 @@ MAINTAINER= leeym@FreeBSD.org
RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/CGI.pm:${PORTSDIR}/www/p5-CGI.pm \
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Net/SMTP.pm:${PORTSDIR}/net/p5-Net \
+ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Text/Iconv.pm:${PORTSDIR}/converters/p5-Text-Iconv \
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
NO_BUILD= yes
NO_WRKSUBDIR= yes
OWCGIDIR= ${PREFIX}/www/cgi-bin/openwebmail
+USE_REINPLACE= yes
do-install:
.for dir in cgi-bin data
@@ -35,8 +38,10 @@ do-install:
openwebmail-folder.pl openwebmail-main.pl openwebmail-prefs.pl \
openwebmail-read.pl openwebmail-send.pl openwebmail-spell.pl \
openwebmail-tool.pl openwebmail-viewatt.pl openwebmail.pl
+ @${REINPLACE_CMD} -e 's,suidperl,perl,g' ${OWCGIDIR}/${file}
@${CHMOD} 4555 ${OWCGIDIR}/${file}
.endfor
@${PERL5} ${WRKSRC}/cgi-bin/openwebmail/uty/wrapsuid.pl ${OWCGIDIR}
+ @${OWCGIDIR}/openwebmail-tool.pl --init -y
.include <bsd.port.mk>
diff --git a/mail/openwebmail/pkg-plist b/mail/openwebmail/pkg-plist
index 61447a2dbeb4..1db6baa5f50c 100644
--- a/mail/openwebmail/pkg-plist
+++ b/mail/openwebmail/pkg-plist
@@ -21,9 +21,11 @@ www/cgi-bin/openwebmail/auth_pop3.pl
www/cgi-bin/openwebmail/auth_unix.pl
www/cgi-bin/openwebmail/auth_unix_cobalt.pl
www/cgi-bin/openwebmail/etc/address.book
+www/cgi-bin/openwebmail/etc/b2g.db
www/cgi-bin/openwebmail/etc/b2g.map
www/cgi-bin/openwebmail/etc/calendar.book
www/cgi-bin/openwebmail/etc/filter.book
+www/cgi-bin/openwebmail/etc/g2b.db
www/cgi-bin/openwebmail/etc/g2b.map
www/cgi-bin/openwebmail/etc/lang/bg
www/cgi-bin/openwebmail/etc/lang/ca
@@ -56,6 +58,7 @@ www/cgi-bin/openwebmail/etc/lang/tr
www/cgi-bin/openwebmail/etc/lang/uk
www/cgi-bin/openwebmail/etc/lang/zh_CN.GB2312
www/cgi-bin/openwebmail/etc/lang/zh_TW.Big5
+www/cgi-bin/openwebmail/etc/lunar.db
www/cgi-bin/openwebmail/etc/lunar.map
www/cgi-bin/openwebmail/etc/openwebmail.conf
www/cgi-bin/openwebmail/etc/openwebmail.conf.default
@@ -1265,17 +1268,29 @@ www/cgi-bin/openwebmail/maildb.pl
www/cgi-bin/openwebmail/mailfilter.pl
www/cgi-bin/openwebmail/mime.pl
www/cgi-bin/openwebmail/openwebmail-abook.pl
+www/cgi-bin/openwebmail/openwebmail-abook.pl.bak
www/cgi-bin/openwebmail/openwebmail-advsearch.pl
+www/cgi-bin/openwebmail/openwebmail-advsearch.pl.bak
www/cgi-bin/openwebmail/openwebmail-cal.pl
+www/cgi-bin/openwebmail/openwebmail-cal.pl.bak
www/cgi-bin/openwebmail/openwebmail-folder.pl
+www/cgi-bin/openwebmail/openwebmail-folder.pl.bak
www/cgi-bin/openwebmail/openwebmail-main.pl
+www/cgi-bin/openwebmail/openwebmail-main.pl.bak
www/cgi-bin/openwebmail/openwebmail-prefs.pl
+www/cgi-bin/openwebmail/openwebmail-prefs.pl.bak
www/cgi-bin/openwebmail/openwebmail-read.pl
+www/cgi-bin/openwebmail/openwebmail-read.pl.bak
www/cgi-bin/openwebmail/openwebmail-send.pl
+www/cgi-bin/openwebmail/openwebmail-send.pl.bak
www/cgi-bin/openwebmail/openwebmail-spell.pl
+www/cgi-bin/openwebmail/openwebmail-spell.pl.bak
www/cgi-bin/openwebmail/openwebmail-tool.pl
+www/cgi-bin/openwebmail/openwebmail-tool.pl.bak
www/cgi-bin/openwebmail/openwebmail-viewatt.pl
+www/cgi-bin/openwebmail/openwebmail-viewatt.pl.bak
www/cgi-bin/openwebmail/openwebmail.pl
+www/cgi-bin/openwebmail/openwebmail.pl.bak
www/cgi-bin/openwebmail/ow-shared.pl
www/cgi-bin/openwebmail/pop3mail.pl
www/cgi-bin/openwebmail/uty/dbmtest.pl