diff options
author | zi <zi@FreeBSD.org> | 2012-03-16 06:49:28 +0800 |
---|---|---|
committer | zi <zi@FreeBSD.org> | 2012-03-16 06:49:28 +0800 |
commit | 70efd144b4c0672ccc4e2d3db4c5f9034d967017 (patch) | |
tree | 98cee738cb52fa6a21935e3ed718febf0316a461 | |
parent | 5523395daaf0412af2f75f5f5d343daf0b5f7b64 (diff) | |
download | freebsd-ports-gnome-70efd144b4c0672ccc4e2d3db4c5f9034d967017.tar.gz freebsd-ports-gnome-70efd144b4c0672ccc4e2d3db4c5f9034d967017.tar.zst freebsd-ports-gnome-70efd144b4c0672ccc4e2d3db4c5f9034d967017.zip |
- Update to 3.15 [1]
- Take maintainership per private conversation with current maintainer
- Remove reliance on OpenSSL from ports
PR: ports/165992 [1]
Submitted by: Stanislav Sedov <stas@deglitch.com> [1]
Feature safe: yes
-rw-r--r-- | security/openconnect/Makefile | 27 | ||||
-rw-r--r-- | security/openconnect/distinfo | 4 | ||||
-rw-r--r-- | security/openconnect/files/patch-www_Makefile.am | 10 | ||||
-rw-r--r-- | security/openconnect/pkg-plist | 6 |
4 files changed, 34 insertions, 13 deletions
diff --git a/security/openconnect/Makefile b/security/openconnect/Makefile index 3fbd3b617786..62c6e956cdbb 100644 --- a/security/openconnect/Makefile +++ b/security/openconnect/Makefile @@ -6,34 +6,47 @@ # PORTNAME= openconnect -PORTVERSION= 3.11 -PORTREVISION= 0 +PORTVERSION= 3.15 CATEGORIES= security MASTER_SITES= ftp://ftp.infradead.org/pub/openconnect/ \ - CRITICAL + http://people.rit.edu/rpsfa/distfiles/ -MAINTAINER= dgerow@afflictions.org -COMMENT= A client for Cisco\'s AnyConnect SSL VPN +MAINTAINER= zi@FreeBSD.org +COMMENT= A client for Cisco's AnyConnect SSL VPN LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2 GNU_CONFIGURE= yes -USE_GMAKE= yes +CONFIGURE_ARGS= --disable-nls --with-openssl=/usr +MAKE_ENV+= OPENSSL_CFLAGS=-I/usr/include +USE_AUTOTOOLS= aclocal autoconf libtool USE_GNOME= gnomehack pkgconfig +USE_GMAKE= yes MAKE_JOBS_SAFE= yes +ACLOCAL_ARGS= -I . USE_OPENSSL= yes -USE_OPENSSL_PORT= yes # Requires modern OpenSSL version +USE_LDCONFIG= yes +PORTDOCS= * MAN8= openconnect.8 OPTIONS= PROXY "Enable automatic proxy configuratio via libproxy" off +.include <bsd.port.options.mk> + .include <bsd.port.pre.mk> .if defined(WITH_PROXY) LIB_DEPENDS+= proxy.1:${PORTSDIR}/net/libproxy .endif +post-patch: + @${REINPLACE_CMD} -e 's|libdir)/pkgconfig|prefix)/libdata/pkgconfig|' \ + ${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.am + @${REINPLACE_CMD} -e '/SUBDIRS += www/d' ${WRKSRC}/Makefile.am + @${REINPLACE_CMD} -e 's|.{with_openssl}/libssl.a .{with_openssl}/libcrypto.a -ldl|-lssl -lcrypto|g' \ + ${WRKSRC}/configure.ac + post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} diff --git a/security/openconnect/distinfo b/security/openconnect/distinfo index a75694780928..c55cc593edb0 100644 --- a/security/openconnect/distinfo +++ b/security/openconnect/distinfo @@ -1,2 +1,2 @@ -SHA256 (openconnect-3.11.tar.gz) = 936b3e4e83cec75e65d2d2a23184b0dba02c1e96c6caea4039a4870bc598275d -SIZE (openconnect-3.11.tar.gz) = 354616 +SHA256 (openconnect-3.15.tar.gz) = b533083f47643621ff4decb293300ce49339d6b3ff3c21b75f5035d6df5edcc2 +SIZE (openconnect-3.15.tar.gz) = 571460 diff --git a/security/openconnect/files/patch-www_Makefile.am b/security/openconnect/files/patch-www_Makefile.am new file mode 100644 index 000000000000..1ce93fe9b755 --- /dev/null +++ b/security/openconnect/files/patch-www_Makefile.am @@ -0,0 +1,10 @@ +--- www/Makefile.am.orig 2012-03-12 20:25:28.000000000 -0700 ++++ www/Makefile.am 2012-03-12 20:25:34.000000000 -0700 +@@ -25,6 +25,6 @@ + + manual.html: openconnect.8.inc + openconnect.8.inc: $(top_srcdir)/openconnect.8 +- groff -t -K UTF-8 -mandoc -Txhtml $^ | sed -e '1,/<body>/d' -e '/<\/body>/,$$d' > $@ ++ groff -t -mandoc -Thtml $^ | sed -e '1,/<body>/d' -e '/<\/body>/,$$d' > $@ + + EXTRA_DIST = $(patsubst %.html,%.xml,$(ALL_PAGES)) menu1.xml menu2*.xml html.py diff --git a/security/openconnect/pkg-plist b/security/openconnect/pkg-plist index ff17d34e1698..65239a6c8a5a 100644 --- a/security/openconnect/pkg-plist +++ b/security/openconnect/pkg-plist @@ -1,9 +1,7 @@ -bin/openconnect +sbin/openconnect include/openconnect.h +lib/libopenconnect.a lib/libopenconnect.la lib/libopenconnect.so lib/libopenconnect.so.1 libdata/pkgconfig/openconnect.pc -%%PORTDOCS%%%%DOCSDIR%%/TODO -%%PORTDOCS%%%%DOCSDIR%%/openconnect.html -%%PORTDOCS%%@dirrm %%DOCSDIR%% |