Annotation of /smage/trunk/core/nssl/nssl-005-r3.smage2
Parent Directory | Revision Log
Revision 10434 -
(hide annotations)
(download)
Tue Aug 22 11:09:58 2017 UTC (7 years, 1 month ago) by niro
File size: 920 byte(s)
Tue Aug 22 11:09:58 2017 UTC (7 years, 1 month ago) by niro
File size: 920 byte(s)
auto added: ver bump to 005-r3
1 | niro | 10434 | # $Id$ |
2 | |||
3 | PNAME="nssl" | ||
4 | PVER="005" | ||
5 | PBUILD="r3" | ||
6 | |||
7 | PCAT="net-misc" | ||
8 | |||
9 | DESCRIPTION="nssl is intended to be a netcat-like program with transparent Secure Socket Layer support." | ||
10 | HOMEPAGE="http://nssl.sourceforge.net/" | ||
11 | |||
12 | DEPEND=">= dev-libs/openssl-1.0.2" | ||
13 | SDEPEND=">= virtual/kernel-headers | ||
14 | >= dev-libs/openssl-dev-1.0.2" | ||
15 | |||
16 | SRCFILE="${PNAME}.${PVER}.tgz" | ||
17 | SRCDIR="${BUILDDIR}/${PNAME}" | ||
18 | |||
19 | msetfeature "!check" | ||
20 | sminclude mtools mbuild | ||
21 | |||
22 | SRC_URI=( | ||
23 | sourceforge://${PNAME}/${SRCFILE} | ||
24 | mirror://${PNAME}/${SRCFILE} | ||
25 | mirror://${PNAME}/${PNAME}-${PVER}-exit-0-if-remote-end-closed-the-connection.patch | ||
26 | ) | ||
27 | |||
28 | UP2DATE="updatecmd_sourceforge ${PNAME}" | ||
29 | |||
30 | src_prepare() | ||
31 | { | ||
32 | munpack ${SRCFILE} || die | ||
33 | cd ${SRCDIR} | ||
34 | |||
35 | # do not exit 1 if the remote site closed the connection, its intentionally with mcored/sslsvd | ||
36 | mpatch ${PNAME}-${PVER}-exit-0-if-remote-end-closed-the-connection.patch || die | ||
37 | } | ||
38 | |||
39 | src_install() | ||
40 | { | ||
41 | cd ${SRCDIR} | ||
42 | minstallexec nssl || die | ||
43 | } |