Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (c25d019a30b91e9777dd417e1195714158c1dae5)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (c25d019a30b91e9777dd417e1195714158c1dae5)
  • Date: Fri, 28 Nov 2014 07:22:03 -0600

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

ChangeLog | 3 +++
libs/libspf2/DEPENDS | 10 ++++++++++
libs/libspf2/DETAILS | 18 ++++++++++++++++++
libs/libspf2/HISTORY | 2 ++
mail/exim/BUILD | 13 +++++++++----
mail/exim/DEPENDS | 6 ++++--
mail/exim/HISTORY | 4 ++--
7 files changed, 48 insertions(+), 8 deletions(-)

New commits:
commit c25d019a30b91e9777dd417e1195714158c1dae5
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

exim: added ability to build with experimental SPF support

commit 4bdfda4097d1a6d05bc1ae0f634888ad915f4572
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

libspf2: new spell, fully thread safe SPF implementation

commit 8da81e3f73f648fd1df667327b2da3c8217c15a8
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

Revert "exim: depends SSL"

This reverts commit b54c3a47ce9fab6de69a05308d1a430bfce49050.

Automatic replace doesn't work here

diff --git a/ChangeLog b/ChangeLog
index 3e95f77..2d0607a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2014-11-28 Vlad Glagolev <stealth AT sourcemage.org>
+ * libs/libspf2: new spell, fully thread safe SPF implementation
+
2014-11-26 Ismael Luceno <ismael AT sourcemage.org>
* utils/renameutils: new spell, File renaming utilities

diff --git a/libs/libspf2/DEPENDS b/libs/libspf2/DEPENDS
new file mode 100755
index 0000000..9b5780c
--- /dev/null
+++ b/libs/libspf2/DEPENDS
@@ -0,0 +1,10 @@
+optional_depends perl \
+ "--enable-perl" \
+ "--disable-perl" \
+ "for Perl/XS interface to libspf2" &&
+
+# '--without-bind' is buggy
+optional_depends bind \
+ "--with-bind=$INSTALL_ROOT/usr" \
+ "" \
+ "to use res_query() in libbind"
diff --git a/libs/libspf2/DETAILS b/libs/libspf2/DETAILS
new file mode 100755
index 0000000..5427f80
--- /dev/null
+++ b/libs/libspf2/DETAILS
@@ -0,0 +1,18 @@
+ SPELL=libspf2
+ VERSION=1.2.10
+ SOURCE="${SPELL}-${VERSION}.tar.gz"
+ SOURCE_URL[0]=http://www.libspf2.org/spf/${SOURCE}
+
SOURCE_HASH=sha512:162ce382628c6fcadac3e11f5a12442db622bb23f7ec503e16f5ba7fc88afdd777bce6b093c12a58210355985fd11b74b140f08fab347334d82d953dd183b130
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE=http://www.libspf2.org/
+ LICENSE[0]=BSD
+ LICENSE[1]=LGPL
+ ENTERED=20141128
+ SHORT="fully thread safe SPF implementation"
+cat << EOF
+libspf2 implements the Sender Policy Framework, a part of the SPF/SRS
protocol
+pair. libspf2 is a library which allows email systems such as Sendmail,
Postfix,
+Exim and Zmailer to check SPF records and make sure that the email is
authorized
+by the domain name that it is coming from. This prevents email forgery,
commonly
+used by spammers, scammers and email viruses/worms.
+EOF
diff --git a/libs/libspf2/HISTORY b/libs/libspf2/HISTORY
new file mode 100644
index 0000000..973b590
--- /dev/null
+++ b/libs/libspf2/HISTORY
@@ -0,0 +1,2 @@
+2014-11-28 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS, DEPENDS: created spell, version 1.2.10
diff --git a/mail/exim/BUILD b/mail/exim/BUILD
index a36d28e..33b4cc6 100755
--- a/mail/exim/BUILD
+++ b/mail/exim/BUILD
@@ -150,9 +150,6 @@ if list_find "$OPTS" '--enable-readline-testing'; then
EXTRALIBS="$EXTRALIBS -ldl"
fi &&

