# $Id$ PNAME="nssl" PVER="005" PBUILD="r3" PCAT="net-misc" DESCRIPTION="nssl is intended to be a netcat-like program with transparent Secure Socket Layer support." HOMEPAGE="http://nssl.sourceforge.net/" DEPEND=">= dev-libs/openssl-1.0.2" SDEPEND=">= virtual/kernel-headers >= dev-libs/openssl-dev-1.0.2" SRCFILE="${PNAME}.${PVER}.tgz" SRCDIR="${BUILDDIR}/${PNAME}" msetfeature "!check" sminclude mtools mbuild SRC_URI=( sourceforge://${PNAME}/${SRCFILE} mirror://${PNAME}/${SRCFILE} mirror://${PNAME}/${PNAME}-${PVER}-exit-0-if-remote-end-closed-the-connection.patch ) UP2DATE="updatecmd_sourceforge ${PNAME}" src_prepare() { munpack ${SRCFILE} || die cd ${SRCDIR} # do not exit 1 if the remote site closed the connection, its intentionally with mcored/sslsvd mpatch ${PNAME}-${PVER}-exit-0-if-remote-end-closed-the-connection.patch || die } src_install() { cd ${SRCDIR} minstallexec nssl || die }