packages/net/openswan/patches/120-no_manpages.patch
florian e1a7cbfd1a [package] use no man patch from #5745
git-svn-id: svn://svn.openwrt.org/openwrt/packages@18342 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-08 13:23:27 +00:00

64 lines
2.4 KiB
Diff

diff -ur openswan-2.6.23/programs/_confread/Makefile wrtfix/programs/_confread/Makefile
--- openswan-2.6.23/programs/_confread/Makefile 2009-09-08 20:42:54.000000000 -0400
+++ wrtfix/programs/_confread/Makefile 2009-09-23 16:32:08.000000000 -0400
@@ -16,7 +16,6 @@
OPENSWANSRCDIR?=$(shell cd ../..; pwd)
include ${OPENSWANSRCDIR}/Makefile.inc
-EXTRA5MAN=ipsec.conf.5
CONFFILES=ipsec.conf
EXCONFILES=ipsec.win2k.conf
SOURCEDIR=_confread
@@ -26,11 +25,3 @@
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
-
diff -ur openswan-2.6.23/programs/pluto/Makefile wrtfix/programs/pluto/Makefile
--- openswan-2.6.23/programs/pluto/Makefile 2009-09-08 20:42:54.000000000 -0400
+++ wrtfix/programs/pluto/Makefile 2009-09-23 16:32:38.000000000 -0400
@@ -186,36 +186,11 @@
$(INSTALL) $(INSTBINFLAGS) $(BINNAMEPLUTO) $(BINNAMEWHACK) $(LIBEXECDIR)
#$(INSTALL) $(INSTSUIDFLAGS) $(BINNAMEWHACKINIT) $(LIBEXECDIR)
if $(USE_ADNS) ; then $(INSTALL) $(INSTBINFLAGS) $(BINNAMEADNS) $(LIBEXECDIR) ; fi
- ( cd ${OPENSWANSRCDIR}/programs/pluto ; xmlto man pluto.8.xml ; mv ipsec_pluto.8 pluto.8; xmlto man ipsec.secrets.5.xml)
- $(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)