diff options
author | Alon Bar-Lev <alonbl@gentoo.org> | 2007-10-23 15:49:31 +0000 |
---|---|---|
committer | Alon Bar-Lev <alonbl@gentoo.org> | 2007-10-23 15:49:31 +0000 |
commit | 72a562e9a6102eda3f491284415fce616e99a08d (patch) | |
tree | e0ffc03cea31688eb1630e30eac9abd60430a040 /app-crypt/xca | |
parent | punt versions affected by GLSA-200709-06 (diff) | |
download | gentoo-2-72a562e9a6102eda3f491284415fce616e99a08d.tar.gz gentoo-2-72a562e9a6102eda3f491284415fce616e99a08d.tar.bz2 gentoo-2-72a562e9a6102eda3f491284415fce616e99a08d.zip |
Fix bug#196765 thanks for Alexander Skwar for reporting, cleanup
(Portage version: 2.1.3.15)
Diffstat (limited to 'app-crypt/xca')
-rw-r--r-- | app-crypt/xca/ChangeLog | 10 | ||||
-rw-r--r-- | app-crypt/xca/files/digest-xca-0.5.1-r1 | 3 | ||||
-rw-r--r-- | app-crypt/xca/files/digest-xca-0.6.0 | 3 | ||||
-rw-r--r-- | app-crypt/xca/files/xca-0.5.1-build.patch | 98 | ||||
-rw-r--r-- | app-crypt/xca/files/xca-0.5.1-db.patch | 30 | ||||
-rw-r--r-- | app-crypt/xca/files/xca-0.5.1-gcc4.patch | 48 | ||||
-rw-r--r-- | app-crypt/xca/files/xca-0.5.1-openssl.patch | 117 | ||||
-rw-r--r-- | app-crypt/xca/files/xca-0.5.1-qt.patch | 12 | ||||
-rw-r--r-- | app-crypt/xca/files/xca-0.6.0-build.patch | 25 | ||||
-rw-r--r-- | app-crypt/xca/files/xca-0.6.4-openssl.patch | 17 | ||||
-rw-r--r-- | app-crypt/xca/xca-0.5.1-r1.ebuild | 44 | ||||
-rw-r--r-- | app-crypt/xca/xca-0.6.0.ebuild | 56 | ||||
-rw-r--r-- | app-crypt/xca/xca-0.6.4.ebuild | 3 |
13 files changed, 28 insertions, 438 deletions
diff --git a/app-crypt/xca/ChangeLog b/app-crypt/xca/ChangeLog index af52b4b564b9..cbcff2ba698a 100644 --- a/app-crypt/xca/ChangeLog +++ b/app-crypt/xca/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for app-crypt/xca # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/xca/ChangeLog,v 1.12 2007/09/22 18:20:49 alonbl Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-crypt/xca/ChangeLog,v 1.13 2007/10/23 15:49:30 alonbl Exp $ + + 23 Oct 2007; Alon Bar-Lev <alonbl@gentoo.org> + -files/xca-0.5.1-build.patch, -files/xca-0.5.1-db.patch, + -files/xca-0.5.1-gcc4.patch, -files/xca-0.5.1-openssl.patch, + -files/xca-0.5.1-qt.patch, -files/xca-0.6.0-build.patch, + +files/xca-0.6.4-openssl.patch, -xca-0.5.1-r1.ebuild, -xca-0.6.0.ebuild, + xca-0.6.4.ebuild: + Fix bug#196765 thanks for Alexander Skwar for reporting, cleanup *xca-0.6.4 (22 Sep 2007) diff --git a/app-crypt/xca/files/digest-xca-0.5.1-r1 b/app-crypt/xca/files/digest-xca-0.5.1-r1 deleted file mode 100644 index f6b8229164e1..000000000000 --- a/app-crypt/xca/files/digest-xca-0.5.1-r1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 24e0289c189b8db2f1f15a4ddac1b1c3 xca-0.5.1.tar.gz 287025 -RMD160 7d21c94d245679c8b842e4b0e1a9c4420104017f xca-0.5.1.tar.gz 287025 -SHA256 cf51de5760c6d34b17b379c23f17699ee597a3264b9bed0f165bd302726757cb xca-0.5.1.tar.gz 287025 diff --git a/app-crypt/xca/files/digest-xca-0.6.0 b/app-crypt/xca/files/digest-xca-0.6.0 deleted file mode 100644 index 3dcb0396ba51..000000000000 --- a/app-crypt/xca/files/digest-xca-0.6.0 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 9f683408a35630217e4f5250f1d14ff4 xca-0.6.0.tar.gz 261479 -RMD160 cea0ca3eeefe2cf015b9be1edcb11e4f8c868490 xca-0.6.0.tar.gz 261479 -SHA256 523e406a4e94e006aa72ae53f24e8ccf9b55b348e1695f27abf2abc23ff74077 xca-0.6.0.tar.gz 261479 diff --git a/app-crypt/xca/files/xca-0.5.1-build.patch b/app-crypt/xca/files/xca-0.5.1-build.patch deleted file mode 100644 index 9fbafdc04315..000000000000 --- a/app-crypt/xca/files/xca-0.5.1-build.patch +++ /dev/null @@ -1,98 +0,0 @@ -diff -urNp xca-0.5.1.org/configure xca-0.5.1/configure ---- xca-0.5.1.org/configure 2004-04-23 11:22:57.000000000 +0300 -+++ xca-0.5.1/configure 2006-10-26 22:23:56.000000000 +0200 -@@ -66,9 +66,11 @@ add_lib() { - search_includes() { - for dir in ${DIRS}; do - for dbn in "" ${subdirs}; do -- if test -r ${dir}/include${dbn}/$1; then -- add_include ${dir}/include${dbn} -- echo Found: $1 at ${dir}/include${dbn} -+ for inc_path in `ls -dr "${dir}"/include${dbn} 2> /dev/null`; do -+ if test -r "${inc_path}/$1"; then -+ add_include "${inc_path}" -+ echo "Found: $1 at ${inc_path}" -- return 0 -+ return 0 -+ fi -+ done -- fi - done -@@ -81,9 +81,9 @@ search_lib() { - for dir in ${DIRS}; do - for dbn in $@; do - for suffix in so dylib obj; do -- if test -r ${dir}/lib/lib${dbn}.${suffix}; then -- add_lib ${dir}/lib ${dbn}; -- echo Found: lib${dbn}.${suffix} at ${dir}/lib -+ if test -r "${dir}/lib/lib${dbn}.${suffix}"; then -+ add_lib "${dir}/lib" "${dbn}"; -+ echo "Found: lib${dbn}.${suffix} at ${dir}/lib" - return 0 - fi - done -@@ -94,7 +94,7 @@ search_lib() { - - - ######################## DB --subdirs="/db /db4 /db3" -+subdirs="/db4.?" - search_includes db_cxx.h || err "The Berkeley DB header files were not found" - search_lib db_cxx db4_cxx db_cxx-4 db3_cxx db_cxx-3 || err "The Berkeley DB library was not found. Try installing db-dev" - ## The fun of NPTL... (Thx Enrico Scholz) -@@ -144,11 +144,11 @@ fi - - - --if test -x $QTDIR/bin/moc; then -+if test -x "$QTDIR/bin/moc"; then - MOC="$QTDIR/bin/moc" - fi - --if test -x $QTDIR/bin/uic; then -+if test -x "$QTDIR/bin/uic"; then - UIC="$QTDIR/bin/uic" - fi - -@@ -160,22 +160,22 @@ echo "CFLAGS :${CFLAGS:=-Wall}" - - for dirs in /bin /usr/bin /usr/local/bin /sw/bin; do - for make in gmake make; do -- if ${dirs}/${make} -v 2>/dev/null | grep GNU; then -- mak=${dirs}/${make} -+ if "${dirs}/${make}" -v 2>/dev/null | grep GNU; then -+ mak="${dirs}/${make}" - fi - done - done - - echo - if test ! -z "${mak}"; then -- echo A usable "make" executable was found in ${mak} -+ echo "A usable "make" executable was found in ${mak}" - else -- echo No usable "make" executable found. -+ echo "No usable "make" executable found." - fi - echo - - if test "x${err_occ}" = "xY"; then - echo -- echo An error occured. Please edit 'Local.mak' manually if compiling fails. -+ echo "An error occured. Please edit 'Local.mak' manually if compiling fails." - fi - -diff -urNp xca-0.5.1.org/Rules.mak xca-0.5.1/Rules.mak ---- xca-0.5.1.org/Rules.mak 2004-04-15 02:36:54.000000000 +0300 -+++ xca-0.5.1/Rules.mak 2006-10-26 22:20:04.000000000 +0200 -@@ -2,8 +2,8 @@ include $(TOPDIR)/Local.mak - - all: target.obj - --ifneq ($(prefix),) -- CFLAGS+= -DPREFIX=\"$(prefix)\" -+ifneq ($(inst_prefix),) -+ CFLAGS+= -DPREFIX=\"$(inst_prefix)\" - endif - - ifneq ($(basedir),) diff --git a/app-crypt/xca/files/xca-0.5.1-db.patch b/app-crypt/xca/files/xca-0.5.1-db.patch deleted file mode 100644 index d4b426bd791c..000000000000 --- a/app-crypt/xca/files/xca-0.5.1-db.patch +++ /dev/null @@ -1,30 +0,0 @@ -diff -urNp xca-0.5.1.org/widgets/MainWindow.cpp xca-0.5.1/widgets/MainWindow.cpp ---- xca-0.5.1.org/widgets/MainWindow.cpp 2004-06-14 00:22:37.000000000 +0300 -+++ xca-0.5.1/widgets/MainWindow.cpp 2006-10-29 00:42:07.000000000 +0200 -@@ -445,7 +445,11 @@ void MainWindow::Error(errorEx &err) - } - } - -+#if DB_VERSION_MINOR < 3 - void MainWindow::dberr(const char *errpfx, char *msg) -+#else -+void MainWindow::dberr(const DbEnv *dbEnv, const char *errpfx, const char *msg) -+#endif - { - errorEx e(QString(errpfx) + "\n" + msg); - Error(e); -diff -urNp xca-0.5.1.org/widgets/MainWindow.h xca-0.5.1/widgets/MainWindow.h ---- xca-0.5.1.org/widgets/MainWindow.h 2004-04-15 02:36:56.000000000 +0300 -+++ xca-0.5.1/widgets/MainWindow.h 2006-10-29 00:43:38.000000000 +0200 -@@ -104,7 +104,11 @@ class MainWindow: public MainWindow_UI - int initPass(); - static int passRead(char *buf, int size, int rwflag, void *userdata); - static int passWrite(char *buf, int size, int rwflag, void *userdata); -+#if DB_VERSION_MINOR < 3 - static void dberr(const char *errpfx, char *msg); -+#else -+ static void dberr(const DbEnv *dbEnv, const char *errpfx, const char *msg); -+#endif - static NewX509 *newX509(); - static QString md5passwd(const char *pass); - static void Error(errorEx &err); diff --git a/app-crypt/xca/files/xca-0.5.1-gcc4.patch b/app-crypt/xca/files/xca-0.5.1-gcc4.patch deleted file mode 100644 index 1a81ae8eb4f5..000000000000 --- a/app-crypt/xca/files/xca-0.5.1-gcc4.patch +++ /dev/null @@ -1,48 +0,0 @@ -diff -urNp xca-0.5.1.org/lib/asn1time.h xca-0.5.1/lib/asn1time.h ---- xca-0.5.1.org/lib/asn1time.h 2003-08-06 11:15:37.000000000 +0300 -+++ xca-0.5.1/lib/asn1time.h 2006-09-24 21:56:09.000000000 +0300 -@@ -75,7 +75,7 @@ class a1time - QString toPlain() const; - QString toSortable() const; - int ymdg(int *y, int *m, int *d, int *g) const; -- int a1time::ymdg(int *y, int *m, int *d, int *h, int *M, int *s, int *g) const; -+ int ymdg(int *y, int *m, int *d, int *h, int *M, int *s, int *g) const; - ASN1_TIME *get() const; - ASN1_TIME *get_utc() const; - a1time &now(int delta = 0); -diff -urNp xca-0.5.1.org/lib/db_crl.h xca-0.5.1/lib/db_crl.h ---- xca-0.5.1.org/lib/db_crl.h 2004-04-16 01:31:31.000000000 +0300 -+++ xca-0.5.1/lib/db_crl.h 2006-09-24 21:56:19.000000000 +0300 -@@ -69,7 +69,7 @@ class db_crl: public db_base - void preprocess(); - void inToCont(pki_base *pki); - pki_base *insert(pki_base *item); -- void db_crl::deletePKI(pki_base *pki); -+ void deletePKI(pki_base *pki); - signals: - void updateCertView(); - }; -diff -urNp xca-0.5.1.org/lib/db_x509.h xca-0.5.1/lib/db_x509.h ---- xca-0.5.1.org/lib/db_x509.h 2004-02-18 02:03:05.000000000 +0200 -+++ xca-0.5.1/lib/db_x509.h 2006-09-24 21:57:08.000000000 +0300 -@@ -84,7 +84,7 @@ class db_x509: public db_x509super - void writeAllCerts(const QString fname, bool onlyTrusted); - pki_x509 *getByIssSerial(const pki_x509 *issuer, const a1int &a); - pki_x509 *getBySubject(const x509name &xname, pki_x509 *last = NULL); -- pki_base *db_x509::insert(pki_base *item); -+ pki_base *insert(pki_base *item); - public slots: - void revokeCert(const x509rev &revok, const pki_x509 *issuer); - -diff -urNp xca-0.5.1.org/lib/pki_key.h xca-0.5.1/lib/pki_key.h ---- xca-0.5.1.org/lib/pki_key.h 2003-12-10 08:43:05.000000000 +0200 -+++ xca-0.5.1/lib/pki_key.h 2006-09-24 21:56:30.000000000 +0300 -@@ -83,7 +83,7 @@ class pki_key: public pki_base - pki_key(const QString name = "", int type = EVP_PKEY_RSA); - pki_key(EVP_PKEY *pkey); - // copy constructor -- pki_key::pki_key(const pki_key *pk); -+ pki_key(const pki_key *pk); - /* destructor */ - ~pki_key(); - diff --git a/app-crypt/xca/files/xca-0.5.1-openssl.patch b/app-crypt/xca/files/xca-0.5.1-openssl.patch deleted file mode 100644 index 3b3d312e8c4c..000000000000 --- a/app-crypt/xca/files/xca-0.5.1-openssl.patch +++ /dev/null @@ -1,117 +0,0 @@ -diff -urNp xca-0.5.1.org/lib/asn1time.cpp xca-0.5.1/lib/asn1time.cpp ---- xca-0.5.1.org/lib/asn1time.cpp 2003-12-14 21:11:33.000000000 +0200 -+++ xca-0.5.1/lib/asn1time.cpp 2006-09-24 22:22:29.000000000 +0300 -@@ -250,7 +250,7 @@ unsigned char *a1time::d2i(unsigned char - unsigned char *mp = p; - if (time) - ASN1_TIME_free(time); -- time = d2i_ASN1_TIME(NULL, &mp, size); -+ time = d2i_ASN1_TIME(NULL, (const unsigned char **)&mp, size); - return mp; - } - -diff -urNp xca-0.5.1.org/lib/pki_crl.cpp xca-0.5.1/lib/pki_crl.cpp ---- xca-0.5.1.org/lib/pki_crl.cpp 2004-04-20 00:19:35.000000000 +0300 -+++ xca-0.5.1/lib/pki_crl.cpp 2006-09-24 22:49:05.000000000 +0300 -@@ -131,7 +131,7 @@ pki_crl::~pki_crl() - void pki_crl::fromData(unsigned char *p, int size) - { - X509_CRL *crl_sik = crl; -- crl = d2i_X509_CRL(NULL, &p, size); -+ crl = d2i_X509_CRL(NULL, (const unsigned char **)&p, size); - if (crl) - X509_CRL_free(crl_sik); - else -diff -urNp xca-0.5.1.org/lib/pki_key.cpp xca-0.5.1/lib/pki_key.cpp ---- xca-0.5.1.org/lib/pki_key.cpp 2004-02-18 02:03:06.000000000 +0200 -+++ xca-0.5.1/lib/pki_key.cpp 2006-09-24 22:58:03.000000000 +0300 -@@ -107,7 +107,7 @@ pki_key::pki_key(const pki_key *pk) - if (pk == NULL) return; - key->type = pk->key->type; - if (key->type == EVP_PKEY_RSA) { -- key->pkey.rsa=((RSA *)ASN1_dup( (int (*)())i2d_RSAPrivateKey, (char *(*)())d2i_RSAPrivateKey,(char *)pk->key->pkey.rsa)); -+ key->pkey.rsa=ASN1_dup_of_const(RSA, i2d_RSAPrivateKey, d2i_RSAPrivateKey, pk->key->pkey.rsa); - } - // TODO add DSA support..... - openssl_error(); -@@ -216,7 +216,7 @@ void pki_key::fromData(unsigned char *p, - rsakey = d2i_RSAPrivateKey(NULL, &pdec, decsize); - #endif - if (ign_openssl_error()) { -- rsakey = d2i_RSA_PUBKEY(NULL, &sik, decsize); -+ rsakey = d2i_RSA_PUBKEY(NULL, (const unsigned char **)&sik, decsize); - } - openssl_error(); - if (rsakey) EVP_PKEY_assign_RSA(key, rsakey); -diff -urNp xca-0.5.1.org/lib/pki_x509.cpp xca-0.5.1/lib/pki_x509.cpp ---- xca-0.5.1.org/lib/pki_x509.cpp 2004-02-18 02:03:06.000000000 +0200 -+++ xca-0.5.1/lib/pki_x509.cpp 2006-09-24 22:24:30.000000000 +0300 -@@ -276,7 +276,7 @@ void pki_x509::fromData(unsigned char *p - version = intFromData(&p1); - if (version >=1 || version <= 4) { - sCert = intFromData(&p1); -- cert = d2i_X509(NULL, &p1, sCert); -+ cert = d2i_X509(NULL, (const unsigned char **)&p1, sCert); - trust = intFromData(&p1); - sRev = intFromData(&p1); - if (sRev) { -@@ -314,7 +314,7 @@ void pki_x509::fromData(unsigned char *p - // version 3 did save a recent date :-(( - } - else { // old version -- cert = d2i_X509(NULL, &p, size); -+ cert = d2i_X509(NULL, (const unsigned char **)&p, size); - revoked = NULL; - trust = 1; - efftrust = 1; -diff -urNp xca-0.5.1.org/lib/pki_x509req.cpp xca-0.5.1/lib/pki_x509req.cpp ---- xca-0.5.1.org/lib/pki_x509req.cpp 2004-02-05 22:17:55.000000000 +0200 -+++ xca-0.5.1/lib/pki_x509req.cpp 2006-09-24 22:51:19.000000000 +0300 -@@ -134,9 +134,9 @@ void pki_x509req::fromData(unsigned char - { - unsigned char *ps = p; - privkey = NULL; -- request = d2i_X509_REQ(&request, &ps, size); -+ request = d2i_X509_REQ(&request, (const unsigned char **)&ps, size); - if (ps - p < size) -- spki = d2i_NETSCAPE_SPKI(NULL, &ps , size + p - ps); -+ spki = d2i_NETSCAPE_SPKI(NULL, (const unsigned char **)&ps , size + p - ps); - openssl_error(); - } - -@@ -257,7 +257,7 @@ void pki_x509req::setSPKIFromData(unsign - { - NETSCAPE_SPKI *spki = NULL; - -- spki = d2i_NETSCAPE_SPKI(NULL,&p,size); -+ spki = d2i_NETSCAPE_SPKI(NULL,(const unsigned char **)&p,size); - if (spki == NULL) goto err; - - set_spki (spki); -diff -urNp xca-0.5.1.org/lib/x509name.cpp xca-0.5.1/lib/x509name.cpp ---- xca-0.5.1.org/lib/x509name.cpp 2003-12-12 01:41:09.000000000 +0200 -+++ xca-0.5.1/lib/x509name.cpp 2006-09-24 22:58:52.000000000 +0300 -@@ -149,7 +149,7 @@ unsigned char *x509name::d2i(unsigned ch - { - unsigned char *mp = p; - X509_NAME *xn_sik = xn; -- xn = d2i_X509_NAME(NULL, &mp, size); -+ xn = d2i_X509_NAME(NULL, (const unsigned char **)&mp, size); - if (xn == NULL) - xn = xn_sik; - else -diff -urNp xca-0.5.1.org/lib/x509rev.cpp xca-0.5.1/lib/x509rev.cpp ---- xca-0.5.1.org/lib/x509rev.cpp 2003-11-24 15:42:44.000000000 +0200 -+++ xca-0.5.1/lib/x509rev.cpp 2006-09-24 22:20:09.000000000 +0300 -@@ -50,9 +50,8 @@ - - #include "x509rev.h" - --#define X509_REVOKED_dup(x5r) (X509_REVOKED *)ASN1_dup((int (*)())i2d_X509_REVOKED, \ -- (char *(*)())d2i_X509_REVOKED,(char *)x5r) -- -+#define X509_REVOKED_dup(x5r) ASN1_dup_of (X509_REVOKED, i2d_X509_REVOKED, d2i_X509_REVOKED, x5r) -+ - x509rev::x509rev() - { - rev = X509_REVOKED_new(); diff --git a/app-crypt/xca/files/xca-0.5.1-qt.patch b/app-crypt/xca/files/xca-0.5.1-qt.patch deleted file mode 100644 index c6d101942ff8..000000000000 --- a/app-crypt/xca/files/xca-0.5.1-qt.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -ur xca-0.5.1.orig/widgets/clicklabel.cpp xca-0.5.1/widgets/clicklabel.cpp ---- xca-0.5.1.orig/widgets/clicklabel.cpp 2003-11-26 23:03:18.000000000 +0100 -+++ xca-0.5.1/widgets/clicklabel.cpp 2004-12-09 20:18:02.632858864 +0100 -@@ -58,7 +58,7 @@ - ClickLabel::ClickLabel( QWidget* parent, const char* name, WFlags f ) - :QLabel( parent, name, f ) - { -- QFont font( font() ); -+ QFont font; - font.setBold(true); - setFont( font ); - setFrameShape( QLabel::Panel ); diff --git a/app-crypt/xca/files/xca-0.6.0-build.patch b/app-crypt/xca/files/xca-0.6.0-build.patch deleted file mode 100644 index eec44664f2ad..000000000000 --- a/app-crypt/xca/files/xca-0.6.0-build.patch +++ /dev/null @@ -1,25 +0,0 @@ ---- xca-0.6.0/configure 2007-03-16 21:34:51.000000000 +0200 -+++ xca-0.6.0.new/configure 2007-04-02 13:48:17.000000000 +0300 -@@ -103,17 +103,19 @@ search_includes() { - # check for libs - search_lib() { - for dir in ${DIRS}; do -+for subdir in "" ${subdirs}; do - for dbn in $@; do - for suffix in so dylib obj a; do - for lib in lib out; do -- if test -r "${dir}/${lib}/lib${dbn}.${suffix}"; then -- add_lib "${dir}/${lib}" "${dbn}" "${suffix}" -- echo "Found: lib${dbn}.${suffix} at ${dir}/${lib}" -+ if test -r "${dir}/${lib}/${subdir}/lib${dbn}.${suffix}"; then -+ add_lib "${dir}/${lib}/${subdir}" "${dbn}" "${suffix}" -+ echo "Found: lib${dbn}.${suffix} at ${dir}/${lib}/${subdir}" - return 0 - fi - done - done - done -+done - done - return 1 - } diff --git a/app-crypt/xca/files/xca-0.6.4-openssl.patch b/app-crypt/xca/files/xca-0.6.4-openssl.patch new file mode 100644 index 000000000000..929bceb0d643 --- /dev/null +++ b/app-crypt/xca/files/xca-0.6.4-openssl.patch @@ -0,0 +1,17 @@ +diff -urNp xca-0.6.4.org/lib/x509rev.cpp xca-0.6.4/lib/x509rev.cpp +--- xca-0.6.4.org/lib/x509rev.cpp 2007-08-13 21:55:50.000000000 +0300 ++++ xca-0.6.4/lib/x509rev.cpp 2007-10-23 17:35:42.000000000 +0200 +@@ -7,7 +7,12 @@ + + #include "x509rev.h" + +-#if OPENSSL_VERSION_NUMBER >= 0x00908000L ++#if OPENSSL_VERSION_NUMBER >= 0x0090806fL ++#define X509_REVOKED_dup(x5r) (X509_REVOKED *)ASN1_dup( \ ++ (i2d_of_void*)i2d_X509_REVOKED, \ ++ (d2i_of_void*)d2i_X509_REVOKED, \ ++ (char *)x5r) ++#elif OPENSSL_VERSION_NUMBER >= 0x00908000L + #define X509_REVOKED_dup(x5r) \ + ASN1_dup_of (X509_REVOKED, i2d_X509_REVOKED, d2i_X509_REVOKED, x5r) + diff --git a/app-crypt/xca/xca-0.5.1-r1.ebuild b/app-crypt/xca/xca-0.5.1-r1.ebuild deleted file mode 100644 index a75b09ce1b05..000000000000 --- a/app-crypt/xca/xca-0.5.1-r1.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/xca/xca-0.5.1-r1.ebuild,v 1.3 2006/10/28 22:50:34 alonbl Exp $ - -inherit eutils kde toolchain-funcs - -DESCRIPTION="A graphical user interface to OpenSSL, RSA public keys, certificates, signing requests and revokation lists" -HOMEPAGE="http://www.hohnstaedt.de/xca.html" -SRC_URI="mirror://sourceforge/xca/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="" - -DEPEND=">=dev-libs/openssl-0.9.8 - =x11-libs/qt-3* - >=sys-libs/db-4.1" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}/${P}-build.patch" - epatch "${FILESDIR}/${P}-gcc4.patch" - epatch "${FILESDIR}/${P}-openssl.patch" - epatch "${FILESDIR}/${P}-qt.patch" - epatch "${FILESDIR}/${P}-db.patch" -} - -src_compile() { - kde_src_compile nothing - STRIP="true" CC="$(tc-getCC)" prefix=/usr ./configure || die "configure died" - echo "inst_prefix=/usr" >> Local.mak - inst_prefix="/usr" emake || die "emake failed" -} - -src_install() { - make destdir="${D}" mandir="share/man" install - - dodoc README CREDITS AUTHORS COPYRIGHT - - insinto /etc/xca - doins misc/*.txt -} diff --git a/app-crypt/xca/xca-0.6.0.ebuild b/app-crypt/xca/xca-0.6.0.ebuild deleted file mode 100644 index 4411058607c7..000000000000 --- a/app-crypt/xca/xca-0.6.0.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/xca/xca-0.6.0.ebuild,v 1.1 2007/04/02 11:09:42 alonbl Exp $ - -inherit eutils toolchain-funcs - -DESCRIPTION="A graphical user interface to OpenSSL, RSA public keys, certificates, signing requests and revokation lists" -HOMEPAGE="http://www.hohnstaedt.de/xca.html" -SRC_URI="mirror://sourceforge/xca/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="" - -DEPEND=">=dev-libs/openssl-0.9.8 - =x11-libs/qt-4*" - -pkg_setup() { - # Upstream: - # http://sourceforge.net/tracker/index.php?func=detail&aid=1692800&group_id=62274&atid=500028 - if has_version ">=x11-libs/qt-4.2.2" ; then - if ! built_with_use x11-libs/qt qt3support ; then - eerror ">=qt4.2.2 requires qt3support" - die "rebuild >=x11-libs/qt-4.2.2 with the qt3support USE flag" - fi - fi -} - -src_unpack() { - unpack ${A} - cd "${S}" - - # Upstream: - # http://sourceforge.net/tracker/index.php?func=detail&aid=1692798&group_id=62274&atid=500027 - epatch "${FILESDIR}/${P}-build.patch" -} - -src_compile() { - QTDIR=/usr \ - STRIP="true" \ - CC="$(tc-getCC)" \ - LD="$(tc-getLD)" \ - prefix=/usr \ - ./configure || die "configure failed" - emake || die "emake failed" -} - -src_install() { - emake destdir="${D}" mandir="share/man" install - - dodoc README CREDITS AUTHORS COPYRIGHT - - insinto /etc/xca - doins misc/*.txt -} diff --git a/app-crypt/xca/xca-0.6.4.ebuild b/app-crypt/xca/xca-0.6.4.ebuild index 499243ad28d9..14215e663ea5 100644 --- a/app-crypt/xca/xca-0.6.4.ebuild +++ b/app-crypt/xca/xca-0.6.4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/xca/xca-0.6.4.ebuild,v 1.1 2007/09/22 18:20:49 alonbl Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-crypt/xca/xca-0.6.4.ebuild,v 1.2 2007/10/23 15:49:30 alonbl Exp $ inherit eutils @@ -28,6 +28,7 @@ src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}/${P}-build.patch" + epatch "${FILESDIR}/${P}-openssl.patch" } src_compile() { |