[packages] openswan: update to 2.6.25
[openwrt/svn-archive/archive.git] / net / openswan / patches / 120-no_manpages.patch
1 --- a/programs/_confread/Makefile
2 +++ b/programs/_confread/Makefile
3 @@ -16,7 +16,6 @@
4 OPENSWANSRCDIR?=$(shell cd ../..; pwd)
5 include ${OPENSWANSRCDIR}/Makefile.inc
6
7 -EXTRA5MAN=ipsec.conf.5
8 CONFFILES=ipsec.conf
9 EXCONFILES=ipsec.win2k.conf
10 SOURCEDIR=_confread
11 @@ -26,11 +25,3 @@ CONFDFILES=clear clear-or-private privat
12
13 include ${srcdir}../Makefile.program
14
15 -ipsec.conf.5: ${srcdir}ipsec.conf.5.xml
16 -
17 -${srcdir}ipsec.conf.5.xml: $(wildcard d.ipsec.conf/*.xml) ${srcdir}d.ipsec.conf/order.txt
18 - cd ${srcdir} && cat `cat ${srcdir}d.ipsec.conf/order.txt` >ipsec.conf.5.xml
19 -
20 -diff: ipsec.conf.5.xml
21 - diff -B -w -u ipsec.conf.5.xml ipsec.conf.5.xml-ref
22 -
23 --- a/programs/pluto/Makefile
24 +++ b/programs/pluto/Makefile
25 @@ -188,35 +188,11 @@ doinstall: all
26 $(INSTALL) $(INSTBINFLAGS) $(BINNAMEPLUTO) $(BINNAMEWHACK) $(LIBEXECDIR)
27 #$(INSTALL) $(INSTSUIDFLAGS) $(BINNAMEWHACKINIT) $(LIBEXECDIR)
28 if $(USE_ADNS) ; then $(INSTALL) $(INSTBINFLAGS) $(BINNAMEADNS) $(LIBEXECDIR) ; fi
29 - $(INSTALL) $(INSTMANFLAGS) ${srcdir}pluto.8 $(PMANDIR)/ipsec_pluto.8
30 - sh ${OPENSWANSRCDIR}/packaging/utils/manlink ${srcdir}pluto.8 | \
31 - while read from to ; \
32 - do \
33 - ln -s -f ipsec_$$from $(PMANDIR)/$$to; \
34 - done
35 - $(INSTALL) $(INSTMANFLAGS) ${srcdir}ipsec.secrets.5 $(FMANDIR)
36 - sh ${OPENSWANSRCDIR}/packaging/utils/manlink ${srcdir}ipsec.secrets.5 | \
37 - while read from to ; \
38 - do \
39 - ln -s -f $$from $(FMANDIR)/$$to; \
40 - done
41
42 install_file_list:
43 @echo $(LIBEXECDIR)/$(BINNAMEPLUTO)
44 @if $(USE_ADNS) ; then echo $(LIBDIR)/$(BINNAMEADNS) ; fi
45 @echo $(LIBEXECDIR)/$(BINNAMEWHACK)
46 - @echo $(PMANDIR)/ipsec_pluto.8
47 - @sh ${OPENSWANSRCDIR}/packaging/utils/manlink pluto.8 | \
48 - while read from to; \
49 - do\
50 - echo $(PMANDIR)/$$to; \
51 - done
52 - @echo $(FMANDIR)/ipsec.secrets.5
53 - @sh ${OPENSWANSRCDIR}/packaging/utils/manlink ipsec.secrets.5 | \
54 - while read from to; \
55 - do \
56 - echo $(FMANDIR)/$$to; \
57 - done
58
59 alg_info_test: alg_info_test.o ike_alg.o constants.o defs.o log.o db_ops.o crypto.o $(LIBDESLITE) $(OPENSWANLIB)
60 $(CC) -o $@ $^ $(LDFLAGS) $(LIBSPLUTO)