ports/62301: upgrade ports/security/xmlsec1 to 1.2.4

Ying-Chieh Liao ijliao at FreeBSD.csie.NCTU.edu.tw
Tue Feb 3 08:00:55 UTC 2004


>Number:         62301
>Category:       ports
>Synopsis:       upgrade ports/security/xmlsec1 to 1.2.4
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 03 00:00:40 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Ying-Chieh Liao
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
NCTU CSIE
>Environment:
System: FreeBSD FreeBSD.csie.NCTU.edu.tw 4.9-STABLE FreeBSD 4.9-STABLE #8: Wed Oct 29 10:04:27 CST 2003 root at FreeBSD.csie.NCTU.edu.tw:/big/usr.obj/big/freebsd/pub/branches/4.0-stable/src/sys/FREEBSD i386


	
>Description:
	
>How-To-Repeat:
	
>Fix:

	

--- patch begins here ---
Index: xmlsec1/Makefile
===================================================================
RCS file: /home/pcvs/ports/security/xmlsec1/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- xmlsec1/Makefile	4 Nov 2003 18:30:50 -0000	1.4
+++ xmlsec1/Makefile	3 Feb 2004 07:53:31 -0000
@@ -6,8 +6,8 @@
 #
 
 PORTNAME=	xmlsec1
-PORTVERSION=	1.0.1
-PORTREVISION=	2
+PORTVERSION=	1.2.4
+PORTREVISION=	0
 CATEGORIES=	security
 MASTER_SITES=	http://www.aleksey.com/xmlsec/download/ \
 		ftp://ftp.aleksey.com/pub/xmlsec/releases/ \
@@ -21,21 +21,19 @@
 BUILD_DEPENDS=	${RUN_DEPENDS}
 
 USE_OPENSSL=	yes
-USE_GNOME=	gnomehack libxslt
+USE_GNOME=	gnomehack libxslt gnometarget
 USE_REINPLACE=	yes
 USE_LIBTOOL=	yes
-CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
 INSTALLS_SHLIB=	yes
+PLIST_FILES=	bin/xmlsec1 bin/xmlsec1-config etc/xmlsec1Conf.sh
 
 MAN1=	xmlsec1.1 xmlsec1-config.1
 
 .if defined(WITH_GNUTLS)
 CONFIGURE_ARGS+=	--with-gnutls="${LOCALBASE}"
 LIB_DEPENDS+=		gnutls.7:${PORTSDIR}/security/gnutls
-PLIST_SUB+=             GNUTLS=""
 .else
 CONFIGURE_ARGS+=	--without-gnutls
-PLIST_SUB+=             GNUTLS="@comment "
 .endif
 
 .if !defined(NOPORTDOCS)
@@ -53,5 +51,18 @@
 	@${REINPLACE_CMD} -e 's|src apps man docs|src apps man \$${DOCS}|g ; \
 		 s|^confexecdir =.*$$|confexecdir = \$$(sysconfdir)|g' \
 			${WRKSRC}/Makefile.in
+
+post-install:
+	@${FIND} ${PREFIX}/include/xmlsec1 -type f | \
+		${SED} 's,${PREFIX}/,,' >> ${TMPPLIST}
+	@${FIND} ${PREFIX}/include/xmlsec1 -type d | ${SORT} -r | \
+		${SED} 's,${PREFIX}/,, ; s,^, at dirrm ,' >> ${TMPPLIST}
+	@${FIND} ${PREFIX}/lib/libxmlsec1* | \
+		${SED} 's,${PREFIX}/,,' >> ${TMPPLIST}
+	@${FIND} ${PREFIX}/libdata/pkgconfig/xmlsec1* | \
+		${SED} 's,${PREFIX}/,,' >> ${TMPPLIST}
+	@${FIND} ${DOCSDIR} -type f | ${SED} 's,${PREFIX}/,,' >> ${TMPPLIST}
+	@${FIND} ${DOCSDIR} -type d | ${SORT} -r | \
+		${SED} 's,${PREFIX}/,, ; s,^, at dirrm ,' >> ${TMPPLIST}
 
 .include <bsd.port.mk>
