[2ping/f18] Initial SETUP.

Christopher Meng cicku at fedoraproject.org
Thu Jul 25 03:17:14 UTC 2013


commit 25062c49e010482f0f2a3a70a9df1d0895fda944
Author: Christopher Meng <rpm at cicku.me>
Date:   Thu Jul 25 11:16:37 2013 +0800

    Initial SETUP.

 .gitignore |    1 +
 2ping.spec |   38 ++++++++++++++++++++++++++++++++++++++
 sources    |    1 +
 3 files changed, 40 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..9b76a1c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/2ping-2.0.tar.gz
diff --git a/2ping.spec b/2ping.spec
new file mode 100644
index 0000000..f33a962
--- /dev/null
+++ b/2ping.spec
@@ -0,0 +1,38 @@
+Name:           2ping
+Version:        2.0
+Release:        1%{?dist}
+Summary:        Bi-directional ping utility
+License:        GPLv2+
+URL:            http://www.finnie.org/software/2ping/
+Source0:        http://www.finnie.org/software/%{name}/%{name}-%{version}.tar.gz
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(Digest::CRC)
+Requires:       perl(Digest::MD5)
+Requires:       perl(Digest::SHA)
+Requires:       perl(IO::Socket::INET6)
+BuildArch:      noarch
+
+%description
+2ping is a bi-directional ping utility. It uses 3-way pings (akin to TCP SYN, 
+SYN/ACK, ACK) and after-the-fact state comparison between a 2ping listener 
+and a 2ping client to determine which direction packet loss occurs.
+
+%prep
+%setup -q
+
+%build
+make EXTRAVERSION=-%{release} %{?_smp_mflags}
+
+%install
+make install PREFIX=%{_prefix} DESTDIR=%{buildroot}
+
+%files
+%doc ChangeLog COPYING README
+%{_bindir}/2ping
+%{_bindir}/2ping6
+%{_mandir}/man8/2ping.8*
+%{_mandir}/man8/2ping6.8*
+
+%changelog
+* Thu May 17 2012 Christopher Meng <rpm at cicku.me> - 2.0-1
+- Initial Package.
diff --git a/sources b/sources
index e69de29..1a745e2 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+e571255975804583731a7fdd01840808  2ping-2.0.tar.gz


More information about the scm-commits mailing list