Skip site navigation (1)Skip section navigation (2)
Date:      26 Feb 2003 13:43:42 -0000
From:      Sergei Kolobov <sergei@kolobov.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/48702: [MAINTAINER] Update security/libtasn1 to 0.2.1
Message-ID:  <20030226134342.21666.qmail@outpost.globcon.net>

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

>Number:         48702
>Category:       ports
>Synopsis:       [MAINTAINER] Update security/libtasn1 to 0.2.1
>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:   Wed Feb 26 05:50:03 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:
- Update to 0.2.1
- Bumped shlib version to 1
- Conditionalize libgnugetopt dependency


>How-To-Repeat:
>Fix:

--- libtasn1-0.2.1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/security/libtasn1/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- Makefile	2003/02/21 13:26:47	1.5
+++ Makefile	2003/02/26 13:15:12
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	libtasn1
-PORTVERSION=	0.1.2
+PORTVERSION=	0.2.1
 CATEGORIES=	security
 MASTER_SITES=	${MASTER_SITE_GNUPG} \
 	http://www.mirrors.wiretapped.net/security/network-security/gnutls/libtasn1/ \
@@ -17,17 +17,18 @@
 MAINTAINER=	sergei@kolobov.com
 COMMENT=	ASN.1 structure parser library
 
+.if !exists(/usr/include/getopt.h)
 LIB_DEPENDS=	gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
+CPPFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib -lgnugetopt
+.endif
 
 USE_REINPLACE=	yes
 USE_LIBTOOL=	yes
 INSTALLS_SHLIB=	yes
-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
+DOCS=		AUTHORS NEWS README THANKS doc/asn1.ps doc/asn1.tex doc/fdl.tex
 
 post-patch:
 .for file in asn1Coding.c asn1Decoding.c asn1Parser.c
@@ -40,9 +41,6 @@
 	@${MKDIR} ${DOCSDIR}
 .for file in ${DOCS}
 	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
-.endfor
-.for file in ${DOCS2}
-	${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR}
 .endfor
 .endif
 
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/security/libtasn1/distinfo,v
retrieving revision 1.1
diff -u -r1.1 distinfo
--- distinfo	2003/01/07 13:44:32	1.1
+++ distinfo	2003/02/26 13:15:12
@@ -1 +1 @@
-MD5 (libtasn1-0.1.2.tar.gz) = 6c8c376e5582f6845371a939869166dd
+MD5 (libtasn1-0.2.1.tar.gz) = 738810df8f97b9b457a5dc6aa5ad2065
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/security/libtasn1/pkg-plist,v
retrieving revision 1.2
diff -u -r1.2 pkg-plist
--- pkg-plist	2003/01/28 22:19:12	1.2
+++ pkg-plist	2003/02/26 13:15:12
@@ -1,5 +1,5 @@
 include/libtasn1.h
-lib/libtasn1.so.0
+lib/libtasn1.so.1
 lib/libtasn1.so
 lib/libtasn1.a
 %%PORTDOCS%%share/doc/libtasn1/AUTHORS
--- libtasn1-0.2.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?20030226134342.21666.qmail>