From owner-freebsd-ports-bugs Fri Feb 21 10: 1: 3 2003 Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 526DC37B405 for ; Fri, 21 Feb 2003 10:00:57 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C85C43FEA for ; Fri, 21 Feb 2003 10:00:27 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h1LI0QNS020655 for ; Fri, 21 Feb 2003 10:00:26 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h1LI0QL7020654; Fri, 21 Feb 2003 10:00:26 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D87D437B401 for ; Fri, 21 Feb 2003 09:58:51 -0800 (PST) Received: from mail.netbeat.de (mail.netbeat.de [62.208.140.19]) by mx1.FreeBSD.org (Postfix) with SMTP id B620E43FB1 for ; Fri, 21 Feb 2003 09:58:50 -0800 (PST) (envelope-from olivleh1@dill.salatschuessel.net) Received: (qmail 10319 invoked from network); 21 Feb 2003 18:17:53 -0000 Received: from pd9e2122a.dip.t-dialin.net (HELO dill.salatschuessel.net) (217.226.18.42) by mail.netbeat.de with SMTP; 21 Feb 2003 18:17:53 -0000 Received: (qmail 47435 invoked by uid 0); 21 Feb 2003 17:58:20 -0000 Message-Id: <20030221175820.47434.qmail@dill.salatschuessel.net> Date: 21 Feb 2003 17:58:20 -0000 From: Oliver Lehmann Reply-To: Oliver Lehmann To: FreeBSD-gnats-submit@FreeBSD.org Cc: Oliver Lehmann X-Send-Pr-Version: 3.113 Subject: ports/48534: update-port: mail/vqadmin Sender: owner-freebsd-ports-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 48534 >Category: ports >Synopsis: update-port: mail/vqadmin >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Feb 21 10:00:26 PST 2003 >Closed-Date: >Last-Modified: >Originator: Oliver Lehmann >Release: FreeBSD 4.7-STABLE alpha >Organization: >Environment: System: FreeBSD dill.salatschuessel.net 4.7-STABLE FreeBSD 4.7-STABLE #0: Sat Nov 23 21:30:45 CET 2002 olivleh1@dill.salatschuessel.net:/usr/obj/alpha/usr/src/sys/DILL alpha >Description: version: 2.2 -> 2.3.5 new files: files/patch-configure files/Makefile.in please close: ports/47186 >How-To-Repeat: >Fix: --- vqadmin.patch begins here --- diff -ruN vqadmin.old/Makefile /usr/ports/mail/vqadmin/Makefile --- vqadmin.old/Makefile Fri Feb 21 18:52:00 2003 +++ /usr/ports/mail/vqadmin/Makefile Fri Feb 21 18:46:43 2003 @@ -6,18 +6,34 @@ # PORTNAME= vqadmin -PORTVERSION= 2.2 +PORTVERSION= 2.3.5 CATEGORIES= mail -MASTER_SITES= http://www.inter7.com/vqadmin/ +MASTER_SITES= http://www.inter7.com/devel/ \ + http://www.inter7.com/vqadmin/ MAINTAINER= nbm@FreeBSD.org +LIB_DEPENDS= getline:${PORTSDIR}/devel/libgetline BUILD_DEPENDS= \ - ${LOCALBASE}/vpopmail/lib/libvpopmail.a:${PORTSDIR}/mail/vpopmail + ${LOCALBASE}/vpopmail/lib/libvpopmail.a:${PORTSDIR}/mail/vpopmail RUN_DEPENDS= \ - ${LOCALBASE}/vpopmail/lib/libvpopmail.a:${PORTSDIR}/mail/vpopmail + ${LOCALBASE}/vpopmail/lib/libvpopmail.a:${PORTSDIR}/mail/vpopmail GNU_CONFIGURE= YES -CONFIGURE_ARGS= --enable-cgibindir=${PREFIX}/www/cgi-bin.default/ +USE_REINPLACE= YES -.include +CGI_ROOT?=${PREFIX}/www/cgi-bin.default +DOC_ROOT?=${PREFIX}/www/htdocs + +CONFIGURE_ARGS= --enable-cgibindir=${CGI_ROOT} \ + --enable-htmldir=${DOC_ROOT} + +.include + +PLIST_SUB+= CGI_ROOT=${CGI_ROOT} DOC_ROOT=${DOC_ROOT} + +post-patch: + @${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" \ + ${WRKSRC}/Makefile.in + +.include diff -ruN vqadmin.old/distinfo /usr/ports/mail/vqadmin/distinfo --- vqadmin.old/distinfo Fri Feb 21 18:52:00 2003 +++ /usr/ports/mail/vqadmin/distinfo Fri Feb 21 18:44:51 2003 @@ -1 +1 @@ -MD5 (vqadmin-2.2.tar.gz) = 1584061e56a6bc7b5d4c5175c6b0cba6 +MD5 (vqadmin-2.3.5.tar.gz) = 38636d74f6d919e97bbe55c3a096444b diff -ruN vqadmin.old/files/patch-Makefile.in /usr/ports/mail/vqadmin/files/patch-Makefile.in --- vqadmin.old/files/patch-Makefile.in Thu Jan 1 01:00:00 1970 +++ /usr/ports/mail/vqadmin/files/patch-Makefile.in Sat Jan 18 12:27:10 2003 @@ -0,0 +1,11 @@ +--- Makefile.in.orig Sat Jan 18 12:25:01 2003 ++++ Makefile.in Sat Jan 18 12:26:45 2003 +@@ -96,7 +96,7 @@ + + CPPFLAGS = @CPPFLAGS@ + LDFLAGS = @LDFLAGS@ +-LIBS = @LIBS@ ++LIBS = -L%%LOCALBASE%%/lib -lgetline @LIBS@ + vqadmin_OBJECTS = vqadmin.o cgi.o template.o global.o acl.o misc.o \ + domain.o lang.o user.o cedit.o + vqadmin_DEPENDENCIES = diff -ruN vqadmin.old/files/patch-configure /usr/ports/mail/vqadmin/files/patch-configure --- vqadmin.old/files/patch-configure Thu Jan 1 01:00:00 1970 +++ /usr/ports/mail/vqadmin/files/patch-configure Fri Feb 21 18:43:52 2003 @@ -0,0 +1,31 @@ +--- configure.orig Fri Feb 21 18:40:17 2003 ++++ configure Fri Feb 21 18:43:08 2003 +@@ -1389,19 +1389,17 @@ + cgibindir="" + wwwroot="" + +-for f in /home/httpd /usr/local/apache /usr/local/www /var/lib/httpd /var/www /usr/local/www /var/www +-do +- if test -d $f/html +- then +- wwwroot=$f/html +- fi ++if test "${enable_htmldir+set}" = set; then ++ enableval="$enable_htmldir" ++ wwwroot="$enableval" ++else + +- if test -d $f/cgi-bin +- then +- cgibindir=$f/cgi-bin +- fi +-done ++ if test "$wwwroot" = "" ++ then ++ { echo "configure: error: Unable to find your html directory, specify --enable-htmldir." 1>&2; exit 1; } ++ fi + ++fi + + + # Check whether --enable-cgibindir or --disable-cgibindir was given. diff -ruN vqadmin.old/pkg-plist /usr/ports/mail/vqadmin/pkg-plist --- vqadmin.old/pkg-plist Fri Feb 21 18:52:00 2003 +++ /usr/ports/mail/vqadmin/pkg-plist Fri Feb 21 18:49:45 2003 @@ -1,27 +1,41 @@ -bin/vqadmin -www/cgi-bin.default/vqadmin/.htaccess -www/cgi-bin.default/vqadmin/html/add_domain.html -www/cgi-bin.default/vqadmin/html/add_user.html -www/cgi-bin.default/vqadmin/html/auth_failed.html -www/cgi-bin.default/vqadmin/html/br -www/cgi-bin.default/vqadmin/html/del_domain.html -www/cgi-bin.default/vqadmin/html/del_user.html -www/cgi-bin.default/vqadmin/html/en -www/cgi-bin.default/vqadmin/html/en-us -www/cgi-bin.default/vqadmin/html/error.html -www/cgi-bin.default/vqadmin/html/info_user.html -www/cgi-bin.default/vqadmin/html/init_error.html -www/cgi-bin.default/vqadmin/html/it -www/cgi-bin.default/vqadmin/html/main.html -www/cgi-bin.default/vqadmin/html/mod_domain.html -www/cgi-bin.default/vqadmin/html/mod_user.html -www/cgi-bin.default/vqadmin/html/show_domains.html -www/cgi-bin.default/vqadmin/html/show_users.html -www/cgi-bin.default/vqadmin/html/view_domain.html -www/cgi-bin.default/vqadmin/html/view_user.html -www/cgi-bin.default/vqadmin/vqadmin.acl -www/cgi-bin.default/vqadmin/vqadmin.cgi -@dirrm www/cgi-bin.default/vqadmin/html -@dirrm www/cgi-bin.default/vqadmin -@dirrm www/cgi-bin.default -@dirrm www +@cwd %%CGI_ROOT%% +vqadmin/.htaccess +vqadmin/html/add_alias_domain.html +vqadmin/html/add_domain.html +vqadmin/html/add_user.html +vqadmin/html/auth_failed.html +vqadmin/html/br +vqadmin/html/control.html +vqadmin/html/ctrl_file.html +vqadmin/html/de +vqadmin/html/del_domain.html +vqadmin/html/del_user.html +vqadmin/html/en +vqadmin/html/en-us +vqadmin/html/error.html +vqadmin/html/fi +vqadmin/html/fr +vqadmin/html/info_user.html +vqadmin/html/init_error.html +vqadmin/html/it +vqadmin/html/ja +vqadmin/html/main.html +vqadmin/html/mod_domain.html +vqadmin/html/mod_user.html +vqadmin/html/nl +vqadmin/html/pl +vqadmin/html/qmail_controls_bottom.html +vqadmin/html/qmail_controls_middle.html +vqadmin/html/qmail_controls_top.html +vqadmin/html/show_domains.html +vqadmin/html/show_users.html +vqadmin/html/view_domain.html +vqadmin/html/view_user.html +vqadmin/vqadmin.acl +vqadmin/vqadmin.cgi +@dirrm vqadmin/html +@dirrm vqadmin +@cwd %%DOC_ROOT%% +images/vqadmin/vqadmin.css +@dirrm images/vqadmin +@dirrm images --- vqadmin.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports-bugs" in the body of the message