diff options
author | Cédric Krier <cedk@gentoo.org> | 2008-08-03 12:45:01 +0000 |
---|---|---|
committer | Cédric Krier <cedk@gentoo.org> | 2008-08-03 12:45:01 +0000 |
commit | d060e977e61b307f05724e9e03dfc88cac4d2355 (patch) | |
tree | fef2f0e7b5268b468bea081efa95f46db34a86db /net-misc/switzerland | |
parent | Remove unused app-office/openoffice:webdav local USE flag. (diff) | |
download | historical-d060e977e61b307f05724e9e03dfc88cac4d2355.tar.gz historical-d060e977e61b307f05724e9e03dfc88cac4d2355.tar.bz2 historical-d060e977e61b307f05724e9e03dfc88cac4d2355.zip |
New ebuild for bug #233662 thanks to Beau Henderson
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'net-misc/switzerland')
-rw-r--r-- | net-misc/switzerland/ChangeLog | 10 | ||||
-rw-r--r-- | net-misc/switzerland/Manifest | 5 | ||||
-rw-r--r-- | net-misc/switzerland/files/Makefile | 18 | ||||
-rw-r--r-- | net-misc/switzerland/metadata.xml | 16 | ||||
-rw-r--r-- | net-misc/switzerland/switzerland-0.0.5.ebuild | 45 |
5 files changed, 94 insertions, 0 deletions
diff --git a/net-misc/switzerland/ChangeLog b/net-misc/switzerland/ChangeLog new file mode 100644 index 000000000000..d244e747e48a --- /dev/null +++ b/net-misc/switzerland/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for net-misc/switzerland +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/switzerland/ChangeLog,v 1.1 2008/08/03 12:45:01 cedk Exp $ + +*switzerland-0.0.5 (03 Aug 2008) + + 03 Aug 2008; Cédric Krier <cedk@gentoo.org> +files/Makefile, + +metadata.xml, +switzerland-0.0.5.ebuild: + New ebuild for bug #233662 thanks to Beau Henderson + diff --git a/net-misc/switzerland/Manifest b/net-misc/switzerland/Manifest new file mode 100644 index 000000000000..0be9e05f5abe --- /dev/null +++ b/net-misc/switzerland/Manifest @@ -0,0 +1,5 @@ +AUX Makefile 222 RMD160 2f36877965d6b48ab55d1985d7fb38d004e66abf SHA1 81dfe0b0e610bdb4b7e580b799b47864e029fc43 SHA256 6101382db3a67b8c3fc77c447faef1d365ae38c7b671012627ae4b0d4188e969 +DIST switzerland-0.0.5.tgz 387352 RMD160 ae946f5cd21140d8dcf3d9274a7fcf28d466938f SHA1 1ff3d4b9de409195898de29daf23ecb4f473e8ba SHA256 f4daa4d2cc2a4681be4e7ed692fabcc2196caf2e6096c6f49c7bd82266f01fe1 +EBUILD switzerland-0.0.5.ebuild 918 RMD160 3215c9238cf600637906c065ce8bf84fc3f57fa8 SHA1 12f68b8e2c7da4bf7b26b7fa574a3d2458c2ccf6 SHA256 6b50e74ad47a77a5dac6cdffe889bd6a1e12276a115c1824b53e51d35ed8543e +MISC ChangeLog 408 RMD160 86ee195e8d5a29bc028e66560176b2a77b74d650 SHA1 e91cd51731503cb3bbb1856d593ffde6224ee0e1 SHA256 7809b2228fb07536d86d7dd2a87249df10f4291c92b408def9b81ded619c2016 +MISC metadata.xml 564 RMD160 22b56d9904507f739ce193e6f0da387ec18b0eff SHA1 5932c098404bb259631ae8f44985f3a581bba2f8 SHA256 8dd74ea1e3fd1544f05be1f0a9249f46c06c94c2bc13223e09f26ef2dcf0d321 diff --git a/net-misc/switzerland/files/Makefile b/net-misc/switzerland/files/Makefile new file mode 100644 index 000000000000..12e587f689f8 --- /dev/null +++ b/net-misc/switzerland/files/Makefile @@ -0,0 +1,18 @@ +SRC = FastCollector.c +OBJ = ${SRC:.c=.o} + +LIBS = -L/usr/lib -lpcap + +CFLAGS ?= +LDFLAGS ?= + +CC = gcc +LD = ${CC} + +all: FastCollector + +.c.o: + ${CC} -c ${CFLAGS} $< + +FastCollector: ${OBJ} + ${LD} -o $@ ${LDFLAGS} ${OBJ} ${LIBS} diff --git a/net-misc/switzerland/metadata.xml b/net-misc/switzerland/metadata.xml new file mode 100644 index 000000000000..c213610b3399 --- /dev/null +++ b/net-misc/switzerland/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>netmon</herd> + <maintainer> + <email>cedk@gentoo.org</email> + <name>Cédric Krier</name> + </maintainer> + <longdescription lang="en"> + Switzerland is an open source software tool for testing the integrity of + data communications over networks, ISPs and firewalls. It will spot IP + packets which are forged or modified between clients, inform you, and + give you copies of the modified packets. + </longdescription> +</pkgmetadata> + diff --git a/net-misc/switzerland/switzerland-0.0.5.ebuild b/net-misc/switzerland/switzerland-0.0.5.ebuild new file mode 100644 index 000000000000..794e5599cfbd --- /dev/null +++ b/net-misc/switzerland/switzerland-0.0.5.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/switzerland/switzerland-0.0.5.ebuild,v 1.1 2008/08/03 12:45:01 cedk Exp $ + +inherit distutils toolchain-funcs + +DESCRIPTION="Switzerland Network Testing Tool" +HOMEPAGE="http://www.eff.org/testyourisp/switzerland/" +SRC_URI="mirror://sourceforge/switzerland/${P}.tgz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND="net-libs/libpcap" +RDEPEND=${DEPEND} + +src_unpack() { + unpack ${A} + cd "${S}" + + cp "${FILESDIR}"/Makefile switzerland/client + + sed -i \ + -e "s/= find_binary()/= dest/" \ + setup.py +} + +src_compile() { + cd switzerland/client + emake CC=$(tc-getCC) || die "emake failed" + + cd "${S}" + distutils_src_compile +} + +src_install() { + distutils_src_install + + dodoc BUGS.txt CREDITS + + keepdir /var/log/switzerland-pcaps + keepdir /var/log/switzerland +} |