aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEirik Oeverby <ltning@anduin.net>2010-08-10 20:50:47 +0200
committerEirik Oeverby <ltning@anduin.net>2010-08-10 20:50:47 +0200
commitcbdb26eceb99df955a21c2ee764e0bf1cee67249 (patch)
tree2ed7129ef9607336cf1075667b8665629f5d308f
parent8840f0d0a4e99ad80fa192cda1dcc31f7ec3dcbb (diff)
downloadpfsense-packages-cbdb26eceb99df955a21c2ee764e0bf1cee67249.tar.gz
pfsense-packages-cbdb26eceb99df955a21c2ee764e0bf1cee67249.tar.bz2
pfsense-packages-cbdb26eceb99df955a21c2ee764e0bf1cee67249.zip
Fixed up stunnel package for fbsd8, fixed a bug in certificate creation
-rw-r--r--config/stunnel/stunnel.inc3
-rwxr-xr-xpkg_config.8.xml4
2 files changed, 4 insertions, 3 deletions
diff --git a/config/stunnel/stunnel.inc b/config/stunnel/stunnel.inc
index dd312323..571cfb01 100644
--- a/config/stunnel/stunnel.inc
+++ b/config/stunnel/stunnel.inc
@@ -120,6 +120,7 @@ function stunnel_save($config) {
fwrite($fout, "chroot = /var/tmp/stunnel \n");
fwrite($fout, "setuid = stunnel \n");
fwrite($fout, "setgid = stunnel \n");
+ if(!is_array($config['installedpackages']['stunnel']['config'])) { $config['installedpackages']['stunnel']['config']=Array(); }
foreach($config['installedpackages']['stunnel']['config'] as $pkgconfig) {
fwrite($fout, "\n[" . $pkgconfig['description'] . "]\n");
if($pkgconfig['certificate']) {
@@ -235,4 +236,4 @@ function stunnel_deinstall() {
unlink_if_exists("/usr/local/etc/rc.d/stunnel.sh");
}
-?> \ No newline at end of file
+?>
diff --git a/pkg_config.8.xml b/pkg_config.8.xml
index 68c233ec..4f598faf 100755
--- a/pkg_config.8.xml
+++ b/pkg_config.8.xml
@@ -656,8 +656,8 @@
<descr>An SSL encryption wrapper between remote client and local or remote servers. </descr>
<category>Network Management</category>
<depends_on_package_base_url>http://files.pfsense.org/packages/8/All/</depends_on_package_base_url>
- <depends_on_package>stunnel-4.25.tbz</depends_on_package>
- <version>4.30.2</version>
+ <depends_on_package>stunnel-4.33.tbz</depends_on_package>
+ <version>4.33.0</version>
<status>Stable</status>
<pkginfolink>http://doc.pfsense.org/index.php/Stunnel_package</pkginfolink>
<required_version>1.2.1</required_version>