diff --git a/srcpkgs/xca/patches/libressl.patch b/srcpkgs/xca/patches/libressl.patch new file mode 100644 index 00000000000..77235ecfb16 --- /dev/null +++ b/srcpkgs/xca/patches/libressl.patch @@ -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; diff --git a/srcpkgs/xca/template b/srcpkgs/xca/template new file mode 100644 index 00000000000..ab210c74380 --- /dev/null +++ b/srcpkgs/xca/template @@ -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 " +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 +}