Summary: | security/strongswan 5.1.3 package incomplete & update to 5.2.0 | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | dewayne | ||||||
Component: | Individual Port(s) | Assignee: | John Marino <marino> | ||||||
Status: | Closed FIXED | ||||||||
Severity: | Affects Some People | CC: | marino, strongswan | ||||||
Priority: | --- | ||||||||
Version: | Latest | ||||||||
Hardware: | Any | ||||||||
OS: | Any | ||||||||
Attachments: |
|
Notify maintainer (CC) for approval maintainer timed out, moving to patch-ready status (maintainer approval no longer required) Created attachment 146020 [details]
strongswan 5.2.0 patch
Updated the port to use strongSwan 5.2.0.
Fixed the package to install configuration files now correctly as samples so that existing configuration is not overwritten or removed incorrectly.
Added the missing missing library files:
/usr/local/lib/ipsec/libcharon.so.0.0.0
/usr/local/lib/ipsec/libstrongswan.so.0.0.0
/usr/local/lib/ipsec/libhydra.so.0.0.0
/usr/local/lib/ipsec/libtls.so.0.0.0
Removed duplication of various configuration files that was not necessary.
Was tested with FreeBSD 10.0 64-bit
Initial patch submitted was tested by dewayne@heuristicsystems for
FreeBSD 9.3 i386 and amd64, Windows7 (IKEv2) and IOS (iphone) vpn's.
Heh, that got his attention. :) (In reply to John Marino from comment #4) > Heh, that got his attention. :) Nope was just on leave and got back recently. And there was another issue which caused a crash that I managed to fixed yesterday, before I wanted to submit the updated patch. It's not passing stage-qa. If you are lucky, there's an install-strip target that will fix this. I'll report back in minute. ====> Running Q/A tests (stage-qa) Warning: 'lib/ipsec/plugins/libstrongswan-updown.so' is not stripped consider using ${STRIP_CMD} Warning: 'lib/ipsec/plugins/libstrongswan-pubkey.so' is not stripped consider using ${STRIP_CMD} Warning: 'lib/ipsec/plugins/libstrongswan-pkcs1.so' is not stripped consider using ${STRIP_CMD} Warning: 'lib/ipsec/plugins/libstrongswan-eap-ttls.so' is not stripped consider using ${STRIP_CMD} Warning: 'lib/ipsec/plugins/libstrongswan-whitelist.so' is not stripped consider using ${STRIP_CMD} Warning: 'lib/ipsec/plugins/libstrongswan-revocation.so' is not stripped consider using ${STRIP_CMD} Warning: 'lib/ipsec/plugins/libstrongswan-addrblock.so' is not stripped consider using ${STRIP_CMD} Warning: 'lib/ipsec/plugins/libstrongswan-random.so' is not stripped consider using ${STRIP_CMD} Warning: 'lib/ipsec/plugins/libstrongswan-stroke.so' is not stripped consider using ${STRIP_CMD} Warning: 'lib/ipsec/plugins/libstrongswan-hmac.so' is not stripped consider using ${STRIP_CMD} Warning: 'lib/ipsec/plugins/libstrongswan-pgp.so' is not stripped consider using ${STRIP_CMD} Warning: 'lib/ipsec/plugins/libstrongswan-fips-prf.so' is not stripped consider using ${STRIP_CMD} Warning: 'lib/ipsec/plugins/libstrongswan-pkcs8.so' is not stripped consider using ${STRIP_CMD} Warning: 'lib/ipsec/plugins/libstrongswan-kernel-pfkey.so' is not stripped consider using ${STRIP_CMD} Warning: 'lib/ipsec/plugins/libstrongswan-blowfish.so' is not stripped consider using ${STRIP_CMD} Warning: 'lib/ipsec/plugins/libstrongswan-attr.so' is not stripped consider using ${STRIP_CMD} Warning: 'lib/ipsec/plugins/libstrongswan-md5.so' is not stripped consider using ${STRIP_CMD} Warning: 'lib/ipsec/plugins/libstrongswan-cmac.so' is not stripped consider using ${STRIP_CMD} Warning: 'lib/ipsec/plugins/libstrongswan-resolve.so' is not stripped consider using ${STRIP_CMD} Warning: 'lib/ipsec/plugins/libstrongswan-rc2.so' is not stripped consider using ${STRIP_CMD} Warning: 'lib/ipsec/plugins/libstrongswan-x509.so' is not stripped consider using ${STRIP_CMD} Warning: 'lib/ipsec/plugins/libstrongswan-pem.so' is not stripped consider using ${STRIP_CMD} Warning: 'lib/ipsec/plugins/libstrongswan-sha1.so' is not stripped consider using ${STRIP_CMD} Warning: 'lib/ipsec/plugins/libstrongswan-sha2.so' is not stripped consider using ${STRIP_CMD} Warning: 'lib/ipsec/plugins/libstrongswan-eap-tls.so' is not stripped consider using ${STRIP_CMD} Warning: 'lib/ipsec/plugins/libstrongswan-eap-md5.so' is not stripped consider using ${STRIP_CMD} Warning: 'lib/ipsec/plugins/libstrongswan-xcbc.so' is not stripped consider using ${STRIP_CMD} Warning: 'lib/ipsec/plugins/libstrongswan-des.so' is not stripped consider using ${STRIP_CMD} Warning: 'lib/ipsec/plugins/libstrongswan-socket-default.so' is not stripped consider using ${STRIP_CMD} Warning: 'lib/ipsec/plugins/libstrongswan-kernel-pfroute.so' is not stripped consider using ${STRIP_CMD} Warning: 'lib/ipsec/plugins/libstrongswan-nonce.so' is not stripped consider using ${STRIP_CMD} Warning: 'lib/ipsec/plugins/libstrongswan-eap-identity.so' is not stripped consider using ${STRIP_CMD} Warning: 'lib/ipsec/plugins/libstrongswan-pkcs7.so' is not stripped consider using ${STRIP_CMD} Warning: 'lib/ipsec/plugins/libstrongswan-openssl.so' is not stripped consider using ${STRIP_CMD} Warning: 'lib/ipsec/plugins/libstrongswan-eap-peap.so' is not stripped consider using ${STRIP_CMD} Warning: 'lib/ipsec/plugins/libstrongswan-sshkey.so' is not stripped consider using ${STRIP_CMD} Warning: 'lib/ipsec/plugins/libstrongswan-pkcs12.so' is not stripped consider using ${STRIP_CMD} Warning: 'lib/ipsec/plugins/libstrongswan-md4.so' is not stripped consider using ${STRIP_CMD} Warning: 'lib/ipsec/plugins/libstrongswan-eap-mschapv2.so' is not stripped consider using ${STRIP_CMD} Warning: 'lib/ipsec/plugins/libstrongswan-dnskey.so' is not stripped consider using ${STRIP_CMD} Warning: 'lib/ipsec/plugins/libstrongswan-aes.so' is not stripped consider using ${STRIP_CMD} Warning: 'lib/ipsec/plugins/libstrongswan-constraints.so' is not stripped consider using ${STRIP_CMD} Warning: 'lib/ipsec/libtls.so.0.0.0' is not stripped consider using ${STRIP_CMD} Warning: 'lib/ipsec/libcharon.so.0.0.0' is not stripped consider using ${STRIP_CMD} Warning: 'lib/ipsec/libhydra.so.0.0.0' is not stripped consider using ${STRIP_CMD} Warning: 'lib/ipsec/libstrongswan.so.0.0.0' is not stripped consider using ${STRIP_CMD} ====> Checking for pkg-plist issues (check-plist) ===> Parsing plist ===> Checking for items in STAGEDIR missing from pkg-plist ===> Checking for directories owned by MTREEs ===> Checking for directories handled by dependencies ===> Checking for items in pkg-plist which are not in STAGEDIR ===> No pkg-plist issues found (check-plist) ====>> Checking for staging violations... done you guys got lucky: ====> Running Q/A tests (stage-qa) ====> Checking for pkg-plist issues (check-plist) ===> Parsing plist ===> Checking for items in STAGEDIR missing from pkg-plist ===> Checking for directories owned by MTREEs ===> Checking for directories handled by dependencies ===> Checking for items in pkg-plist which are not in STAGEDIR ===> No pkg-plist issues found (check-plist) ====>> Checking for staging violations... done A commit references this bug: Author: marino Date: Tue Aug 19 13:40:32 UTC 2014 New revision: 365377 URL: http://svnweb.freebsd.org/changeset/ports/365377 Log: security/strongswan: Upgrade version 5.1.3 => 5.2.0 While here, including missing library files and use install-strip target. Maintainer added a crash fix patch while reviewing. PR: 192366 Submitted by: dewayne (heruristicssystems.com.au) Approved by: maintainer (strongswan nanoteq.com) Changes: head/security/strongswan/Makefile head/security/strongswan/distinfo head/security/strongswan/files/patch-conf__Makefile.in head/security/strongswan/files/patch-src__libhydra__plugins__kernel_pfroute__kernel_pfroute_net.c head/security/strongswan/files/patch-src__starter__Makefile.in head/security/strongswan/pkg-plist thanks, all. |
Created attachment 145324 [details] strongswan-5.2.0.patch Strongswan 5.1.3 on FreeBSD 9.3Stable i386/amd64 compiles and builds packages. At runtime, the executables are (now) missing library files: /usr/local/lib/ipsec/libcharon.so.0.0.0 /usr/local/lib/ipsec/libstrongswan.so.0.0.0 /usr/local/lib/ipsec/libhydra.so.0.0.0 /usr/local/lib/ipsec/libtls.so.0.0.0 While here, I updated the Makefile to strongswan 5.2.0. The attached makefile updates the Makefile, adds required files for pkg-plist and updates distinfo. 5.2.0 has been tested to function correctly for FreeBSD 9.3 i386 and amdg64, Windows7 (IKEv2) and IOS (iphone) vpn's.