xplico: bump to 0.7.0

This commit is contained in:
Anton Bolshakov 2011-11-11 15:00:02 +00:00
parent c820d0b4dd
commit 4701bd84d2
2 changed files with 50 additions and 0 deletions

View file

@ -1,2 +1,4 @@
DIST xplico-0.5.8.tgz 1590820 RMD160 794285929733b1785249f23e7dcebe3027645221 SHA1 1393ca0d7caea880d2d4c2fbaa0d986f508e5aa6 SHA256 7774ae1bcb40d0442f751b75726b0656a983490e5d60ee1c82155d6d79878a4a
DIST xplico-0.7.0.tgz 1924027 RMD160 d69f5199407ed15e3e81cf6651f0af872b3143f0 SHA1 456fd5f63819c8776128e65029f64bb54436fbf9 SHA256 b14cfacb7f28738ac93e30480b98d56d985e51eb3e4cd68d8f6dc9b0c39181cd
EBUILD xplico-0.5.8.ebuild 1177 RMD160 8bab292f79df5308f3d00cc51bd42de229dd3855 SHA1 32892f0f0d5dc9f20bcdff4a2622dc75a200e469 SHA256 676eb8bb07e030d9e3adc087c9f2024f0524a772be2850a73492906fb1a56f09
EBUILD xplico-0.7.0.ebuild 1145 RMD160 e1f9f82c61a832bc8f228595419f3e4836a91e04 SHA1 8b9415cb9297113abdf2d02210d8fd369bda8492 SHA256 8ace12b9553892fe1a99f81daabdb24283d7f4199cdfa591d98d92be4c71ce3a

View file

@ -0,0 +1,48 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="4"
inherit multilib webapp
DESCRIPTION="Extract data from TCP/IP traffic"
HOMEPAGE="http://www.xplico.org"
SRC_URI="mirror://sourceforge/$PN/$P.tgz"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
IUSE="+geoip"
DEPEND="net-libs/libpcap
geoip? ( dev-libs/geoip )
dev-db/sqlite:0
"
RDEPEND="dev-db/mysql
dev-lang/php
virtual/httpd-cgi
dev-db/sqlite:0
geoip? ( dev-libs/geoip )"
src_prepare() {
# fix CFLAGS
sed -i "s|-g -ggdb -O0|$CFLAGS|g" Makefile
sed -i "s|-g -ggdb|$CFLAGS|g" system/dema/Makefile
if use geoip; then
sed -i -e "s|GEOIP_LIB =.*|GEOIP_LIB = /usr/$(get_libdir)/libGeoIP.a|g" Makefile
sed -i "s|GeoLiteCity.dat|/usr/share/GeoIP/GeoIP.dat|" common/geoiploc.c
sed -i "s|-lpthread|-lpthread -lGeoIP|g" manipulators/www/Makefile\
manipulators/mfbc/Makefile manipulators/mwmail/Makefile\
manipulators/mfile/Makefile
fi
}
src_compile() {
emake -j1
}
src_install() {
webapp_src_preinst
mv xi "${D}"/${MY_HTDOCSDIR}/xplico
DESTDIR="${D}" emake -j1 install
webapp_src_install
}