From root@cakebox.homeunix.net  Tue Jan  5 14:53:42 2010
Return-Path: <root@cakebox.homeunix.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 3532A1065672
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  5 Jan 2010 14:53:42 +0000 (UTC)
	(envelope-from root@cakebox.homeunix.net)
Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.171])
	by mx1.freebsd.org (Postfix) with ESMTP id D14048FC18
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  5 Jan 2010 14:53:41 +0000 (UTC)
Received: from cakebox.homeunix.net (p5B2F3558.dip0.t-ipconnect.de [91.47.53.88])
	by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis)
	id 0MPsu6-1NW2D12ysU-004yyH; Tue, 05 Jan 2010 15:40:46 +0100
Received: from cakebox.homeunix.net (localhost [127.0.0.1])
	by cakebox.homeunix.net (Postfix) with ESMTP id A488F67C52;
	Tue,  5 Jan 2010 15:36:57 +0100 (CET)
Received: by cakebox.homeunix.net (Postfix, from userid 0)
	id 2797067C4D; Tue,  5 Jan 2010 15:36:56 +0100 (CET)
Message-Id: <20100105143656.2797067C4D@cakebox.homeunix.net>
Date: Tue,  5 Jan 2010 15:36:56 +0100 (CET)
From: freebsd@nagilum.org
To: FreeBSD-gnats-submit@freebsd.org
Cc: mark@foster.cc,curly@e-card.bg,freebsd@nagilum.org
Subject: update security/xca to version 0.8.0
X-Send-Pr-Version: 3.113
X-GNATS-Notify: mark@foster.cc

>Number:         142349
>Category:       ports
>Synopsis:       update security/xca to version 0.8.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    wxs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 05 15:00:11 UTC 2010
>Closed-Date:    Sun Jan 24 16:30:12 UTC 2010
>Last-Modified:  Sun Jan 24 16:40:01 UTC 2010
>Originator:     Nagilum
>Release:        FreeBSD 8.0-STABLE i386
>Organization:
private
>Environment:
System: FreeBSD cakebox.tis 8.0-STABLE FreeBSD 8.0-STABLE #1: Wed Dec 30 13:33:22 CET 2009 root@cakebox.tis:/usr/obj/export/src/sys/net5501 i386


>Description:
	xca release 0.8.0

xca 0.8.0

  * improve documentation
  * improve file-dialog handling
  * Generate Template from certificate or PKCS#10 request
    -> Feature request [2213094] and [1108304]
  * add hash algos "ripemd160" and "SHA384"
  * add the "no well-defined date" from RFC 5280 as checkbox
  * Feature request [1996192]
    Include "OCSPSigning" in misc/eku.txt
  * Support for EC keys
  * Update Step-by-step documentation
    Thanks Devin Reade
  * Support for Smart Cards
  * set proper file-extension .xdb on opening databases

xca 0.7.0

  * support modifying the CSR subject during signing
  * update key images
  * fix date settings in Certificate renewal dialog
  * fix certificate request verification
  * check for duplicate x509 v3 extensions
    Bug  [ 1881482 ] and [ 1998815 ]
  * make sha1 the default hash to avoid problems with other software
    Bug [ 1751397 ]
  * add validation button to see all extensions before creating the cert
  * change the hashing for the default password.
    this makes it incompatible to older versions
  * Major changes for MAC OS X
  * extend template format for nconf settings
  * add nconf input field for arbitrary OpenSSL extensions
    and a "validate" button to check the settings before applying
  * fix xca.desktop Bug [ 1837956 ]
  * fix item-export error handling
  * add PEM paste import feature
  * extend PEM import to import all items from a PEM file


>How-To-Repeat:
	install security/xca
>Fix:

	apply attached patch

--- xca.patch begins here ---
diff -Naur xca.orig/Makefile xca/Makefile
--- xca.orig/Makefile	2009-10-20 09:58:04.000000000 +0200
+++ xca/Makefile	2010-01-05 14:45:53.000000000 +0100
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	xca
-PORTVERSION=	0.6.4
+PORTVERSION=	0.8.0
 PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	SF
