1 Summary: tinc vpn daemon
7 URL: http://tinc.nl.linux.org/
8 Source0: %{name}-%{version}.tar.gz
9 Buildroot: /var/tmp/%{name}-%{version}-%{release}
10 Requires: /usr/bin/texi2html /usr/bin/install /usr/bin/patch
14 See http://tinc.nl.linux.org/
18 %setup -q -n %{name}-%{version}
23 ./configure --prefix=/usr --sysconfdir=/etc
25 texi2html doc/tinc.texi
28 rm -rf $RPM_BUILD_ROOT
29 make install DESTDIR=$RPM_BUILD_ROOT
31 install -D redhat/tinc $RPM_BUILD_ROOT/etc/rc.d/init.d/
34 PEER=peer.vpn.ip.number
35 PEEREAL=peer.real.ip.number
37 mkdir -p $RPM_BUILD_ROOT/etc/tinc/$PEER/passphrases
38 cat <<END >$RPM_BUILD_ROOT/etc/tinc/$PEER/tincd.conf
45 cat <<END >$RPM_BUILD_ROOT/etc/tinc/$PEER/passphrases/local
46 128 0c647a1fd34da9d04c1d340ae9363f31
48 cat <<END >$RPM_BUILD_ROOT/etc/tinc/$PEER/passphrases/$PEER
49 128 aea5a5d414fea63ee3829b592afc0fba
53 rm -rf $RPM_BUILD_ROOT
58 /sbin/chkconfig --add tinc
60 grep -q '^tinc[[:space:]]' /etc/services || patch -s /etc/services << END
61 *** services.org Tue Apr 18 13:22:22 2000
62 --- services Tue Apr 18 13:24:19 2000
66 hmmp-ind 612/tcp dqs313_intercell# HMMP Indication / DQS
67 hmmp-ind 612/udp dqs313_intercell# HMMP Indication / DQS
68 + tinc 655/tcp TINC # tinc vpn
69 + tinc 655/udp TINC # tinc.nl.linux.org
71 # UNIX specific services
79 %doc AUTHORS ChangeLog NEWS README THANKS *.html
81 #%defattr(-,root,root)
90 * Tue Apr 18 2000 Mads Kiileric <mads@kiilerich.com>