-echo "LOOKUP_LIBS=$LOOKUP_LIBS" >> Local/Makefile &&
-echo "EXTRALIBS=$EXTRALIBS" >> Local/Makefile &&
-
if [[ "$EXIM_FROZEN" == "y" ]]
then
echo "SUPPORT_MOVE_FROZEN_MESSAGES=yes" >> Local/Makefile
@@ -163,6 +160,14 @@ then
echo "WITH_OLD_DEMIME=yes" >> Local/Makefile
fi &&

+if is_depends_enabled $SPELL libspf2; then
+ echo "EXPERIMENTAL_SPF=yes" >> Local/Makefile &&
+ EXTRALIBS="$EXTRALIBS -lspf2" &&
+ CFLAGS="-DSPF $CFLAGS"
+fi &&
+
+echo "LOOKUP_LIBS=$LOOKUP_LIBS" >> Local/Makefile &&
+echo "EXTRALIBS=$EXTRALIBS" >> Local/Makefile &&
echo "BIN_DIRECTORY=/usr/sbin" >> Local/Makefile &&
echo "CONFIGURE_FILE=/etc/exim.conf" >> Local/Makefile &&
echo "SPOOL_DIRECTORY=/var/spool/mail" >> Local/Makefile &&
@@ -173,7 +178,7 @@ echo "EXIM_UID=`id -u exim`" >>
Local/Makefile &&
echo "EXIM_GID=`id -g exim`" >> Local/Makefile &&
echo "EXIM_USER=exim" >> Local/Makefile &&
echo "EXIM_GROUP=exim" >> Local/Makefile &&
-echo "PCRE_LIBS=-lpcre" >> Local/Makefile &&
+echo "PCRE_LIBS=-lpcre" >> Local/Makefile &&

sedit 's:tail \-1:tail \-n 1:' scripts/Configure-config.h &&

diff --git a/mail/exim/DEPENDS b/mail/exim/DEPENDS
index 01cfab1c..9124750 100755
--- a/mail/exim/DEPENDS
+++ b/mail/exim/DEPENDS
@@ -18,8 +18,8 @@ if [[ "$EXIM_TLS" == "gnutls" ]]; then
depends gnutls &&
depends libgcrypt &&
depends libtasn1
-elif [[ "$EXIM_TLS" == "SSL" ]]; then
- depends SSL
+elif [[ "$EXIM_TLS" == "openssl" ]]; then
+ depends openssl
fi &&

optional_depends cyrus-sasl \
@@ -67,6 +67,8 @@ optional_depends tcp_wrappers \
'--disable-tcp-wrappers-access' \
'for TCP wrapper access control' &&

+optional_depends libspf2 "" "" "for
${PROBLEM_COLOR}experimental${DEFAULT_COLOR} SPF (Sender Policy Framework)
support" &&
+
optional_depends libx11 \
'--enable-x11-monitor' \
'--disable-x11-monitor' \
diff --git a/mail/exim/HISTORY b/mail/exim/HISTORY
index 71120d7..1fa693b 100644
--- a/mail/exim/HISTORY
+++ b/mail/exim/HISTORY
@@ -1,5 +1,5 @@
-2014-08-19 Treeve Jelbert <treeve AT sourcemage.org>
- * DEPENDS: openssl => SSL
+2014-11-28 Vlad Glagolev <stealth AT sourcemage.org>
+ * DEPENDS, BUILD: added ability to build with experimental SPF support

2014-08-11 Vlad Glagolev <stealth AT sourcemage.org>
* DETAILS: updated spell to 4.84



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (c25d019a30b91e9777dd417e1195714158c1dae5), Vlad Glagolev, 11/28/2014

Archive powered by MHonArc 2.6.24.

Top of Page