@@ -18,6 +18,7 @@
 USE_OPENSSL=	yes
 USE_QT_VER=	4
 QT_COMPONENTS=	gui moc_build uic_build qmake_build rcc_build linguist_build
+USE_AUTOTOOLS=  libltdl:22
 CC?=		gcc
 CXX?=		g++
 
@@ -34,7 +35,7 @@
 	@echo "CPPFLAGS=-I. -I.. -I${WRKSRC}/ui -I${QT_INCDIR} -I${QT_INCDIR}/Qt -I${LOCALBASE}/include" > ${WRKSRC}/Local.mak
 	@echo "CFLAGS= ${CFLAGS} -Wall -ggdb" >> ${WRKSRC}/Local.mak
 	@echo "LDFLAGS= ${LDFLAGS} -L${QT_LIBDIR} -L${LOCALBASE}/lib" >> ${WRKSRC}/Local.mak
-	@echo "LIBS= -lQtGui ${PTHREAD_LIBS} -lcrypto" >> ${WRKSRC}/Local.mak
+	@echo "LIBS= -lQtGui ${PTHREAD_LIBS} -lcrypto -lltdl" >> ${WRKSRC}/Local.mak
 	@echo "MOC=${MOC}" >> ${WRKSRC}/Local.mak
 	@echo "UIC=${QT_PREFIX}/bin/uic-qt4" >> ${WRKSRC}/Local.mak
 	@echo "RCC=${LOCALBASE}/bin/rcc"  >> ${WRKSRC}/Local.mak
@@ -45,9 +46,11 @@
 	@echo "prefix=${PREFIX}" >> ${WRKSRC}/Local.mak
 	@echo "etc=${PREFIX}/etc/xca" >> ${WRKSRC}/Local.mak
 	@echo "basedir=" >> ${WRKSRC}/Local.mak
+	@echo "docdir=${DOCSDIR}" >> ${WRKSRC}/Local.mak
 	@echo "#define PREFIX \"${PREFIX}\"" > ${WRKSRC}/local.h
 	@echo "#define ETC \"${PREFIX}/etc/xca\"" >> ${WRKSRC}/local.h
 	@echo "#define VER \"${PORTVERSION}\"" >> ${WRKSRC}/local.h
+	@echo "#define DOCDIR \"${DOCSDIR}\"" >> ${WRKSRC}/local.h
 	@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/lib/import.cpp
 
 .include <bsd.port.post.mk>
