summaryrefslogtreecommitdiff
path: root/mail/vpopmail/files/patch-configure
diff options
context:
space:
mode:
authorPeter Pentchev <roam@FreeBSD.org>2001-07-04 15:34:50 +0000
committerPeter Pentchev <roam@FreeBSD.org>2001-07-04 15:34:50 +0000
commit0aa41aea19949cf5a5c520c29054bed8783c4b53 (patch)
treee06b2f13cffee0bb4d46638974215619f078a499 /mail/vpopmail/files/patch-configure
parentKill extra \n. (diff)
Rip out the configure script parts that try to modify the destination dir.
Let the user override the MySQL username, password and db at build time. Let the user override the vchkpw gid and the vpopmail uid. Bump PORTREVISION. Approved by: nbm (maintainer)
Notes
Notes: svn path=/head/; revision=44751
Diffstat (limited to 'mail/vpopmail/files/patch-configure')
-rw-r--r--mail/vpopmail/files/patch-configure50
1 files changed, 50 insertions, 0 deletions
diff --git a/mail/vpopmail/files/patch-configure b/mail/vpopmail/files/patch-configure
new file mode 100644
index 000000000000..67eba685ec3c
--- /dev/null
+++ b/mail/vpopmail/files/patch-configure
@@ -0,0 +1,50 @@
+--- configure.old Wed Jul 4 17:14:16 2001
++++ configure Wed Jul 4 17:14:54 2001
+@@ -1613,16 +1613,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
+-
+-
+ open_smtp_cur="$vpopmaildir/etc/open-smtp"
+ open_smtp_tmp="$vpopmaildir/etc/open-smtp.tmp"
+ open_smtp_lok="$vpopmaildir/etc/open-smtp.lock"
+@@ -1658,7 +1648,6 @@
+
+ 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
+@@ -1873,7 +1862,6 @@
+ fi
+ auth_libs="-L$sqllibdir -lmysqlclient -lz"
+
+- echo "-L$vpopmaildir/lib -lvpopmail -L$sqllibdir -lmysqlclient -lz" > $vpopmaildir/etc/lib_deps
+
+ ;;
+ *)
+@@ -2007,14 +1995,12 @@
+ authlib=
+
+ auth_inc="-Icdb"
+- echo "-L$vpopmaildir/lib -lvpopmail" > $vpopmaildir/etc/lib_deps
+
+ ;;
+ *)
+ ;;
+ esac
+
+-echo "-I$vpopmaildir/include" > $vpopmaildir/etc/inc_deps
+
+ # Check whether --enable-roaming-users or --disable-roaming-users was given.
+ if test "${enable_roaming_users+set}" = set; then