Date: 6 Aug 2009 15:58:49 +0400 From: "Alexey V.Degtyarev" <alexey@renatasystems.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/137485: mail/lbdb - take the mainternership, add OPTIONS. Message-ID: <20090806115849.72879.qmail@hs-9.renatasystems.org> Resent-Message-ID: <200908061200.n76C0JCs029388@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 137485 >Category: ports >Synopsis: mail/lbdb - take the mainternership, add OPTIONS. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Aug 06 12:00:18 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Alexey V. Degtyarev >Release: FreeBSD 7.1-RELEASE amd64 >Organization: >Environment: System: FreeBSD renatasystems.org 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan 1 08:58:24 UTC 2009 root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: 1. Explicit RUN_DEPENDS on p5-perl-ldap - without that mutt_ldap_query(1) fails to compile. 2. Add explicit $prefix to mutt_ldap_query(1) program. (without that it fails to compile too) 3. Add OPTIONS functionality instead of WITH_**** environments. 4. A very little cosmetic code cleanup. 5. Take the maintanership. >How-To-Repeat: >Fix: --- lbdb.patch begins here --- diff -u -Nr lbdb.orig/Makefile lbdb/Makefile --- lbdb.orig/Makefile 2008-09-30 18:15:13.000000000 +0400 +++ lbdb/Makefile 2009-08-06 15:35:59.000000000 +0400 @@ -11,38 +11,29 @@ MASTER_SITES= http://www.spinnaker.de/debian/ DISTNAME= ${PORTNAME}_${PORTVERSION} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= alexey@renatasystems.org COMMENT= Set of tools for use with mutt's external mail address query feature -RUN_DEPENDS= gsed:${PORTSDIR}/textproc/gsed +RUN_DEPENDS= gsed:${PORTSDIR}/textproc/gsed \ + p5-perl-ldap>=0:${PORTSDIR}/net/p5-perl-ldap + +OPTIONS= ABOOK "Enable abook address book support" off \ + EVOLUTION "Enable Ximan Evolution support" off \ + GPG "Enable GNU Privacy Guard support" off WRKSRC= ${WRKDIR}/lbdb-${PORTVERSION} -GNU_CONFIGURE= YES +GNU_CONFIGURE= yes CONFIGURE_ARGS+= --prefix=${PREFIX} --sysconfdir=${PREFIX}/etc \ --libdir=${PREFIX}/libexec --enable-lbdb-dotlock -USE_GMAKE= YES +USE_GMAKE= yes USE_PERL5= yes .include <bsd.port.pre.mk> -.if exists (${LOCALBASE}/bin/gpg) -WITH_GPG= yes -.endif -.if exists (${LOCALBASE}/bin/abook) -WITH_ABOOK= yes -.endif -.if exists (${LOCALBASE}/bin/evolution) -WITH_EVOLUTION= yes -.endif .if exists (/usr/bin/getent) WITH_GETENT= yes .endif -.if defined(PACKAGE_BUILDING) -WITH_GPG= yes -WITH_ABOOK= yes -.endif - .if defined(WITH_GPG) BUILD_DEPENDS+= gpg:${PORTSDIR}/security/gnupg RUN_DEPENDS+= gpg:${PORTSDIR}/security/gnupg diff -u -Nr lbdb.orig/files/patch-mutt_ldap_query lbdb/files/patch-mutt_ldap_query --- lbdb.orig/files/patch-mutt_ldap_query 1970-01-01 03:00:00.000000000 +0300 +++ lbdb/files/patch-mutt_ldap_query 2009-08-06 13:38:32.000000000 +0400 @@ -0,0 +1,10 @@ +--- mutt_ldap_query.pl.in.orig 2008-06-14 14:24:46.000000000 +0400 ++++ mutt_ldap_query.pl.in 2009-08-06 13:36:39.000000000 +0400 +@@ -33,6 +33,7 @@ + my $version = 0; + my $ldap_server_nickname = ''; + my $config_file = ''; ++my $prefix = '@prefix@'; + + # hostname of your ldap server + our $ldap_server = 'ldap.four11.com'; --- lbdb.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090806115849.72879.qmail>