FreeBSD Bugzilla – Attachment 162094 Details for
Bug 203804
[PATCH] security/xca: Update to version 1.3.2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
security_xca.diff
security_xca.diff (text/plain), 8.71 KB, created by
tkato432
on 2015-10-15 18:34:37 UTC
(
hide
)
Description:
security_xca.diff
Filename:
MIME Type:
Creator:
tkato432
Created:
2015-10-15 18:34:37 UTC
Size:
8.71 KB
patch
obsolete
>diff -urN /usr/ports/security/xca/Makefile security/xca/Makefile >--- /usr/ports/security/xca/Makefile 2015-10-15 13:40:13.036472000 +0900 >+++ security/xca/Makefile 2015-10-16 00:00:00.000000000 +0900 >@@ -2,8 +2,8 @@ > # $FreeBSD: head/security/xca/Makefile 399318 2015-10-14 23:51:30Z amdmi3 $ > > PORTNAME= xca >-PORTVERSION= 0.9.3 >-PORTREVISION= 3 >+PORTVERSION= 1.3.2 >+PORTREVISION= 1 > CATEGORIES= security > MASTER_SITES= SF > >@@ -15,41 +15,39 @@ > > LIB_DEPENDS= libltdl.so:${PORTSDIR}/devel/libltdl > >+USES= desktop-file-utils gmake pkgconfig shared-mime-info > USE_OPENSSL= yes >-USE_QT4= gui moc_build uic_build qmake_build rcc_build linguist_build >-USES= desktop-file-utils gmake shared-mime-info >+GNU_CONFIGURE= yes >+CONFIGURE_ARGS= --with-openssl=${OPENSSLDIR} \ >+ --with-qt=${QT_PREFIX} >+MAKE_ARGS= DOCTOOL="${TRUE}" > DESTDIRNAME= destdir > >-.include <bsd.port.pre.mk> >- >-BROKEN_sparc64= fails to link >- >-.if ${OSVERSION} >= 1000054 >-LD_CXX_LIB= -lc++ >-.endif >+CFLAGS+= -I${LOCALBASE}/include >+CPPFLAGS+= -I${LOCALBASE}/include >+LDFLAGS+= -L${LOCALBASE}/lib >+ >+OPTIONS_DEFINE= DOCS >+OPTIONS_SINGLE= TOOLKIT >+OPTIONS_SINGLE_TOOLKIT= QT4 QT5 >+OPTIONS_DEFAULT= QT4 >+ >+QT4_USE= qt4=gui,linguist_build,moc_build,qmake_build \ >+ qt4=rcc_build,uic_build >+QT5_USE= qt5=widgets,buildtools_build,linguist_build >+TOOLKIT_DESC= Qt toolkit > > post-patch: >- @echo "CPPFLAGS=-I. -I.. -I${WRKSRC}/ui -I${QT_INCDIR} -I${QT_INCDIR}/Qt -I${LOCALBASE}/include" > ${WRKSRC}/Local.mak >- @echo "CFLAGS= ${CFLAGS} -Wall -ggdb" >> ${WRKSRC}/Local.mak >- @echo "LDFLAGS= ${LDFLAGS}" >> ${WRKSRC}/Local.mak >- @echo "LIBS= ${LIBS} -L${QT_LIBDIR} -L${LOCALBASE}/lib -lQtCore -lQtGui -lpthread -lcrypto -lltdl ${LD_CXX_LIB}" >> ${WRKSRC}/Local.mak >- @echo "MOC=${MOC}" >> ${WRKSRC}/Local.mak >- @echo "UIC=${QT_PREFIX}/bin/uic-qt4" >> ${WRKSRC}/Local.mak >- @echo "RCC=${LOCALBASE}/bin/rcc" >> ${WRKSRC}/Local.mak >- @echo "LRELEASE=${LOCALBASE}/bin/lrelease-qt4" >> ${WRKSRC}/Local.mak >- @echo "CC=${CC}" >> ${WRKSRC}/Local.mak >- @echo "LD=${LD}" >> ${WRKSRC}/Local.mak >- @echo "STRIP=${STRIP_CMD}" >> ${WRKSRC}/Local.mak >- @echo "prefix=${PREFIX}" >> ${WRKSRC}/Local.mak >- @echo "etc=${PREFIX}/etc/xca" >> ${WRKSRC}/Local.mak >- @echo "basedir=" >> ${WRKSRC}/Local.mak >- @echo "docdir=${DOCSDIR}" >> ${WRKSRC}/Local.mak >- @echo "#define PREFIX \"${PREFIX}\"" > ${WRKSRC}/local.h >- @echo "#define ETC \"${PREFIX}/etc/xca\"" >> ${WRKSRC}/local.h >- @echo "#define VER \"${PORTVERSION}\"" >> ${WRKSRC}/local.h >- @echo "#define DOCDIR \"${DOCSDIR}\"" >> ${WRKSRC}/local.h >- @${REINPLACE_CMD} -e "/rR/{G;s/$$/TOPDIR_/;}" -e "s:\(TOPDIR\)_:\1=${WRKSRC}:" ${WRKSRC}/Makefile >- @${REINPLACE_CMD} -e "/VPATH/{G;s/$$/TOPDIR_/;}" -e "s:\(TOPDIR\)_:\1=${WRKSRC}:" ${WRKSRC}/misc/Makefile >- @${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/lib/import.cpp >+ @${REINPLACE_CMD} -e \ >+ '/^CFLAGS/s|-O2||' ${WRKSRC}/Local.mak.in >+ @${REINPLACE_CMD} -e \ >+ '/install/s|-D|-c|' ${WRKSRC}/img/Makefile >+ >+post-patch-QT5-off: >+ @${REINPLACE_CMD} -e \ >+ 's|Qt5|Qt0|g' ${WRKSRC}/configure >+ >+post-install: >+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/xca* > >-.include <bsd.port.post.mk> >+.include <bsd.port.mk> >diff -urN /usr/ports/security/xca/distinfo security/xca/distinfo >--- /usr/ports/security/xca/distinfo 2015-08-24 03:55:06.496174000 +0900 >+++ security/xca/distinfo 2015-10-16 00:00:00.000000000 +0900 >@@ -1,2 +1,2 @@ >-SHA256 (xca-0.9.3.tar.gz) = 6842b50c8b4478070d8af743cb72aee1f53a2c4ff2b8285fcec5f856119cc6ba >-SIZE (xca-0.9.3.tar.gz) = 755165 >+SHA256 (xca-1.3.2.tar.gz) = 04f11f2148c8369c1a1b4e109956ed8cc807ec266d0d936410624ba8ee4b5ce4 >+SIZE (xca-1.3.2.tar.gz) = 897947 >diff -urN /usr/ports/security/xca/files/patch-doc__Makefile security/xca/files/patch-doc__Makefile >--- /usr/ports/security/xca/files/patch-doc__Makefile 2015-10-15 13:40:13.052937000 +0900 >+++ security/xca/files/patch-doc__Makefile 1970-01-01 09:00:00.000000000 +0900 >@@ -1,32 +0,0 @@ >---- doc/Makefile.orig 2012-05-12 09:37:14 UTC >-+++ doc/Makefile >-@@ -5,7 +5,7 @@ endif >- >- DELFILES=xca*.html xca.1.gz >- >--doc: xca.1.gz xca.html >-+doc: xca.1.gz >- include $(TOPDIR)/Rules.mak >- >- mandir=man >-@@ -15,10 +15,7 @@ xca.1.gz: xca.1 >- >- xca.html: xca.sgml >- rm -f xca*.html >-- echo 'The documentation for XCA can be viewed online at: <a href="http://xca.sourceforge.net/">http://xca.sourceforge.net/</a>.' > $@ >-- test ! -f xca-doc.tgz || tar zxf xca-doc.tgz >-- @$(PRINT) " DOC [$(BASENAME)] $@" >-- $(LINUXDOC) -B html $< >/dev/null >-+ echo 'The documentation for XCA can be viewed online at: <a href="http://xca.sourceforge.net/">http://xca.sourceforge.net/</a>.' >> $@ >- >- install: xca.1.gz xca.html >- install -m 755 -d $(destdir)$(docdir) \ >-@@ -26,8 +23,4 @@ install: xca.1.gz xca.html >- install -m 644 xca*.html $(destdir)$(docdir) >- install xca.1.gz $(destdir)$(prefix)/$(mandir)/man1 >- >--app: xca.html >-- mkdir -p $(APPDIR)/Resources >-- install -m 644 xca*.html $(APPDIR)/Resources >-- >- >diff -urN /usr/ports/security/xca/files/patch-img__Makefile security/xca/files/patch-img__Makefile >--- /usr/ports/security/xca/files/patch-img__Makefile 2015-10-15 13:40:13.053199000 +0900 >+++ security/xca/files/patch-img__Makefile 1970-01-01 09:00:00.000000000 +0900 >@@ -1,11 +0,0 @@ >---- img/Makefile.orig 2012-05-12 09:37:14 UTC >-+++ 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 -d -m 755 $(destdir)$(prefix)/share/pixmaps && install -m 644 $^ $(destdir)$(prefix)/share/pixmaps/xca-32x32.xpm >- >- imgres.cpp: imgres.rcc >- @$(PRINT) " RCC [$(BASENAME)] $@" >diff -urN /usr/ports/security/xca/files/patch-lib__x509v3ext.cpp security/xca/files/patch-lib__x509v3ext.cpp >--- /usr/ports/security/xca/files/patch-lib__x509v3ext.cpp 2015-10-15 13:40:13.053442000 +0900 >+++ security/xca/files/patch-lib__x509v3ext.cpp 1970-01-01 09:00:00.000000000 +0900 >@@ -1,20 +0,0 @@ >---- lib/x509v3ext.cpp.orig 2012-05-12 09:37:14 UTC >-+++ lib/x509v3ext.cpp >-@@ -27,6 +27,8 @@ x509v3ext::x509v3ext(const X509_EXTENSIO >- x509v3ext::x509v3ext(const x509v3ext &n) >- { >- ext = NULL; >-+ if (!n.isValid()) >-+ return; >- set(n.ext); >- } >- >-@@ -743,7 +745,7 @@ X509_EXTENSION *x509v3ext::get() const >- >- bool x509v3ext::isValid() const >- { >-- return ext->value->length > 0 && >-+ return ext && ext->value && ext->value->length > 0 && >- OBJ_obj2nid(ext->object) != NID_undef; >- } >- >diff -urN /usr/ports/security/xca/pkg-descr security/xca/pkg-descr >--- /usr/ports/security/xca/pkg-descr 2015-08-24 03:55:06.497102000 +0900 >+++ security/xca/pkg-descr 2015-10-16 00:00:00.000000000 +0900 >@@ -1,8 +1,8 @@ >-Graphical certification authority is an interface for managing >-RSA keys and certificates, and the creation and signing of PKCS#10 requests. >-It uses the OpenSSL library and a Berkeley DB for key and certificate storage. >-It supports importing and exporting keys and PEM DER PKCS8 certificates, >-signing and revoking of PEM DER PKCS12, and selection of x509v3 extensions. >-A tree view of certificates is presented. >+Graphical certification authority is an interface for managing RSA keys >+and certificates, and the creation and signing of PKCS#10 requests. It >+uses the OpenSSL library and a Berkeley DB for key and certificate >+storage. It supports importing and exporting keys and PEM DER PKCS8 >+certificates, signing and revoking of PEM DER PKCS12, and selection of >+x509v3 extensions. A tree view of certificates is presented. > >-WWW: http://www.hohnstaedt.de/xca.html >+WWW: http://xca.hohnstaedt.de/ >diff -urN /usr/ports/security/xca/pkg-plist security/xca/pkg-plist >--- /usr/ports/security/xca/pkg-plist 2015-08-24 03:55:06.483714000 +0900 >+++ security/xca/pkg-plist 2015-10-16 00:00:00.000000000 +0900 >@@ -1,4 +1,26 @@ > bin/xca >+bin/xca_db_stat >+man/man1/xca.1.gz >+man/man1/xca_db_stat.1.gz >+share/applications/xca.desktop >+%%PORTDOCS%%%%DOCSDIR%%/xca-1.html >+%%PORTDOCS%%%%DOCSDIR%%/xca-10.html >+%%PORTDOCS%%%%DOCSDIR%%/xca-11.html >+%%PORTDOCS%%%%DOCSDIR%%/xca-12.html >+%%PORTDOCS%%%%DOCSDIR%%/xca-13.html >+%%PORTDOCS%%%%DOCSDIR%%/xca-14.html >+%%PORTDOCS%%%%DOCSDIR%%/xca-15.html >+%%PORTDOCS%%%%DOCSDIR%%/xca-2.html >+%%PORTDOCS%%%%DOCSDIR%%/xca-3.html >+%%PORTDOCS%%%%DOCSDIR%%/xca-4.html >+%%PORTDOCS%%%%DOCSDIR%%/xca-5.html >+%%PORTDOCS%%%%DOCSDIR%%/xca-6.html >+%%PORTDOCS%%%%DOCSDIR%%/xca-7.html >+%%PORTDOCS%%%%DOCSDIR%%/xca-8.html >+%%PORTDOCS%%%%DOCSDIR%%/xca-9.html >+%%PORTDOCS%%%%DOCSDIR%%/xca.html >+share/mime/packages/xca.xml >+share/pixmaps/xca-32x32.xpm > %%DATADIR%%/CA.xca > %%DATADIR%%/HTTPS_client.xca > %%DATADIR%%/HTTPS_server.xca >@@ -10,10 +32,6 @@ > %%DATADIR%%/xca_de.qm > %%DATADIR%%/xca_es.qm > %%DATADIR%%/xca_fr.qm >+%%DATADIR%%/xca_hr.qm > %%DATADIR%%/xca_ru.qm > %%DATADIR%%/xca_tr.qm >-%%DOCSDIR%%/xca.html >-man/man1/xca.1.gz >-share/applications/xca.desktop >-share/mime/packages/xca.xml >-share/pixmaps/xca-32x32.xpm
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 203804
: 162094