ports/56658: Convert security/amavisd startup scripts to use rc.subr
Scot W. Hetzel
hetzelsw at westbend.net
Thu Sep 11 01:20:17 UTC 2003
The following reply was made to PR ports/56658; it has been noted by GNATS.
From: "Scot W. Hetzel" <hetzelsw at westbend.net>
To: freebsd-gnats-submit at FreeBSD.org
Cc:
Subject: Re: ports/56658: Convert security/amavisd startup scripts to use rc.subr
Date: Wed, 10 Sep 2003 20:13:04 -0500 (CDT)
Acording to Greg Shapiro, sendmail 8.12.9 no longer needs libsm.a
library when building milter daemons. The configure script in amavisd
has an error where it adds "-lsm" to LIBS, when all tests fail to find
a *strlcpy.
Below is a patch that fixes the configure script by moving the assignment
of "-lsm" into the HAVE_SM_SM_STRLCPY test, which makes it similar to the
HAVE_SMUTIL_STRLCPY test.
Scot W. Hetzel
Index: files/patch-configure
===================================================================
RCS file: files/patch-configure
diff -N files/patch-configure
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ files/patch-configure 11 Sep 2003 00:34:39 -0000
@@ -0,0 +1,15 @@
+--- configure-orig Wed Feb 19 08:22:25 2003
++++ configure Wed Sep 10 19:34:30 2003
+@@ -3083,11 +3083,11 @@
+ #define HAVE_SM_SM_STRLCPY 1
+ EOF
+
++ LIBS="-lsm $LIBS"
+ else
+ echo "$ac_t""no" 1>&6
+ fi
+
+- LIBS="-lsm $LIBS"
+ fi
+
+
More information about the freebsd-ports-bugs
mailing list