Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Aug 2009 22:15:49 -0300 (BRT)
From:      Sylvio Cesar <scjamorim@bsd.com.br>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/138296: [PATCH] net/ldapdiff: Changed Makefile, added pkg-message. Take maintainership.
Message-ID:  <20090829011549.4D1DD228001@fbsd72.scjamorim.org>
Resent-Message-ID: <200908290120.n7T1K2ff006719@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         138296
>Category:       ports
>Synopsis:       [PATCH] net/ldapdiff: Changed Makefile, added pkg-message. Take maintainership.
>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:   Sat Aug 29 01:20:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Sylvio Cesar
>Release:        FreeBSD 7.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD fbsd72.scjamorim.org 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Mon Aug  3 22:10:47 BRT
>Description:
- Added PORTDOCS
- Replaced "i" by "sample" in "for sample in ${SAMPLES}" 
- Replaced "i" by "docs" in "for docs in ${PORTDOCS}"
- Changed pkg-plist

Added file(s):
- pkg-message

You can see log in mine tinderbox:
7-stable - i386
http://www.scjamorim.org/Home/ldapdiff-1.2.3_1.log
7-stable - amd64
http://www.scjamorim.org/Home/ldapdiff-1.2.3_1_amd64.log

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

--- ldapdiff-1.2.3_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net/ldapdiff/Makefile,v
retrieving revision 1.18
diff -u -u -r1.18 Makefile
--- Makefile	28 Aug 2009 17:37:04 -0000	1.18
+++ Makefile	29 Aug 2009 01:10:55 -0000
@@ -12,7 +12,7 @@
 MASTER_SITES=	http://ftp.ale.org/pub/mirrors/openpkg/sources/DST/ldapdiff/ \
 		http://webtomware.rhoen.de/
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	scjamorim@bsd.com.br
 COMMENT=	A utility for patching LDAP directories using LDIF files
 
 USE_ICONV=	yes
@@ -25,20 +25,23 @@
 		webtomware.init.ldif webtomware.user.ldif
 MAN1=		ldapdiff.1
 
+PORTDOCS=	CHANGES ChangeLog README TODO
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/ldapdiff ${PREFIX}/bin
 	${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1
 	${INSTALL_DATA} ${WRKSRC}/ldapdiff.conf \
 		${PREFIX}/etc/ldapdiff.conf.sample
 	@${MKDIR} ${DATADIR}/samples
-.for i in ${SAMPLES}
-	${INSTALL_DATA} ${WRKSRC}/samples/${i} ${DATADIR}/samples
+.for sample in ${SAMPLES}
+	${INSTALL_DATA} ${WRKSRC}/samples/${sample} ${DATADIR}/samples
 .endfor
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
-.for i in CHANGES README TODO ChangeLog
-	${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+.for docs in ${PORTDOCS}
+	${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR}
 .endfor
 .endif
+	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.mk>
Index: pkg-message
===================================================================
RCS file: pkg-message
diff -N pkg-message
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ pkg-message	29 Aug 2009 01:10:55 -0000
@@ -0,0 +1,3 @@
+************************************************************
+You should copy etc/ldapdiff.conf.sample to etc/ldapdiff.conf
+************************************************************
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/net/ldapdiff/pkg-plist,v
retrieving revision 1.5
diff -u -u -r1.5 pkg-plist
--- pkg-plist	22 Jun 2006 09:14:36 -0000	1.5
+++ pkg-plist	29 Aug 2009 01:10:55 -0000
@@ -1,3 +1,4 @@
+@unexec if cmp -s %D/etc/ldapdiff.conf %D/etc/ldapdiff.conf.sample; then rm -f %D/etc/ldapdiff.conf; fi
 bin/ldapdiff
 etc/ldapdiff.conf.sample
 %%DATADIR%%/samples/addentry
@@ -6,8 +7,3 @@
 %%DATADIR%%/samples/webtomware.user.ldif
 @dirrm %%DATADIR%%/samples
 @dirrm %%DATADIR%%
-%%PORTDOCS%%%%DOCSDIR%%/CHANGES
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/TODO
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
--- ldapdiff-1.2.3_1.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?20090829011549.4D1DD228001>