projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More updates wrt. the change from tincd->tinc.
[tinc]
/
redhat
/
tinc.spec
diff --git
a/redhat/tinc.spec
b/redhat/tinc.spec
index
5419e8f
..
7887d90
100644
(file)
--- a/
redhat/tinc.spec
+++ b/
redhat/tinc.spec
@@
-1,13
+1,14
@@
Summary: tinc vpn daemon
Name: tinc
Summary: tinc vpn daemon
Name: tinc
-Version: 1.0
-Release:
pre
1
+Version: 1.0
pre1
+Release: 1
Copyright: GPL
Copyright: GPL
-Group:
Networking
+Group:
System Environment/Daemons
URL: http://tinc.nl.linux.org/
Source0: %{name}-%{version}.tar.gz
Buildroot: /var/tmp/%{name}-%{version}-%{release}
URL: http://tinc.nl.linux.org/
Source0: %{name}-%{version}.tar.gz
Buildroot: /var/tmp/%{name}-%{version}-%{release}
-Requires: /usr/bin/texi2html /usr/bin/install /usr/bin/patch
+#for building the package the following is required:
+# /usr/bin/texi2html /usr/bin/install /usr/bin/patch
%description
tinc is cool!
%description
tinc is cool!
@@
-18,24
+19,23
@@
See http://tinc.nl.linux.org/
%setup -q -n %{name}-%{version}
%build
%setup -q -n %{name}-%{version}
%build
-#autoconf
-#automake
./configure --prefix=/usr --sysconfdir=/etc
make
./configure --prefix=/usr --sysconfdir=/etc
make
-texi2html doc/tinc.texi
+
/usr/bin/
texi2html doc/tinc.texi
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
-install -D redhat/tinc $RPM_BUILD_ROOT/etc/rc.d/init.d/
+
/usr/bin/
install -D redhat/tinc $RPM_BUILD_ROOT/etc/rc.d/init.d/
ME=my.vpn.ip.number
PEER=peer.vpn.ip.number
PEEREAL=peer.real.ip.number
ME=my.vpn.ip.number
PEER=peer.vpn.ip.number
PEEREAL=peer.real.ip.number
+umask 077
mkdir -p $RPM_BUILD_ROOT/etc/tinc/$PEER/passphrases
mkdir -p $RPM_BUILD_ROOT/etc/tinc/$PEER/passphrases
-cat <<END >$RPM_BUILD_ROOT/etc/tinc/$PEER/tinc
d
.conf
+cat <<END >$RPM_BUILD_ROOT/etc/tinc/$PEER/tinc.conf
#sample
TapDevice = /dev/tap0
ConnectTo = $PEEREAL
#sample
TapDevice = /dev/tap0
ConnectTo = $PEEREAL
@@
-75,16
+75,13
@@
END
%postun
%files
%postun
%files
-
%doc AUTHORS ChangeLog NEWS README THANKS *.html
%doc AUTHORS ChangeLog NEWS README THANKS *.html
-
-#%defattr(-,root,root)
%config /etc/tinc
/etc/rc.d
/usr/sbin
/usr/lib/tinc
/usr/man
%config /etc/tinc
/etc/rc.d
/usr/sbin
/usr/lib/tinc
/usr/man
-/usr/info
+/usr/info
/tinc.info
%changelog
* Tue Apr 18 2000 Mads Kiileric <mads@kiilerich.com>
%changelog
* Tue Apr 18 2000 Mads Kiileric <mads@kiilerich.com>