Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Apr 2016 08:50:53 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r414337 - in head/net-mgmt/ettercap: . files
Message-ID:  <201604300850.u3U8orES043337@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604300850.u3U8orES043337>