[n2n/f15/master] Initial import (#691027)

Hushan Jia hushan at fedoraproject.org
Wed Apr 6 06:35:51 UTC 2011


commit 93af7b4fb252361148bb1aed38321e3729f1ee23
Author: Hushan Jia <hjia at redhat.com>
Date:   Wed Apr 6 14:39:09 2011 +0800

    Initial import (#691027)

 .gitignore |    1 +
 n2n.spec   |   57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources    |    1 +
 3 files changed, 59 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..df1ba37 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/n2n-2.0.1.tar.bz2
diff --git a/n2n.spec b/n2n.spec
new file mode 100644
index 0000000..c6ff7c3
--- /dev/null
+++ b/n2n.spec
@@ -0,0 +1,57 @@
+Name:           n2n
+Version:        2.0.1
+Release:        3%{?dist}
+Summary:        A layer-two peer-to-peer virtual private network
+
+Group:          Applications/Internet
+License:        GPLv3+
+URL:            http://www.ntop.org/n2n
+# The source for this package was pulled from upstream's svn repository.
+# git svn clone --no-minimize-url https://svn.ntop.org/svn/ntop/tags/n2n-2.0.1
+# (cd n2n-2.0.1 && git archive HEAD --format=tar --prefix=n2n-2.0.1/) | bzip2 - > n2n-2.0.1.tar.bz2
+Source0:        %{name}-%{version}.tar.bz2
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires:  openssl-devel
+
+%description
+n2n is a layer-two peer-to-peer virtual private network (VPN) which
+allows users to exploit features typical of P2P applications at
+network instead of application level. This means that users can gain
+native IP visibility (e.g. two PCs belonging to the same n2n network
+can ping each other) and be reachable with the same network IP address
+regardless of the network where they currently belong.  In a nutshell,
+as OpenVPN moved SSL from application (e.g. used to implement the
+HTTPS protocol) to network protocol, n2n moves P2P from application to
+network level.
+
+%prep
+%setup -q
+
+%build
+make CFLAGS="%{optflags}" %{?_smp_mflags}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make INSTALL="install -p" install DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,-)
+%doc COPYING README HACKING
+%{_sbindir}/edge
+%{_sbindir}/supernode
+%{_mandir}/man*/*
+
+
+%changelog
+* Tue Apr 6 2011 Hushan Jia <hjia at redhat.com> 2.0.1-3
+- remove unnecessary requires
+
+* Tue Apr 5 2011 Hushan Jia <hjia at redhat.com> 2.0.1-2
+- fix indentation and a spelling problem of description section
+
+* Mon Apr 4 2011 Hushan Jia <hjia at redhat.com> 2.0.1-1
+- initial package
diff --git a/sources b/sources
index e69de29..dd4827f 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+25ca2a8dad65fbccbb0066e59bad7d1d  n2n-2.0.1.tar.bz2


More information about the scm-commits mailing list