Update to qmailadmin-1.0.26, which, among others, fixes a security

issue with user-specified local program filters in .qmail files.
Add the WITHOUT_IDX_SQL knob to disable qmailadmin's fiddling with
the ezmlm-idx SQL database in case ezmlm-idx does *not* use an SQL
database at all :)

PR:		55736
Submitted by:	Alex Dupre <sysadmin@alexdupre.com>
This commit is contained in:
Peter Pentchev 2003-09-01 10:41:05 +00:00
parent 634416ffdc
commit 0edeb875af
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=88257
6 changed files with 22 additions and 10 deletions

View File

@ -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 @@ USE_GMAKE= YES
# 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 @@ CONFIGURE_ARGS+= \
--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)
@ -103,4 +104,8 @@ CONFIGURE_ARGS+= --enable-modify-quota=y
CONFIGURE_ARGS+= --enable-domain-autofill=y
.endif
.if defined(WITHOUT_IDX_SQL)
CONFIGURE_ARGS+= --enable-ezmlm-mysql=n
.endif
.include <bsd.port.post.mk>

View File

@ -1 +1 @@
MD5 (qmailadmin-1.0.24.tar.gz) = 83c6936538c02c47a6f71caaa2665bf7
MD5 (qmailadmin-1.0.26.tar.gz) = aebf27ff839bae13cefb09e444a59bdd

View File

@ -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%%

View File

@ -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 @@ USE_GMAKE= YES
# 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 @@ CONFIGURE_ARGS+= \
--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)
@ -103,4 +104,8 @@ CONFIGURE_ARGS+= --enable-modify-quota=y
CONFIGURE_ARGS+= --enable-domain-autofill=y
.endif
.if defined(WITHOUT_IDX_SQL)
CONFIGURE_ARGS+= --enable-ezmlm-mysql=n
.endif
.include <bsd.port.post.mk>

View File

@ -1 +1 @@
MD5 (qmailadmin-1.0.24.tar.gz) = 83c6936538c02c47a6f71caaa2665bf7
MD5 (qmailadmin-1.0.26.tar.gz) = aebf27ff839bae13cefb09e444a59bdd

View File

@ -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%%