mirror of
https://github.com/ntop/n2n.git
synced 2024-09-19 00:21:11 +02:00
Add Centos packaging instructions
This commit is contained in:
parent
7e5fd863a8
commit
9e2aa47bf0
|
@ -23,7 +23,7 @@ By defaul the edge will run in background but you can use the `-f` option to kee
|
|||
Windows
|
||||
-------
|
||||
|
||||
Check out doc/windows for compilation and run istuctions.
|
||||
Check out doc/Windows.md for compilation and run instuctions.
|
||||
|
||||
Note that `-d`, `-u`, `-g` and `-f` options are not available for Windows.
|
||||
|
||||
|
|
11
doc/Centos.md
Normal file
11
doc/Centos.md
Normal file
|
@ -0,0 +1,11 @@
|
|||
# Packaging
|
||||
|
||||
```
|
||||
./autogen.sh
|
||||
./configure
|
||||
make
|
||||
|
||||
cd packages/rpm
|
||||
./configure
|
||||
rpmbuild -bb ./n2n.spec
|
||||
```
|
52
n2n.spec
52
n2n.spec
|
@ -1,52 +0,0 @@
|
|||
Summary: N2N peer-to-peer virtual private network system.
|
||||
Name: n2n
|
||||
Version: 2.5.0
|
||||
Release: 1
|
||||
License: GPLv3
|
||||
Vendor: ntop.org
|
||||
Group: None
|
||||
URL: http://www.ntop.org/
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||
|
||||
%description
|
||||
N2N is a peer-to-peer virtual private network system. N2N uses the universal
|
||||
TUNTAP interface to create TAP network interfaces to an encrypted virtual
|
||||
LAN. Members of a community share encryption keys which allow exchange of
|
||||
data. The supernode is used for peer discovery and initial packet relay before
|
||||
direct peer-to-peer exchange is established. Once direct packet exchange is
|
||||
established, the supernode is not required.
|
||||
|
||||
N2N-2 introduces additional security features and multiple supernodes.
|
||||
|
||||
%prep
|
||||
|
||||
%setup -q
|
||||
|
||||
echo -e "\n *** Building ${RPM_PACKAGE_NAME}-${RPM_PACKAGE_VERSION}-${RPM_PACKAGE_RELEASE} ***\n"
|
||||
|
||||
%build
|
||||
make
|
||||
|
||||
%install
|
||||
make PREFIX=${RPM_BUILD_ROOT}/usr install
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
/usr/sbin/supernode
|
||||
/usr/sbin/edge
|
||||
%doc /usr/share/man/man1/supernode.1.gz
|
||||
%doc /usr/share/man/man8/edge.8.gz
|
||||
%doc /usr/share/man/man7/n2n_v2.7.gz
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Oct 30 2009 Richard Andrews <andrews@ntop.org> -
|
||||
- First beta for n2n-2
|
||||
* Sat May 3 2008 Richard Andrews <andrews@ntop.org> -
|
||||
- Initial build.
|
||||
|
Loading…
Reference in New Issue
Block a user