freebsd-ports/mail/vpopmail-devel/files/patch-configure
Peter Pentchev c8ea705c5e Update to vpopmail-5.3.16:
- WITH_MYSQL_LIMITS works now, move it where users can actually see it
  and remove the BROKEN mark;
- remove the vmysql.h patch that defined the 'limits' table creation -
  it was fixed in the meantime;
- remove the annoying configure script check for id == 0.
2003-02-17 12:21:10 +00:00

62 lines
1.9 KiB
Text

--- 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