summaryrefslogtreecommitdiff
path: root/mail/vpopmail-devel/files/patch-configure
blob: dff6d39e78a5798dd26785f20b64a3ae86e8c311 (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
--- configure.orig	Thu Aug 28 21:09:47 2003
+++ configure	Fri Sep  5 00:13:14 2003
@@ -1317,7 +1317,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
@@ -1601,15 +1601,6 @@
 EOF
 
 
-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"
@@ -1671,17 +1662,7 @@
 if test "${enable_tcpserver_file+set}" = set; then
   enableval="$enable_tcpserver_file"
   tcpserver_file="$enableval"
-else
-  
-        if test "$tcpserver_file" = ""
-        then
-	    echo "127.:allow,RELAYCLIENT=\"\"" > "$vpopmaildir"/etc/tcp.smtp
-    	    tcpserver_file="$vpopmaildir"/etc/tcp.smtp
-	
-            echo "configure: warning: Unable to find your tcpserver relay file." 1>&2
-            echo "configure: warning: Creating tcp.smtp in "$vpopmaildir"/etc/tcp.smtp." 1>&2
-        fi
-     
+  echo "127.:allow,RELAYCLIENT=\"\"" > ${VCFGDIR}/tcp.smtp
 fi
 
 cat >> confdefs.h <<EOF