Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Aug 2003 14:21:10 +0200 (CEST)
From:      Alex Dupre <sysadmin@alexdupre.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        roam@FreeBSD.org
Subject:   ports/55736: [Update] Port: mail/qmailadmin
Message-ID:  <200308191221.h7JCLAPv051426@vaio.alexdupre.com>
Resent-Message-ID: <200308200940.h7K9eae0090196@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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
-@dirrm %%WEBDATADIR%%/%%WEBDATASUBDIR%%
+@unexec /bin/rmdir %D/%%WEBDATADIR%%/%%WEBDATASUBDIR%% 2> /dev/null || true
 @unexec /bin/rmdir %D/%%WEBDATADIR%% 2> /dev/null || true
-@dirrm %%CGIBINDIR%%/%%CGIBINSUBDIR%%
+@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308191221.h7JCLAPv051426>