ports/114601: [PATCH] sysutils/ldapvi: update to 1.7

Ulrich Spoerlein uspoerlein at gmail.com
Sun Jul 15 14:00:19 UTC 2007


>Number:         114601
>Category:       ports
>Synopsis:       [PATCH] sysutils/ldapvi: update to 1.7
>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:   Sun Jul 15 14:00:16 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Ulrich Spoerlein
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:
>Description:
- Update to 1.7

Important features include:
 - SASL support out of the box
 - UTF8 decoding of strings
 - LDIF support
 - config file support

Added file(s):
- files/patch-GNUmakefile.in

Port maintainer (Joerg.Pulz at frm2.tum.de) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- ldapvi-1.7.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/sysutils/ldapvi/Makefile,v
retrieving revision 1.1
diff -u -p -u -r1.1 Makefile
--- Makefile	26 Apr 2006 18:53:12 -0000	1.1
+++ Makefile	15 Jul 2007 13:44:01 -0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	ldapvi
-PORTVERSION=	1.5
+PORTVERSION=	1.7
 CATEGORIES=	sysutils net
 MASTER_SITES=	http://www.lichteblau.com/download/
 
@@ -23,23 +23,22 @@ USE_GMAKE=	yes
 MAKEFILE=	GNUmakefile
 
 CFLAGS+=	-I${LOCALBASE}/include
+CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
+CONFIGURE_ARGS+=--mandir=${PREFIX}/man
 CONFIGURE_ENV=	CFLAGS="${CFLAGS}" \
+		CPPFLAGS="${CPPFLAGS}" \
 		LDFLAGS="${LDFLAGS}"
 
 MAN1=		ldapvi.1
 PLIST_FILES=	bin/ldapvi
+PLIST_FILES+=	${DOCSDIR_REL}/manual.css ${DOCSDIR_REL}/manual.xml \
+		${DOCSDIR_REL}/bg.png ${DOCSDIR_REL}/html.xsl
 
 .include <bsd.port.pre.mk>
 
-.ifdef(WANT_OPENLDAP_SASL) && !defined(WITHOUT_SASL)
-PATCH_SITES=	http://w3.gofti.com/~pfnguyen/openldap/
-PATCHFILES=	ldapvi_sasl_${PORTVERSION}.diff
-PATCH_DIST_STRIP=	-p1
+.if !defined(WANT_OPENLDAP_SASL) || defined(WITHOUT_SASL)
+CONFIGURE_ARGS+=--without-sasl
 .endif
 
-do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1
-
 .include <bsd.port.post.mk>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/sysutils/ldapvi/distinfo,v
retrieving revision 1.1
diff -u -p -u -r1.1 distinfo
--- distinfo	26 Apr 2006 18:53:12 -0000	1.1
+++ distinfo	15 Jul 2007 13:44:01 -0000
@@ -1,6 +1,3 @@
-MD5 (ldapvi-1.5.tar.gz) = e98f9fbd5596aac81373a849888a87f1
-SHA256 (ldapvi-1.5.tar.gz) = 2515249e3e9e36dd78e319b08b8e812c0f186a691a598489119faa8b828b6330
-SIZE (ldapvi-1.5.tar.gz) = 75707
-MD5 (ldapvi_sasl_1.5.diff) = 82dcae24b138bef5c6ef344533c7490f
-SHA256 (ldapvi_sasl_1.5.diff) = 9bd02c5073a4238c6431967716dbb74cfae7157dba240f106ac2e2df97b5739e
-SIZE (ldapvi_sasl_1.5.diff) = 69412
+MD5 (ldapvi-1.7.tar.gz) = 6dc2f5441ac5f1e2b5b036e3521012cc
+SHA256 (ldapvi-1.7.tar.gz) = 6f62e92d20ff2ac0d06125024a914b8622e5b8a0a0c2d390bf3e7990cbd2e153
+SIZE (ldapvi-1.7.tar.gz) = 119503
Index: files/patch-GNUmakefile.in
===================================================================
RCS file: files/patch-GNUmakefile.in
diff -N files/patch-GNUmakefile.in
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-GNUmakefile.in	15 Jul 2007 13:44:01 -0000
@@ -0,0 +1,13 @@
+--- GNUmakefile.in.orig	2007-07-15 15:25:07.653278406 +0200
++++ GNUmakefile.in	2007-07-15 15:26:01.574449285 +0200
+@@ -27,8 +27,8 @@
+ install: ldapvi
+ 	mkdir -p @bindir@ @mandir@/man1/ @prefix@/share/doc/ldapvi
+ 	@INSTALL_PROGRAM@ ldapvi @bindir@
+-	@INSTALL_PROGRAM@ -m 644 ldapvi.1 @mandir@/man1/
+-	@INSTALL_PROGRAM@ -m 644 manual/manual.css manual/manual.xml manual/bg.png manual/html.xsl @prefix@/share/doc/ldapvi
++	@INSTALL_DATA@ ldapvi.1 @mandir@/man1/
++	@INSTALL_DATA@ manual/manual.css manual/manual.xml manual/bg.png manual/html.xsl @prefix@/share/doc/ldapvi
+ 
+ distclean:
+ 	rm -rf configure GNUmakefile config.h config.log autom4te.cache config.status
--- ldapvi-1.7.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list