aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-08-24 14:29:41 -0300
committerRenato Botelho <renato@netgate.com>2015-08-24 14:29:41 -0300
commite80663379bef10c5c0bbf1228030c6c9438278d2 (patch)
tree35753a8647dba287c90c11f46cba0bfbfcd5d0be
parentd3954a387f8b542a388cb0985ab7d2b603fb0d72 (diff)
parentc8914c910dc8606a513c906c695b331271a2c315 (diff)
downloadpfsense-packages-e80663379bef10c5c0bbf1228030c6c9438278d2.tar.gz
pfsense-packages-e80663379bef10c5c0bbf1228030c6c9438278d2.tar.bz2
pfsense-packages-e80663379bef10c5c0bbf1228030c6c9438278d2.zip
Merge pull request #1022 from doktornotor/patch-2
-rw-r--r--config/arpwatch/arpwatch.xml8
-rw-r--r--pkg_config.10.xml2
2 files changed, 8 insertions, 2 deletions
diff --git a/config/arpwatch/arpwatch.xml b/config/arpwatch/arpwatch.xml
index aa6a9ae8..dab2a74e 100644
--- a/config/arpwatch/arpwatch.xml
+++ b/config/arpwatch/arpwatch.xml
@@ -149,9 +149,15 @@
<custom_php_install_command>
<![CDATA[
unlink_if_exists("/usr/local/etc/rc.d/arpwatch.sh");
- @link("/usr/sbin/sm.php", "/usr/sbin/sendmail");
+ unlink_if_exists("/usr/sbin/sendmail");
+ symlink("/usr/sbin/sm.php", "/usr/sbin/sendmail");
]]>
</custom_php_install_command>
+ <custom_php_deinstall_command>
+ <![CDATA[
+ unlink_if_exists("/usr/sbin/sendmail");
+ ]]>
+ </custom_php_deinstall_command>
<custom_php_resync_config_command>
<![CDATA[
sync_package_arpwatch();
diff --git a/pkg_config.10.xml b/pkg_config.10.xml
index b2a42a58..71c27fd1 100644
--- a/pkg_config.10.xml
+++ b/pkg_config.10.xml
@@ -1123,7 +1123,7 @@
<build_pbi>
<port>net-mgmt/arpwatch</port>
</build_pbi>
- <version>1.1.3</version>
+ <version>1.1.4</version>
<status>ALPHA</status>
<required_version>2.2</required_version>
<config_file>https://packages.pfsense.org/packages/config/arpwatch/arpwatch.xml</config_file>