From 4c217f887f35d6fd717d33526fa2faf0ebb3e97a Mon Sep 17 00:00:00 2001 From: Sergey Skvortsov Date: Mon, 23 May 2005 09:51:05 +0000 Subject: Add libdomainkeys 0.63, DomainKeys library. --- mail/Makefile | 1 + mail/libdomainkeys/Makefile | 35 +++++++++++++++++++++++++++++++++++ mail/libdomainkeys/distinfo | 2 ++ mail/libdomainkeys/files/Makefile | 19 +++++++++++++++++++ mail/libdomainkeys/pkg-descr | 5 +++++ mail/libdomainkeys/pkg-plist | 5 +++++ 6 files changed, 67 insertions(+) create mode 100644 mail/libdomainkeys/Makefile create mode 100644 mail/libdomainkeys/distinfo create mode 100644 mail/libdomainkeys/files/Makefile create mode 100644 mail/libdomainkeys/pkg-descr create mode 100644 mail/libdomainkeys/pkg-plist (limited to 'mail') diff --git a/mail/Makefile b/mail/Makefile index 810904989979..243f4718dd57 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -142,6 +142,7 @@ SUBDIR += kiltdown SUBDIR += kshowmail SUBDIR += lbdb + SUBDIR += libdomainkeys SUBDIR += libesmtp SUBDIR += libetpan SUBDIR += libnewmail diff --git a/mail/libdomainkeys/Makefile b/mail/libdomainkeys/Makefile new file mode 100644 index 000000000000..edae4f6e8c42 --- /dev/null +++ b/mail/libdomainkeys/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: libdomainkeys +# Date created: 16 May 2005 +# Whom: Sergey Skvortsov +# +# $FreeBSD$ +# + +PORTNAME= libdomainkeys +PORTVERSION= 0.63 +CATEGORIES= mail +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= domainkeys + +MAINTAINER= skv@FreeBSD.org +COMMENT= DomainKeys library + +MAKE_ENV= PREFIX=${PREFIX} OPENSSLBASE="${OPENSSLBASE}" +INSTALLS_SHLIB= YES +SHLIB_MAJOR= 1 +PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}" + +USE_OPENSSL= YES + +.if defined(NOPROFILE) +PLIST_SUB+= PROFILE="@comment " +.else +PLIST_SUB+= PROFILE="" +.endif + +post-patch: + ${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.prev + @${SED} -e "s=%%SHLIB_MAJOR%%=${SHLIB_MAJOR}=g" \ + ${FILESDIR}/Makefile > ${WRKSRC}/Makefile + +.include diff --git a/mail/libdomainkeys/distinfo b/mail/libdomainkeys/distinfo new file mode 100644 index 000000000000..b0681870268c --- /dev/null +++ b/mail/libdomainkeys/distinfo @@ -0,0 +1,2 @@ +MD5 (libdomainkeys-0.63.tar.gz) = 761c9494ce7be3032d9d14f218d40892 +SIZE (libdomainkeys-0.63.tar.gz) = 24207 diff --git a/mail/libdomainkeys/files/Makefile b/mail/libdomainkeys/files/Makefile new file mode 100644 index 000000000000..863b07c72f4d --- /dev/null +++ b/mail/libdomainkeys/files/Makefile @@ -0,0 +1,19 @@ +# $FreeBSD$ + +LIB = domainkeys +SRCS= dns_txt.c domainkeys.c +INCS= domainkeys.h + +SHLIB_MAJOR= %%SHLIB_MAJOR%% + +LIBDIR= ${PREFIX}/lib +INCLUDEDIR= ${PREFIX}/include +CFLAGS+= -DBIND_8_COMPAT -I${OPENSSLBASE}/include +#LIBS+= -lcrypto -L${OPENSSLBASE}/lib + +makeheader: makeheader.c + +domainkeys.h: domainkeys.c makeheader + ./makeheader domainkeys.h + +.include diff --git a/mail/libdomainkeys/pkg-descr b/mail/libdomainkeys/pkg-descr new file mode 100644 index 000000000000..f93630b10c8f --- /dev/null +++ b/mail/libdomainkeys/pkg-descr @@ -0,0 +1,5 @@ +The DomainKeys Library is being written in C and provides a foundation +for implementing the DomainKeys email authentication system in mail +transfer agents and mail user agents. + +WWW: http://domainkeys.sourceforge.net/ diff --git a/mail/libdomainkeys/pkg-plist b/mail/libdomainkeys/pkg-plist new file mode 100644 index 000000000000..e996ae6a9ed9 --- /dev/null +++ b/mail/libdomainkeys/pkg-plist @@ -0,0 +1,5 @@ +include/domainkeys.h +lib/libdomainkeys.a +lib/libdomainkeys.so +lib/libdomainkeys.so.%%SHLIB_MAJOR%% +%%PROFILE%%lib/libdomainkeys_p.a -- cgit v1.2.3