Skip site navigation (1)Skip section navigation (2)
Date:      26 Jan 2003 22:21:25 -0000
From:      Sergei Kolobov <sergei@kolobov.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/47524: [MAINTAINER] security/opencdk: cosmetic fixes
Message-ID:  <20030126222125.7984.qmail@outpost.globcon.net>

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

>Number:         47524
>Category:       ports
>Synopsis:       [MAINTAINER] security/opencdk: cosmetic fixes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 26 14:30:01 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Sergei Kolobov
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
>Environment:
System: FreeBSD outpost.globcon.net 4.7-STABLE FreeBSD 4.7-STABLE #0: Mon Oct 14 02:23:23 MSD 2002     sgk@outpost.globcon.net:/data/FreeBSD/obj/data/FreeBSD/src/sys/OUTPOST  i386
>Description:
- Make portlint happy (remove space at EOL)
- Remove useless .la files
- Make REINPLACE_CMD invocation a bit more readable (at least IMO)

Otherwise, no functional changes.
>How-To-Repeat:
>Fix:

--- opencdk-0.4.1.patch begins here ---
? files/patch-malloc.h
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/security/opencdk/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile	2003/01/24 23:13:30	1.2
+++ Makefile	2003/01/26 22:18:44
@@ -12,7 +12,7 @@
 		http://www.mirrors.wiretapped.net/security/network-security/gnutls/opencdk/ \
 		ftp://ftp.gnupg.org/pub/gcrypt/alpha/gnutls/opencdk/ \
 		ftp://ftp.mirrors.wiretapped.net/security/network-security/gnutls/opencdk/ \
-		ftp://ftp.gnutls.org/pub/gnutls/opencdk/ 
+		ftp://ftp.gnutls.org/pub/gnutls/opencdk/
 
 MAINTAINER=	sergei@kolobov.com
 
@@ -27,10 +27,12 @@
 DOCS=		AUTHORS NEWS README THANKS
 
 post-patch:
-	${REINPLACE_CMD} -e 's,#include <malloc.h>,#include<stdlib.h>,' \
-		${WRKSRC}/src/encrypt.c ${WRKSRC}/src/main.c
+.for file in encrypt.c main.c
+	${REINPLACE_CMD} -e 's/<malloc.h>/<stdlib.h>/' ${WRKSRC}/src/${file}
+.endfor
 
 post-install:
+	${RM} -f ${PREFIX}/lib/libopencdk.la
 	@${MKDIR} ${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/tests/*.c ${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/tests/*.gpg ${EXAMPLESDIR}
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/security/opencdk/pkg-plist,v
retrieving revision 1.1
diff -u -r1.1 pkg-plist
--- pkg-plist	2003/01/18 21:30:53	1.1
+++ pkg-plist	2003/01/26 22:18:44
@@ -2,7 +2,6 @@
 include/opencdk.h
 lib/libopencdk.so.5
 lib/libopencdk.so
-lib/libopencdk.la
 lib/libopencdk.a
 %%PORTDOCS%%share/doc/opencdk/AUTHORS
 %%PORTDOCS%%share/doc/opencdk/NEWS
--- opencdk-0.4.1.patch ends here ---

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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030126222125.7984.qmail>