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

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

>Number:         47522
>Category:       ports
>Synopsis:       [MAINTAINER] security/libtasn1: 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:10: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:
- Re-sort MASTER_SITES (primary site is temporarily unavailable)
- Use REINPLACE instead of 3 individual patches
- Allow user to specify their own CPPFLAGS and LDFLAGS
- Remove useless .la files

Removed files:
files/patch-src::asn1Coding.c
files/patch-src::asn1Decoding.c
files/patch-src::asn1Parser.c

PORTREVISION is NOT bumped due to NO functional changes.

>How-To-Repeat:
>Fix:

--- libtasn1-0.1.2.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/security/libtasn1/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile	2003/01/18 21:11:44	1.2
+++ Makefile	2003/01/26 22:00:55
@@ -9,24 +9,32 @@
 PORTVERSION=	0.1.2
 CATEGORIES=	security
 MASTER_SITES=	http://gd.tuwien.ac.at/privacy/gnupg/alpha/gnutls/libtasn1/ \
-	ftp://ftp.gnutls.org/pub/gnutls/libtasn1/ \
-	ftp://ftp.gnupg.org/pub/gcrypt/alpha/gnutls/libtasn1/ \
 	http://www.mirrors.wiretapped.net/security/network-security/gnutls/libtasn1/ \
-	ftp://ftp.mirrors.wiretapped.net/security/network-security/gnutls/libtasn1/
+	ftp://ftp.gnupg.org/pub/gcrypt/alpha/gnutls/libtasn1/ \
+	ftp://ftp.mirrors.wiretapped.net/security/network-security/gnutls/libtasn1/ \
+	ftp://ftp.gnutls.org/pub/gnutls/libtasn1/
 
 MAINTAINER=	sergei@kolobov.com
 
-LIB_DEPENDS=	gnugetopt:${PORTSDIR}/devel/libgnugetopt
+LIB_DEPENDS=	gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
 
+USE_REINPLACE=	yes
 USE_LIBTOOL=	yes
 INSTALLS_SHLIB=	yes
-CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
-		LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
+CPPFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib -lgnugetopt
+CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
 
 DOCS=		AUTHORS NEWS README THANKS
 DOCS2=		asn1.ps asn1.tex fdl.tex
 
+post-patch:
+.for file in asn1Coding.c asn1Decoding.c asn1Parser.c
+	${REINPLACE_CMD} -e 's/<malloc.h>/<stdlib.h>/' ${WRKSRC}/src/${file}
+.endfor
+
 post-install:
+	${RM} -f ${PREFIX}/lib/libtasn1.la
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
 .for file in ${DOCS}
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/security/libtasn1/pkg-plist,v
retrieving revision 1.1
diff -u -r1.1 pkg-plist
--- pkg-plist	2003/01/07 13:44:32	1.1
+++ pkg-plist	2003/01/26 22:00:55
@@ -1,7 +1,6 @@
 include/libtasn1.h
 lib/libtasn1.so.0
 lib/libtasn1.so
-lib/libtasn1.la
 lib/libtasn1.a
 %%PORTDOCS%%share/doc/libtasn1/AUTHORS
 %%PORTDOCS%%share/doc/libtasn1/NEWS
--- libtasn1-0.1.2.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?20030126220640.7722.qmail>