diff options
author | Markos Chandras <hwoarang@gentoo.org> | 2012-03-22 21:03:44 +0000 |
---|---|---|
committer | Markos Chandras <hwoarang@gentoo.org> | 2012-03-22 21:03:44 +0000 |
commit | abf37664ffb5854d84df055154b04f1c5f001730 (patch) | |
tree | 4c7ab534efcdde383b66f56f2a8190757ed314f1 /net-analyzer/arpon | |
parent | marked x86 per bug 408391 (diff) | |
download | historical-abf37664ffb5854d84df055154b04f1c5f001730.tar.gz historical-abf37664ffb5854d84df055154b04f1c5f001730.tar.bz2 historical-abf37664ffb5854d84df055154b04f1c5f001730.zip |
revbump to add init script. Thanks to Tobias Wallura <Tobias.Wallura@gmail.com>. Bug #387193
Package-Manager: portage-2.2.0_alpha90/cvs/Linux x86_64
Diffstat (limited to 'net-analyzer/arpon')
-rw-r--r-- | net-analyzer/arpon/ChangeLog | 11 | ||||
-rw-r--r-- | net-analyzer/arpon/Manifest | 25 | ||||
-rw-r--r-- | net-analyzer/arpon/arpon-2.7-r1.ebuild | 43 | ||||
-rw-r--r-- | net-analyzer/arpon/files/arpon.confd | 5 | ||||
-rw-r--r-- | net-analyzer/arpon/files/arpon.initd | 19 |
5 files changed, 95 insertions, 8 deletions
diff --git a/net-analyzer/arpon/ChangeLog b/net-analyzer/arpon/ChangeLog index 26d0e6d42895..af494ffef881 100644 --- a/net-analyzer/arpon/ChangeLog +++ b/net-analyzer/arpon/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-analyzer/arpon -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/arpon/ChangeLog,v 1.9 2011/10/04 17:19:13 nativemad Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/arpon/ChangeLog,v 1.10 2012/03/22 21:03:44 hwoarang Exp $ + +*arpon-2.7-r1 (22 Mar 2012) + + 22 Mar 2012; Markos Chandras <hwoarang@gentoo.org> +arpon-2.7-r1.ebuild, + +files/arpon.confd, +files/arpon.initd: + revbump to add init script. Thanks to Tobias Wallura + <Tobias.Wallura@gmail.com>. Bug #387193 04 Oct 2011; Andreas Schuerch <nativemad@gentoo.org> arpon-2.7.ebuild: x86 stable, bug 384913 diff --git a/net-analyzer/arpon/Manifest b/net-analyzer/arpon/Manifest index 1aad57879ab8..70b7f54f6351 100644 --- a/net-analyzer/arpon/Manifest +++ b/net-analyzer/arpon/Manifest @@ -1,18 +1,31 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 +Hash: SHA512 +AUX arpon.confd 128 RMD160 ea85ea1de874279a06e0238a1f3aba9841837125 SHA1 e785805d868b919fa05b7d462f9c9ffbf3dc47ad SHA256 4a53348c990a145a6c8021941ce07f9a92ad87aaff59c95346339c92445afd61 +AUX arpon.initd 405 RMD160 68bd81efe7ff1e9c25f21695a449213d7201d473 SHA1 e08a79e68f0bca17e603ded265455dafeb0d0f02 SHA256 d793eb354c14bc70063aca84e73e652ed797c8b094d4513bc88a0becabc9c33d DIST ArpON-2.1.tar.gz 387593 RMD160 4d3625b2dc86407eb56240827da482721dacb748 SHA1 c19f48a7207fa9d0e4eae6f4ba780931534d183a SHA256 99bf8e18a61df7e09439be9441747c197ff44017f7571d311759697537a39ed5 DIST ArpON-2.6.tar.gz 3009828 RMD160 28fdd80c59eba509e055251e85f665a197ab376d SHA1 af085c13bfc93e0f72404a568e6e27b441a938cd SHA256 dba707b55d7f05fb91ef983f3b51a237db35e283f1fa5cf050566e9d90617900 DIST ArpON-2.7.tar.gz 3009833 RMD160 a4f2a5def7de01cdc8bdded6783b98d010ac6d13 SHA1 023156a190c222817df8482e9e4ddcd6bd810211 SHA256 6ad51204bc33cf004c493f62d7ab24d83213c1621b00efc540e30a0c9fe3db94 EBUILD arpon-2.1-r1.ebuild 688 RMD160 d7996c0dd2bdb7eb0e61d2984d9026c091b4a6cf SHA1 715a30e8e513a4a48cfe634bd862da8f590585fa SHA256 360e04edaffe748b856e34ed65f78b24266741b9bf1e8079b1ceca5e6ea82864 EBUILD arpon-2.6-r1.ebuild 693 RMD160 36ceeb6f198b167f78622653da7ff5bb4d8ee7a4 SHA1 454629574c475d683f8c10cfcae6bc32a27274df SHA256 787fb1ad54b781c48d769f5efa70393a2b91d397c5861d90e094a8a0e2d072c0 +EBUILD arpon-2.7-r1.ebuild 964 RMD160 7492f8dbc4c9f6b467dea8c9c8831f1015d80f47 SHA1 baf37eecf1f84a7c762dcd88e6d5b3510f1b0d63 SHA256 787c5f1a65f9f588f181ee3b47a676779308cf230b24478a9dfbdf4b764460e1 EBUILD arpon-2.7.ebuild 690 RMD160 74f3b040df0473c3bfef6517db957435411c839e SHA1 091315708a763f7171f42b81273f48f99ca5fcdf SHA256 9c6306033e265b7e5752cd210d5df08f3a86475a9a22a7b71b6e23ca064a6298 -MISC ChangeLog 1591 RMD160 f356b7923b9041cc60a0aaa38ff5931f3e66b9e2 SHA1 4c17d4557f59b1f5247b4a3fd9c97ee2b28954f4 SHA256 15b9d0db21f8aeff43d8de5570a2efa490737313f275e82cf21dc92d037ebcdf +MISC ChangeLog 1835 RMD160 3c8306b11b2a4232e30a91fec05dcf74fb014713 SHA1 599c7056c059538c7f115c07bf04181a6607b3d5 SHA256 0ea899ee03d3fca25fc84903466ea819bfd92a973ed77047497566edf1d1358a MISC metadata.xml 278 RMD160 85ae612f4b725d8857a7fe0808090691c0e58fbd SHA1 c97840692a46e7d54f22bfcfd0a564a8d08033dd SHA256 07a0afc4dfc12865b213ef6815169e0524357989b213ac40bc9436dea94c3160 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.17 (GNU/Linux) +Version: GnuPG v2.0.18 (GNU/Linux) -iEYEARECAAYFAk6LQA8ACgkQB6aLYPQCwOCLagCdF9XNaf9EdC1D863JeMmgF5Sq -UEwAoOBz162qpNeHW5bkPwikAuZbzM5u -=kKbw +iQIcBAEBCgAGBQJPa5N3AAoJEPqDWhW0r/LCkicQAMWS2FSdkWJ2G+iM4GuOUX6T +BpU1a3fZB6foeDgWoDj1+Mc0efXsf1Pwq3BBeBL0XNeknuZ45Lr3ZZCYooEAZLsu +QqWufDnZTkdpJijO5G7cNDm2JY0aMLndgiVgVQw/GbMNuqpttpxEPWViO+I5uytK +nDGfgLzJQSdmsnaPbUTryRUWuhHRkzkLxSimSzJj9TquOUCju8Nf3BC4r+X9rHpX +PLQCfM6nRJLVPjxnPBbc46y/MLm210aKEUnWq90eNp7L06nPOj3WScxGXvj4RnUV +tcOwg9Y+Z4CiFLS4BG9QdPK6YZepJgSokjsh8NfQEQATQ/SLKV0iHVBk9hIV01uv +LhbHQXdNXqPz/esxY1DZRjZmHF+a5WieSlsB6Qo0/z47P6zbWMLjaWI0twkMfse+ +HPPQzdvWP0ylNOF9lacna401DJuD4JzOsM3zWiVXUUfGELw4KUv6/DsQuio7t0rw +ZRPcUa5bbC9G3lyIDBSC8Wcxr7R4aj5XKss9++4xzhEjONdKbp91ur2Q03CnxNgA +SU4tmvfdgq+KgFYzd/jnJ2p+oI+oq6WO98ozYCvZpaaEZuCDRAhEmfqlE1MufS3N +rLHuzmy5TdZUJ8H68JDncjqB9xdGTKlc80mysqWZE7cX2ET3QWQk14mGIR9fuDpx +3wM37WpFrH+wne8i7Ztj +=Lu47 -----END PGP SIGNATURE----- diff --git a/net-analyzer/arpon/arpon-2.7-r1.ebuild b/net-analyzer/arpon/arpon-2.7-r1.ebuild new file mode 100644 index 000000000000..b9a0cb1a5788 --- /dev/null +++ b/net-analyzer/arpon/arpon-2.7-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/arpon/arpon-2.7-r1.ebuild,v 1.1 2012/03/22 21:03:44 hwoarang Exp $ + +EAPI="2" +inherit cmake-utils + +DESCRIPTION="ArpON (Arp handler inspectiON) is a portable Arp handler." + +MY_PN="ArpON" +MY_P="${MY_PN}-${PV}" +HOMEPAGE="http://arpon.sourceforge.net/" +SRC_URI="mirror://sourceforge/arpon/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="dev-libs/libdnet + net-libs/libnet:1.1 + net-libs/libpcap" + +RDEPEND=${DEPEND} + +S="${WORKDIR}"/${MY_P} + +src_prepare() { + sed -i -e "/set(CMAKE_C_FLAGS/d" CMakeLists.txt || die +} + +src_install() { + cmake-utils_src_install + newinitd "${FILESDIR}"/${PN}.initd ${PM} + newconfd "${FILESDIR}"/${PN}.confd ${PN} +} + +pkg_postinst() { + elog + elog "${PN} now installs an init script. Please edit" + elog "the /etc/conf.d/arpon file to match your needs" + elog +} diff --git a/net-analyzer/arpon/files/arpon.confd b/net-analyzer/arpon/files/arpon.confd new file mode 100644 index 000000000000..d1ce050fa4cb --- /dev/null +++ b/net-analyzer/arpon/files/arpon.confd @@ -0,0 +1,5 @@ +METHOD="--darpi" +IFACE="eth0" +LOGFILE="/var/log/arpon.log" + +ARPON_OPTS="${METHOD} --iface ${IFACE} --log-file ${LOGFILE} --log" diff --git a/net-analyzer/arpon/files/arpon.initd b/net-analyzer/arpon/files/arpon.initd new file mode 100644 index 000000000000..5f6a1bd8c6e2 --- /dev/null +++ b/net-analyzer/arpon/files/arpon.initd @@ -0,0 +1,19 @@ +#!/sbin/runscript +# Distributed under the terms of the GNU General Public License v2 + +depend() { + need net +} + +start() { + ebegin "Starting arpon" + start-stop-daemon --start --background --make-pidfile --pidfile "/var/run/arpon.pid" \ + --exec /usr/sbin/arpon -- ${ARPON_OPTS} >/dev/null 2>&1 + eend $? +} + +stop() { + ebegin "Stopping arpon" + start-stop-daemon --stop --pidfile "/var/run/arpon.pid" + eend $? +} |