ports/52767: Update: security/xmlsec

Jim Geovedi jim at corebsd.or.id
Wed May 28 19:30:05 UTC 2003


>Number:         52767
>Category:       ports
>Synopsis:       Update: security/xmlsec
>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 May 28 12:30:03 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Jim Geovedi
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
>Environment:
System: FreeBSD develbox.bhc.or.id 4.8-STABLE FreeBSD 4.8-STABLE #1: Thu May 1 09:18:05 WIT 2003 root at develbox.bhc.or.id:/usr/obj/usr/src/sys/BHC i386


	
>Description:
Changes from KATO Tsuguru <tkato at prontomail.com> (thanks!)
  - Do not install useless .la files
  - Install .pc file to correct place

>How-To-Repeat:
	
>Fix:

	

--- xmlsec.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/security/xmlsec/Makefile,v
retrieving revision 1.10
diff -u -r1.10 Makefile
--- Makefile	21 Apr 2003 14:11:24 -0000	1.10
+++ Makefile	28 May 2003 18:56:42 -0000
@@ -8,6 +8,7 @@
 
 PORTNAME=	xmlsec
 PORTVERSION=	0.0.15
+PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	http://www.aleksey.com/xmlsec/download/ \
 		ftp://ftp.aleksey.com/pub/xmlsec/releases/ \
@@ -17,10 +18,13 @@
 MAINTAINER=	jim at corebsd.or.id
 COMMENT=	XML Security Library
 
-LIB_DEPENDS=	xslt:${PORTSDIR}/textproc/libxslt
+RUN_DEPENDS=	pkg-config:${PORTSDIR}/devel/pkgconfig
+BUILD_DEPENDS=	${RUN_DEPENDS}
 
 USE_OPENSSL=	yes
+USE_GNOME=	gnomehack libxslt
 USE_LIBTOOL=	yes
+CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
 INSTALLS_SHLIB=	yes
 
 MAN1=	xmlsec.1 xmlsec-config.1
@@ -28,7 +32,8 @@
 post-install:
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
-	@cp -R ${WRKSRC}/docs/* ${DOCSDIR}
+	@${TAR} -C ${WRKSRC}/docs -cf - . | ${TAR} -C ${DOCSDIR} -xf -
+	@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/security/xmlsec/pkg-plist,v
retrieving revision 1.5
diff -u -r1.5 pkg-plist
--- pkg-plist	18 Apr 2003 05:56:34 -0000	1.5
+++ pkg-plist	28 May 2003 18:26:06 -0000
@@ -23,10 +23,9 @@
 include/xmlsec0/xmlsec/xmlsec.h
 include/xmlsec0/xmlsec/xmltree.h
 lib/libxmlsec.a
-lib/libxmlsec.la
 lib/libxmlsec.so
 lib/libxmlsec.so.0
-lib/pkgconfig/xmlsec.pc
+libdata/pkgconfig/xmlsec.pc
 %%PORTDOCS%%share/doc/xmlsec/api/.cvsignore
 %%PORTDOCS%%share/doc/xmlsec/api/Makefile
 %%PORTDOCS%%share/doc/xmlsec/api/Makefile.am
@@ -318,4 +317,3 @@
 %%PORTDOCS%%@dirrm share/doc/xmlsec
 @dirrm include/xmlsec0/xmlsec
 @dirrm include/xmlsec0
- at unexec rmdir $D/lib/pkgconfig 2>/dev/null || true
Index: files/patch-configure
===================================================================
RCS file: files/patch-configure
diff -N files/patch-configure
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-configure	28 May 2003 18:26:06 -0000
@@ -0,0 +1,10 @@
+--- configure.orig	Wed Apr  9 12:39:45 2003
++++ configure	Tue May 13 05:26:35 2003
+@@ -8662,6 +8662,7 @@
+ 
+ # This can be used to rebuild libtool when needed
+ LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
++$ac_aux_dir/ltconfig $LIBTOOL_DEPS
+ 
+ # Always use our own libtool.
+ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
--- xmlsec.diff ends here ---


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



More information about the freebsd-ports-bugs mailing list