pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc xca: initial commit
details: https://anonhg.NetBSD.org/pkgsrc/rev/a0bde4f7fe9e
branches: trunk
changeset: 399615:a0bde4f7fe9e
user: brook <brook%pkgsrc.org@localhost>
date: Tue Aug 13 02:39:45 2019 +0000
description:
xca: initial commit
X - Certificate and Key management
This application is intended for creating and managing X.509
certificates, certificate requests, RSA, DSA and EC private keys,
Smartcards and CRLs. Everything that is needed for a CA is
implemented. All CAs can sign sub-CAs recursively. These certificate
chains are shown clearly. For an easy company-wide use there are
customiseable templates that can be used for certificate or request
generation.
All cryptographic data is stored in a SQL database. SQLite, MySQL
(MariaDB) and PostgreSQL databases are supported.
diffstat:
doc/CHANGES-2019 | 3 +-
security/Makefile | 3 +-
security/xca/DESCR | 12 ++++++++++
security/xca/Makefile | 28 ++++++++++++++++++++++++
security/xca/PLIST | 37 +++++++++++++++++++++++++++++++++
security/xca/distinfo | 8 +++++++
security/xca/options.mk | 28 ++++++++++++++++++++++++
security/xca/patches/patch-Makefile | 17 +++++++++++++++
security/xca/patches/patch-img_Makefile | 15 +++++++++++++
9 files changed, 149 insertions(+), 2 deletions(-)
diffs (204 lines):
diff -r d4cee4e2f925 -r a0bde4f7fe9e doc/CHANGES-2019
--- a/doc/CHANGES-2019 Tue Aug 13 02:32:06 2019 +0000
+++ b/doc/CHANGES-2019 Tue Aug 13 02:39:45 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES-2019,v 1.3413 2019/08/13 02:32:06 brook Exp $
+$NetBSD: CHANGES-2019,v 1.3414 2019/08/13 02:39:45 brook Exp $
Changes to the packages collection and infrastructure in 2019:
@@ -5621,3 +5621,4 @@
Added print/tex-nfssext-cfr-doc version 2019 [brook 2019-08-13]
Added print/tex-outline version 2019 [brook 2019-08-13]
Added print/tex-outline-doc version 2019 [brook 2019-08-13]
+ Added security/xca version 2.1.2 [brook 2019-08-13]
diff -r d4cee4e2f925 -r a0bde4f7fe9e security/Makefile
--- a/security/Makefile Tue Aug 13 02:32:06 2019 +0000
+++ b/security/Makefile Tue Aug 13 02:39:45 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.708 2019/08/11 16:52:12 fox Exp $
+# $NetBSD: Makefile,v 1.709 2019/08/13 02:39:45 brook Exp $
#
COMMENT= Security tools
@@ -601,6 +601,7 @@
SUBDIR+= validns
SUBDIR+= vault
SUBDIR+= volatility
+SUBDIR+= xca
SUBDIR+= xml-security-c
SUBDIR+= xmlsec1
SUBDIR+= yafic
diff -r d4cee4e2f925 -r a0bde4f7fe9e security/xca/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/xca/DESCR Tue Aug 13 02:39:45 2019 +0000
@@ -0,0 +1,12 @@
+X - Certificate and Key management
+
+This application is intended for creating and managing X.509
+certificates, certificate requests, RSA, DSA and EC private keys,
+Smartcards and CRLs. Everything that is needed for a CA is
+implemented. All CAs can sign sub-CAs recursively. These certificate
+chains are shown clearly. For an easy company-wide use there are
+customiseable templates that can be used for certificate or request
+generation.
+
+All cryptographic data is stored in a SQL database. SQLite, MySQL
+(MariaDB) and PostgreSQL databases are supported.
diff -r d4cee4e2f925 -r a0bde4f7fe9e security/xca/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/xca/Makefile Tue Aug 13 02:39:45 2019 +0000
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2019/08/13 02:39:45 brook Exp $
+
+DISTNAME= xca-2.1.2
+CATEGORIES= security
+MASTER_SITES= ${MASTER_SITE_GITHUB:=chris2511/}
+GITHUB_RELEASE= RELEASE.2.1.2
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://hohnstaedt.de/xca/
+COMMENT= Certificate and key management
+LICENSE= modified-bsd
+
+GNU_CONFIGURE= yes
+USE_TOOLS+= gmake pkg-config
+USE_LANGUAGES= c++
+DESTDIR_VARNAME= destdir
+
+INSTALLATION_DIRS+= bin man/man1
+INSTALLATION_DIRS+= share/applications share/mime/packages share/pixmaps
+INSTALLATION_DIRS+= share/doc/xca share/xca
+
+.include "options.mk"
+
+.include "../../devel/libltdl/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../x11/qt4-libs/buildlink3.mk"
+.include "../../x11/qt4-tools/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r d4cee4e2f925 -r a0bde4f7fe9e security/xca/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/xca/PLIST Tue Aug 13 02:39:45 2019 +0000
@@ -0,0 +1,37 @@
+@comment $NetBSD: PLIST,v 1.1 2019/08/13 02:39:45 brook Exp $
+bin/xca
+man/man1/xca.1
+share/applications/xca.desktop
+share/doc/xca/xca-1.html
+share/doc/xca/xca-10.html
+share/doc/xca/xca-11.html
+share/doc/xca/xca-12.html
+share/doc/xca/xca-13.html
+share/doc/xca/xca-14.html
+share/doc/xca/xca-15.html
+share/doc/xca/xca-2.html
+share/doc/xca/xca-3.html
+share/doc/xca/xca-4.html
+share/doc/xca/xca-5.html
+share/doc/xca/xca-6.html
+share/doc/xca/xca-7.html
+share/doc/xca/xca-8.html
+share/doc/xca/xca-9.html
+share/doc/xca/xca.html
+share/mime/packages/xca.xml
+share/pixmaps/xca-32x32.xpm
+share/xca/CA.xca
+share/xca/HTTPS_client.xca
+share/xca/HTTPS_server.xca
+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_fr.qm
+share/xca/xca_hr.qm
+share/xca/xca_pl.qm
+share/xca/xca_pt_BR.qm
+share/xca/xca_ru.qm
+share/xca/xca_sk.qm
+share/xca/xca_tr.qm
diff -r d4cee4e2f925 -r a0bde4f7fe9e security/xca/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/xca/distinfo Tue Aug 13 02:39:45 2019 +0000
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1 2019/08/13 02:39:45 brook Exp $
+
+SHA1 (xca-2.1.2.tar.gz) = a3663d95c6781afe6b3372d2290f2c80b641dcb4
+RMD160 (xca-2.1.2.tar.gz) = 16717ab6eb2cd33599d9606b7908551ad01bbff3
+SHA512 (xca-2.1.2.tar.gz) = 1f104a22b83b802576b4820b7139971da50f9b3dd70aca8e1199e996bad4379b8681bb31b197b84a3dfa49cef4ae093f6622d15fac9667547ff47af43c1e5f07
+Size (xca-2.1.2.tar.gz) = 1086563 bytes
+SHA1 (patch-Makefile) = c23e7de9fcdff140a3863e56e2c666abf5c04d12
+SHA1 (patch-img_Makefile) = 040e2a2ca5c7caacf69ee282df0b12f8eb1a4200
diff -r d4cee4e2f925 -r a0bde4f7fe9e security/xca/options.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/xca/options.mk Tue Aug 13 02:39:45 2019 +0000
@@ -0,0 +1,28 @@
+# $NetBSD $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.xca
+PKG_SUPPORTED_OPTIONS= sqlite3 mysql pgsql
+PKG_SUGGESTED_OPTIONS= sqlite3
+
+.include "../../mk/bsd.options.mk"
+
+###
+### Use SQLite3 for storing certificate data
+###
+.if !empty(PKG_OPTIONS:Msqlite3)
+DEPENDS+= qt4-sqlite3>=${QTVERSION}:../../x11/qt4-sqlite3
+.endif
+
+.if !empty(PKG_OPTIONS:Mmysql)
+###
+### Use MySQL for storing certificate data
+###
+DEPENDS+= qt4-mysql>=${QTVERSION}:../../x11/qt4-mysql
+.endif
+
+###
+### Use PostgreSQL for storing certificate data
+###
+.if !empty(PKG_OPTIONS:Mpgsql)
+DEPENDS+= qt4-pgsql>=${QTVERSION}:../../x11/qt4-pgsql
+.endif
diff -r d4cee4e2f925 -r a0bde4f7fe9e security/xca/patches/patch-Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/xca/patches/patch-Makefile Tue Aug 13 02:39:45 2019 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-Makefile,v 1.1 2019/08/13 02:39:45 brook Exp $
+
+Remove needless otool commands.
+
+--- Makefile.orig 2018-11-07 18:06:57.000000000 +0000
++++ Makefile
+@@ -179,10 +179,7 @@ $(DMGSTAGE): xca$(SUFFIX)
+ $(MAKE) $(APPTARGET)
+ cp -r $(DMGSTAGE)/xca.app/Contents/Resources/*.html $(DMGSTAGE)/manual
+ ln -s xca.html $(DMGSTAGE)/manual/index.html
+- otool -l $(DMGSTAGE)/xca.app/Contents/MacOS/xca | grep -e "chris\|Users" >&2
+ $(MACDEPLOYQT) $(DMGSTAGE)/xca.app
+- rpath="`otool -l $(DMGSTAGE)/xca.app/Contents/MacOS/xca | grep -e "chris\|Users"`" && \
+- if test -n "$$rpath"; then echo " ERROR $$rpath"; false; fi
+ -codesign --force --deep --signature-size=96000 -s "Christian Hohnstaedt" $(DMGSTAGE)/xca.app --timestamp
+
+ xca.dmg: $(MACTARGET).dmg
diff -r d4cee4e2f925 -r a0bde4f7fe9e security/xca/patches/patch-img_Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/xca/patches/patch-img_Makefile Tue Aug 13 02:39:45 2019 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-img_Makefile,v 1.1 2019/08/13 02:39:45 brook Exp $
+
+Remove a non-portable install command line option (-D).
+
+--- img/Makefile.orig 2018-11-07 18:06:57.000000000 +0000
++++ img/Makefile
+@@ -13,7 +13,7 @@ include $(TOPDIR)/Rules.mak
+ sinclude .depend
+
+ install: xca-32x32.xpm
+- install -D -m 644 $^ $(destdir)$(prefix)/share/pixmaps/xca-32x32.xpm
++ install -m 644 $^ $(destdir)$(prefix)/share/pixmaps/xca-32x32.xpm
+
+ imgres.cpp: imgres.rcc
+ @$(PRINT) " RCC [$(BASENAME)] $@"
Home |
Main Index |
Thread Index |
Old Index