diff -Naur xca.orig/distinfo xca/distinfo
--- xca.orig/distinfo	2008-06-13 05:13:12.000000000 +0200
+++ xca/distinfo	2010-01-04 18:51:07.000000000 +0100
@@ -1,3 +1,3 @@
-MD5 (xca-0.6.4.tar.gz) = f805a2e094436f976c7a4cda5980027e
-SHA256 (xca-0.6.4.tar.gz) = 63e5992d461cbea38fb5433c989ee1cc73d7dac5162e57d6e70a7735d9f80ed4
-SIZE (xca-0.6.4.tar.gz) = 266574
+MD5 (xca-0.8.0.tar.gz) = ecd9f7e61bd9a8fcb2ed1a26836a7ec7
+SHA256 (xca-0.8.0.tar.gz) = b4417688570728d5fb8b69fae7bcdfd002c3d12e42dafdf5d62a938b0b64b8b6
+SIZE (xca-0.8.0.tar.gz) = 599425
diff -Naur xca.orig/files/patch-compiler-errors xca/files/patch-compiler-errors
--- xca.orig/files/patch-compiler-errors	2009-08-15 15:30:11.000000000 +0200
+++ xca/files/patch-compiler-errors	2010-01-05 11:01:14.000000000 +0100
@@ -1,138 +1,11 @@
-diff --git ./configure ./configure
-index fd1dde7..7c79eaa 100755
---- ./configure
-+++ ./configure
-@@ -141,8 +141,8 @@ cat >conftest.c <<EOF
- #include <Qt/qglobal.h>
- 
- int main(){
--  printf("\nThe Versions of the used libraries are:\n\t%s\n\tQT: %s\n",
--	 OPENSSL_VERSION_TEXT, QT_VERSION_STR );
-+  printf("\nThe Versions of the used libraries are:\n\t%s 0x%lxL\n\tQT: %s\n",
-+	 OPENSSL_VERSION_TEXT, OPENSSL_VERSION_NUMBER, QT_VERSION_STR );
-   if (QT_VERSION < 0x040001) {
- 	printf("You need Qt 4 or higher\n");
- 	return 1;
-diff --git ./lib/pki_x509.cpp ./lib/pki_x509.cpp
-index 9b21a27..84d8513 100644
---- ./lib/pki_x509.cpp
-+++ ./lib/pki_x509.cpp
-@@ -339,8 +339,9 @@ void pki_x509::writeDefault(const QString fname)
- void pki_x509::writeCert(const QString fname, bool PEM, bool append)
- {
- 	FILE *fp;
--	char *_a = "a", *_w="w", *p = _w;
--	if (append) p=_a;
-+	const char *p = "w";
-+	if (append)
-+		p = "a";
- 	fp = fopen(fname.toAscii(), p);
- 	if (fp != NULL) {
- 		if (cert){
-diff --git ./lib/x509rev.cpp ./lib/x509rev.cpp
-index 3af4b44..aa60dee 100644
---- ./lib/x509rev.cpp
-+++ ./lib/x509rev.cpp
-@@ -7,16 +7,23 @@
- 
- #include "x509rev.h"
- 
--#if OPENSSL_VERSION_NUMBER >= 0x00908000L
--#define X509_REVOKED_dup(x5r) \
--	ASN1_dup_of (X509_REVOKED, i2d_X509_REVOKED, d2i_X509_REVOKED, x5r)
- 
--#else
--#define X509_REVOKED_dup(x5r) (X509_REVOKED *)ASN1_dup( \
--	(int (*)(...))i2d_X509_REVOKED, \
--	(char *(*)(...))d2i_X509_REVOKED, \
--	(char *)x5r)
--#endif
-+static X509_REVOKED *X509_REVOKED_dup(const X509_REVOKED *n)
-+{
-+        int len;
-+        X509_REVOKED *ret;
-+	unsigned char *buf, *p;
-+	const unsigned char *cp;
-+
-+        len = i2d_X509_REVOKED((X509_REVOKED *)n, NULL);
-+	buf = (unsigned char *)OPENSSL_malloc(len);
-+        p = buf;
-+        i2d_X509_REVOKED((X509_REVOKED *)n, &p);
-+        cp = buf;
-+        ret = d2i_X509_REVOKED(NULL, &cp, len);
-+        OPENSSL_free(buf);
-+        return(ret);
-+}
- 
- x509rev::x509rev()
- {
-@@ -25,7 +32,7 @@ x509rev::x509rev()
- 
- x509rev::x509rev(const X509_REVOKED *n)
- {
--	rev = X509_REVOKED_dup((X509_REVOKED *)n);
-+	rev = X509_REVOKED_dup(n);
- }
- 
- x509rev::x509rev(const x509rev &n)
-@@ -43,7 +50,7 @@ x509rev &x509rev::set(const X509_REVOKED *n)
- {
- 	if (rev != NULL)
- 		X509_REVOKED_free(rev);
--	rev = X509_REVOKED_dup((X509_REVOKED *)n);
-+	rev = X509_REVOKED_dup(n);
- 	return *this;
- }
- 
-diff --git ./widgets/ExportCert.cpp ./widgets/ExportCert.cpp
-index 1069e4b..6159dcc 100644
---- ./widgets/ExportCert.cpp
-+++ ./widgets/ExportCert.cpp
-@@ -46,7 +46,7 @@ void ExportCert::on_fileBut_clicked()
- 
- void ExportCert::on_exportFormat_activated(int)
- {
--	char *suffix[] = { "crt", "crt", "crt", "crt", "cer",
-+	const char *suffix[] = { "crt", "crt", "crt", "crt", "cer",
- 		"p7b", "p7b", "p7b", "p7b", "p12", "p12", "pem", "pem" };
- 	int selected = exportFormat->currentIndex();
- 	QString fn = filename->text();
-diff --git ./widgets/ExportDer.cpp ./widgets/ExportDer.cpp
-index 8826b7e..f03c686 100644
---- ./widgets/ExportDer.cpp
-+++ ./widgets/ExportDer.cpp
-@@ -39,7 +39,7 @@ void ExportDer::on_fileBut_clicked()
- 
- void ExportDer::on_exportFormat_activated(int)
- {
--	char *suffix[] = { "pem", "der" };
-+	const char *suffix[] = { "pem", "der" };
- 	int selected = exportFormat->currentIndex();
- 	QString fn = filename->text();
- 	QString nfn = fn.left(fn.lastIndexOf('.')+1) + suffix[selected];
-diff --git ./widgets/ExportKey.cpp ./widgets/ExportKey.cpp
-index ecf0598..f2e7de1 100644
---- ./widgets/ExportKey.cpp
-+++ ./widgets/ExportKey.cpp
-@@ -65,7 +65,7 @@ void ExportKey::canEncrypt()
- 
- void ExportKey::on_exportFormat_activated(int c)
- {
--	char *suffix[] = { "pem", "der" };
-+	const char *suffix[] = { "pem", "der" };
- 
- 	QString fn = filename->text();
- 	QString nfn = fn.left(fn.lastIndexOf('.')+1) + suffix[c];
-diff --git ./widgets/hashBox.cpp ./widgets/hashBox.cpp
-index cb4fa3a..3a22a82 100644
---- ./widgets/hashBox.cpp
-+++ ./widgets/hashBox.cpp
-@@ -17,7 +17,7 @@ int hashBox::default_md = 2; /* SHA1 */
- #endif
- 
- static struct {
--	char *name;
-+	const char *name;
- 	const EVP_MD *md;
- } hashalgos[] = {
- 	{ "MD 2", EVP_md2() },
+--- lib/db.cpp.orig	2009-12-10 18:44:03.000000000 +0100
++++ lib/db.cpp	2010-01-05 11:00:43.000000000 +0100
+@@ -153,7 +153,7 @@
+ 		return -1;
+ 	}
+ 	if (!verify_magic()){
+-		printf("Garbage found at %lu\n", head_offset);
++		printf("Garbage found at %lu\n", (long unsigned int) head_offset);
+ 		head_offset+=4;
+ 		return next(flag);
+ 	}
diff -Naur xca.orig/files/patch-doc-Makefile xca/files/patch-doc-Makefile
--- xca.orig/files/patch-doc-Makefile	2007-07-23 15:54:06.000000000 +0200
+++ xca/files/patch-doc-Makefile	2010-01-05 14:00:42.000000000 +0100
@@ -1,29 +1,30 @@
---- doc/Makefile.orig	Tue Jun  5 22:16:31 2007
-+++ doc/Makefile	Tue Jun  5 22:54:04 2007
-@@ -5,14 +5,11 @@
- DELFILES=*.html xca.1.gz 
- all: doc
- mandir=man
+--- doc/Makefile.orig	2009-12-10 18:44:03.000000000 +0100
++++ doc/Makefile	2010-01-05 14:00:09.000000000 +0100
+@@ -4,7 +4,7 @@
+ 
+ DELFILES=xca*.html xca.1.gz
+ 
 -doc: xca.1.gz xca.html
 +doc: xca.1.gz
+ include $(TOPDIR)/Rules.mak
  
- xca.1.gz: xca.1
+ mandir=man
+@@ -13,8 +13,7 @@
  	gzip -9 <$^ >$@
  
--xca.html: xca.sgml
+ xca.html: xca.sgml
+-	echo '<h1>No documentation generated</h1>' > $@
 -	$(LINUXDOC) -B html $<
--
++	echo 'The documentation for XCA can be viewed online at: <a href="http://xca.sourceforge.net/">http://xca.sourceforge.net/</a>.' > $@
+ 
  install: xca.1.gz xca.html
- 	install -m 755 -d $(destdir)$(prefix)/share/xca \
- 		$(destdir)$(prefix)/$(mandir)/man1
-@@ -21,10 +18,6 @@
+ 	install -m 755 -d $(destdir)$(docdir) \
+@@ -22,8 +21,4 @@
+ 	install -m 644 xca*.html $(destdir)$(docdir)
+ 	install xca.1.gz $(destdir)$(prefix)/$(mandir)/man1
  
- clean:
- 	$(RM) xca.1.gz
--
 -app: xca.html
 -	mkdir -p $(APPDIR)/Resources
 -	install -m 644 xca*.html $(APPDIR)/Resources
- 
- include $(TOPDIR)/Local.mak
+-
  
diff -Naur xca.orig/files/patch-doc-xca.html xca/files/patch-doc-xca.html
--- xca.orig/files/patch-doc-xca.html	2007-07-23 15:54:06.000000000 +0200
+++ xca/files/patch-doc-xca.html	1970-01-01 01:00:00.000000000 +0100
@@ -1,5 +0,0 @@
---- doc/xca.html	Tue Jun  5 22:44:01 2007
-+++ doc/xca.html	Tue Jun  5 22:44:35 2007
-@@ -0,0 +1,2 @@
-+The documentation for XCA can be viewed online at:
-+http://xca.sourceforge.net/
diff -Naur xca.orig/files/patch-img-Makefile xca/files/patch-img-Makefile
--- xca.orig/files/patch-img-Makefile	1970-01-01 01:00:00.000000000 +0100
+++ xca/files/patch-img-Makefile	2010-01-05 12:26:48.000000000 +0100
@@ -0,0 +1,11 @@
+--- img/Makefile.orig	2009-12-10 18:44:03.000000000 +0100
++++ img/Makefile	2010-01-05 12:25:31.000000000 +0100
+@@ -15,7 +15,7 @@
+ 	echo $(OBJS)
+ 
+ install:
+-	install -D -m 644 key.xpm $(destdir)$(prefix)/share/pixmaps/xca-32x32.xpm
++	mkdir -p $(destdir)$(prefix)/share/pixmaps && install -m 644 key.xpm $(destdir)$(prefix)/share/pixmaps/xca-32x32.xpm
+ 
+ imgres.cpp: imgres.rcc
+ 	$(RCC) -o $@ $<
diff -Naur xca.orig/pkg-plist xca/pkg-plist
--- xca.orig/pkg-plist	2007-07-27 05:45:23.000000000 +0200
+++ xca/pkg-plist	2010-01-05 15:21:48.000000000 +0100
@@ -1,15 +1,17 @@
 @comment $FreeBSD: ports/security/xca/pkg-plist,v 1.7 2007/07/23 13:54:06 pav Exp $
 bin/xca
-share/xca/CA.xca
-share/xca/HTTPS_client.xca
-share/xca/HTTPS_server.xca
-share/xca/aia.txt
-share/xca/dn.txt
-share/xca/eku.txt
-share/xca/oids.txt
-share/xca/xca_de.qm
-share/xca/xca_es.qm
-share/xca/xca.html
+%%DATADIR%%/CA.xca
+%%DATADIR%%/HTTPS_client.xca
+%%DATADIR%%/HTTPS_server.xca
+%%DATADIR%%/aia.txt
+%%DATADIR%%/dn.txt
+%%DATADIR%%/eku.txt
+%%DATADIR%%/oids.txt
+%%DATADIR%%/xca_de.qm
+%%DATADIR%%/xca_es.qm
+%%PORTDOCS%%%%DOCSDIR%%/xca.html
 share/applications/xca.desktop
-@dirrm share/xca
+share/pixmaps/xca-32x32.xpm
+@dirrm %%DATADIR%%
+@dirrm %%PORTDOCS%%%%DOCSDIR%%
 @dirrmtry share/applications
--- xca.patch ends here ---
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Tue Jan 5 15:00:26 UTC 2010 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=142349 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: mark@foster.cc
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/142349: update security/xca to version 0.8.0
Date: Tue, 5 Jan 2010 15:00:24 UT

 Maintainer of security/xca,
 
 Please note that PR ports/142349 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/142349
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org
Responsible-Changed-From-To: freebsd-ports-bugs->wxs 
Responsible-Changed-By: wxs 
Responsible-Changed-When: Tue Jan 5 15:12:20 UTC 2010 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=142349 

From: Alexander <freebsd@nagilum.org>
To: bug-followup@FreeBSD.org, freebsd@nagilum.org
Cc:  
Subject: Re: ports/142349: update security/xca to version 0.8.0
Date: Thu, 07 Jan 2010 14:08:33 +0100

 This message is in MIME format.
 
 --=_6bu3ze1ybd44
 Content-Type: text/plain;
  charset=ISO-8859-2;
  DelSp="Yes";
  format="flowed"
 Content-Disposition: inline
 Content-Transfer-Encoding: 7bit
 
 Updated port to version 0.8.1.
 This time the whole port as shar..
 Willing to take maintainership.
 Kind regards,
 Alex.
 
 ----------------------------------------------------------------
 cakebox.homeunix.net - all the machine one needs..
 
 
 --=_6bu3ze1ybd44
 Content-Type: application/x-shar;
  name="xca.shar"
 Content-Disposition: attachment;
  filename="xca.shar"
 Content-Transfer-Encoding: 7bit
 
 # This is a shell archive.  Save it in a file, remove anything before
 # this line, and then unpack it by entering "sh file".  Note, it may
 # create directories; files and directories will be owned by you and
 # have default permissions.
 #
 # This archive contains:
 #
 #	xca
 #	xca/files
 #	xca/files/patch-doc-Makefile
 #	xca/files/patch-compiler-errors
 #	xca/files/patch-img-Makefile
 #	xca/Makefile
 #	xca/distinfo
 #	xca/pkg-descr
 #	xca/pkg-plist
 #
 echo c - xca
 mkdir -p xca > /dev/null 2>&1
 echo c - xca/files
 mkdir -p xca/files > /dev/null 2>&1
 echo x - xca/files/patch-doc-Makefile
 sed 's/^X//' >xca/files/patch-doc-Makefile << '1953902bbb96c7e8ae0b6b5bcbe67c35'
 X--- doc/Makefile.orig	2009-12-10 18:44:03.000000000 +0100
 X+++ doc/Makefile	2010-01-05 14:00:09.000000000 +0100
 X@@ -4,7 +4,7 @@
 X 
 X DELFILES=xca*.html xca.1.gz
 X 
 X-doc: xca.1.gz xca.html
 X+doc: xca.1.gz
 X include $(TOPDIR)/Rules.mak
 X 
 X mandir=man
 X@@ -13,8 +13,7 @@
 X 	gzip -9 <$^ >$@
 X 
 X xca.html: xca.sgml
 X-	echo '<h1>No documentation generated</h1>' > $@
 X-	$(LINUXDOC) -B html $<
 X+	echo 'The documentation for XCA can be viewed online at: <a href="http://xca.sourceforge.net/">http://xca.sourceforge.net/</a>.' > $@
 X 
 X install: xca.1.gz xca.html
 X 	install -m 755 -d $(destdir)$(docdir) \
 X@@ -22,8 +21,4 @@
 X 	install -m 644 xca*.html $(destdir)$(docdir)
 X 	install xca.1.gz $(destdir)$(prefix)/$(mandir)/man1
 X 
 X-app: xca.html
 X-	mkdir -p $(APPDIR)/Resources
 X-	install -m 644 xca*.html $(APPDIR)/Resources
 X-
 X 
 1953902bbb96c7e8ae0b6b5bcbe67c35
 echo x - xca/files/patch-compiler-errors
 sed 's/^X//' >xca/files/patch-compiler-errors << '34f24d8dc0680f12f4dd36dd3b95009b'
 X--- lib/db.cpp.orig	2009-12-10 18:44:03.000000000 +0100
 X+++ lib/db.cpp	2010-01-05 11:00:43.000000000 +0100
 X@@ -153,7 +153,7 @@
 X 		return -1;
 X 	}
 X 	if (!verify_magic()){
 X-		printf("Garbage found at %lu\n", head_offset);
 X+		printf("Garbage found at %lu\n", (long unsigned int) head_offset);
 X 		head_offset+=4;
 X 		return next(flag);
 X 	}
 34f24d8dc0680f12f4dd36dd3b95009b
 echo x - xca/files/patch-img-Makefile
 sed 's/^X//' >xca/files/patch-img-Makefile << 'f8a8a34e0966701ebeb19443fea2dd94'
 X--- img/Makefile.orig	2009-12-10 18:44:03.000000000 +0100
 X+++ img/Makefile	2010-01-05 12:25:31.000000000 +0100
 X@@ -15,7 +15,7 @@
 X 	echo $(OBJS)
 X 
 X install:
 X-	install -D -m 644 key.xpm $(destdir)$(prefix)/share/pixmaps/xca-32x32.xpm
 X+	install -d -m 755 $(destdir)$(prefix)/share/pixmaps && install -m 644 key.xpm $(destdir)$(prefix)/share/pixmaps/xca-32x32.xpm
 X 
 X imgres.cpp: imgres.rcc
 X 	$(RCC) -o $@ $<
 f8a8a34e0966701ebeb19443fea2dd94
 echo x - xca/Makefile
 sed 's/^X//' >xca/Makefile << '708aa396776f9b7dfda6fc31a6417fa4'
 X# New ports collection makefile for: xca
 X# Date created:		2002-12-23
 X# Whom:			Valentin Zahariev <curly@e-card.bg>
 X#
 X# $FreeBSD: ports/security/xca/Makefile,v 1.18 2009/10/19 17:53:43 pav Exp $
 X#
 X
 XPORTNAME=	xca
 XPORTVERSION=	0.8.1
 XPORTREVISION=	1
 XCATEGORIES=	security
 XMASTER_SITES=	SF
 X
 XMAINTAINER=	mark@foster.cc
 XCOMMENT=	Graphical certification authority
 X
 XUSE_GMAKE=	yes
 XUSE_OPENSSL=	yes
 XUSE_QT_VER=	4
 XQT_COMPONENTS=	gui moc_build uic_build qmake_build rcc_build linguist_build
 XUSE_AUTOTOOLS=  libltdl:22
 XCC?=		gcc
 XCXX?=		g++
 X
 XMAN1=		xca.1
 XMANCOMPRESSED=	yes
 X
 X.include <bsd.port.pre.mk>
 X
 X.if ${OSVERSION} < 700000
 XBROKEN=		does not compile
 X.endif
 X
 Xpost-patch:
 X	@echo "CPPFLAGS=-I. -I.. -I${WRKSRC}/ui -I${QT_INCDIR} -I${QT_INCDIR}/Qt -I${LOCALBASE}/include" > ${WRKSRC}/Local.mak
 X	@echo "CFLAGS= ${CFLAGS} -Wall -ggdb" >> ${WRKSRC}/Local.mak
 X	@echo "LDFLAGS= ${LDFLAGS} -L${QT_LIBDIR} -L${LOCALBASE}/lib" >> ${WRKSRC}/Local.mak
 X	@echo "LIBS= -lQtGui ${PTHREAD_LIBS} -lcrypto -lltdl" >> ${WRKSRC}/Local.mak
 X	@echo "MOC=${MOC}" >> ${WRKSRC}/Local.mak
 X	@echo "UIC=${QT_PREFIX}/bin/uic-qt4" >> ${WRKSRC}/Local.mak
 X	@echo "RCC=${LOCALBASE}/bin/rcc"  >> ${WRKSRC}/Local.mak
 X	@echo "LRELEASE=${LOCALBASE}/bin/lrelease-qt4" >> ${WRKSRC}/Local.mak
 X	@echo "CC=${CC}" >> ${WRKSRC}/Local.mak
 X	@echo "LD=${LD}" >> ${WRKSRC}/Local.mak
 X	@echo "STRIP=${STRIP_CMD}" >> ${WRKSRC}/Local.mak
 X	@echo "prefix=${PREFIX}" >> ${WRKSRC}/Local.mak
 X	@echo "etc=${PREFIX}/etc/xca" >> ${WRKSRC}/Local.mak
 X	@echo "basedir=" >> ${WRKSRC}/Local.mak
 X	@echo "docdir=${DOCSDIR}" >> ${WRKSRC}/Local.mak
 X	@echo "#define PREFIX \"${PREFIX}\"" > ${WRKSRC}/local.h
 X	@echo "#define ETC \"${PREFIX}/etc/xca\"" >> ${WRKSRC}/local.h
 X	@echo "#define VER \"${PORTVERSION}\"" >> ${WRKSRC}/local.h
 X	@echo "#define DOCDIR \"${DOCSDIR}\"" >> ${WRKSRC}/local.h
 X	@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/lib/import.cpp
 X
 X.include <bsd.port.post.mk>
 708aa396776f9b7dfda6fc31a6417fa4
 echo x - xca/distinfo
 sed 's/^X//' >xca/distinfo << '49349fded7475051e315603d6fd47157'
 XMD5 (xca-0.8.1.tar.gz) = ca87fd1af19ea2d90ac5aca1c296dd21
 XSHA256 (xca-0.8.1.tar.gz) = 3261f5899450ef8e1120a020364416424701229679d2e5b0bb9c73bed6238029
 XSIZE (xca-0.8.1.tar.gz) = 598962
 49349fded7475051e315603d6fd47157
 echo x - xca/pkg-descr
 sed 's/^X//' >xca/pkg-descr << '5f0531e2a22381168eb0e5453aea7288'
 XGraphical certification authority is an interface for managing 
 XRSA keys and certificates, and the creation and signing of PKCS#10 requests. 
 XIt uses the OpenSSL library and a Berkeley DB for key and certificate storage. 
 XIt supports importing and exporting keys and PEM DER PKCS8 certificates, 
 Xsigning and revoking of PEM DER PKCS12, and selection of x509v3 extensions. 
 XA tree view of certificates is presented.
 X
 XAuthor:	Christian Hohnstaedt <christian@hohnstaedt.de>
 XWWW:	http://www.hohnstaedt.de/xca.html
 5f0531e2a22381168eb0e5453aea7288
 echo x - xca/pkg-plist
 sed 's/^X//' >xca/pkg-plist << 'd445dc5e02c99b78a9b9c7d66268ca78'
 X@comment $FreeBSD: ports/security/xca/pkg-plist,v 1.7 2007/07/23 13:54:06 pav Exp $
 Xbin/xca
 X%%DATADIR%%/CA.xca
 X%%DATADIR%%/HTTPS_client.xca
 X%%DATADIR%%/HTTPS_server.xca
 X%%DATADIR%%/aia.txt
 X%%DATADIR%%/dn.txt
 X%%DATADIR%%/eku.txt
 X%%DATADIR%%/oids.txt
 X%%DATADIR%%/xca_de.qm
 X%%DATADIR%%/xca_es.qm
 X%%PORTDOCS%%%%DOCSDIR%%/xca.html
 Xshare/applications/xca.desktop
 Xshare/pixmaps/xca-32x32.xpm
 X@dirrm %%DATADIR%%
 X@dirrm %%PORTDOCS%%%%DOCSDIR%%
 X@dirrmtry share/applications
 d445dc5e02c99b78a9b9c7d66268ca78
 exit
 
 
 --=_6bu3ze1ybd44--
State-Changed-From-To: feedback->closed 
State-Changed-By: wxs 
State-Changed-When: Sun Jan 24 16:30:09 UTC 2010 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=142349 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/142349: commit references a PR
Date: Sun, 24 Jan 2010 16:30:03 +0000 (UTC)

 wxs         2010-01-24 16:29:49 UTC
 
   FreeBSD ports repository
 
   Modified files:
     security/xca         Makefile distinfo pkg-plist 
     security/xca/files   patch-compiler-errors patch-doc-Makefile 
   Added files:
     security/xca/files   patch-img-Makefile 
   Removed files:
     security/xca/files   patch-doc-xca.html 
   Log:
   - Update to 0.8.1
   - Pass maintainer to submitter
   
   PR:             ports/142349
   Submitted by:   freebsd@nagilum.org
   Approved by:    Mark Foster <mark@foster.cc> (maintainer)
   
   Revision  Changes    Path
   1.19      +6 -3      ports/security/xca/Makefile
   1.7       +3 -3      ports/security/xca/distinfo
   1.2       +11 -138   ports/security/xca/files/patch-compiler-errors
   1.2       +18 -17    ports/security/xca/files/patch-doc-Makefile
   1.2       +0 -5      ports/security/xca/files/patch-doc-xca.html (dead)
   1.1       +11 -0     ports/security/xca/files/patch-img-Makefile (new)
   1.8       +14 -12    ports/security/xca/pkg-plist
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
