ports/55736: [Update] Port: mail/qmailadmin
Alex Dupre
sysadmin at alexdupre.com
Wed Aug 20 09:40:38 UTC 2003
>Number: 55736
>Category: ports
>Synopsis: [Update] Port: mail/qmailadmin
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Wed Aug 20 02:40:35 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Alex Dupre
>Release: FreeBSD 4.8-ALEXDUPRE i386
>Organization:
>Environment:
System: FreeBSD 4.8-ALEXDUPRE i386
>Description:
Update to 1.0.26.
Fix security issue.
Add WITHOUT_IDX_SQL knob.
>How-To-Repeat:
>Fix:
--- qmailadmin.diff begins here ---
diff -ruN qmailadmin.orig/Makefile qmailadmin/Makefile
--- qmailadmin.orig/Makefile Tue Aug 19 12:17:03 2003
+++ qmailadmin/Makefile Tue Aug 19 12:24:02 2003
@@ -6,7 +6,7 @@
#
PORTNAME= qmailadmin
-PORTVERSION= 1.0.24
+PORTVERSION= 1.0.26
CATEGORIES= mail www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -50,6 +50,7 @@
# WITH_MODIFY_QUOTA - enable domain admin to modify user quotas
# WITH_DOMAIN_AUTOFILL - autofill the domain on login page based on the
# hostname
+# WITHOUT_IDX_SQL - disable the SQL support for mailing lists
#
CGIBINDIR?= www/cgi-bin.default
@@ -84,7 +85,7 @@
--enable-cgibindir=${PREFIX}/${CGIBINDIR}/${CGIBINSUBDIR} \
--enable-cgipath=${CGIBINURL}/${CGIBINSUBDIR}/qmailadmin \
--enable-vpopmaildir=${LOCALBASE}/vpopmail \
- --enable-autoresponder-bin=${LOCALBASE}/bin \
+ --enable-autoresponder-path=${LOCALBASE}/bin \
--enable-ezmlmdir=${LOCALBASE}/bin
.if defined(WITHOUT_IPAUTH)
@@ -101,6 +102,10 @@
.if defined(WITH_DOMAIN_AUTOFILL)
CONFIGURE_ARGS+= --enable-domain-autofill=y
+.endif
+
+.if defined(WITHOUT_IDX_SQL)
+CONFIGURE_ARGS+= --enable-ezmlm-mysql=n
.endif
.include <bsd.port.post.mk>
diff -ruN qmailadmin.orig/distinfo qmailadmin/distinfo
--- qmailadmin.orig/distinfo Tue Aug 19 12:17:03 2003
+++ qmailadmin/distinfo Tue Aug 19 12:18:00 2003
@@ -1 +1 @@
-MD5 (qmailadmin-1.0.24.tar.gz) = 83c6936538c02c47a6f71caaa2665bf7
+MD5 (qmailadmin-1.0.26.tar.gz) = aebf27ff839bae13cefb09e444a59bdd
diff -ruN qmailadmin.orig/pkg-plist qmailadmin/pkg-plist
--- qmailadmin.orig/pkg-plist Tue Aug 19 12:17:03 2003
+++ qmailadmin/pkg-plist Tue Aug 19 12:17:29 2003
@@ -46,6 +46,7 @@
%%DATADIR%%/html/sk
%%DATADIR%%/html/sv
%%DATADIR%%/html/tr
+%%DATADIR%%/html/xaa
%%CGIBINDIR%%/%%CGIBINSUBDIR%%/qmailadmin
%%WEBDATADIR%%/%%WEBDATASUBDIR%%/images/delete.png
%%WEBDATADIR%%/%%WEBDATASUBDIR%%/images/disabled.png
@@ -68,9 +69,9 @@
%%WEBDATADIR%%/%%WEBDATASUBDIR%%/images/uppermiddle2.png
%%WEBDATADIR%%/%%WEBDATASUBDIR%%/images/upperright.png
@dirrm %%WEBDATADIR%%/%%WEBDATASUBDIR%%/images
- at dirrm %%WEBDATADIR%%/%%WEBDATASUBDIR%%
+ at unexec /bin/rmdir %D/%%WEBDATADIR%%/%%WEBDATASUBDIR%% 2> /dev/null || true
@unexec /bin/rmdir %D/%%WEBDATADIR%% 2> /dev/null || true
- at dirrm %%CGIBINDIR%%/%%CGIBINSUBDIR%%
+ at unexec /bin/rmdir %D/%%CGIBINDIR%%/%%CGIBINSUBDIR%% 2> /dev/null || true
@unexec /bin/rmdir %D/%%CGIBINDIR%% 2> /dev/null || true
@dirrm %%DATADIR%%/html
@dirrm %%DATADIR%%
--- qmailadmin.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list