summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2012-03-18 12:55:41 +0000
committerAnthony G. Basile <blueness@gentoo.org>2012-03-18 12:55:41 +0000
commita5628b0ceedd0d5ba8fb6c0cbb87f36c99354fe5 (patch)
tree6499781877a040c5020143f1ffe979b61284ebd5 /net-analyzer
parentRemove USE="esd" because media-sound/esound isn't in tree anymore. (diff)
downloadhistorical-a5628b0ceedd0d5ba8fb6c0cbb87f36c99354fe5.tar.gz
historical-a5628b0ceedd0d5ba8fb6c0cbb87f36c99354fe5.tar.bz2
historical-a5628b0ceedd0d5ba8fb6c0cbb87f36c99354fe5.zip
Initial commit
Package-Manager: portage-2.1.10.49/cvs/Linux x86_64
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/2ping/2ping-1.2.3.ebuild37
-rw-r--r--net-analyzer/2ping/ChangeLog10
-rw-r--r--net-analyzer/2ping/Manifest16
-rw-r--r--net-analyzer/2ping/files/2pingd36
-rw-r--r--net-analyzer/2ping/files/2pingd.conf2
-rw-r--r--net-analyzer/2ping/metadata.xml17
6 files changed, 118 insertions, 0 deletions
diff --git a/net-analyzer/2ping/2ping-1.2.3.ebuild b/net-analyzer/2ping/2ping-1.2.3.ebuild
new file mode 100644
index 000000000000..edc6e8cccf69
--- /dev/null
+++ b/net-analyzer/2ping/2ping-1.2.3.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/2ping/2ping-1.2.3.ebuild,v 1.1 2012/03/18 12:55:41 blueness Exp $
+
+EAPI="4"
+
+DESCRIPTION="A bi-directional ping utility"
+HOMEPAGE="http://www.finnie.org/software/2ping/"
+SRC_URI="http://www.finnie.org/software/2ping/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="crc ipv6 md5 sha server"
+
+# The 2ping script itself checks if these optional deps are available.
+DEPEND="
+ dev-lang/perl
+ perl-core/Getopt-Long
+ perl-core/PodParser
+ perl-core/IO
+ perl-core/Time-HiRes
+ ipv6? ( dev-perl/IO-Socket-INET6 )
+ md5? ( perl-core/Digest-MD5 )
+ sha? ( perl-core/Digest-SHA )
+ crc? ( dev-perl/Digest-CRC )
+"
+RDEPEND="${DEPEND}"
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="/usr" install
+ dodoc ChangeLog README
+ use server && {
+ doinitd "${FILESDIR}"/2pingd
+ newconfd "${FILESDIR}"/2pingd.conf 2pingd
+ }
+}
diff --git a/net-analyzer/2ping/ChangeLog b/net-analyzer/2ping/ChangeLog
new file mode 100644
index 000000000000..a554da1c4ea8
--- /dev/null
+++ b/net-analyzer/2ping/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-analyzer/2ping
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/2ping/ChangeLog,v 1.1 2012/03/18 12:55:41 blueness Exp $
+
+*2ping-1.2.3 (18 Mar 2012)
+
+ 18 Mar 2012; Anthony G. Basile <blueness@gentoo.org> +files/2pingd,
+ +2ping-1.2.3.ebuild, +files/2pingd.conf, +metadata.xml:
+ Initial commit
+
diff --git a/net-analyzer/2ping/Manifest b/net-analyzer/2ping/Manifest
new file mode 100644
index 000000000000..19aabc328147
--- /dev/null
+++ b/net-analyzer/2ping/Manifest
@@ -0,0 +1,16 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX 2pingd 799 RMD160 37a3abe04933981ba453684b7b68e62fdae60029 SHA1 d04b8e2ff6afe1815096736045b859f1ab4a67c0 SHA256 96a61131288cdcd67092bbfa76de84f17066e61f76a84d7b5ebcc2659ed9d21e
+AUX 2pingd.conf 57 RMD160 908371576276b580732033115c9a5ed5ed27c5bf SHA1 3e3620707b24600755c833e26dcea4dd6d544849 SHA256 b1ede8d386e74ff05cd992f5bb860910790402cb958338ff7f029aa3e1cdeeae
+DIST 2ping-1.2.3.tar.gz 28755 RMD160 1f302d0738188a713a21c413ae3fb0eb8daf56b6 SHA1 b0538f50ced065632f2e93e567723940cd097cc6 SHA256 1d0c3f30c99f1437f799f6ba9d0b49d60468cd78c03feb7bea0dde7eff22d3b5
+EBUILD 2ping-1.2.3.ebuild 972 RMD160 c6504d253bccdf6ca036041ced6f62b7f02c5254 SHA1 facc258303ebb0937ff30fec297b0b03507d0c9a SHA256 b1cb9e1719a7435d6b32df8efddf56b40e770712fa0e98e3bf016569627e3c16
+MISC ChangeLog 385 RMD160 04d61f9f600c4d454b5f5f0c3e24cf83fbba7c60 SHA1 ec31e7e370dc2b00cd5f0d7a612465125c8fc67c SHA256 ae46377f2dc0f876ca2be3f4c0c339eea4acc04031b8a86ded94bef353dbd44c
+MISC metadata.xml 534 RMD160 970b9359b27baaba6e80732b5607f83b4041ff4d SHA1 24a0dbeb7b0a373ae317b984b79df87225d8dad0 SHA256 d1dc9561afd70fe7ba624ec9b58923b80b36bde5b5578dc5d49dda49d742e408
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iEYEAREIAAYFAk9l20UACgkQl5yvQNBFVTVxpgCeKoUWOHVKu0kFGbFKGa39k495
+hpsAnRv45kx8K0aST+ZValTotNrJlfVS
+=ioiE
+-----END PGP SIGNATURE-----
diff --git a/net-analyzer/2ping/files/2pingd b/net-analyzer/2ping/files/2pingd
new file mode 100644
index 000000000000..a918e2e91a07
--- /dev/null
+++ b/net-analyzer/2ping/files/2pingd
@@ -0,0 +1,36 @@
+#!/sbin/runscript
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/2ping/files/2pingd,v 1.1 2012/03/18 12:55:41 blueness Exp $
+
+DAEMON="/usr/bin/2ping"
+PIDFILE="/var/run/2ping"
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting 2ping server"
+ start-stop-daemon --start \
+ --background --make-pidfile \
+ --pidfile "${PIDFILE}" \
+ --exec "${DAEMON}" -- \
+ --listen -q ${OPTS} \
+ >/dev/null
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping 2ping server"
+ start-stop-daemon --stop --pidfile "${PIDFILE}"
+ eend $?
+}
+
+restart() {
+ ebegin "Restarting 2ping server"
+ start-stop-daemon --stop --pidfile "${PIDFILE}"
+ sleep 1
+ start-stop-daemon --start --exec "${DAEMON}" --pidfile "${PIDFILE}"
+ eend $?
+}
diff --git a/net-analyzer/2ping/files/2pingd.conf b/net-analyzer/2ping/files/2pingd.conf
new file mode 100644
index 000000000000..12c263d3d054
--- /dev/null
+++ b/net-analyzer/2ping/files/2pingd.conf
@@ -0,0 +1,2 @@
+#Pass any extra 2ping server options here
+#OPTS="--ipv6"
diff --git a/net-analyzer/2ping/metadata.xml b/net-analyzer/2ping/metadata.xml
new file mode 100644
index 000000000000..ea661e700f0a
--- /dev/null
+++ b/net-analyzer/2ping/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>blueness@gentoo.org</email>
+ <name>Anthony G. Basile</name>
+ </maintainer>
+ <longdescription>
+ A bi-directional ping utility
+ </longdescription>
+ <use>
+ <flag name='crc'>Enable crc check.</flag>
+ <flag name='md5'>Enable md5 hash check.</flag>
+ <flag name='sha'>Enable sha1 or sha256 check.</flag>
+ <flag name='server'>Install the server init scripts.</flag>
+ </use>
+</pkgmetadata>