svn commit: r414337 - in head/net-mgmt/ettercap: . files
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sat Apr 30 08:50:55 UTC 2016
Author: sunpoet
Date: Sat Apr 30 08:50:53 2016
New Revision: 414337
URL: https://svnweb.freebsd.org/changeset/ports/414337
Log:
- Fix PLIST with DESKTOP option enabled
Reported by: Ivan Klymenko <fidaj at ukr.net>
Added:
head/net-mgmt/ettercap/files/
head/net-mgmt/ettercap/files/patch-CMakeLists.txt (contents, props changed)
Modified:
head/net-mgmt/ettercap/pkg-plist
Added: head/net-mgmt/ettercap/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-mgmt/ettercap/files/patch-CMakeLists.txt Sat Apr 30 08:50:53 2016 (r414337)
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig 2015-03-14 13:43:11 UTC
++++ CMakeLists.txt
+@@ -112,7 +112,7 @@ if(OS_DARWIN OR OS_WINDOWS)
+ set(POLKIT_DIR ${INSTALL_PREFIX}/share/polkit-1/actions/ CACHE PATH "Polkit installation directory")
+ else(OS_DARWIN OR OS_WINDOWS)
+ #at least on ubuntu, polkit dir couldn't be /usr/local/share, but should be /usr/share
+- set(POLKIT_DIR /usr/share/polkit-1/actions/ CACHE PATH "Polkit installation directory")
++ set(POLKIT_DIR ${INSTALL_PREFIX}/share/polkit-1/actions/ CACHE PATH "Polkit installation directory")
+ endif(OS_DARWIN OR OS_WINDOWS)
+ set(PKEXEC_INSTALL_WRAPPER org.pkexec.ettercap CACHE PATH "Name of the pkexec action file")
+ set(DESKTOP_DIR ${INSTALL_PREFIX}/share/applications/ CACHE PATH "Desktop file installation directory")
Modified: head/net-mgmt/ettercap/pkg-plist
==============================================================================
--- head/net-mgmt/ettercap/pkg-plist Sat Apr 30 08:18:31 2016 (r414336)
+++ head/net-mgmt/ettercap/pkg-plist Sat Apr 30 08:50:53 2016 (r414337)
@@ -50,6 +50,7 @@ man/man8/ettercap_curses.8.gz
man/man8/etterfilter.8.gz
man/man8/etterlog.8.gz
%%PLUGINS%%man/man8/ettercap_plugins.8.gz
+%%DESKTOP%%share/appdata/ettercap.appdata.xml
%%DESKTOP%%share/applications/ettercap.desktop
%%DESKTOP%%share/pixmaps/ettercap.svg
%%DESKTOP%%share/polkit-1/actions/org.pkexec.ettercap.policy
More information about the svn-ports-all
mailing list