diff options
author | skv <skv@FreeBSD.org> | 2008-10-03 18:38:25 +0800 |
---|---|---|
committer | skv <skv@FreeBSD.org> | 2008-10-03 18:38:25 +0800 |
commit | b29a0d734da656c5aba654ea1e6e9c0363f953a5 (patch) | |
tree | d244cc4d0aa53ef7ea53e10178f128b9a807a065 /mail | |
parent | 420905279e9d22a52fe46919489d21e39332c9b1 (diff) | |
download | freebsd-ports-gnome-b29a0d734da656c5aba654ea1e6e9c0363f953a5.tar.gz freebsd-ports-gnome-b29a0d734da656c5aba654ea1e6e9c0363f953a5.tar.zst freebsd-ports-gnome-b29a0d734da656c5aba654ea1e6e9c0363f953a5.zip |
Add libdkim 1.0.17, DKIM (DomainKeys Identified Mail) library.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/Makefile | 1 | ||||
-rw-r--r-- | mail/libdkim/Makefile | 30 | ||||
-rw-r--r-- | mail/libdkim/distinfo | 3 | ||||
-rw-r--r-- | mail/libdkim/files/Makefile | 16 | ||||
-rw-r--r-- | mail/libdkim/pkg-descr | 3 | ||||
-rw-r--r-- | mail/libdkim/pkg-plist | 8 |
6 files changed, 61 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile index 8ff47de2574c..491ebab504ed 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -203,6 +203,7 @@ SUBDIR += kshowmail SUBDIR += lbdb SUBDIR += lens + SUBDIR += libdkim SUBDIR += libdomainkeys SUBDIR += libesmtp SUBDIR += libetpan diff --git a/mail/libdkim/Makefile b/mail/libdkim/Makefile new file mode 100644 index 000000000000..f4743928bb0d --- /dev/null +++ b/mail/libdkim/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: libdkim +# Date created: 03 Oct 2008 +# Whom: Sergey Skvortsov <skv@protey.ru> +# +# $FreeBSD$ +# + +PORTNAME= libdkim +PORTVERSION= 1.0.17 +CATEGORIES= mail +MASTER_SITES= http://duncanthrax.net/exim-experimental/ +DISTNAME= ${PORTNAME}-${PORTVERSION}-tk + +MAINTAINER= skv@FreeBSD.org +COMMENT= DKIM (DomainKeys Identified Mail) library + +USE_LDCONFIG= YES +SHLIB_MAJOR= 1 +PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}" + +USE_OPENSSL= YES + +WRKSRC= ${WRKDIR}/${DISTNAME}/src + +post-patch: + ${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.prev + @${SED} -e "s=%%SHLIB_MAJOR%%=${SHLIB_MAJOR}=g" \ + ${FILESDIR}/Makefile > ${WRKSRC}/Makefile + +.include <bsd.port.mk> diff --git a/mail/libdkim/distinfo b/mail/libdkim/distinfo new file mode 100644 index 000000000000..da59896de995 --- /dev/null +++ b/mail/libdkim/distinfo @@ -0,0 +1,3 @@ +MD5 (libdkim-1.0.17-tk.tar.gz) = ca6608a7aac6be23f8ecda16211c9bf6 +SHA256 (libdkim-1.0.17-tk.tar.gz) = 25e261fa8ad4331b151ef63cd7b6531bc230fd01adc3ab586700c6a0e043a795 +SIZE (libdkim-1.0.17-tk.tar.gz) = 28387 diff --git a/mail/libdkim/files/Makefile b/mail/libdkim/files/Makefile new file mode 100644 index 000000000000..c979609f97f5 --- /dev/null +++ b/mail/libdkim/files/Makefile @@ -0,0 +1,16 @@ +# $FreeBSD$ + +LIB = dkim +SRCS= dkim.cpp dns.cpp dkimbase.cpp dkimsign.cpp dkimverify.cpp +INCS= dkim.h dns.h dkimbase.h dkimsign.h dkimverify.h + +SHLIB_MAJOR= %%SHLIB_MAJOR%% + +LIBDIR= ${PREFIX}/lib +INCLUDEDIR= ${PREFIX}/include +CFLAGS+= -DOPENSSL_FIPS -I${OPENSSLBASE}/include +LDFLAGS+= -lcrypto -L${OPENSSLBASE}/lib + +NO_PROFILE= + +.include <bsd.lib.mk> diff --git a/mail/libdkim/pkg-descr b/mail/libdkim/pkg-descr new file mode 100644 index 000000000000..f011e13b86e5 --- /dev/null +++ b/mail/libdkim/pkg-descr @@ -0,0 +1,3 @@ +This library implements DKIM (DomainKeys Identified Mail). + +WWW: http://dkim.org/ diff --git a/mail/libdkim/pkg-plist b/mail/libdkim/pkg-plist new file mode 100644 index 000000000000..51771a4e21e7 --- /dev/null +++ b/mail/libdkim/pkg-plist @@ -0,0 +1,8 @@ +include/dns.h +include/dkim.h +include/dkimbase.h +include/dkimsign.h +include/dkimverify.h +lib/libdkim.a +lib/libdkim.so +lib/libdkim.so.%%SHLIB_MAJOR%% |