Search
SailfishOS Open Build Service
>
Projects
>
mer-infra:stable
>
tinc
> tinc.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File tinc.spec of Package tinc
# $Id: tinc.spec 5067 2007-01-11 00:54:46Z dag $ # Authority: dag Summary: Virtual private network daemon Name: tinc Version: 1.0.23 Release: 1 License: GPL Group: Productivity/Networking/Other URL: http://www.tinc-vpn.org/ PreReq: %fillup_prereq Source: http://www.tinc-vpn.org/packages/tinc-%{version}.tar.gz Source1: rctinc.sh Source2: sysconfig.tinc BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: openssl >= 0.9.7, openssl-devel, lzo-devel %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 tunnel appears to the IP level network code as a normal network device, there is no need to adapt any existing software. This tunnelling allows VPN sites to share information with each other over the Internet without exposing any information to others. %prep %setup %build %configure %{__make} %{?_smp_mflags} %install %{__install} -Dp -m0755 %{SOURCE1} %{buildroot}%{_initrddir}/tinc %{__install} -d -m0755 ${RPM_BUILD_ROOT}/var/adm/fillup-templates %{__install} -Dp -m0700 %{SOURCE2} %{buildroot}/var/adm/fillup-templates %{__install} -d -m0755 $RPM_BUILD_ROOT/%{_sbindir} ln -sf %{_initrddir}/tinc $RPM_BUILD_ROOT/%{_sbindir}/rctinc %{__install} -Dp -m0755 src/tincd %{buildroot}%{_sbindir}/tincd %{__install} -Dp -m0644 doc/tincd.8 %{buildroot}%{_mandir}/man8/tincd.8 %{__install} -Dp -m0644 doc/tinc.conf.5 %{buildroot}%{_mandir}/man5/tinc.conf.5 %clean %{__rm} -rf %{buildroot} %post %fillup_and_insserv tinc %restart_on_update tinc %preun %stop_on_removal tinc %postun %insserv_cleanup %restart_on_update %files %defattr(-, root, root, 0755) %doc AUTHORS ChangeLog COPYING* NEWS README THANKS %doc doc/sample-config* doc/tinc.info* doc/tinc.texi %doc %{_mandir}/man5/tinc.conf.5* %doc %{_mandir}/man8/tincd.8* %{_sbindir}/tincd %{_initrddir}/tinc /var/adm/fillup-templates/sysconfig.tinc %{_sbindir}/rctinc %changelog