New package: xca-1.3.2

Closes: #4914 [via git-merge-pr]
This commit is contained in:
Denis Revin 2016-10-07 20:30:52 +04:00 committed by Duncaen
parent 5c5d1020a7
commit 0d66d14a12
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,13 @@
--- lib/pki_temp.cpp.orig 2016-10-07 18:41:22.920435711 +0400
+++ lib/pki_temp.cpp 2016-10-07 18:48:19.459988316 +0400
@@ -367,8 +367,8 @@
PEM_write_bio(b, PEM_STRING_XCA_TEMPLATE, (char*)"",
(unsigned char*)(ba.data()), ba.size());
#else
- PEM_write_bio(b, PEM_STRING_XCA_TEMPLATE, "",
- (const unsigned char*)(ba.constData()), ba.size());
+ PEM_write_bio(b, PEM_STRING_XCA_TEMPLATE, (char*)"",
+ (unsigned char*)(ba.constData()), ba.size());
#endif
pki_openssl_error();
return b;

25
srcpkgs/xca/template Normal file
View file

@ -0,0 +1,25 @@
# Template file for 'xca'
pkgname=xca
version=1.3.2
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config qt5-tools qt5-host-tools"
makedepends="qt5-devel libressl-devel libltdl-devel"
short_desc="X Certificate and Key Management"
maintainer="Denis Revin <denis.revin@gmail.com>"
license="BSD"
homepage="http://xca.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${version}/${pkgname}-${version}.tar.gz"
checksum=04f11f2148c8369c1a1b4e109956ed8cc807ec266d0d936410624ba8ee4b5ce4
do_build() {
make all
}
do_install() {
make destdir=${DESTDIR} install
}
post_install() {
vlicense COPYRIGHT
}