summaryrefslogtreecommitdiff
path: root/net/vtun/patches/patch-aa
blob: 0ab11b3beb05d1e93602d36d6c2f2e693df0592f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-aa,v 1.2 2000/06/06 07:21:47 kleink Exp $

--- Makefile.in.orig	Mon May 29 15:35:11 2000
+++ Makefile.in	Tue Jun  6 08:58:08 2000
@@ -36,7 +36,7 @@
 SBIN_DIR = @sbindir@
 MAN_DIR  = @mandir@
 ETC_DIR  = @sysconfdir@
-VAR_DIR  = @localstatedir@
+VAR_DIR  = /var
 
 PID_FILE = ${VAR_DIR}/run/vtund.pid
 CFG_FILE = ${ETC_DIR}/vtund.conf
@@ -88,6 +88,7 @@
 
 install_config: 
 	$(INSTALL) -d -m 755 $(INSTALL_OWNER) $(ETC_DIR)
+	$(INSTALL) -m 600 $(INSTALL_OWNER) vtund.conf $(ETC_DIR)/vtund.conf.example; \
 	if [ ! -f $(ETC_DIR)/vtund.conf ]; then \
 	  $(INSTALL) -m 600 $(INSTALL_OWNER) vtund.conf $(ETC_DIR); \
 	fi