Date: Tue, 24 Jul 2012 10:02:59 -0500 From: "Bryan Drewery" <bryan@shatow.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: info@zubkov.info, eadler@FreeBSD.org Subject: ports/170112: [MAINTAINER UPDATE] mail/qmailadmin: Fix ezmlm-idx dependency, add max user/alias override Message-ID: <20120724150330.E3FCE1065670@hub.freebsd.org> Resent-Message-ID: <201207241510.q6OFA4ob035620@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 170112 >Category: ports >Synopsis: [MAINTAINER UPDATE] mail/qmailadmin: Fix ezmlm-idx dependency, add max user/alias override >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue Jul 24 15:10:04 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Bryan Drewery >Release: FreeBSD 8.3-RELEASE i386 >Organization: >Environment: >Description: - Fix ezmlm-idx dependency with IDX option - Allow overriding max users/aliases per page (Submitted By: Alexander Zubkov <info@zubkov.info>) - Bump PORTREVISION due to fixed dependency >How-To-Repeat: >Fix: --- patch-qmailadmin-1.2.15_1.txt begins here --- diff --git Makefile Makefile index 94849a5..47b1e9a 100644 --- Makefile +++ Makefile @@ -7,6 +7,7 @@ PORTNAME= qmailadmin PORTVERSION= 1.2.15 +PORTREVISION= 1 PORTEPOCH= 2 CATEGORIES= mail www MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-stable/${PORTVERSION} @@ -24,17 +25,26 @@ RUN_DEPENDS= \ autorespond:${PORTSDIR}/mail/autorespond \ ${VPOPMAIL_DIR}/lib/libvpopmail.a:${PORTSDIR}/mail/vpopmail -.include <bsd.port.options.mk> +CONFLICTS= qmailadmin-devel-1.* -.if empty(PORT_OPTIONS:MIDX) -BUILD_DEPENDS+= ezmlm-send:${PORTSDIR}/mail/ezmlm -RUN_DEPENDS+= ezmlm-send:${PORTSDIR}/mail/ezmlm -.else -BUILD_DEPENDS+= ezmlm-idx:${PORTSDIR}/mail/ezmlm-idx -RUN_DEPENDS+= ezmlm-idx:${PORTSDIR}/mail/ezmlm-idx -.endif +OPTIONS_DEFINE= IPAUTH USER_INDEX MODIFY_QUOTA DOMAIN_AUTOFILL \ + IDX IDX_SQL HELP SPAM_DETECTION SPAM_NEEDS_EMAIL \ + CATCHALL TRIVIAL_PASSWORD NOCACHE +OPTIONS_DEFAULT=IPAUTH IDX_SQL USER_INDEX CATCHALL TRIVIAL_PASSWORD +IPAUTH_DESC= Check IP address after login +USER_INDEX_DESC= Enable user index display +MODIFY_QUOTA_DESC= Allow domain admin to modify quotas +DOMAIN_AUTOFILL_DESC= Autofill domain on login using hostname +IDX_DESC= Use ezmlm-idx instead of ezmlm +IDX_SQL_DESC= Enable MySQL support for ezmlm +HELP_DESC= Show help links on login page +SPAM_DETECTION_DESC= Allow users to toggle spam checking +SPAM_NEEDS_EMAIL_DESC= Append user's email to spam command +CATCHALL_DESC= Enable catch-all accounts +TRIVIAL_PASSWORD_DESC= Disallow password containing username +NOCACHE_DESC= Prohibit caching via http headers -CONFLICTS= qmailadmin-devel-1.* +.include <bsd.port.options.mk> # vpopmail installation directory # @@ -54,24 +64,6 @@ WANT_QMAIL= yes # default is "|preline LOCALBASE/bin/maildrop /etc/mailfilter" # do not forget the "|" at the start # USER_INDEX - might confuse earlier versions of Internet Explorer - -OPTIONS_DEFINE= IPAUTH USER_INDEX MODIFY_QUOTA DOMAIN_AUTOFILL \ - IDX IDX_SQL HELP SPAM_DETECTION SPAM_NEEDS_EMAIL \ - CATCHALL TRIVIAL_PASSWORD NOCACHE -OPTIONS_DEFAULT=IPAUTH IDX_SQL USER_INDEX CATCHALL TRIVIAL_PASSWORD -IPAUTH_DESC= Check IP address after login -USER_INDEX_DESC= Enable user index display -MODIFY_QUOTA_DESC= Allow domain admin to modify quotas -DOMAIN_AUTOFILL_DESC= Autofill domain on login using hostname -IDX_DESC= Use ezmlm-idx instead of ezmlm -IDX_SQL_DESC= Enable MySQL support for ezmlm -HELP_DESC= Show help links on login page -SPAM_DETECTION_DESC= Allow users to toggle spam checking -SPAM_NEEDS_EMAIL_DESC= Append user's email to spam command -CATCHALL_DESC= Enable catch-all accounts -TRIVIAL_PASSWORD_DESC= Disallow password containing username -NOCACHE_DESC= Prohibit caching via http headers - # CGIBINDIR - location of your cgi directory # CGIBINSUBDIR - subdirectory to place cgi scripts in # CGIBINURL - location of your cgi directory in a URL @@ -84,12 +76,22 @@ CGIBINURL?= /cgi-bin WEBDATADIR?= www/data.default WEBDATASUBDIR?= qmailadmin WEBDATAURL?= +MAXUSERSPERPAGE?= 15 +MAXALIASESPERPAGE?= 25 PLIST_SUB+= CGIBINDIR="${CGIBINDIR}" CGIBINSUBDIR="${CGIBINSUBDIR}" \ WEBDATADIR="${WEBDATADIR}" WEBDATASUBDIR="${WEBDATASUBDIR}" # End of user-configurable variables +.if empty(PORT_OPTIONS:MIDX) +BUILD_DEPENDS+= ezmlm-send:${PORTSDIR}/mail/ezmlm +RUN_DEPENDS+= ezmlm-send:${PORTSDIR}/mail/ezmlm +.else +BUILD_DEPENDS+= ezmlm-idx:${PORTSDIR}/mail/ezmlm-idx +RUN_DEPENDS+= ezmlm-idx:${PORTSDIR}/mail/ezmlm-idx +.endif + CONFIGURE_ARGS+= \ --enable-qmaildir=${QMAIL_PREFIX} \ --enable-htmldir=${PREFIX}/${WEBDATADIR}/${WEBDATASUBDIR} \ @@ -100,6 +102,8 @@ CONFIGURE_ARGS+= \ --enable-cgipath=${CGIBINURL}/${CGIBINSUBDIR}/qmailadmin \ --enable-vpopmaildir=${VPOPMAIL_DIR} \ --enable-autoresponder-path=${LOCALBASE}/bin \ + --enable-maxusersperpage=${MAXUSERSPERPAGE} \ + --enable-maxaliasesperpage=${MAXALIASESPERPAGE} \ --enable-ezmlmdir=${LOCALBASE}/bin .if empty(PORT_OPTIONS:MIPAUTH) --- patch-qmailadmin-1.2.15_1.txt ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120724150330.E3FCE1065670>