]> git.pld-linux.org Git - packages/freeswan.git/commitdiff
This commit was manufactured by cvs2git to create branch 'LINUX_2_2_DEVEL'. LINUX_2_2_DEVEL
authorcvs2git <feedback@pld-linux.org>
Sat, 24 Feb 2001 16:42:22 +0000 (16:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Sprout from master 2001-02-24 16:42:22 UTC Sebastian Zagrodzki <sebek@zagrodzki.net> 'f86213fa89281d0a6b61abd86f14ca8c  linux-2.2.18-atm-0.59-fore200e-0.1f.patch.gz'
Delete:
    freeswan-Makefiles.patch
    freeswan-config.patch
    freeswan-init.patch
    freeswan-manlink.patch
    freeswan.spec

freeswan-Makefiles.patch [deleted file]
freeswan-config.patch [deleted file]
freeswan-init.patch [deleted file]
freeswan-manlink.patch [deleted file]
freeswan.spec [deleted file]

diff --git a/freeswan-Makefiles.patch b/freeswan-Makefiles.patch
deleted file mode 100644 (file)
index af77b03..0000000
+++ /dev/null
@@ -1,204 +0,0 @@
-diff -ruN freeswan-1.8.orig/Makefile freeswan-1.8/Makefile
---- freeswan-1.8.orig/Makefile Thu Nov 30 05:25:05 2000
-+++ freeswan-1.8/Makefile      Tue Dec 12 19:00:31 2000
-@@ -17,24 +17,20 @@
- # PUBDIR is where the "ipsec" command goes; beware, many things define PATH
- # settings which are assumed to include it (or at least, to include *some*
- # copy of the "ipsec" command).
--PUBDIR=$(DESTDIR)/usr/local/sbin
-+PUBDIR=$(DESTDIR)/usr/sbin
- # PRIVDIR is where commands get put, REALPRIVDIR is where they think they
- # will be run from in the end (currently only used by utils/ipsec)
--REALPRIVDIR=/usr/local/lib/ipsec
-+REALPRIVDIR=/usr/lib/ipsec
- PRIVDIR=$(DESTDIR)$(REALPRIVDIR)
- # where manpages go
--MANTREE=$(DESTDIR)/usr/local/man
-+MANTREE=$(DESTDIR)/usr/share/man
- # all relevant manpage subdirectories
- MANPLACES=man3 man5 man8
- # where configuration files go
--CONFDIR=$(DESTDIR)/etc
-+CONFDIR=$(DESTDIR)/etc/freeswan
- # RCDIR is where boot/shutdown scripts go (first RCDIRS that exists gets it);
- # REALRCDIR is where they think they will ultimately be (for utils/Makefile)
--RCDIRS=/etc/rc.d/init.d /etc/rc.d /etc/init.d /sbin/init.d
--REALRCDIR=$(shell for d in $(RCDIRS) ; \
--              do if test -d $$d ; \
--              then echo $$d ; exit 0 ; \
--              fi ; done ; echo /etc/rc.d/init.d )
-+REALRCDIR=/etc/rc.d/init.d
- RCDIR=$(DESTDIR)$(REALRCDIR)
- # kernel location, and location of kernel patches in the distribution
-diff -ruN freeswan-1.8.orig/klips/utils/Makefile freeswan-1.8/klips/utils/Makefile
---- freeswan-1.8.orig/klips/utils/Makefile     Fri Jun 30 08:20:25 2000
-+++ freeswan-1.8/klips/utils/Makefile  Tue Dec 12 19:01:34 2000
-@@ -14,7 +14,7 @@
- # RCSID $Id$
- CC=gcc
--CFLAGS=-O2 -I../net/ipsec -I../../lib -g
-+CFLAGS=$(OPT_FLAGS) -I../net/ipsec -I../../lib -g
- CFLAGS+= -Wall
- #CFLAGS+= -Wconversion
-@@ -30,8 +30,8 @@
- CFLAGS+= -Wbad-function-cast 
- ALL=spi eroute spigrp tncfg klipsdebug
--BINDIR=/usr/local/lib/ipsec
--MANTREE=/usr/local/man
-+BINDIR=/usr/lib/ipsec
-+MANTREE=/usr/share/man
- MANDIR8=$(MANTREE)/man8
- MANDIR5=$(MANTREE)/man5
- FREESWANLIB=../../lib/libfreeswan.a
-diff -ruN freeswan-1.8.orig/lib/Makefile freeswan-1.8/lib/Makefile
---- freeswan-1.8.orig/lib/Makefile     Thu Oct 26 01:58:57 2000
-+++ freeswan-1.8/lib/Makefile  Tue Dec 12 19:03:01 2000
-@@ -25,7 +25,7 @@
- HDRS=freeswan.h internal.h
- LIB=libfreeswan.a
- # Original flags
--CFLAGS=-O3 -I.
-+CFLAGS=$(OPT_FLAGS) -I.
- # Add debugging symbols
- CFLAGS+= -g
- CFLAGS+= -Wall
-@@ -44,7 +44,7 @@
- ARFLAGS=crvs
- EXTHDRS=des.h
- EXTLIBS=libdes.a
--MANTREE=/usr/local/man
-+MANTREE=/usr/share/man
- MANDIR=$(MANTREE)/man3
- MANS=anyaddr.3 atoaddr.3 atoasr.3 atosa.3 atoul.3 goodmask.3 \
-       initaddr.3 initsubnet.3 optionsfrom.3 portof.3 rangetosubnet.3 \
-@@ -57,11 +57,11 @@
- all:  $(EXTHDRS) $(LIB) $(EXTLIBS)
- install:
--      mkdir -p $(MANDIR)
-+      mkdir -p $(DESTDIR)$(MANDIR)
-       for f in $(MANS) ; \
-       do \
--              $(INSTALL) $$f $(MANDIR)/ipsec_$$f || exit 1 ; \
--              ../utils/manlink $(MANDIR) ipsec_$$f ; \
-+              $(INSTALL) $$f $(DESTDIR)$(MANDIR)/ipsec_$$f || exit 1 ; \
-+              ../utils/manlink $(DESTDIR)$(MANDIR) ipsec_$$f ; \
-       done
- $(LIB):       $(OBJS)
-diff -ruN freeswan-1.8.orig/libdes/Makefile freeswan-1.8/libdes/Makefile
---- freeswan-1.8.orig/libdes/Makefile  Wed Oct 11 04:12:45 2000
-+++ freeswan-1.8/libdes/Makefile       Tue Dec 12 19:06:18 2000
-@@ -46,9 +46,9 @@
- #CC=gcc
- #CFLAG= -O4 -funroll-loops -fomit-frame-pointer
--CFLAG= -O3 -fomit-frame-pointer
-+CFLAG=-fomit-frame-pointer
--CFLAGS=$(OPTS) $(CFLAG)
-+CFLAGS=$(OPT_FLAGS) $(CFLAG)
- CPP=$(CC) -E
- AS=as
-@@ -59,10 +59,10 @@
- #DES_ENC=asm/dx86-sol.o       asm/yx86-sol.o  # solaris format x86 
- #DES_ENC=asm/dx86bsdi.o       asm/yx86basi.o  # bsdi format x86 
--LIBDIR=/usr/local/lib
--BINDIR=/usr/local/bin
--INCDIR=/usr/local/include
--MANDIR=/usr/local/man
-+LIBDIR=/usr/lib
-+BINDIR=/usr/bin
-+INCDIR=/usr/include
-+MANDIR=/usr/share/man
- MAN1=1
- MAN3=3
- SHELL=/bin/sh
-@@ -231,20 +231,16 @@
-           chmod 644 $(INSTALLTOP)/include/des.h; \
-       else \
-           echo Standalone install; \
--          cp $(DLIB) $(LIBDIR)/$(DLIB); \
-+          cp $(DLIB) $(DESTDIR)$(LIBDIR)/$(DLIB); \
-           if test -s /bin/ranlib; then \
--            /bin/ranlib $(LIBDIR)/$(DLIB); \
-+            /bin/ranlib $(DESTDIR)$(LIBDIR)/$(DLIB); \
-           else \
-             if test -s /usr/bin/ranlib; then \
-               /usr/bin/ranlib $(LIBDIR)/$(DLIB); \
-             fi; \
-           fi; \
--          chmod 644 $(LIBDIR)/$(DLIB); \
--          cp des_crypt.man $(MANDIR)/man$(MAN3)/des_crypt.$(MAN3); \
--          chmod 644 $(MANDIR)/man$(MAN3)/des_crypt.$(MAN3); \
--          cp des.man $(MANDIR)/man$(MAN1)/des.$(MAN1); \
--          chmod 644 $(MANDIR)/man$(MAN1)/des.$(MAN1); \
--          cp des.h $(INCDIR)/des.h; \
--          chmod 644 $(INCDIR)/des.h; \
-+          cp des_crypt.man $(DESTDIR)$(MANDIR)/man$(MAN3)/des_crypt.$(MAN3); \
-+          cp des.man $(DESTDIR)$(MANDIR)/man$(MAN1)/des.$(MAN1); \
-+          cp des.h $(DESTDIR)$(INCDIR)/des.h; \
-       fi
- # DO NOT DELETE THIS LINE -- make depend depends on it.
-diff -ruN freeswan-1.8.orig/pluto/Makefile freeswan-1.8/pluto/Makefile
---- freeswan-1.8.orig/pluto/Makefile   Thu Oct 26 01:58:15 2000
-+++ freeswan-1.8/pluto/Makefile        Tue Dec 12 19:09:07 2000
-@@ -19,10 +19,10 @@
- CC = gcc
- # directory in which to install programs
--BINDIR=/usr/local/lib/ipsec
-+BINDIR=/usr/lib/ipsec
- # directory in which to install man pages
--MANTREE=/usr/local/man
-+MANTREE=/usr/share/man
- FMANDIR=$(MANTREE)/man5
- PMANDIR=$(MANTREE)/man8
-@@ -37,7 +37,7 @@
- # -O on Linux makes gcc coredump when compiling sha1.c
- # -Wundef is nice but RHL5.2 compiler doesn't support it
--CFLAGS = -g -Wall -W -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast \
-+CFLAGS = $(OPT_FLAGS) -Wall -W -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast \
-       -Wcast-qual -Wmissing-declarations -Wwrite-strings -Wstrict-prototypes
- # where to find klips headers and FreeS/WAN headers
-@@ -76,7 +76,7 @@
- CPPFLAGS = $(HDRDIRS) $(BYTE_ORDER) \
-       -DPLUTO -DKLIPS -DDODGE_DH_MISSING_ZERO_BUG \
--      -DDEBUG -DGCC_LINT
-+      -DDEBUG -DGCC_LINT -DSHARED_SECRETS_FILE='"/etc/freeswan/ipsec.secrets"'
- ALLFLAGS = $(CPPFLAGS) $(CFLAGS)
-diff -ruN freeswan-1.8.orig/utils/Makefile freeswan-1.8/utils/Makefile
---- freeswan-1.8.orig/utils/Makefile   Thu Oct 26 01:57:22 2000
-+++ freeswan-1.8/utils/Makefile        Tue Dec 12 19:10:13 2000
-@@ -14,13 +14,13 @@
- # RCSID $Id$
- # pathnames, subject to overrides from main Makefile
--PUBDIR=/usr/local/sbin
--PRIVDIR=/usr/local/lib/ipsec
--REALPRIVDIR=/usr/local/lib/ipsec
-+PUBDIR=/usr/sbin
-+PRIVDIR=/usr/lib/ipsec
-+REALPRIVDIR=/usr/lib/ipsec
- RCDIR=/etc/rc.d/init.d
- REALRCDIR=/etc/rc.d/init.d
--CONFDIR=/etc
--MANTREE=/usr/local/man
-+CONFDIR=/etc/freeswan
-+MANTREE=/usr/share/man
- FMANDIR=$(MANTREE)/man5
- CMANDIR=$(MANTREE)/man8
diff --git a/freeswan-config.patch b/freeswan-config.patch
deleted file mode 100644 (file)
index 9103c85..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-diff -durN freeswan-1.3.orig/utils/_confread freeswan-1.3/utils/_confread
---- freeswan-1.3.orig/utils/_confread  Tue Feb  8 22:22:30 2000
-+++ freeswan-1.3/utils/_confread       Tue Apr 25 11:59:19 2000
-@@ -41,7 +41,7 @@
- #     exit 1
- # fi
--config=/etc/ipsec.conf
-+config=/etc/freeswan/ipsec.conf
- include=yes
- type=conn
- fieldfmt=yes
-diff -durN freeswan-1.3.orig/utils/auto freeswan-1.3/utils/auto
---- freeswan-1.3.orig/utils/auto       Tue Feb  8 22:22:30 2000
-+++ freeswan-1.3/utils/auto    Tue Apr 25 11:59:59 2000
-@@ -24,7 +24,7 @@
-       other options: [--config ipsecconfigfile] [--verbose] [--show]"
- showonly=
--config=/etc/ipsec.conf
-+config=/etc/freeswan/ipsec.conf
- info=/var/run/ipsec.info
- shopts=
- noinclude=
-diff -durN freeswan-1.3.orig/utils/barf freeswan-1.3/utils/barf
---- freeswan-1.3.orig/utils/barf       Tue Feb  8 22:22:30 2000
-+++ freeswan-1.3/utils/barf    Tue Apr 25 12:00:35 2000
-@@ -79,9 +79,9 @@
- _________________________
- ipsec showdefaults
- _________________________
--ipsec _include /etc/ipsec.conf | ipsec _keycensor
-+ipsec _include /etc/freeswan/ipsec.conf | ipsec _keycensor
- _________________________
--ipsec _include /etc/ipsec.secrets | ipsec _secretcensor
-+ipsec _include /etc/freeswan/ipsec.secrets | ipsec _secretcensor
- _________________________
- cat /proc/net/dev
- _________________________
-diff -durN freeswan-1.3.orig/utils/manual freeswan-1.3/utils/manual
---- freeswan-1.3.orig/utils/manual     Tue Feb  8 22:22:31 2000
-+++ freeswan-1.3/utils/manual  Tue Apr 25 12:01:37 2000
-@@ -28,7 +28,7 @@
- export LANG LC_ALL
- showonly=
--config=/etc/ipsec.conf
-+config=/etc/freeswan/ipsec.conf
- info=/var/run/ipsec.info
- shopts=
- other=0
diff --git a/freeswan-init.patch b/freeswan-init.patch
deleted file mode 100644 (file)
index a78d70f..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-diff -durN freeswan-1.4.orig/utils/setup freeswan-1.4/utils/setup
---- freeswan-1.4.orig/utils/setup      Mon May 22 06:37:57 2000
-+++ freeswan-1.4/utils/setup   Sat Jun 10 13:07:02 2000
-@@ -37,6 +37,8 @@
-       export PATH
- fi
-+. /etc/rc.d/init.d/functions
-+
- me='ipsec setup'              # for messages
- # make sure output of (e.g.) ifconfig is in English
-@@ -368,7 +370,7 @@
- # logging control
- logit() {
-       IPSECsyslog=${IPSECsyslog-daemon.error}
--      logger -s -p $IPSECsyslog -t ipsec_setup 2>&1
-+      logger -p $IPSECsyslog -t ipsec_setup 2>&1
- }
- logonly() {
-       IPSECsyslog=${IPSECsyslog-daemon.error}
-@@ -391,12 +393,14 @@
-       # Start things rolling.
-       # (Warning, changes to this log message may affect barf.)
-       version="`ipsec --version | awk 'NR == 1 { print $3 }'`"
-+      msg_starting "FreeS/WAN IPSEC"; busy
-       echo "Starting FreeS/WAN IPSEC $version..." | logit
-       rm -f $info
-       if test ! -r /dev/random
-       then
-               echo "...unable to start FreeS/WAN IPSEC, no /dev/random!" |
-                                                                       logit
-+              fail
-               exit 1
-       fi
-       startklips 2>&1 | logit
-@@ -434,10 +438,12 @@
-       fore)   plutogo 2>&1 | logit    ;;
-       esac
-       echo "...FreeS/WAN IPSEC started" | logonly
-+      ok
-       ;;
-   stop|--stop)
-       # Shut things down.
-+      msg_stopping "FreeS/WAN IPSEC" ; busy
-       echo "Stopping FreeS/WAN IPSEC..." | logit
-       if test " $IPSECforwardcontrol" = " yes"
-       then
-@@ -485,8 +491,14 @@
-       fi
-       rm -f $info
-       echo "...FreeS/WAN IPSEC stopped" | logonly
-+      ok
-       ;;
-+  status|--status)
-+      status pluto
-+      ipsec look
-+      ;;
-+      
-   restart|--restart)
-       $0 stop
-       $0 start
diff --git a/freeswan-manlink.patch b/freeswan-manlink.patch
deleted file mode 100644 (file)
index 98d8a1a..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -durN freeswan-1.3.orig1/utils/manlink freeswan-1.3/utils/manlink
---- freeswan-1.3.orig1/utils/manlink   Wed Jul  7 05:12:52 1999
-+++ freeswan-1.3/utils/manlink Tue Apr 25 11:38:27 2000
-@@ -49,7 +49,7 @@
-               esac
-               if test " $ff" != " $m"
-               then
--                      ln -f -s $m $ff
-+                      echo ".so $m" > $ff
-               fi
-       done
- done
diff --git a/freeswan.spec b/freeswan.spec
deleted file mode 100644 (file)
index 5a24c62..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-Summary:       Free IPSEC implemetation
-Summary:       Publicznie dostêpna implementacja IPSEC
-Name:          freeswan
-Version:       1.8
-Release:       1
-License:       GPL
-Group:         Networking/Daemons
-Group(pl):     Sieciowe/Serwery
-Source0:       ftp://ftp.xs4all.nl/pub/crypto/freeswan/%{name}-%{version}.tar.gz
-Patch0:                %{name}-Makefiles.patch 
-Patch1:                %{name}-manlink.patch   
-Patch2:                %{name}-config.patch    
-Patch3:                %{name}-init.patch      
-URL:           http://www.freeswan.org/
-Prereq:                /sbin/chkconfig
-Prereq:                rc-scripts
-BuildRequires: gmp-devel
-BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-
-%description
-The basic idea of IPSEC is to provide security functions
-(authentication and encryption) at the IP (Internet Protocol)
-level. It will be required in IP version 6 (better known as IPng,
-the next generation) and is optional for the current IP, version 4.
-
-FreeS/WAN is a freely-distributable implementation of IPSEC protocol.
-
-%prep
-%setup  -q
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-
-%build
-OPT_FLAGS="$RPM_OPT_FLAGS"; export OPT_FLAGS
-%{__make} programs
-
-%install
-rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_sysconfdir}/freeswan,/etc/rc.d/init.d,/var/run/pluto}
-
-%{__make} install \
-       DESTDIR="$RPM_BUILD_ROOT" 
-
-gzip -9nf README CREDITS CHANGES BUGS \
-          doc/{kernel.notes,impl.notes,examples,prob.report,standards}
-
-%post
-/sbin/chkconfig --add ipsec 
-if [ -f /var/lock/subsys/ipsec ]; then
-       /etc/rc.d/init.d/ipsec restart >&2
-else
-       echo "Run '/etc/rc.d/init.d/ipsec start' to start IPSEC services." >&2
-fi
-    
-%preun
-if [ "$1" = "0" ]; then
-       if [ -f /var/lock/subsys/ipsec ]; then
-               /etc/rc.d/init.d/ipsec stop >&2
-       fi
-        /sbin/chkconfig --del ipsec >&2
-fi
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%files
-%defattr(644,root,root,755)
-%doc *.gz doc/*.gz doc/*.html
-%{_mandir}/man*/*
-%attr(755,root,root) %{_sbindir}/*
-%attr(754,root,root) /etc/rc.d/init.d/*
-%dir %{_libdir}/ipsec
-%attr(755,root,root) %{_libdir}/ipsec/*
-%attr(751,root,root) %dir %{_sysconfdir}/freeswan
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/freeswan/*
This page took 0.205369 seconds and 4 git commands to generate.