- import of strongswan-2.7.0

- applied patch for charon
This commit is contained in:
Martin Willi
2006-04-28 07:14:48 +00:00
parent 52923c9acb
commit 997358a6c4
2043 changed files with 346842 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
/etc/ipsec.conf
@@ -0,0 +1,8 @@
Package: freeswan-module
Priority: optional
Section: Communications
Version: VERSION
Architecture: ARCH
Maintainer: FreeS/WAN <[email protected]>
Depends: freeswan
Description: FreeS/WAN ipsec.o binary module
+8
View File
@@ -0,0 +1,8 @@
Package: freeswan
Priority: optional
Section: Communications
Version: VERSION
Architecture: ARCH
Maintainer: FreeS/WAN <[email protected]>
Depends: gawk libgmp
Description: FreeS/WAN daemons and userland tools
+1
View File
@@ -0,0 +1 @@
2.0
+43
View File
@@ -0,0 +1,43 @@
#!/bin/sh
# This script expects the following variables to be in the environment:
# DESTDIR
# FREESWANSRCDIR
# ARCH
# IPSECVERSION
#set -e
cd $DESTDIR
rm -f *.tar.gz
mkdir -p $FREESWANSRCDIR/packaging/ipkg/ipkg
cp $FREESWANSRCDIR/packaging/ipkg/debian-binary .
cp $FREESWANSRCDIR/packaging/ipkg/conffiles .
cat $FREESWANSRCDIR/packaging/ipkg/control-freeswan.dist | sed s/VERSION/$IPSECVERSION/ |sed s/ARCH/$ARCH/ > $FREESWANSRCDIR/packaging/ipkg/control-freeswan
cp $FREESWANSRCDIR/packaging/ipkg/control-freeswan control
tar -czf ./control.tar.gz ./conffiles ./control --owner=root --group=root
tar -czf ./data.tar.gz ./* --owner=root --group=root --exclude=control.tar.gz --exclude=conffiles --exclude=control --exclude=debian-binary
tar -czf $FREESWANSRCDIR/packaging/ipkg/ipkg/freeswan-utils-$IPSECVERSION.arm.ipk ./debian-binary ./control.tar.gz ./data.tar.gz --owner=root --group=root
mkdir -p $FREESWANSRCDIR/packaging/ipkg/kernel-module
cd $FREESWANSRCDIR/packaging/ipkg/kernel-module
rm -f *.tar.gz
cp $FREESWANSRCDIR/packaging/ipkg/debian-binary .
cat $FREESWANSRCDIR/packaging/ipkg/control-freeswan-module.dist | sed s/VERSION/$IPSECVERSION/ |sed s/ARCH/$ARCH/ > $FREESWANSRCDIR/packaging/ipkg/control-freeswan-module
cp $FREESWANSRCDIR/packaging/ipkg/control-freeswan-module control
tar czf ./control.tar.gz ./control --owner=root --group=root
tar czf ./data.tar.gz * --owner=root --group=root --exclude=control.tar.gz --exclude=control --exclude=debian-binary
tar czf $FREESWANSRCDIR/packaging/ipkg/ipkg/freeswan-module-$IPSECVERSION.arm.ipk ./debian-binary ./control.tar.gz ./data.tar.gz --owner=root --group=root
rm -rf $FREESWANSRCDIR/packaging/ipkg/ipkg/binaries/*
rm -rf $FREESWANSRCDIR/packaging/ipkg/ipkg/kernel-module/*