projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
375b668
)
Submitted changes by Mads Kiilerich.
author
Ivo Timmermans
<ivo@lychnis.net>
Tue, 18 Apr 2000 20:43:24 +0000
(20:43 +0000)
committer
Ivo Timmermans
<ivo@lychnis.net>
Tue, 18 Apr 2000 20:43:24 +0000
(20:43 +0000)
redhat/tinc.spec
patch
|
blob
|
history
diff --git
a/redhat/tinc.spec
b/redhat/tinc.spec
index
b0a4d4e
..
73b198b
100644
(file)
--- a/
redhat/tinc.spec
+++ b/
redhat/tinc.spec
@@
-1,13
+1,12
@@
Summary: tinc vpn daemon
Name: tinc
Summary: tinc vpn daemon
Name: tinc
-Version:
cvs_2000_04_17
-Release:
mk
1
+Version:
1.0
+Release:
pre
1
Copyright: GPL
Group: Networking
URL: http://tinc.nl.linux.org/
Copyright: GPL
Group: Networking
URL: http://tinc.nl.linux.org/
-Source0: cabal.tgz
-Source1: tinc
-Buildroot: /var/tmp/%{name}-%{version}
+Source0: %{name}-%{version}.tar.gz
+Buildroot: /var/tmp/%{name}-%{version}-%{release}
#Requires:
%description
#Requires:
%description
@@
-16,24
+15,23
@@
See http://tinc.nl.linux.org/
%prep
%prep
-%setup -q -n
cabal
+%setup -q -n
%{name}-%{version}
%build
%build
-autoconf
-automake
+
#
autoconf
+
#
automake
./configure --prefix=/usr --sysconfdir=/etc
make
%install
./configure --prefix=/usr --sysconfdir=/etc
make
%install
-ME=my.vpn.ip.number
-PEER=peer.vpn.ip.number
-PEEREAL=peer.real.ip.number
-
rm -rf $RPM_BUILD_ROOT
rm -rf $RPM_BUILD_ROOT
-
make install DESTDIR=$RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
-install -D $RPM_SOURCE_DIR/tinc $RPM_BUILD_ROOT/etc/rc.d/init.d/
+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
mkdir -p $RPM_BUILD_ROOT/etc/tinc/$PEER/passphrases
cat <<END >$RPM_BUILD_ROOT/etc/tinc/$PEER/tincd.conf
mkdir -p $RPM_BUILD_ROOT/etc/tinc/$PEER/passphrases
cat <<END >$RPM_BUILD_ROOT/etc/tinc/$PEER/tincd.conf