Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Apr 2003 12:21:26 +0800
From:      Foxfair Hu <foxfair@drago.fomokka.net>
To:        freebsd-ports-bugs@FreeBSD.org, jim@corebsd.or.id
Subject:   Re: ports/51102: [new port] security/xmlsec1
Message-ID:  <20030429042126.GA88876@drago.fomokka.net>
In-Reply-To: <200304290114.h3T1E5XN093848@freefall.freebsd.org>
References:  <200304290114.h3T1E5XN093848@freefall.freebsd.org>

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

--+g7M9IMkV8truYOl
Content-Type: multipart/mixed; boundary="pf9I7BMVVzbSWLtt"
Content-Disposition: inline


--pf9I7BMVVzbSWLtt
Content-Type: text/plain; charset=big5
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable


  New patch with minor adjustment according to your shar file.=20
See the attchment.

Foxfair

On Mon, Apr 28, 2003 at 06:14:05PM -0700, Foxfair Hu wrote:
> Synopsis: [new port] security/xmlsec1
>=20
> Responsible-Changed-From-To: freebsd-ports-bugs->foxfair
> Responsible-Changed-By: foxfair
> Responsible-Changed-When: Mon Apr 28 18:12:22 PDT 2003
> Responsible-Changed-Why:=20
> Take over this patch, i will do it. BTW there is a security/xmlsec port
> in the ports tree, I will make this patch available upon it.
>=20
> http://www.freebsd.org/cgi/query-pr.cgi?pr=3D51102

--pf9I7BMVVzbSWLtt
Content-Type: text/plain; charset=big5
Content-Disposition: attachment; filename="xmlsec.newpatch"
Content-Transfer-Encoding: quoted-printable

diff -ruN ../xmlsec1.orig/Makefile ./Makefile
--- ../xmlsec1.orig/Makefile	Tue Apr 29 11:56:14 2003
+++ ./Makefile	Tue Apr 29 12:15:03 2003
@@ -8,10 +8,11 @@
 PORTNAME=3D	xmlsec1
 PORTVERSION=3D	1.0.0
 CATEGORIES=3D	security
+
 MASTER_SITES=3D	http://www.aleksey.com/xmlsec/download/ \
 		ftp://ftp.aleksey.com/pub/xmlsec/releases/ \
-		ftp://ftp.xmlsoft.org/xmlsec/releases \
-		ftp://ftp.rpmfind.net/pub/XML/xmlsec/releases
+		ftp://ftp.xmlsoft.org/xmlsec/releases/ \
+		ftp://ftp.rpmfind.net/pub/XML/xmlsec/releases/
=20
 MAINTAINER=3D	jim@corebsd.or.id
 COMMENT=3D	XML Security Library (current stable version)
@@ -24,10 +25,10 @@
=20
 MAN1=3D	xmlsec1.1 xmlsec1-config.1
=20
-post-install:
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	@cp -R ${WRKSRC}/docs/* ${DOCSDIR}
+post-configure:
+.if defined(NOPORTDOCS)
+	@${SED} -e "s:include src apps man docs:include src apps man:g" ${WRKSRC}=
/Makefile > ${WRKSRC}/Makefile.new
+	@${MV} ${WRKSRC}/Makefile.new ${WRKSRC}/Makefile
 .endif
=20
 .include <bsd.port.mk>
diff -ruN ../xmlsec1.orig/files/patch-docs::Makefile.in ./files/patch-docs:=
:Makefile.in
--- ../xmlsec1.orig/files/patch-docs::Makefile.in	Thu Jan  1 08:00:00 1970
+++ ./files/patch-docs::Makefile.in	Tue Apr 29 12:05:42 2003
@@ -0,0 +1,11 @@
+--- docs/Makefile.in.orig	Tue Apr 29 12:03:50 2003
++++ docs/Makefile.in	Tue Apr 29 12:04:26 2003
+@@ -467,7 +467,7 @@
+ 	-@INSTALL@ -m 0644 $(srcdir)/images/*.gif $(srcdir)/images/*.png $(DESTD=
IR)$(TARGET_DIR)/images
+ 	-@INSTALL@ -m 0644 $(srcdir)/api/*.html $(srcdir)/api/*.sgml $(DESTDIR)$=
(TARGET_DIR)/api
+ 	-@INSTALL@ -m 0644 $(srcdir)/api/chapters/*.sgml $(DESTDIR)$(TARGET_DIR)=
/api/chapters
+-	-@INSTALL@ -m 0644 $(srcdir)/api/images/*.png $(DESTDIR)$(TARGET_DIR)/ap=
i/images
++	-@INSTALL@ -m 0644 $(srcdir)/api/images/*.png $(srcdir)/api/images/*.sxd=
 $(DESTDIR)$(TARGET_DIR)/api/images
+=20
+ uninstall:
+ 	@rm -rf $(TARGET_DIR)
diff -ruN ../xmlsec1.orig/pkg-plist ./pkg-plist
--- ../xmlsec1.orig/pkg-plist	Tue Apr 29 11:56:14 2003
+++ ./pkg-plist	Tue Apr 29 11:05:36 2003
@@ -38,12 +38,6 @@
 lib/libxmlsec1.so.1
 lib/pkgconfig/xmlsec1.pc
 lib/xmlsec1Conf.sh
-%%PORTDOCS%%share/doc/xmlsec1/Makefile
-%%PORTDOCS%%share/doc/xmlsec1/Makefile.am
-%%PORTDOCS%%share/doc/xmlsec1/Makefile.in
-%%PORTDOCS%%share/doc/xmlsec1/api/Makefile
-%%PORTDOCS%%share/doc/xmlsec1/api/Makefile.am
-%%PORTDOCS%%share/doc/xmlsec1/api/Makefile.in
 %%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
@@ -56,7 +50,6 @@
 %%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/.cvsignore
 %%PORTDOCS%%share/doc/xmlsec1/api/images/diagrams.sxd
 %%PORTDOCS%%share/doc/xmlsec1/api/images/encryption-structure.png
 %%PORTDOCS%%share/doc/xmlsec1/api/images/key.png

--pf9I7BMVVzbSWLtt--

--+g7M9IMkV8truYOl
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+rf3FsWh5Cw3CV+oRAoVoAJ9dyxQ70acDCV49V+TFH+D8gh+ufACfaa9d
0cRGhY7CUp8E+J8wxcto1zY=
=lNhn
-----END PGP SIGNATURE-----

--+g7M9IMkV8truYOl--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030429042126.GA88876>