update to xca-2.4.0

This commit is contained in:
sthen 2021-05-08 09:40:36 +00:00
parent a5d53af29a
commit 127e39482e
7 changed files with 56 additions and 57 deletions

View File

@ -1,12 +1,11 @@
# $OpenBSD: Makefile,v 1.30 2020/07/11 22:54:39 sthen Exp $
# $OpenBSD: Makefile,v 1.31 2021/05/08 09:40:36 sthen Exp $
COMMENT= create and manage certificates, CSRs, keys, etc
V= 2.3.0
V= 2.4.0
DISTNAME= xca-$V
PORTROACH= skipv:RELEASE.$V
CATEGORIES= security x11
REVISION= 0
HOMEPAGE= https://hohnstaedt.de/xca/
@ -15,7 +14,7 @@ MAINTAINER= Stuart Henderson <stu.ports@spacehopper.org>
# BSD
PERMIT_PACKAGE= Yes
WANTLIB += ${COMPILER_LIBCXX} Qt5Core Qt5Gui Qt5Sql Qt5Widgets
WANTLIB += ${COMPILER_LIBCXX} Qt5Core Qt5Gui Qt5Help Qt5Sql Qt5Widgets
WANTLIB += c crypto ltdl m
MASTER_SITES= https://github.com/chris2511/xca/releases/download/RELEASE.$V/
@ -24,15 +23,16 @@ MODULES= x11/qt5
USE_GMAKE= Yes
CFLAGS+= -I${LOCALBASE}/include
CXXFLAGS+= -I${LOCALBASE}/include -std=c++11
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
CXXFLAGS="${CXXFLAGS} -std=c++11" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -L${X11BASE}/lib"
MAKE_FLAGS= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -L${X11BASE}/lib"
CONFIGURE_ENV= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -L${X11BASE}/lib"
MAKE_FLAGS= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -L${X11BASE}/lib"
MAKE_ENV= destdir=${WRKINST}
LIB_DEPENDS= devel/libtool,-ltdl
LIB_DEPENDS= devel/libtool,-ltdl \
x11/qt5/qttools,-main
RUN_DEPENDS= devel/desktop-file-utils \
misc/shared-mime-info

View File

@ -1,2 +1,2 @@
SHA256 (xca-2.3.0.tar.gz) = PRaKIl76+bIhPprSugq7zPytE5GB3SvmaMK74hlVokg=
SIZE (xca-2.3.0.tar.gz) = 1354154
SHA256 (xca-2.4.0.tar.gz) = ZtqJVP6XCazpZcb8sc+7ewjOdbciKYisueK4tfrHzxA=
SIZE (xca-2.4.0.tar.gz) = 1778572

View File

@ -1,9 +1,9 @@
$OpenBSD: patch-Makefile,v 1.8 2020/06/06 20:40:49 sthen Exp $
$OpenBSD: patch-Makefile,v 1.9 2021/05/08 09:40:37 sthen Exp $
Index: Makefile
--- Makefile.orig
+++ Makefile
@@ -126,9 +126,7 @@ snapshot:
@@ -139,9 +139,7 @@ snapshot:
gzip -9 > xca-$${HASH}.tar.gz
install: xca$(SUFFIX) $(INSTTARGET)

View File

@ -1,14 +1,14 @@
$OpenBSD: patch-configure,v 1.7 2020/06/06 20:40:49 sthen Exp $
$OpenBSD: patch-configure,v 1.8 2021/05/08 09:40:37 sthen Exp $
Index: configure
--- configure.orig
+++ configure
@@ -4110,7 +4110,7 @@ fi
@@ -4235,7 +4235,7 @@ fi
# Finally collect the compiler flags
#####################################
CXXFLAGS="${CXXFLAGS} ${OPENSSL_CFLAGS} ${QT_CFLAGS}"
-LIBS="${LIBS} ${OPENSSL_LIBS} ${QT_LIBS} -lstdc++"
+LIBS="${LIBS} ${OPENSSL_LIBS} ${QT_LIBS}"
CXXFLAGS="${OPENSSL_CFLAGS} ${QT_CFLAGS} ${CXXFLAGS}"
-LIBS="${OPENSSL_LIBS} ${QT_LIBS} -lstdc++ ${LIBS}"
+LIBS="${OPENSSL_LIBS} ${QT_LIBS} ${LIBS}"
# Just give it a try .....
##########################

