diff options
author | jim-p <jimp@pfsense.org> | 2017-04-10 09:53:44 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2017-04-10 09:53:44 -0400 |
commit | 3baeca93d466036433cc4ccaba4156678f72d195 (patch) | |
tree | 6b18010ba0da52af9ac139d45320f7cf0542d819 | |
parent | 4d2b48c0b430ba0573956abcfa2f036cb158f31b (diff) | |
download | FreeBSD-ports-3baeca93d466036433cc4ccaba4156678f72d195.zip FreeBSD-ports-3baeca93d466036433cc4ccaba4156678f72d195.tar.gz |
Remove bunk deinstall function from OpenVPN client export. Bump PORTREVISION for template package to be certain it gets reinstalled.
4 files changed, 2 insertions, 8 deletions
diff --git a/security/openvpn-client-export/Makefile b/security/openvpn-client-export/Makefile index 2cd5770..e8d5cdb 100644 --- a/security/openvpn-client-export/Makefile +++ b/security/openvpn-client-export/Makefile @@ -2,6 +2,7 @@ PORTNAME= openvpn-client-export PORTVERSION= 2.4.1 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://files.pfsense.org/packages/openvpn-client-export/ diff --git a/security/pfSense-pkg-openvpn-client-export/Makefile b/security/pfSense-pkg-openvpn-client-export/Makefile index 38786b4..88994e9 100644 --- a/security/pfSense-pkg-openvpn-client-export/Makefile +++ b/security/pfSense-pkg-openvpn-client-export/Makefile @@ -2,7 +2,7 @@ PORTNAME= pfSense-pkg-openvpn-client-export PORTVERSION= 1.4.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MASTER_SITES= # empty DISTFILES= # empty diff --git a/security/pfSense-pkg-openvpn-client-export/files/usr/local/pkg/openvpn-client-export.inc b/security/pfSense-pkg-openvpn-client-export/files/usr/local/pkg/openvpn-client-export.inc index 8088358..c0873cb 100644 --- a/security/pfSense-pkg-openvpn-client-export/files/usr/local/pkg/openvpn-client-export.inc +++ b/security/pfSense-pkg-openvpn-client-export/files/usr/local/pkg/openvpn-client-export.inc @@ -33,10 +33,6 @@ $current_openvpn_version_rev = "01"; $legacy_openvpn_version = "2.3.14"; $legacy_openvpn_version_rev = "02"; -function openvpn_client_export_deinstall() { - exec("/bin/rm -r /usr/local/share/openvpn/client-export"); -} - function get_openvpnserver_by_id($srvid) { global $config; foreach($config['openvpn']['openvpn-server'] as $server) { diff --git a/security/pfSense-pkg-openvpn-client-export/files/usr/local/pkg/openvpn-client-export.xml b/security/pfSense-pkg-openvpn-client-export/files/usr/local/pkg/openvpn-client-export.xml index fa098b4..5a21156 100644 --- a/security/pfSense-pkg-openvpn-client-export/files/usr/local/pkg/openvpn-client-export.xml +++ b/security/pfSense-pkg-openvpn-client-export/files/usr/local/pkg/openvpn-client-export.xml @@ -41,7 +41,4 @@ <url>/vpn_openvpn_export_shared.php</url> </tab> </tabs> - <custom_php_deinstall_command> - openvpn_client_export_deinstall(); - </custom_php_deinstall_command> </packagegui> |