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 This is the second of three new SPF-related ports.
As this has not been commited yet, here's an updated full shar of this port. Only change: updated pkg-descr with author's new email address. --- libsrs.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # libsrs # libsrs/Makefile # libsrs/pkg-plist # libsrs/pkg-descr # libsrs/distinfo # libsrs/pkg-message # echo c - libsrs mkdir -p libsrs > /dev/null 2>&1 echo x - libsrs/Makefile sed 's/^X//' >libsrs/Makefile << 'END-of-libsrs/Makefile' X# New ports collection makefile for: libsrs X# Date created: 28 February 2004 X# Whom: Daniel Roethlisberger <daniel@roe.ch> X# X# $FreeBSD$ X# X XPORTNAME= libsrs XPORTVERSION= 0.3.b XCATEGORIES= mail XMASTER_SITES= http://www.libsrs.org/files/ XDISTNAME= ${PORTNAME}.${PORTVERSION}eta X XMAINTAINER= daniel@roe.ch XCOMMENT= Sender Rewriting Scheme (SRS) library and client X XUSE_BZIP2= yes XWRKSRC= ${WRKDIR}/${PORTNAME}.3 XUSE_GMAKE= yes XUSE_REINPLACE= yes XUSE_OPENSSL= yes XINSTALLS_SHLIB= yes XLIBSRS_REV= 1 XPLIST_SUB= PORTNAME=${PORTNAME} LIBSRS_REV=${LIBSRS_REV} XMAKE_ENV= CPPFLAGS="${CPPFLAGS} -I${OPENSSLINC}" \ X LDFLAGS="${LDFLAGS} -L${OPENSSLLIB} -L${WRKSRC}" X X# WITH_SRS_DEBUG=yes enable debugging X.if defined(WITH_SRS_DEBUG) XSRS_CFLAGS= -ggdb3 -DDEBUG X.endif X X# This is all a bit messy, but given the inconvenient original Makefile, X# this seems to be the best way to make this port work in this version. X# The author of libsrs is working on autotools support, so this ugliness X# should have an end soon. Xpost-patch: X @${REINPLACE_CMD} \ X -e 's/^CFLAGS:=.*/CFLAGS+=-Wall -D_USE_BSD_SOURCE ${SRS_CFLAGS}/' \ X -e 's/^CPPFLAGS:=/#CPPFLAGS:=/' \ X -e 's/^LDFLAGS:=/#LDFLAGS:=/' \ X -e 's/cd tools; make static; make ins.all/cd tools; make shared/g' \ X -e 's/make/gmake/g' \ X -e 's/libsrs\.so\.1\.0\.1/libsrs.so.${LIBSRS_REV}/g' \ X -e 's/-soname,libsrs\.so\.1/-soname,libsrs.so.${LIBSRS_REV}/g' \ X ${WRKSRC}/Makefile X @${REINPLACE_CMD} \ X -e 's/^CFLAGS:=/#CFLAGS:=/' \ X -e 's/^CPPFLAGS:=/#CPPFLAGS:=/' \ X -e 's/^LDFLAGS:=/#LDFLAGS:=/' \ X -e 's/make/gmake/g' \ X -e 's/mv static srs/mv static srs-${PORTNAME}/g' \ X -e 's/mv shared srs/mv shared srs-${PORTNAME}/g' \ X -e 's/libsrs\.so\.1\.0\.1/libsrs.so.${LIBSRS_REV} -lcrypto/g' \ X ${WRKSRC}/tools/Makefile X @${REINPLACE_CMD} \ X -e 's/compile with -DDEBUG/build with WITH_SRS_DEBUG=yes/g' \ X ${WRKSRC}/tools/srs.c X Xdo-install: X ${INSTALL_DATA} ${WRKSRC}/srs.h ${PREFIX}/include X ${INSTALL_DATA} ${WRKSRC}/libsrs.a ${PREFIX}/lib X ${INSTALL_DATA} ${WRKSRC}/libsrs.so.${LIBSRS_REV} ${PREFIX}/lib X (cd ${PREFIX}/lib ; ${LN} -sf libsrs.so.${LIBSRS_REV} libsrs.so) X ${INSTALL_PROGRAM} ${WRKSRC}/tools/srs-${PORTNAME} ${PREFIX}/bin X @${CAT} ${PKGMESSAGE} X X.include <bsd.port.mk> END-of-libsrs/Makefile echo x - libsrs/pkg-plist sed 's/^X//' >libsrs/pkg-plist << 'END-of-libsrs/pkg-plist' Xinclude/srs.h Xlib/libsrs.a Xlib/libsrs.so Xlib/libsrs.so.%%LIBSRS_REV%% Xbin/srs-%%PORTNAME%% END-of-libsrs/pkg-plist echo x - libsrs/pkg-descr sed 's/^X//' >libsrs/pkg-descr << 'END-of-libsrs/pkg-descr' XSender Rewriting Scheme (SRS) library and utility in C. XSRS is a scheme under development for email envelope sender Xrewriting. In an SPF-compliant world, forwarded mail must be Xrewritten to carry a local return path. XRead all about SRS at http://spf.pobox.com/srs.html X XAuthor: James Couzens <jcouzens@6o4.ca> XWWW: http://www.libsrs.org/ END-of-libsrs/pkg-descr echo x - libsrs/distinfo sed 's/^X//' >libsrs/distinfo << 'END-of-libsrs/distinfo' XMD5 (libsrs.0.3.beta.tar.bz2) = 5502b03452d387cb4ba9e8e9fb4facd4 XSIZE (libsrs.0.3.beta.tar.bz2) = 19014 END-of-libsrs/distinfo echo x - libsrs/pkg-message sed 's/^X//' >libsrs/pkg-message << 'END-of-libsrs/pkg-message' X----------------------------------------------------------------------- XNote: This port installs the SRS userspace tools with a filename suffix X of -libsrs in order to avoid conflicts with other SRS ports X providing tools of the same name. X Please create convenience symlinks manually, if desired. X----------------------------------------------------------------------- END-of-libsrs/pkg-message exit --- libsrs.shar ends here ---
State Changed From-To: open->closed Port added, thanks!
Responsible Changed From-To: freebsd-ports-bugs->vs to committer