Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:reinirf
tinc
tinc.spec
Overview
Repositories
Revisions
Requests
Users
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.1pre18 Release: 1 License: GPL-2.0+ Group: Productivity/Networking/Other URL: http://www.tinc-vpn.org/ Source: http://www.tinc-vpn.org/packages/tinc-%{version}.tar.gz #Source1: rctinc.sh Source2: sysconfig.tinc Source3: tinc.firewall BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: openssl >= 0.9.7, openssl-devel, lzo-devel, ncurses-devel, readline-devel, zlib-devel %if ! %{defined _fillupdir} %define _fillupdir /var/adm/fillup-templates %endif %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} -d -m0755 %{buildroot}/var/adm/fillup-templates %{__install} -d -m0755 %{buildroot}/%{_fillupdir}/ #%{__install} -Dp -m0700 %{SOURCE2} %{buildroot}/var/adm/fillup-templates/ %{__install} -Dp -m0700 %{SOURCE2} %{buildroot}/%{_fillupdir}/ %{__install} -d -m0755 %{buildroot}%{_sbindir} %{__install} -Dp -m0755 src/tincd %{buildroot}%{_sbindir}/tincd %{__install} -Dp -m0755 src/tinc %{buildroot}%{_sbindir}/tinc %{__install} -Dp -m0644 doc/tincd.8 %{buildroot}%{_mandir}/man8/tincd.8 %{__install} -Dp -m0644 doc/tinc.conf.5 %{buildroot}%{_mandir}/man5/tinc.conf.5 # service files %{__install} -d -m0755 %{buildroot}%{_unitdir}/ # %{__install} -m0644 systemd/*.service %{buildroot}%{_unitdir}/ service files are now generated during make install? # firewall config %if 0%{?sle_version} == 150200 && 0%{?is_opensuse} install -m 644 -D %{SOURCE3} %{buildroot}/%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name} %endif %if 0%{?sle_version} == 150100 && 0%{?is_opensuse} install -m 644 -D %{SOURCE3} %{buildroot}/%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name} %endif %if 0%{?sle_version} == 150000 && 0%{?is_opensuse} install -m 644 -D %{SOURCE3} %{buildroot}/%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name} %endif %clean %{__rm} -rf %{buildroot} %pre %service_add_pre tinc.service %service_add_pre tinc@.service %post %fillup_only %service_add_post tinc.service %service_add_post tinc@.service %preun %service_del_preun tinc.service %service_del_preun tinc@.service %postun %service_del_postun tinc.service %service_del_postun tinc@.service %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 %{_sbindir}/tinc #%{_unitdir}/*.service #%attr(644, root, root) /var/adm/fillup-templates/sysconfig.tinc %attr(644, root, root) %{_fillupdir}/sysconfig.tinc #%{_sbindir}/rctinc %if 0%{?sle_version} == 150200 && 0%{?is_opensuse} %config(noreplace) %attr(0644,root,root) %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name} %endif %if 0%{?sle_version} == 150100 && 0%{?is_opensuse} %config(noreplace) %attr(0644,root,root) %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name} %endif %if 0%{?sle_version} == 150000 && 0%{?is_opensuse} %config(noreplace) %attr(0644,root,root) %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name} %endif %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor