packages/net/openswan/patches/120-no_manpages.patch
hauke 85992dc375 openswan: update openswan to version 2.6.41
This still does not fix the problems with kernel 3.10 and up.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/packages@40620 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-01 13:33:42 +00:00

61 lines
2.0 KiB
Diff

--- a/programs/_confread/Makefile
+++ b/programs/_confread/Makefile
@@ -14,7 +14,6 @@
OPENSWANSRCDIR?=$(shell cd ../..; pwd)
include ${OPENSWANSRCDIR}/Makefile.inc
-EXTRA5MAN=ipsec.conf.5
CONFFILES=ipsec.conf
EXCONFILES=ipsec.win2k.conf
SOURCEDIR=_confread
@@ -24,11 +23,3 @@ CONFDFILES=clear clear-or-private privat
include ${srcdir}../Makefile.program
-ipsec.conf.5: ${srcdir}ipsec.conf.5.xml
-
-${srcdir}ipsec.conf.5.xml: $(wildcard d.ipsec.conf/*.xml) ${srcdir}d.ipsec.conf/order.txt
- cd ${srcdir} && cat `cat ${srcdir}d.ipsec.conf/order.txt` >ipsec.conf.5.xml
-
-diff: ipsec.conf.5.xml
- diff -B -w -u ipsec.conf.5.xml ipsec.conf.5.xml-ref
-
--- a/programs/pluto/Makefile
+++ b/programs/pluto/Makefile
@@ -200,35 +200,11 @@ doinstall: all
$(INSTALL) $(INSTBINFLAGS) $(BINNAMEPLUTO) $(BINNAMEWHACK) $(LIBEXECDIR)
#$(INSTALL) $(INSTSUIDFLAGS) $(BINNAMEWHACKINIT) $(LIBEXECDIR)
if $(USE_ADNS) ; then $(INSTALL) $(INSTBINFLAGS) $(BINNAMEADNS) $(LIBEXECDIR) ; fi
- $(INSTALL) $(INSTMANFLAGS) ${srcdir}pluto.8 $(PMANDIR)/ipsec_pluto.8
- sh ${OPENSWANSRCDIR}/packaging/utils/manlink ${srcdir}pluto.8 | \
- while read from to ; \
- do \
- ln -s -f ipsec_$$from $(PMANDIR)/$$to; \
- done
- $(INSTALL) $(INSTMANFLAGS) ${srcdir}ipsec.secrets.5 $(FMANDIR)
- sh ${OPENSWANSRCDIR}/packaging/utils/manlink ${srcdir}ipsec.secrets.5 | \
- while read from to ; \
- do \
- ln -s -f $$from $(FMANDIR)/$$to; \
- done
install_file_list:
@echo $(LIBEXECDIR)/$(BINNAMEPLUTO)
@if $(USE_ADNS) ; then echo $(LIBDIR)/$(BINNAMEADNS) ; fi
@echo $(LIBEXECDIR)/$(BINNAMEWHACK)
- @echo $(PMANDIR)/ipsec_pluto.8
- @sh ${OPENSWANSRCDIR}/packaging/utils/manlink pluto.8 | \
- while read from to; \
- do\
- echo $(PMANDIR)/$$to; \
- done
- @echo $(FMANDIR)/ipsec.secrets.5
- @sh ${OPENSWANSRCDIR}/packaging/utils/manlink ipsec.secrets.5 | \
- while read from to; \
- do \
- echo $(FMANDIR)/$$to; \
- done
alg_info_test: alg_info_test.o ike_alg.o constants.o defs.o log.o db_ops.o crypto.o $(LIBDESLITE) $(OPENSWANLIB)
$(CC) -o $@ $^ $(LDFLAGS) $(LIBSPLUTO)