View File

@ -1,14 +1,14 @@
$OpenBSD: patch-doc_Makefile,v 1.7 2020/06/06 20:40:49 sthen Exp $
$OpenBSD: patch-doc_Makefile,v 1.8 2021/05/08 09:40:37 sthen Exp $
Index: doc/Makefile
--- doc/Makefile.orig
+++ doc/Makefile
@@ -23,7 +23,7 @@ install: $(doc)
@@ -43,7 +43,7 @@ install: $(doc)
$(ENABLE_DOC)install -m 755 -d $(DESTDIR)$(htmldir)
$(ENABLE_DOC)install -m 644 xca*.html $(DESTDIR)$(htmldir)
$(ENABLE_DOC)install -m 644 $(qthelpfiles) $(DESTDIR)$(htmldir)
install -m 755 -d $(DESTDIR)$(mandir)/man1
- install -m 644 *.1.gz $(DESTDIR)/$(mandir)/man1
+ install -m 644 *.1 $(DESTDIR)/$(mandir)/man1
app: xca.html
app: $(doc)
mkdir -p $(APPDIR)/Resources

View File

@ -1,16 +0,0 @@
$OpenBSD: patch-misc_Makefile,v 1.6 2020/06/06 20:40:49 sthen Exp $
Index: misc/Makefile
--- misc/Makefile.orig
+++ misc/Makefile
@@ -32,10 +32,6 @@ install:
$(DESTDIR)$(xca_prefix)
install -m 644 $(SRCPATH)xca.desktop $(DESTDIR)$(datarootdir)/applications
install -m 644 $(SRCPATH)xca.xml $(DESTDIR)$(datarootdir)/mime/packages
- if test -z "$(DESTDIR)"; then \
- update-mime-database $(datarootdir)/mime || :; \
- update-desktop-database || :; \
- fi
app: Info.plist
mkdir -p $(APPDIR)/Resources

View File

@ -1,31 +1,46 @@
@comment $OpenBSD: PLIST,v 1.11 2020/06/06 20:40:49 sthen Exp $
@comment $OpenBSD: PLIST,v 1.12 2021/05/08 09:40:37 sthen Exp $
@ask-update xca-<2 .xdb format changes in XCA 2.x. Upgrade is automatic, but backup your old files.
@bin bin/xca
@man man/man1/xca.1
share/applications/xca.desktop
share/bash-completion/completions/xca
share/doc/xca/
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/doc/xca/arguments.html
share/doc/xca/certificate-input.html
share/doc/xca/certificates.html
share/doc/xca/changelog.html
share/doc/xca/commandline.html
share/doc/xca/common-actions.html
share/doc/xca/database.html
share/doc/xca/genindex.html
share/doc/xca/index.html
share/doc/xca/introduction.html
share/doc/xca/miscellaneous.html
share/doc/xca/object-ids.html
share/doc/xca/options.html
share/doc/xca/privatekey.html
share/doc/xca/requests.html
share/doc/xca/revocationlist.html
share/doc/xca/smartcard.html
share/doc/xca/step-by-step.html
share/doc/xca/template.html
share/doc/xca/xca.qch
share/doc/xca/xca.qhc
share/icons/hicolor/16x16/apps/xca.png
share/icons/hicolor/16x16/mimetypes/x-xca-database.png
share/icons/hicolor/16x16/mimetypes/x-xca-template.png
share/icons/hicolor/32x32/apps/xca.png
share/icons/hicolor/32x32/mimetypes/x-xca-database.png
share/icons/hicolor/32x32/mimetypes/x-xca-template.png
share/icons/hicolor/48x48/apps/xca.png
share/icons/hicolor/48x48/mimetypes/x-xca-database.png
share/icons/hicolor/48x48/mimetypes/x-xca-template.png
share/icons/hicolor/64x64/apps/xca.png
share/icons/hicolor/64x64/mimetypes/x-xca-database.png
share/icons/hicolor/64x64/mimetypes/x-xca-template.png
share/mime/packages/xca.xml
share/pixmaps/
share/pixmaps/xca.xpm
share/pixmaps/xca-32x32.xpm
share/xca/
share/xca/CA.xca
share/xca/TLS_client.xca