aboutsummaryrefslogtreecommitdiff
path: root/mail/vpopmail-devel/files/patch-configure
blob: 07ab9b4f24a2e9ea62b1dad27f60c7e90d43bd49 (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
54
55
56
57
58
59
60
61
62
--- configure.old	Thu Feb 13 17:37:40 2003
+++ configure	Thu Feb 13 17:38:32 2003
@@ -1285,7 +1285,7 @@
   ;;
 esac
 
-if test `$idcommand` != "0"
+if false && test `$idcommand` != "0"
 then
     echo "configure: warning: === vpopmail must be configured as root. ===" 1>&2
     echo "configure: warning: === please switch to the root user and  ===" 1>&2
@@ -1563,15 +1563,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"
@@ -1637,7 +1628,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
@@ -2142,7 +2133,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
 		
         ;;
 *)
@@ -2399,14 +2390,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