ports/139486: New port - smime_smtp_proxy
Tommy Scheunemann
net at arrishq.net
Sat Oct 10 16:50:01 UTC 2009
>Number: 139486
>Category: ports
>Synopsis: New port - smime_smtp_proxy
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sat Oct 10 16:50:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Tommy Scheunemann
>Release: 7.1-RELEASE-p8
>Organization:
>Environment:
FreeBSD achill.arrishq.local 7.1-RELEASE-p8 FreeBSD 7.1-RELEASE-p8 #0: Sat Oct 3 08:54:06 CEST 2009 root at achill.arrishq.local:/usr/obj/usr/src/sys/ACHILL i386
>Description:
New port - smime_smtp_proxy version 0.5
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
# 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:
#
# smime-smtp-proxy
# smime-smtp-proxy/Makefile
# smime-smtp-proxy/distinfo
# smime-smtp-proxy/pkg-descr
# smime-smtp-proxy/pkg-plist
# smime-smtp-proxy/pkg-message
#
echo c - smime-smtp-proxy
mkdir -p smime-smtp-proxy > /dev/null 2>&1
echo x - smime-smtp-proxy/Makefile
sed 's/^X//' >smime-smtp-proxy/Makefile << 'c1c13a80b56f9bd3b95eea6a9eaf3e91'
XPORTNAME= smime-smtp-proxy
XPORTVERSION= 0.5
XCATEGORIES= mail
XMASTER_SITES= http://packages.itomig.de/pool/main/s/smime-smtp-proxy/
XDISTNAME= ${PORTNAME}_${PORTVERSION}
X
XWRKSRC= ${WRKDIR}/${PORTNAME}
X
XMAINTAINER= net at arrishq.net
XCOMMENT= A small smtp proxy that signs mail with S/MIME
X
XRUN_DEPENDS= ${LOCALBASE}/sbin/proxsmtpd:${PORTSDIR}/mail/proxsmtp \
X ${PYTHON_PKGNAMEPREFIX}m2crypto>=0.18.2:${PORTSDIR}/security/py-m2crypto
X
XDOCS= COPYING.pdf README README.odt
X
XPORTEXAMPLES= proxsmtp.conf key.pem testmail
X
XUSE_PYTHON= yes
X
Xpost-patch:
X @${REINPLACE_CMD} -e 's|/usr/bin/python|/usr/bin/env python|' ${WRKSRC}/smime-smtp-filter
X
Xdo-build:
X
Xdo-install:
X @${CP} ${WRKSRC}/smime-smtp-filter ${LOCALBASE}/sbin
X @${CHOWN} 0:0 ${LOCALBASE}/sbin/smime-smtp-filter
X @${CHMOD} go-w ${LOCALBASE}/sbin/smime-smtp-filter
X.if !defined(NOPORTEXAMPLES)
X @${MKDIR} ${EXAMPLESDIR}
X.for file in ${PORTEXAMPLES}
X @${INSTALL_DATA} ${WRKSRC}/${file} ${EXAMPLESDIR}
X.endfor
X.endif
X
Xinstall-doc:
X.if !defined(NOPORTDOCS)
X @${MKDIR} ${DOCSDIR}
X.for file in ${DOCS}
X @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
X.endfor
X.endif
X
Xpost-install:
X.if !defined(NOPORTEXAMPLES)
X @${CAT} ${PKGMESSAGE}
X.endif
X
X.include <bsd.port.mk>
c1c13a80b56f9bd3b95eea6a9eaf3e91
echo x - smime-smtp-proxy/distinfo
sed 's/^X//' >smime-smtp-proxy/distinfo << 'a5ec5c7aae31c5157b3c1f50d02e9bdf'
XMD5 (smime-smtp-proxy_0.5.tar.gz) = d3d75c62573a718bc6056a955d224892
XSHA256 (smime-smtp-proxy_0.5.tar.gz) = 260dd2513da447c05f37a6b8975d98b9b554e12341a91c0553250eedcbf1aef5
XSIZE (smime-smtp-proxy_0.5.tar.gz) = 187261
a5ec5c7aae31c5157b3c1f50d02e9bdf
echo x - smime-smtp-proxy/pkg-descr
sed 's/^X//' >smime-smtp-proxy/pkg-descr << '8c8a11814de1a48fa1f91aa574e973b5'
XThe smime-smtp-proxy is a small daemon that accepts SMTP connections,
Xaccepts incoming mail, digitally signs it using an S/MIME key and
Xcertificate and forwards it to another SMTP server.
X
XAuthor: Joachim Breitner
XWWW: http://smime-smtp.forge.osor.eu
8c8a11814de1a48fa1f91aa574e973b5
echo x - smime-smtp-proxy/pkg-plist
sed 's/^X//' >smime-smtp-proxy/pkg-plist << '01c998d7d4da81cd3a0316ce6dd53b1c'
Xsbin/smime-smtp-filter
01c998d7d4da81cd3a0316ce6dd53b1c
echo x - smime-smtp-proxy/pkg-message
sed 's/^X//' >smime-smtp-proxy/pkg-message << 'ad9eeba127b21233df33ce98309e19eb'
X************************************************************************
X
XIf you installed the examples, there is a small configuration example
Xfor the proxsmtp port that can be edited to match your needs.
XA small testmail and a test.key have also been installed then.
X
XIf you get a "550 Content Rejected; variable point to an accessible
Xdirectory." error try to set PYTHON_EGG_CACHE variable in proxsmtp.
X
X************************************************************************
ad9eeba127b21233df33ce98309e19eb
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list