Index: xmlsec1/distinfo
===================================================================
RCS file: /home/pcvs/ports/security/xmlsec1/distinfo,v
retrieving revision 1.1
diff -u -r1.1 distinfo
--- xmlsec1/distinfo	6 May 2003 03:10:46 -0000	1.1
+++ xmlsec1/distinfo	3 Feb 2004 07:53:31 -0000
@@ -1 +1 @@
-MD5 (xmlsec1-1.0.1.tar.gz) = b331b3e0a3f85552716d5286db2cd73c
+MD5 (xmlsec1-1.2.4.tar.gz) = 1d6ef139d74434da78051de610e7a4f3
Index: xmlsec1/pkg-plist
===================================================================
RCS file: xmlsec1/pkg-plist
diff -N xmlsec1/pkg-plist
--- xmlsec1/pkg-plist	4 Jun 2003 10:39:26 -0000	1.2
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,186 +0,0 @@
-bin/xmlsec1
-bin/xmlsec1-config
-etc/xmlsec1Conf.sh
-include/xmlsec1/xmlsec/base64.h
-include/xmlsec1/xmlsec/buffer.h
-include/xmlsec1/xmlsec/crypto.h
-include/xmlsec1/xmlsec/errors.h
-include/xmlsec1/xmlsec/exports.h
-%%GNUTLS%%include/xmlsec1/xmlsec/gnutls/app.h
-%%GNUTLS%%include/xmlsec1/xmlsec/gnutls/crypto.h
-%%GNUTLS%%include/xmlsec1/xmlsec/gnutls/symbols.h
-include/xmlsec1/xmlsec/io.h
-include/xmlsec1/xmlsec/keyinfo.h
-include/xmlsec1/xmlsec/keys.h
-include/xmlsec1/xmlsec/keysdata.h
-include/xmlsec1/xmlsec/keysmngr.h
-include/xmlsec1/xmlsec/list.h
-include/xmlsec1/xmlsec/membuf.h
-include/xmlsec1/xmlsec/nodeset.h
-include/xmlsec1/xmlsec/openssl/app.h
-include/xmlsec1/xmlsec/openssl/bn.h
-include/xmlsec1/xmlsec/openssl/crypto.h
-include/xmlsec1/xmlsec/openssl/evp.h
-include/xmlsec1/xmlsec/openssl/symbols.h
-include/xmlsec1/xmlsec/openssl/x509.h
-include/xmlsec1/xmlsec/parser.h
-include/xmlsec1/xmlsec/strings.h
-include/xmlsec1/xmlsec/templates.h
-include/xmlsec1/xmlsec/transforms.h
-include/xmlsec1/xmlsec/version.h
-include/xmlsec1/xmlsec/xmldsig.h
-include/xmlsec1/xmlsec/xmlenc.h
-include/xmlsec1/xmlsec/xmlsec.h
-include/xmlsec1/xmlsec/xmltree.h
-%%GNUTLS%%lib/libxmlsec1-gnutls.a
-%%GNUTLS%%lib/libxmlsec1-gnutls.so
-%%GNUTLS%%lib/libxmlsec1-gnutls.so.1
-lib/libxmlsec1-openssl.a
-lib/libxmlsec1-openssl.so
-lib/libxmlsec1-openssl.so.1
-lib/libxmlsec1.a
-lib/libxmlsec1.so
-lib/libxmlsec1.so.1
-libdata/pkgconfig/xmlsec1.pc
-%%PORTDOCS%%share/doc/xmlsec1/api/chapters/compiling-and-linking.sgml
-%%PORTDOCS%%share/doc/xmlsec1/api/chapters/creating-templates.sgml
-%%PORTDOCS%%share/doc/xmlsec1/api/chapters/examples.sgml
-%%PORTDOCS%%share/doc/xmlsec1/api/chapters/init-and-shutdown.sgml
-%%PORTDOCS%%share/doc/xmlsec1/api/chapters/new-crypto.sgml
-%%PORTDOCS%%share/doc/xmlsec1/api/chapters/sign-and-encrypt.sgml
-%%PORTDOCS%%share/doc/xmlsec1/api/chapters/using-contexts.sgml
-%%PORTDOCS%%share/doc/xmlsec1/api/chapters/using-keys.sgml
-%%PORTDOCS%%share/doc/xmlsec1/api/chapters/using-keysmngr.sgml
-%%PORTDOCS%%share/doc/xmlsec1/api/chapters/using-transforms.sgml
-%%PORTDOCS%%share/doc/xmlsec1/api/chapters/using-x509-certs.sgml
-%%PORTDOCS%%share/doc/xmlsec1/api/chapters/verify-and-decrypt.sgml
-%%PORTDOCS%%share/doc/xmlsec1/api/images/encryption-structure.png
-%%PORTDOCS%%share/doc/xmlsec1/api/images/key.png
-%%PORTDOCS%%share/doc/xmlsec1/api/images/keysmngr.png
-%%PORTDOCS%%share/doc/xmlsec1/api/images/sign-enc-model.png
-%%PORTDOCS%%share/doc/xmlsec1/api/images/signature-structure.png
-%%PORTDOCS%%share/doc/xmlsec1/api/images/structure.png
-%%PORTDOCS%%share/doc/xmlsec1/api/images/transform.png
-%%PORTDOCS%%share/doc/xmlsec1/api/images/transforms-chain.png
-%%PORTDOCS%%share/doc/xmlsec1/api/images/verif-dec-model.png
-%%PORTDOCS%%share/doc/xmlsec1/api/index.html
-%%PORTDOCS%%share/doc/xmlsec1/api/index.sgml
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-base64.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-buffer.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-custom-keys-manager.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-decrypt-with-keys-mngr.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-decrypt-with-signle-key.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-encrypt-dynamic-template.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-encrypt-template-file.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-encrypt-with-session-key.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-encryption-klasses.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-errors.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-examples-sign-dynamimc-template.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-examples-sign-template-file.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-examples-sign-x509.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-examples.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-gnutls-app.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-gnutls-crypto.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-gnutls-ref.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-gnutls.sgml
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-index.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-index.sgml
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-io.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-keyinfo.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-keys.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-keysdata.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-keysmngr.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-list.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-membuf.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-nodeset.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-notes-compiling-others.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-notes-compiling-unix.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-notes-compiling-windows.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-notes-compiling.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-notes-contexts.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-notes-custom-keys-store.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-notes-decrypt.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-notes-dynamic-encryption-templates.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-notes-dynamic-signature-templates.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-notes-encrypt.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-notes-include-files.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-notes-init-shutdown.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-notes-keys-manager-sign-enc.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-notes-keys-mngr-verify-decrypt.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-notes-keys.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-notes-keysmngr.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-notes-new-crypto-functions.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-notes-new-crypto-key-stores.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-notes-new-crypto-keys.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-notes-new-crypto-klasses.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-notes-new-crypto-sharing-results.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-notes-new-crypto-simple-keys-mngr.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-notes-new-crypto-skeleton.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-notes-new-crypto-transforms.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-notes-new-crypto.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-notes-overview.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-notes-sign-encrypt.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-notes-sign-x509.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-notes-sign.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-notes-simple-keys-store.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-notes-structure.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-notes-templates.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-notes-transforms.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-notes-verify-decrypt.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-notes-verify-x509.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-notes-verify.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-notes-x509.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-notes.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-nss-app.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-nss-crypto.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-nss-ref.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-nss.sgml
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-openssl-app.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-openssl-bn.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-openssl-crypto.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-openssl-ref.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-openssl-x509.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-openssl.sgml
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-parser.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-ref.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-reference.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-signature-klasses.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-templates.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-transforms.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-verify-with-key.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-verify-with-keys-mngr.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-verify-with-restrictions.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-verify-with-x509.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-version.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-xmldsig.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-xmlenc.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-xmlsec.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec-xmltree.html
-%%PORTDOCS%%share/doc/xmlsec1/api/xmlsec.sgml
-%%PORTDOCS%%share/doc/xmlsec1/bugs.html
-%%PORTDOCS%%share/doc/xmlsec1/c14n.html
-%%PORTDOCS%%share/doc/xmlsec1/documentation.html
-%%PORTDOCS%%share/doc/xmlsec1/download.html
-%%PORTDOCS%%share/doc/xmlsec1/faq.html
-%%PORTDOCS%%share/doc/xmlsec1/images/bart.gif
-%%PORTDOCS%%share/doc/xmlsec1/images/libxml2-logo.png
-%%PORTDOCS%%share/doc/xmlsec1/images/libxslt-logo.png
-%%PORTDOCS%%share/doc/xmlsec1/images/logo.gif
-%%PORTDOCS%%share/doc/xmlsec1/images/openssl-logo.png
-%%PORTDOCS%%share/doc/xmlsec1/images/xmlsec-logo.gif
-%%PORTDOCS%%share/doc/xmlsec1/index.html
-%%PORTDOCS%%share/doc/xmlsec1/news.html
-%%PORTDOCS%%share/doc/xmlsec1/related.html
-%%PORTDOCS%%share/doc/xmlsec1/xmldsig-verifier.html
-%%PORTDOCS%%share/doc/xmlsec1/xmldsig.html
-%%PORTDOCS%%share/doc/xmlsec1/xmlenc.html
-%%PORTDOCS%%share/doc/xmlsec1/xmlsec-man.html
-%%PORTDOCS%%@dirrm share/doc/xmlsec1/images
-%%PORTDOCS%%@dirrm share/doc/xmlsec1/api/images
-%%PORTDOCS%%@dirrm share/doc/xmlsec1/api/chapters
-%%PORTDOCS%%@dirrm share/doc/xmlsec1/api
-%%PORTDOCS%%@dirrm share/doc/xmlsec1
- at dirrm include/xmlsec1/xmlsec/openssl
-%%GNUTLS%%@dirrm include/xmlsec1/xmlsec/gnutls
- at dirrm include/xmlsec1/xmlsec
- at dirrm include/xmlsec1
--- patch ends here ---


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



More information about the freebsd-ports-bugs mailing list