Skip site navigation (1)Skip section navigation (2)
Date:      26 Jan 2003 22:39:13 -0000
From:      Sergei Kolobov <sergei@kolobov.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/47525: [MAINTAINER] Update security/gnutls to 0.6.0_1
Message-ID:  <20030126223913.8240.qmail@outpost.globcon.net>

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

>Number:         47525
>Category:       ports
>Synopsis:       [MAINTAINER] Update security/gnutls to 0.6.0_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:   Sun Jan 26 14:40: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:
- Add a knob for OpenCDK support (WITH_OPENCDK=yes), disabled by default
- Bump PORTREVISION - although there are no changes with the default options,
  hint users to upgrade to take advantage of OpenCDK support
- Re-sort MASTER_SITES (ftp.gnutls.org is temporarily unavailable)
- Allow user to specify their own CPPFLAGS and LDFLAGS
- Remove useless .la files
- Re-sort pkg-plist

>How-To-Repeat:
>Fix:

--- gnutls-0.6.0.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/security/gnutls/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile	2003/01/18 21:14:06	1.2
+++ Makefile	2003/01/26 22:34:33
@@ -7,27 +7,44 @@
 
 PORTNAME=	gnutls
 PORTVERSION=	0.6.0
+PORTREVISION=	1
 CATEGORIES=	security net
 MASTER_SITES=	http://gd.tuwien.ac.at/privacy/gnupg/alpha/gnutls/ \
-	ftp://ftp.gnutls.org/pub/gnutls/ \
-	ftp://ftp.gnupg.org/pub/gcrypt/alpha/gnutls/ \
 	http://www.mirrors.wiretapped.net/security/network-security/gnutls/ \
+	ftp://ftp.gnupg.org/pub/gcrypt/alpha/gnutls/ \
 	ftp://ftp.mirrors.wiretapped.net/security/network-security/gnutls/ \
+	ftp://ftp.gnutls.org/pub/gnutls/
 
 MAINTAINER=	sergei@kolobov.com
 
-LIB_DEPENDS=	gcrypt:${PORTSDIR}/security/libgcrypt \
-		tasn1:${PORTSDIR}/security/libtasn1
+LIB_DEPENDS=	gcrypt.6:${PORTSDIR}/security/libgcrypt \
+		tasn1.0:${PORTSDIR}/security/libtasn1
 
+.if defined(WITH_OPENCDK)
+LIB_DEPENDS+=	opencdk.5:${PORTSDIR}/security/opencdk
+.endif
+
 USE_LIBTOOL=	yes
 INSTALLS_SHLIB=	yes
+CPPFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib
+CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
 CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
-		LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
 
 DOCS=		AUTHORS NEWS README THANKS
 
+pre-configure:
+	@${ECHO_MSG} ""
+.if defined (WITH_OPENCDK)
+	@${ECHO_MSG} "Enabled OpenCDK support"
+.else
+	@${ECHO_MSG} "OpenCDK support is disabled by default"
+	@${ECHO_MSG} "Use WITH_OPENCDK=yes to enable"
+.endif
+	@${ECHO_MSG} ""
+
 post-install:
+	${RM} -f ${PREFIX}/lib/libgnutls.la ${PREFIX}/lib/libgnutls-extra.la
 	@${MKDIR} ${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/doc/examples/*.c ${EXAMPLESDIR}
 .if !defined(NOPORTDOCS)
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/security/gnutls/pkg-plist,v
retrieving revision 1.2
diff -u -r1.2 pkg-plist
--- pkg-plist	2003/01/18 21:14:06	1.2
+++ pkg-plist	2003/01/26 22:34:33
@@ -1,9 +1,9 @@
-bin/libgnutls-config
-bin/libgnutls-extra-config
 bin/gnutls-serv
 bin/gnutls-cli
 bin/gnutls-srpcrypt
 bin/gnutls-cli-debug
+bin/libgnutls-config
+bin/libgnutls-extra-config
 include/gnutls/extra.h
 include/gnutls/compat4.h
 include/gnutls/openssl.h
@@ -11,11 +11,9 @@
 @dirrm include/gnutls
 lib/libgnutls.so.7
 lib/libgnutls.so
-lib/libgnutls.la
 lib/libgnutls.a
 lib/libgnutls-extra.so.7
 lib/libgnutls-extra.so
-lib/libgnutls-extra.la
 lib/libgnutls-extra.a
 share/aclocal/libgnutls.m4
 share/aclocal/libgnutls-extra.m4
--- gnutls-0.6.0.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?20030126223913.8240.qmail>