Contents of /smage/trunk/core/nssl/nssl-005-r2.smage2
Parent Directory | Revision Log
Revision 8719 -
(show annotations)
(download)
Fri Feb 12 10:41:41 2016 UTC (8 years, 7 months ago) by niro
File size: 920 byte(s)
Fri Feb 12 10:41:41 2016 UTC (8 years, 7 months ago) by niro
File size: 920 byte(s)
-do not exit 1 if the remote site closed the connection, its intentionally with mcored/sslsvd
1 | # $Id$ |
2 | |
3 | PNAME="nssl" |
4 | PVER="005" |
5 | PBUILD="r2" |
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 | } |