]> git.pld-linux.org Git - packages/cipe.git/commitdiff
- splitted out pkcipe-{client,server}
authorSebastian Zagrodzki <sebek@zagrodzki.net>
Tue, 7 May 2002 18:22:51 +0000 (18:22 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- rel 5
- STBR

Changed files:
    cipe.spec -> 1.16

cipe.spec

index 83a3a58255243da308cdac815a480471fb268a19..1eff57082ddc357b7407d22f7a860c6ab6267612 100644 (file)
--- a/cipe.spec
+++ b/cipe.spec
@@ -2,7 +2,7 @@ Summary:        CIPE - encrypted IP over UDP tunneling
 Summary(pl):   CIPE - szyfrowany tunel IP po UDP
 Name:          cipe
 Version:       1.5.2
-%define                _rel 4
+%define                _rel 5
 Release:       %{_rel}
 License:       GPL
 Group:         Networking/Daemons
@@ -10,6 +10,7 @@ Source0:      http://sites.inka.de/bigred/sw/%{name}-%{version}.tar.gz
 Source1:       %{name}.inetd
 Patch0:                %{name}-autoconf.patch
 Patch1:                %{name}-makefile.patch
+Patch2:                %{name}-pkcipe-real-peer.patch
 %{!?_without_dist_kernel:BuildRequires: kernel-headers}
 BuildRequires: autoconf
 BuildRequires: automake
@@ -34,15 +35,15 @@ tworzenia szyfrowanych tuneli IP. Mo
 routerów szyfruj±cych w VPNach (Prywatnych Sieciach Wirtualnych) i
 podobnych zastosowaniach.
 
-%package pkcipe
+%package pkcipe-client
 Summary:       The PKCIPE public key tool for CIPE
 Summary(pl):   PKCIPE - narzêdzie do wykorzystania kluczy publicznych w CIPE
 Group:         Networking/Daemons
 Prereq:                %{_bindir}/openssl
 Requires:      %{name} = %{version}
-Requires:      inetdaemon
+Obsoletes:     %{name}-pkcipe
 
-%description pkcipe
+%description pkcipe-client
 CIPE (the name is shortened from *Crypto IP Encapsulation*) is a
 package for an encrypting IP tunnel device. This can be used to build
 encrypting routers for VPN (Virtual Private Networks) and similar
@@ -50,7 +51,7 @@ applications. This package contains PKCIPE, which simplifies setup of
 CIPE tunnels by using autoconfiguration and public/private key
 mechanisms.
 
-%description pkcipe -l pl
+%description pkcipe-client -l pl
 CIPE (nazwa to skrót od *Crypto IP Encapsulation*) to pakiet do
 tworzenia szyfrowanych tuneli IP. Mo¿na je wykorzystaæ do budowania
 routerów szyfruj±cych w VPNach (Prywatnych Sieciach Wirtualnych) i
@@ -58,6 +59,29 @@ podobnych zastosowaniach. Ten pakiet zawiera PKCIPE, kt
 ustawienie tuneli CIPE przez korzystanie z autokonfiguracji oraz
 mechanizmów kluczy publicznych/prywatnych.
 
+%package pkcipe-server
+Summary:       The PKCIPE public key tool for CIPE - server side
+Summary(pl):   PKCIPE - narzêdzie do wykorzystania kluczy publicznych w CIPE
+Group:         Networking/Daemons
+Requires:      %{name}-pkcipe-client = %{version}
+Requires:      inetdaemon
+
+%description pkcipe-server
+CIPE (the name is shortened from *Crypto IP Encapsulation*) is a
+package for an encrypting IP tunnel device. This can be used to build
+encrypting routers for VPN (Virtual Private Networks) and similar
+applications. This package contains server part PKCIPE, which simplifies
+setup of CIPE tunnels by using autoconfiguration and public/private key
+mechanisms.
+
+%description pkcipe-server -l pl
+CIPE (nazwa to skrót od *Crypto IP Encapsulation*) to pakiet do
+tworzenia szyfrowanych tuneli IP. Mo¿na je wykorzystaæ do budowania
+routerów szyfruj±cych w VPNach (Prywatnych Sieciach Wirtualnych) i
+podobnych zastosowaniach. Ten pakiet zawiera PKCIPE do u¿ycia po stronie
+serwera, który uprasza ustawienie tuneli CIPE przez korzystanie z
+autokonfiguracji oraz mechanizmów kluczy publicznych/prywatnych.
+
 %package -n kernel-cipe
 Summary:       CIPE kernel module
 Summary(pl):   Modu³ j±dra CIPE
@@ -106,6 +130,7 @@ skompilowany dla %{_kernel_ver}-smp.
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 mv -f conf/aclocal.m4 conf/acinclude.m4
@@ -160,15 +185,17 @@ rm -rf $RPM_BUILD_ROOT
 %postun
 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 
-%post pkcipe
+%post pkcipe-client
 [ ! -f %{_sysconfdir}/cipe/identity.priv ] && %{_bindir}/rsa-keygen %{_sysconfdir}/cipe/identity
+
+%post pkcipe-server
 if [ -f /var/lock/subsys/rc-inetd ]; then
         /etc/rc.d/init.d/rc-inetd reload 1>&2
 else
         echo "Type \"/etc/rc.d/init.d/rc-inetd start\" to start inet server" 1>&2
 fi
 
-%postun pkcipe
+%postun pkcipe-server
 if [ "$1" = "0" -a -f /var/lock/subsys/rc-inetd ]; then
        /etc/rc.d/init.d/rc-inetd reload
 fi
@@ -193,11 +220,14 @@ fi
 %dir %{_sysconfdir}/cipe
 %attr(755,root,root) %dir %{_var}/run/cipe
 
-%files pkcipe
+%files pkcipe-client
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/rsa-keygen
 %attr(755,root,root) %{_sbindir}/pkcipe
 %attr(700,root,root) %dir %{_sysconfdir}/cipe/pk
+
+%files pkcipe-server
+%defattr(644,root,root,755)
 %attr(640,root,root) %config %verify(not size mtime md5) /etc/sysconfig/rc-inetd/pkcipe
 
 %files -n kernel-cipe
This page took 0.072833 seconds and 4 git commands to generate.