aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorGuido Falsi <madpilot@FreeBSD.org>2014-10-16 09:15:54 +0000
committerGuido Falsi <madpilot@FreeBSD.org>2014-10-16 09:15:54 +0000
commit04584e5299bc6ff73da8dee5e5979532416a6634 (patch)
tree9399f88365738a46b0532c6392774e6881a7bdce /security
parentf0cfdebc63eba30b8433acb2980066f4fda6f0de (diff)
downloadports-04584e5299bc6ff73da8dee5e5979532416a6634.tar.gz
ports-04584e5299bc6ff73da8dee5e5979532416a6634.zip
Notes
Diffstat (limited to 'security')
-rw-r--r--security/xca/Makefile4
-rw-r--r--security/xca/files/patch-doc__Makefile (renamed from security/xca/files/patch-doc-Makefile)0
-rw-r--r--security/xca/files/patch-img__Makefile (renamed from security/xca/files/patch-img-Makefile)0
-rw-r--r--security/xca/files/patch-lib__x509v3ext.cpp20
-rw-r--r--security/xca/pkg-plist4
5 files changed, 22 insertions, 6 deletions
diff --git a/security/xca/Makefile b/security/xca/Makefile
index b0c9e6e169b5..6852c72d4a4f 100644
--- a/security/xca/Makefile
+++ b/security/xca/Makefile
@@ -3,14 +3,14 @@
PORTNAME= xca
PORTVERSION= 0.9.3
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= security
MASTER_SITES= SF
MAINTAINER= freebsd@nagilum.org
COMMENT= Graphical certification authority
-LICENSE= BSD
+LICENSE= BSD3CLAUSE
LIB_DEPENDS= libltdl.so:${PORTSDIR}/devel/libltdl
diff --git a/security/xca/files/patch-doc-Makefile b/security/xca/files/patch-doc__Makefile
index 5a977c31a197..5a977c31a197 100644
--- a/security/xca/files/patch-doc-Makefile
+++ b/security/xca/files/patch-doc__Makefile
diff --git a/security/xca/files/patch-img-Makefile b/security/xca/files/patch-img__Makefile
index 3350de844e52..3350de844e52 100644
--- a/security/xca/files/patch-img-Makefile
+++ b/security/xca/files/patch-img__Makefile
diff --git a/security/xca/files/patch-lib__x509v3ext.cpp b/security/xca/files/patch-lib__x509v3ext.cpp
new file mode 100644
index 000000000000..c399d2534f0b
--- /dev/null
+++ b/security/xca/files/patch-lib__x509v3ext.cpp
@@ -0,0 +1,20 @@
+--- lib/x509v3ext.cpp.orig 2012-05-12 09:37:14 UTC
++++ lib/x509v3ext.cpp
+@@ -27,6 +27,8 @@
+ x509v3ext::x509v3ext(const x509v3ext &n)
+ {
+ ext = NULL;
++ if (!n.isValid())
++ return;
+ set(n.ext);
+ }
+
+@@ -743,7 +745,7 @@
+
+ bool x509v3ext::isValid() const
+ {
+- return ext->value->length > 0 &&
++ return ext && ext->value && ext->value->length > 0 &&
+ OBJ_obj2nid(ext->object) != NID_undef;
+ }
+
diff --git a/security/xca/pkg-plist b/security/xca/pkg-plist
index c12d7cc2f3fc..cdc1669ae461 100644
--- a/security/xca/pkg-plist
+++ b/security/xca/pkg-plist
@@ -17,7 +17,3 @@ man/man1/xca.1.gz
share/applications/xca.desktop
share/mime/packages/xca.xml
share/pixmaps/xca-32x32.xpm
-@dirrm %%DATADIR%%
-@dirrm %%DOCSDIR%%
-@dirrmtry share/mime/packages
-@dirrmtry share/mime