Date: 7 Apr 2003 19:43:50 -0000 From: Chris Shenton <cshenton@Palimpsest.saic.hq.nasa.gov> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/50694: mail/qmail-ldap edit mismatch causes CLEARTEXTPASSWD not to be set Message-ID: <20030407194350.88869.qmail@Palimpsest.saic.hq.nasa.gov> Resent-Message-ID: <200304071950.h37JoHtM074445@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 50694 >Category: ports >Synopsis: mail/qmail-ldap edit mismatch causes CLEARTEXTPASSWD not to be set >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Apr 07 12:50:17 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Chris Shenton >Release: FreeBSD 4.7-STABLE i386 >Organization: >Environment: System: FreeBSD Palimpsest.saic.hq.nasa.gov 4.7-STABLE FreeBSD 4.7-STABLE #15: Tue Oct 15 08:48:40 EDT 2002 cshenton@Palimpsest.saic.hq.nasa.gov:/usr/obj/usr/src/sys/Palimpsest i386 >Description: Port is mail/qmail-ldap, with versions from Makefile like: PORTNAME= qmail PORTVERSION= ${QMAIL_VERSION}.${LDAP_PATCH_DATE} CATEGORIES= mail PKGNAMESUFFIX= -ldap PATCH_SITES= http://www.nrg4u.com/qmail/:ldap PATCHFILES= qmail-ldap-1.03-${LDAP_PATCH_DATE}.patch.gz:ldap PATCH_DIST_STRIP+= -p1 LDAP_PATCH_DATE= 20020901 Build port with flags to turn on CLEARTEXTPASSWD (which I need), invoked like: make -D WITH_LDAP2 -D WITHOUT_LDAP_CLUSTER WITH_LDAP_DEBUG=yes WITH_CLEARTEXTPASSWD=yes WITH_DASH_EXT=yes The Makefile invokes perl to edit the qmail work/qmail-1.03/Makefile: .if defined(WITH_CLEARTEXTPASSWD) @${PERL} -pi -ne "s|# -DCLEARTEXTPASSWD to the LDAPFLAGS|LDAPFLAGS\+=-DCLEARTEXTPASSWD|" \ ${WRKSRC}/Makefile .endif # WITH_CLEARTEXTPASSWD But the work/qmail-1.03/Makefile line is: # -DCLEARTEXTPASSWD to use cleartext passwords (a bad idea on production # systems) So the port Makefile edit fails and CLEARTEXTPASSWD is NOT set. >How-To-Repeat: As above "make" invocations. >Fix: Change the perl edit to match the current qmail-ldap patch Makefile text. Would probably be wise to upgrade this port to a modern version of qmail-ldap patch too. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030407194350.88869.qmail>