summaryrefslogtreecommitdiff
path: root/mail/vpopmail-stable/files/patch-configure
blob: df3302d9e94bbc67c336c6f1e6dea79bac35280c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
--- configure.old	Mon Nov 19 17:54:10 2001
+++ configure	Mon Nov 19 17:57:27 2001
@@ -1535,15 +1535,6 @@
 rm -f vpopusername 
 
 
-if test ! -d $vpopmaildir/etc
-then 
-	mkdir $vpopmaildir/etc
-	chown $vpopmailuid "$vpopmaildir"/etc 
-	chgrp $vpopmailgid "$vpopmaildir"/etc 
-        chmod 755 "$vpopmaildir"/etc
-        echo "configure: warning: making a vpopmail etc directory " 1>&2
-fi
-
 # Check whether --enable-roaming-users or --disable-roaming-users was given.
 if test "${enable_roaming_users+set}" = set; then
   enableval="$enable_roaming_users"
@@ -1605,7 +1596,7 @@
   
         if test "$tcpserver_file" = ""
         then
-	    echo "127.:allow,RELAYCLIENT=\"\"" > "$vpopmaildir"/etc/tcp.smtp
+	    echo "127.:allow,RELAYCLIENT=\"\"" > "$VCFGDIR"/tcp.smtp
     	    tcpserver_file="$vpopmaildir"/etc/tcp.smtp
 	
             echo "configure: warning: Unable to find your tcpserver relay file." 1>&2
@@ -2042,7 +2033,7 @@
         fi
 		auth_libs="-L$libdir $extralibflags -lmysqlclient -lz"
 
-		echo "-L$vpopmaildir/lib -lvpopmail -L$libdir -lmysqlclient -lz" > $vpopmaildir/etc/lib_deps
+		echo "-L$vpopmaildir/lib -lvpopmail -L$libdir -lmysqlclient -lz" > $VCFGDIR/lib_deps
 		
         ;;
 *)
@@ -2277,14 +2268,14 @@
 		authlib=
 		
 		auth_inc="-Icdb"
-		echo "-L$vpopmaildir/lib -lvpopmail" > $vpopmaildir/etc/lib_deps
+		echo "-L$vpopmaildir/lib -lvpopmail" > $VCFGDIR/lib_deps
 		
         ;;
 *)
         ;;
 esac
 
-echo "-I$vpopmaildir/include" > $vpopmaildir/etc/inc_deps
+echo "-I$vpopmaildir/include" > $VCFGDIR/inc_deps
 
 # Check whether --enable-qmail-ext or --disable-qmail-ext was given.
 if test "${enable_qmail_ext+set}" = set; then