move more extra packages from ./trunk to ./packages
[packages.git] / net / strongswan / patches / 300-openwrt.patch
1 Index: strongswan-2.8.2/Makefile.inc
2 ===================================================================
3 --- strongswan-2.8.2.orig/Makefile.inc  2007-06-04 13:23:04.604033976 +0200
4 +++ strongswan-2.8.2/Makefile.inc       2007-06-04 13:23:06.855691672 +0200
5 @@ -123,7 +123,7 @@
6  # With a non-null DESTDIR, INC_RCDEFAULT will be used unless one of the
7  # INC_RCDIRS directories has been pre-created under DESTDIR.
8  INC_RCDIRS=/etc/rc.d/init.d /etc/rc.d /etc/init.d /sbin/init.d
9 -INC_RCDEFAULT=/etc/rc.d/init.d
10 +INC_RCDEFAULT=/etc/init.d
11  
12  # RCDIR is where boot/shutdown scripts go; FINALRCDIR is where they think
13  # will finally be (so utils/Makefile can create a symlink in BINDIR to the
14 Index: strongswan-2.8.2/programs/showhostkey/showhostkey.in
15 ===================================================================
16 --- strongswan-2.8.2.orig/programs/showhostkey/showhostkey.in   2007-06-04 13:23:04.612032760 +0200
17 +++ strongswan-2.8.2/programs/showhostkey/showhostkey.in        2007-06-04 13:23:06.855691672 +0200
18 @@ -62,7 +62,7 @@
19         exit 1
20  fi
21  
22 -host="`hostname --fqdn`"
23 +host="`cat /proc/sys/kernel/hostname`"
24  
25  awk '  BEGIN {
26                 inkey = 0