summaryrefslogtreecommitdiff
path: root/mail/libsrs
diff options
context:
space:
mode:
Diffstat (limited to 'mail/libsrs')
-rw-r--r--mail/libsrs/Makefile72
-rw-r--r--mail/libsrs/distinfo3
-rw-r--r--mail/libsrs/pkg-descr7
-rw-r--r--mail/libsrs/pkg-message6
-rw-r--r--mail/libsrs/pkg-plist5
5 files changed, 0 insertions, 93 deletions
diff --git a/mail/libsrs/Makefile b/mail/libsrs/Makefile
deleted file mode 100644
index 5ecd36656429..000000000000
--- a/mail/libsrs/Makefile
+++ /dev/null
@@ -1,72 +0,0 @@
-# New ports collection makefile for: libsrs
-# Date created: 28 February 2004
-# Whom: Daniel Roethlisberger <daniel@roe.ch>
-#
-# $FreeBSD$
-#
-
-PORTNAME= libsrs
-PORTVERSION= 0.3.b
-CATEGORIES= mail
-MASTER_SITES= http://www.libsrs.org/files/ \
- http://freebsd.unixfreunde.de/sources/
-DISTNAME= ${PORTNAME}.${PORTVERSION}eta
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Sender Rewriting Scheme (SRS) library and client
-
-DEPRECATED= Upstream disapear and distfile is no more available
-EXPIRATION_DATE= 2011-05-01
-
-USE_BZIP2= yes
-WRKSRC= ${WRKDIR}/${PORTNAME}.3
-USE_GMAKE= yes
-USE_OPENSSL= yes
-USE_LDCONFIG= yes
-LIBSRS_REV= 1
-PLIST_SUB= PORTNAME=${PORTNAME} LIBSRS_REV=${LIBSRS_REV}
-MAKE_ENV= CPPFLAGS="${CPPFLAGS} -I${OPENSSLINC}" \
- LDFLAGS="${LDFLAGS} -L${OPENSSLLIB} -L${WRKSRC}"
-
-# WITH_SRS_DEBUG=yes enable debugging
-.if defined(WITH_SRS_DEBUG)
-SRS_CFLAGS= -ggdb3 -DDEBUG
-.endif
-
-# This is all a bit messy, but given the inconvenient original Makefile,
-# this seems to be the best way to make this port work in this version.
-# The author of libsrs is working on autotools support, so this ugliness
-# should have an end soon.
-post-patch:
- @${REINPLACE_CMD} \
- -e 's/^CFLAGS:=.*/CFLAGS+=-Wall -D_USE_BSD_SOURCE ${SRS_CFLAGS}/' \
- -e 's/^CPPFLAGS:=/#CPPFLAGS:=/' \
- -e 's/^LDFLAGS:=/#LDFLAGS:=/' \
- -e 's/cd tools; make static; make ins.all/cd tools; make shared/g' \
- -e 's/make/gmake/g' \
- -e 's/libsrs.a : -lcrypto /libsrs.a : /g' \
- -e 's/libsrs\.so\.1\.0\.1/libsrs.so.${LIBSRS_REV}/g' \
- -e 's/-soname,libsrs\.so\.1/-soname,libsrs.so.${LIBSRS_REV}/g' \
- ${WRKSRC}/Makefile
- @${REINPLACE_CMD} \
- -e 's/^CFLAGS:=/#CFLAGS:=/' \
- -e 's/^CPPFLAGS:=/#CPPFLAGS:=/' \
- -e 's/^LDFLAGS:=/#LDFLAGS:=/' \
- -e 's/make/gmake/g' \
- -e 's/mv static srs/mv static srs-${PORTNAME}/g' \
- -e 's/mv shared srs/mv shared srs-${PORTNAME}/g' \
- -e 's/libsrs\.so\.1\.0\.1/libsrs.so.${LIBSRS_REV} -lcrypto/g' \
- ${WRKSRC}/tools/Makefile
- @${REINPLACE_CMD} \
- -e 's/compile with -DDEBUG/build with WITH_SRS_DEBUG=yes/g' \
- ${WRKSRC}/tools/srs.c
-
-do-install:
- ${INSTALL_DATA} ${WRKSRC}/srs.h ${PREFIX}/include
- ${INSTALL_DATA} ${WRKSRC}/libsrs.a ${PREFIX}/lib
- ${INSTALL_DATA} ${WRKSRC}/libsrs.so.${LIBSRS_REV} ${PREFIX}/lib
- (cd ${PREFIX}/lib ; ${LN} -sf libsrs.so.${LIBSRS_REV} libsrs.so)
- ${INSTALL_PROGRAM} ${WRKSRC}/tools/srs-${PORTNAME} ${PREFIX}/bin
- @${CAT} ${PKGMESSAGE}
-
-.include <bsd.port.mk>
diff --git a/mail/libsrs/distinfo b/mail/libsrs/distinfo
deleted file mode 100644
index e7590443b3ee..000000000000
--- a/mail/libsrs/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (libsrs.0.3.beta.tar.bz2) = 5502b03452d387cb4ba9e8e9fb4facd4
-SHA256 (libsrs.0.3.beta.tar.bz2) = d020cd159f6f9afdba4076d48d90963bf94721ca29a5e9bbe2f3406a38fee4af
-SIZE (libsrs.0.3.beta.tar.bz2) = 19014
diff --git a/mail/libsrs/pkg-descr b/mail/libsrs/pkg-descr
deleted file mode 100644
index f4eb7c848fc4..000000000000
--- a/mail/libsrs/pkg-descr
+++ /dev/null
@@ -1,7 +0,0 @@
-Sender Rewriting Scheme (SRS) library and utility in C.
-SRS is a scheme under development for email envelope sender
-rewriting. In an SPF-compliant world, forwarded mail must be
-rewritten to carry a local return path.
-Read all about SRS at http://spf.pobox.com/srs.html
-
-WWW: http://www.libsrs.org/
diff --git a/mail/libsrs/pkg-message b/mail/libsrs/pkg-message
deleted file mode 100644
index b6e78331087e..000000000000
--- a/mail/libsrs/pkg-message
+++ /dev/null
@@ -1,6 +0,0 @@
------------------------------------------------------------------------
-Note: This port installs the SRS userspace tools with a filename suffix
- of -libsrs in order to avoid conflicts with other SRS ports
- providing tools of the same name.
- Please create convenience symlinks manually, if desired.
------------------------------------------------------------------------
diff --git a/mail/libsrs/pkg-plist b/mail/libsrs/pkg-plist
deleted file mode 100644
index cd1b697aee28..000000000000
--- a/mail/libsrs/pkg-plist
+++ /dev/null
@@ -1,5 +0,0 @@
-include/srs.h
-lib/libsrs.a
-lib/libsrs.so
-lib/libsrs.so.%%LIBSRS_REV%%
-bin/srs-%%PORTNAME%%