1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00

Add libspf-alt, a library that allows email

systems such as Exim to check SPF records.
This commit is contained in:
Oliver Eikemeier 2004-05-26 10:46:31 +00:00
parent fcb1548297
commit 1bcb7bdcc6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=110040
5 changed files with 106 additions and 0 deletions

31
mail/libspf-alt/Makefile Normal file
View File

@ -0,0 +1,31 @@
# New ports collection makefile for: mailutils
# Date created: 26 May 2004
# Whom: Oliver Eikemeier
#
# $FreeBSD$
#
PORTNAME= libspf-alt
PORTVERSION= 0.4.0
CATEGORIES= mail devel
MASTER_SITES= http://www.midwestcs.com/spf/%SUBDIR%/
MASTER_SITE_SUBDIR= libspf-alt
DISTNAME= libspf_alt-${PORTVERSION}
MAINTAINER= eik@FreeBSD.org
COMMENT= Library that allows email systems such as Exim to check SPF records
GNU_CONFIGURE= yes
USE_ICONV= yes
USE_GETTEXT= yes
INSTALLS_SHLIB= yes
CPPFLAGS+= ${PTHREAD_CFLAGS} \
-I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \
LDFLAGS="${LDFLAGS}"
.include <bsd.port.mk>

2
mail/libspf-alt/distinfo Normal file
View File

@ -0,0 +1,2 @@
MD5 (libspf_alt-0.4.0.tar.gz) = d314fdf5c89145487fe40c61beccca32
SIZE (libspf_alt-0.4.0.tar.gz) = 598003

View File

@ -0,0 +1,45 @@
--- config/ltmain.sh.orig Mon Mar 29 03:03:25 2004
+++ config/ltmain.sh Wed May 26 11:52:51 2004
@@ -1346,7 +1346,7 @@
esac
elif test "X$arg" = "X-lc_r"; then
case $host in
- *-*-openbsd* | *-*-freebsd*)
+ *-*-openbsd* | *-*-freebsd4*)
# Do not include libc_r directly, use -pthread flag.
continue
;;
@@ -1363,6 +1363,12 @@
-module)
module=yes
+ case $host in
+ *-*-freebsd*)
+ # Do not build the useless static library
+ build_old_libs=no
+ ;;
+ esac
continue
;;
@@ -5533,10 +5539,16 @@
fi
# Install the pseudo-library for information purposes.
- name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
- instname="$dir/$name"i
- $show "$install_prog $instname $destdir/$name"
- $run eval "$install_prog $instname $destdir/$name" || exit $?
+ case $host in
+ *-*-freebsd*)
+ # Do not install the useless pseudo-library
+ ;;
+ *)
+ name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
+ instname="$dir/$name"i
+ $show "$install_prog $instname $destdir/$name"
+ $run eval "$install_prog $instname $destdir/$name" || exit $?
+ esac
# Maybe install the static library, too.
test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"

View File

@ -0,0 +1,6 @@
The libspf-alt SPF implementation is a library that allows email systems
such as Exim 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.
WWW: http://www.midwestcs.com/spf/libspf-alt/

22
mail/libspf-alt/pkg-plist Normal file
View File

@ -0,0 +1,22 @@
bin/spf_example
bin/spf_example_2mx
bin/spf_example_2mx_static
bin/spf_example_static
bin/spfd
bin/spfd_static
bin/spfquery
bin/spfquery_static
bin/spftest
bin/spftest_static
include/spf_alt/spf.h
include/spf_alt/spf_dns.h
include/spf_alt/spf_dns_cache.h
include/spf_alt/spf_dns_null.h
include/spf_alt/spf_dns_resolv.h
include/spf_alt/spf_dns_test.h
include/spf_alt/spf_dns_zone.h
include/spf_alt/spf_lib_version.h
@dirrm include/spf_alt
lib/libspf_alt.a
lib/libspf_alt.so
lib/libspf_alt.so.1