[packages/tinc] - initial release

adwol adwol at pld-linux.org
Sat Feb 15 18:33:57 CET 2014


commit fc48e9729b7aa2085a8c324cab0a8d4827d42938
Author: Adam Osuchowski <adwol at pld-linux.org>
Date:   Sat Feb 15 18:32:42 2014 +0100

    - initial release

 tinc.spec | 70 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 70 insertions(+)
---
diff --git a/tinc.spec b/tinc.spec
new file mode 100644
index 0000000..ca06517
--- /dev/null
+++ b/tinc.spec
@@ -0,0 +1,70 @@
+Summary:	VPN Daemon
+Summary(pl.UTF-8):	Serwer VPN
+Name:		tinc
+Version:	1.0.23
+Release:	0.1
+License:	GPL v2+
+Group:		Networking/Daemons
+Source0:	http://www.tinc-vpn.org/packages/%{name}-%{version}.tar.gz
+# Source0-md5:	762c0d47bdf1b33a40b19165d9c2761f
+URL:		http://www.tinc-vpn.org/
+BuildRequires:	openssl-devel
+BuildRequires:	lzo-devel
+BuildRequires:	zlib-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+tinc is a Virtual Private Network (VPN) daemon that uses tunnelling
+and encryption to create a secure private network between hosts on
+the Internet. Because the VPN appears to the IP level network code
+as a normal network device, there is no need to adapt any existing
+software. This allows VPN sites to share information with each other
+over the Internet without exposing any information to others.
+
+%description -l pl.UTF-8
+tinc jest serwerem VPN, kt�ry u�ywa tunelowania i szyfrowania do
+stworzenia prywatnej sieci pomi�dzy hostem i Internetem. 
+
+%prep
+%setup -q
+
+%build
+%{__aclocal} -I m4
+%{__autoheader}
+%{__autoconf}
+%{__automake}
+
+%configure
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT/%{_sysconfdir}/tinc
+
+gzip -dc doc/sample-config.tar.gz | tar xf - -C doc
+
+rm -f $RPM_BUILD_ROOT%{_infodir}/dir
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
+%postun	-p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_sbindir}/tincd
+%dir %{_sysconfdir}/tinc
+%doc AUTHORS ChangeLog NEWS README doc/sample-config
+%{_infodir}/tinc.info*
+%{_mandir}/man5/tinc.conf.5*
+%{_mandir}/man8/tincd.8*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/tinc.git/commitdiff/fc48e9729b7aa2085a8c324cab0a8d4827d42938



More information about the pld-cvs-commit mailing list