diff options
author | Chuck Short <zul@gentoo.org> | 2003-10-18 02:04:54 +0000 |
---|---|---|
committer | Chuck Short <zul@gentoo.org> | 2003-10-18 02:04:54 +0000 |
commit | dbb10834661ba94c51d6bf13bc048ddf1d112c90 (patch) | |
tree | ee622c32298e1ec30cd5169ccae344bf3310635d /net-misc/vtun/files | |
parent | Version bump. (diff) | |
download | gentoo-2-dbb10834661ba94c51d6bf13bc048ddf1d112c90.tar.gz gentoo-2-dbb10834661ba94c51d6bf13bc048ddf1d112c90.tar.bz2 gentoo-2-dbb10834661ba94c51d6bf13bc048ddf1d112c90.zip |
Version bump.
Diffstat (limited to 'net-misc/vtun/files')
-rw-r--r-- | net-misc/vtun/files/digest-vtun-2.6 | 1 | ||||
-rw-r--r-- | net-misc/vtun/files/vtun-2.6-makefile.patch | 49 |
2 files changed, 50 insertions, 0 deletions
diff --git a/net-misc/vtun/files/digest-vtun-2.6 b/net-misc/vtun/files/digest-vtun-2.6 new file mode 100644 index 000000000000..f607625bdf85 --- /dev/null +++ b/net-misc/vtun/files/digest-vtun-2.6 @@ -0,0 +1 @@ +MD5 309534fd03c5d13a19c43916f61f4bbf vtun-2.6.tar.gz 95637 diff --git a/net-misc/vtun/files/vtun-2.6-makefile.patch b/net-misc/vtun/files/vtun-2.6-makefile.patch new file mode 100644 index 000000000000..673ee527ce2d --- /dev/null +++ b/net-misc/vtun/files/vtun-2.6-makefile.patch @@ -0,0 +1,49 @@ +diff -Naur vtun.orig/Makefile.in vtun/Makefile.in +--- vtun.orig/Makefile.in 2002-12-20 16:55:47.000000000 +0000 ++++ vtun/Makefile.in 2003-10-17 18:03:42.000000000 +0000 +@@ -28,7 +28,7 @@ + LEXFLAGS = -t + + INSTALL = @INSTALL@ +-INSTALL_OWNER = -o root -g 0 ++DESTDIR = + + prefix = @prefix@ + exec_prefix = @exec_prefix@ +@@ -77,24 +77,21 @@ + rm -f `cat vtun.drivers` + + install_man: +- $(INSTALL) -d -m 755 $(INSTALL_OWNER) $(DESTDIR)$(MAN_DIR)/man8 +- $(INSTALL) -m 644 $(INSTALL_OWNER) vtund.8 $(DESTDIR)$(MAN_DIR)/man8 +- $(INSTALL) -d -m 755 $(INSTALL_OWNER) $(DESTDIR)$(MAN_DIR)/man5 +- $(INSTALL) -m 644 $(INSTALL_OWNER) vtund.conf.5 $(DESTDIR)$(MAN_DIR)/man5 +- rm -f $(DESTDIR)$(MAN_DIR)/man8/vtun.8 +- ln -s vtund.8 $(DESTDIR)$(MAN_DIR)/man8/vtun.8 ++ $(INSTALL) -d -m 755 $(DESTDIR)$(MAN_DIR)/man8 ++ $(INSTALL) -m 644 vtund.8 $(DESTDIR)$(MAN_DIR)/man8 ++ $(INSTALL) -d -m 755 $(DESTDIR)$(MAN_DIR)/man5 ++ $(INSTALL) -m 644 vtund.conf.5 $(DESTDIR)$(MAN_DIR)/man5 + + 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) -d -m 755 $(DESTDIR)$(ETC_DIR) ++ $(INSTALL) -m 600 vtund.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) -d -m 755 $(DESTDIR)$(VAR_DIR)/run ++ $(INSTALL) -d -m 755 $(DESTDIR)$(STAT_DIR) ++ $(INSTALL) -d -m 755 $(DESTDIR)$(LOCK_DIR) ++ $(INSTALL) -d -m 755 $(DESTDIR)$(SBIN_DIR) ++ $(INSTALL) -m 755 vtund $(DESTDIR)$(SBIN_DIR) + + # DO NOT DELETE THIS LINE -- make depend depends on it. |