zerochaos 14/11/03 20:50:07
Modified: ettercap-9999.ebuild ettercap-0.8.1-r1.ebuild
ChangeLog
Log:
various fixes for building docs and making the ebuild maintenance easier
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key
DD11F94A)
Revision Changes Path
1.8 net-analyzer/ettercap/ettercap-9999.ebuild
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/ettercap/ettercap-9999.ebuild?rev=1.8&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/ettercap/ettercap-9999.ebuild?rev=1.8&content-type=text/plain
diff :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/ettercap/ettercap-9999.ebuild?r1=1.7&r2=1.8
Index: ettercap-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/ettercap/ettercap-9999.ebuild,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- ettercap-9999.ebuild 23 Feb 2014 11:57:34 -0000 1.7
+++ ettercap-9999.ebuild 3 Nov 2014 20:50:07 -0000 1.8
@@ -1,24 +1,32 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header:
/var/cvsroot/gentoo-x86/net-analyzer/ettercap/ettercap-9999.ebuild,v 1.7
2014/02/23 11:57:34 ago Exp $
+# $Header:
/var/cvsroot/gentoo-x86/net-analyzer/ettercap/ettercap-9999.ebuild,v 1.8
2014/11/03 20:50:07 zerochaos Exp $
EAPI=5
CMAKE_MIN_VERSION=2.8
-inherit cmake-utils git-2
+inherit cmake-utils
DESCRIPTION="A suite for man in the middle attacks"
-HOMEPAGE="http://ettercap.sourceforge.net https://github.com/Ettercap/ettercap"
-EGIT_REPO_URI="https://github.com/Ettercap/${PN}.git"
+HOMEPAGE="https://github.com/Ettercap/ettercap"
LICENSE="GPL-2+"
SLOT="0"
-KEYWORDS=""
-IUSE="gtk ipv6 ncurses +plugins"
-RDEPEND="dev-libs/openssl
+if [[ ${PV} == "9999" ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/Ettercap/${PN}.git"
+else
+ SRC_URI="https://github.com/Ettercap/${PN}/archive/v${PV}.tar.gz ->
${P}.tar.gz" #mirror does not work
+ KEYWORDS="~alpha ~amd64 ~arm ~sparc ~x86 ~x86-fbsd"
+fi
+#IUSE="doc gtk ipv6 ncurses +plugins test"
+IUSE="doc gtk ipv6 ncurses +plugins"
+
+RDEPEND="dev-libs/libbsd
dev-libs/libpcre
+ dev-libs/openssl
net-libs/libnet:1.1
>=net-libs/libpcap-0.8.1
sys-libs/zlib
@@ -38,7 +46,8 @@
)"
DEPEND="${RDEPEND}
- app-text/ghostscript-gpl
+ doc? ( app-text/ghostscript-gpl
+ sys-apps/groff )
sys-devel/flex
virtual/yacc"
@@ -52,8 +61,17 @@
$(cmake-utils_use_enable gtk)
$(cmake-utils_use_enable plugins)
$(cmake-utils_use_enable ipv6)
- -DENABLE_SSL=ON
+ $(cmake-utils_use_enable doc PDF_DOCS)
+ -DBUNDLED_LIBS=OFF
+ -DSYSTEM_LIBS=ON
-DINSTALL_SYSCONFDIR="${EROOT}"etc
)
+ #right now we only support gtk2, but ettercap also supports gtk3
+ #do we care? do we want to support both?
+
+ #we want to enable testing but it fails right now
+ #we want to disable the bundled crap, but we are missing at
least "libcheck"
+ #if we want to enable tests, we need to fix it, and either
package libcheck or allow bundled version
+ #$(cmake-utils_use_enable test TESTS)
cmake-utils_src_configure
}
1.3 net-analyzer/ettercap/ettercap-0.8.1-r1.ebuild
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/ettercap/ettercap-0.8.1-r1.ebuild?rev=1.3&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/ettercap/ettercap-0.8.1-r1.ebuild?rev=1.3&content-type=text/plain
diff :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/ettercap/ettercap-0.8.1-r1.ebuild?r1=1.2&r2=1.3
Index: ettercap-0.8.1-r1.ebuild
===================================================================
RCS file:
/var/cvsroot/gentoo-x86/net-analyzer/ettercap/ettercap-0.8.1-r1.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ettercap-0.8.1-r1.ebuild 2 Nov 2014 03:46:45 -0000 1.2
+++ ettercap-0.8.1-r1.ebuild 3 Nov 2014 20:50:07 -0000 1.3
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header:
/var/cvsroot/gentoo-x86/net-analyzer/ettercap/ettercap-0.8.1-r1.ebuild,v 1.2
2014/11/02 03:46:45 zerochaos Exp $
+# $Header:
/var/cvsroot/gentoo-x86/net-analyzer/ettercap/ettercap-0.8.1-r1.ebuild,v 1.3
2014/11/03 20:50:07 zerochaos Exp $
EAPI=5
@@ -15,7 +15,6 @@
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~sparc ~x86 ~x86-fbsd"
-#IUSE="doc gtk ipv6 ncurses +plugins test"
IUSE="gtk ipv6 ncurses +plugins"
RDEPEND="dev-libs/libbsd
@@ -42,8 +41,6 @@
DEPEND="${RDEPEND}
sys-devel/flex
virtual/yacc"
- #doc? ( app-text/ghostscript-gpl
- # sys-apps/groff )
src_prepare() {
sed -i "s:Release:Release Gentoo:" CMakeLists.txt || die
@@ -62,10 +59,6 @@
#right now we only support gtk2, but ettercap also supports gtk3
#do we care? do we want to support both?
- #we can build the pdf docs, but they don't actually get
installed
- #plus, does anyone need this at all???
- #$(cmake-utils_use_enable doc PDF_DOCS)
-
#we want to enable testing but it fails right now
#we want to disable the bundled crap, but we are missing at
least "libcheck"
#if we want to enable tests, we need to fix it, and either
package libcheck or allow bundled version
1.155 net-analyzer/ettercap/ChangeLog
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/ettercap/ChangeLog?rev=1.155&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/ettercap/ChangeLog?rev=1.155&content-type=text/plain
diff :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/ettercap/ChangeLog?r1=1.154&r2=1.155
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/ettercap/ChangeLog,v
retrieving revision 1.154
retrieving revision 1.155
diff -u -r1.154 -r1.155
--- ChangeLog 2 Nov 2014 03:46:45 -0000 1.154
+++ ChangeLog 3 Nov 2014 20:50:07 -0000 1.155
@@ -1,6 +1,10 @@
# ChangeLog for net-analyzer/ettercap
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ettercap/ChangeLog,v 1.154
2014/11/02 03:46:45 zerochaos Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ettercap/ChangeLog,v 1.155
2014/11/03 20:50:07 zerochaos Exp $
+
+ 03 Nov 2014; Rick Farina <[email protected]> ettercap-0.8.1-r1.ebuild,
+ ettercap-9999.ebuild:
+ various fixes for building docs and making the ebuild maintenance easier
02 Nov 2014; Rick Farina <[email protected]> ettercap-0.8.1-r1.ebuild:
adding misc maintainer note to ebuild, super bad form but otherwise it will
be