Date: Sun, 9 Jul 2000 23:16:05 +0200 (CEST) From: Jimmy Olgeni <olgeni@uli.it> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/19812: [PATCH] LDAP support for proftpd Message-ID: <Pine.BSF.4.21.0007092314450.76658-100000@olgeni.localdomain.net>
next in thread | raw e-mail | index | archive | help
>Number: 19812 >Category: ports >Synopsis: [PATCH] LDAP support for proftpd >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Jul 09 14:20:04 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Jimmy Olgeni >Release: FreeBSD 4.0-STABLE i386 >Organization: Colby >Environment: proftpd-1.2.0pre10 >Description: This patch adds LDAP support to proftpd's Makefile: you can use "make -DWITH_LDAP" as in other ports (postfix, pine, etc). The stock mod_ldap makes proftpd dump core on connection, so another version is included (2.6.1). >How-To-Repeat: N/A >Fix: diff -rcN proftpd/Makefile proftpd.2/Makefile *** proftpd/Makefile Sun Jul 9 19:57:27 2000 --- proftpd.2/Makefile Sun Jul 9 23:09:07 2000 *************** *** 11,18 **** MASTER_SITES= ftp://ftp.tos.net/pub/proftpd/ \ ftp://ftp.stikman.com/pub/proftpd/ \ ftp://ftp.linux.co.uk/pub/packages/proftpd/ \ ! ftp://ftp.drenik.net/linux/ftp/proftpd/ ! DISTNAME= ${PORTNAME}-1.2.0pre10 MAINTAINER= mharo@FreeBSD.org --- 11,26 ---- MASTER_SITES= ftp://ftp.tos.net/pub/proftpd/ \ ftp://ftp.stikman.com/pub/proftpd/ \ ftp://ftp.linux.co.uk/pub/packages/proftpd/ \ ! ftp://ftp.drenik.net/linux/ftp/proftpd/ \ ! http://www.horde.net/~jwm/software/proftpd-ldap/ ! ! DISTNAME= ${PORTNAME}-1.2.0pre10 ! DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${MOD_LDAP} ! ! .if defined(WITH_LDAP) ! MOD_LDAP= mod_ldap-2.6.1.tar.gz ! DISTFILES+= ${MOD_LDAP} ! .endif MAINTAINER= mharo@FreeBSD.org *************** *** 30,37 **** --- 38,57 ---- MODULES?= mod_ratio:mod_readme + .if defined(WITH_LDAP) + MODULES:=$(MODULES):mod_ldap + BUILD_DEPENDS+= ${LOCALBASE}/lib/libldap.a:${PORTSDIR}/net/openldap + CONFIGURE_ENV+= CFLAGS="-I/usr/local/include -g" LDFLAGS=-L/usr/local/lib + .endif + .if !empty(MODULES) CONFIGURE_ARGS+= --with-modules=${MODULES} + .endif + + .if defined(WITH_LDAP) + post-extract: + rm -rf ${WRKSRC}/contrib/mod_ldap.c + tar --to-stdout -xvz -f ${DISTDIR}/${MOD_LDAP} */mod_ldap.c > ${WRKSRC}/contrib/mod_ldap.c .endif pre-configure: diff -rcN proftpd/files/md5 proftpd.2/files/md5 *** proftpd/files/md5 Fri Jan 28 08:35:14 2000 --- proftpd.2/files/md5 Sun Jul 9 22:41:50 2000 *************** *** 1 **** --- 1,2 ---- MD5 (proftpd-1.2.0pre10.tar.gz) = 5f2cc3b052d5eab230ff822cfc08d475 + MD5 (mod_ldap-2.6.1.tar.gz) = 0e866a3137641e20e546543ed1c91760 >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0007092314450.76658-100000>