89e439ed41
This does not buld because its "configure" requires that -llzo contains "lzolx_decompress". "vtun" does not build, evenm if liblzo is available. The LZO package currently used by buildroot does not contain ANY reference to "lzolx_decompress" "vtun" has been upgraded to 3.0.2 and now builds OK, but is yet to be tested on a target. The previous patch containing three diffs, has been broken up into three files. The second patch fails. This patch tries to replace a perl script ($(VTUN_DIR)/scripts/vtund.rc.debian) with a shell script with the same name. In vtun-3.0.2, vtund.rc.debian is a shell script which is fairly similar to the shell script provided by the patch. For now, it has been decided not to replace this shell script with the script generated by the patch for 2.6 vtun will thus be built with the 3.0.2 vtund.rc.debian. The start-stop-daemon parameters and other things in this script may be inappropriate for something based on busybox. I will leave the decision which script to use, the 2-6 script or the 3.0.2 script to someone else. Both files are kept in the directory, but should be removed once it has been decided what to do about this script. Signed-Off by: Ulf Samuelsson <ulf.samuelsson@atmel.com>
34 lines
1.2 KiB
Diff
34 lines
1.2 KiB
Diff
diff -urN vtun/Makefile.in vtun-2.6/Makefile.in
|
|
--- vtun/Makefile.in 2002-12-20 09:55:47.000000000 -0700
|
|
+++ vtun-2.6/Makefile.in 2003-06-05 12:38:31.000000000 -0600
|
|
@@ -28,7 +28,7 @@
|
|
LEXFLAGS = -t
|
|
|
|
INSTALL = @INSTALL@
|
|
-INSTALL_OWNER = -o root -g 0
|
|
+INSTALL_OWNER =
|
|
|
|
prefix = @prefix@
|
|
exec_prefix = @exec_prefix@
|
|
@@ -86,15 +86,15 @@
|
|
|
|
install_config:
|
|
$(INSTALL) -d -m 755 $(INSTALL_OWNER) $(DESTDIR)$(ETC_DIR)
|
|
- if [ ! -f $(ETC_DIR)/vtund.conf ]; then \
|
|
- $(INSTALL) -m 600 $(INSTALL_OWNER) vtund.conf $(DESTDIR)$(ETC_DIR); \
|
|
- fi
|
|
+ $(INSTALL) -m 600 $(INSTALL_OWNER) vtund.conf $(DESTDIR)$(ETC_DIR);
|
|
+ $(INSTALL) -m 600 $(INSTALL_OWNER) scripts/vtund-start.conf $(DESTDIR)$(ETC_DIR);
|
|
|
|
install: vtund install_config install_man
|
|
- $(INSTALL) -d -m 755 $(INSTALL_OWNER) $(DESTDIR)$(VAR_DIR)/run
|
|
$(INSTALL) -d -m 755 $(INSTALL_OWNER) $(DESTDIR)$(STAT_DIR)
|
|
$(INSTALL) -d -m 755 $(INSTALL_OWNER) $(DESTDIR)$(LOCK_DIR)
|
|
$(INSTALL) -d -m 755 $(INSTALL_OWNER) $(DESTDIR)$(SBIN_DIR)
|
|
$(INSTALL) -m 755 $(INSTALL_OWNER) vtund $(DESTDIR)$(SBIN_DIR)
|
|
+ $(INSTALL) -m 755 $(INSTALL_OWNER) scripts/vtund.rc.debian \
|
|
+ $(DESTDIR)$(ETC_DIR)/init.d/S90vtun
|
|
|
|
# DO NOT DELETE THIS LINE -- make depend depends on it.
|
|
|