- install sample config file as lib/vtun/vtund.conf-sample
- sync PLIST and remove @exec/@unexec tags
This commit is contained in:
parent
7e7229f501
commit
537889a01d
15
net/vtun/patches/patch-aa
Normal file
15
net/vtun/patches/patch-aa
Normal 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
|
@ -1,5 +1,5 @@
|
|||||||
sbin/vtund
|
sbin/vtund
|
||||||
|
lib/vtun/vtund.conf-sample
|
||||||
man/man8/vtund.8
|
man/man8/vtund.8
|
||||||
man/man8/vtun.8
|
man/man8/vtun.8
|
||||||
@exec mkdir /var/log/vtund
|
@dirrm lib/vtun
|
||||||
@unexec rm -rf /var/log/vtund
|
|
||||||
|
Loading…
Reference in New Issue
Block a user