- install sample config file as lib/vtun/vtund.conf-sample

- sync PLIST and remove @exec/@unexec tags
This commit is contained in:
brad 2000-02-07 08:15:18 +00:00
parent 7e7229f501
commit 537889a01d
2 changed files with 17 additions and 2 deletions

15
net/vtun/patches/patch-aa Normal file
View File

@ -0,0 +1,15 @@
--- Makefile.in.orig Mon Feb 7 03:04:08 2000
+++ Makefile.in Mon Feb 7 03:07:18 2000
@@ -109,10 +109,8 @@
ln -s vtund.8 $(MAN_DIR)/man8/vtun.8
install_config:
- $(INSTALL) -d -m 755 -o root -g 0 $(ETC_DIR)
- if [ ! -f $(ETC_DIR)/vtund.conf ]; then \
- $(INSTALL) -m 600 -o root -g 0 vtund.conf $(ETC_DIR); \
- fi
+ $(INSTALL) -d -m 755 -o root -g 0 $(prefix)/lib/vtun
+ $(INSTALL) -m 600 -o root -g 0 vtund.conf $(prefix)/lib/vtun/vtund.conf-sample
install: vtund install_config install_man
$(INSTALL) -d -m 755 -o root -g 0 $(VAR_DIR)/run

View File

@ -1,5 +1,5 @@
sbin/vtund
lib/vtun/vtund.conf-sample
man/man8/vtund.8
man/man8/vtun.8
@exec mkdir /var/log/vtund
@unexec rm -rf /var/log/vtund
@dirrm lib/vtun