Contents of /smage/branches/alx08x-unstable/core/sslsvd/sslsvd-1.0.0-r8.smage2
Parent Directory | Revision Log
Revision 16455 -
(show annotations)
(download)
Mon Oct 2 13:42:09 2023 UTC (11 months, 3 weeks ago) by niro
File size: 984 byte(s)
Mon Oct 2 13:42:09 2023 UTC (11 months, 3 weeks ago) by niro
File size: 984 byte(s)
-release branches/alx08x-unstable
1 | # $Id$ |
2 | |
3 | PNAME="sslsvd" |
4 | PVER="1.0.0" |
5 | PBUILD="r8" |
6 | |
7 | PCAT="net-misc" |
8 | |
9 | DESCRIPTION="sslsvd - internet protocol service daemons with ssl encryption" |
10 | HOMEPAGE="http://smarden.org/ipsvd/" |
11 | |
12 | DEPEND=">= virtual/glibc" |
13 | |
14 | SRCFILE="ipsvd-${PVER}.tar.gz" |
15 | SSL_SRCFILE="matrixssl-1-8-8-open.tgz" |
16 | SRCDIR="${BUILDDIR}/net/ipsvd-${PVER}/src" |
17 | |
18 | sminclude mtools |
19 | |
20 | SRC_URI=( |
21 | http://smarden.org/ipsvd/${SRCFILE} |
22 | mirror://${PNAME}/${SRCFILE} |
23 | mirror://${PNAME}/${SSL_SRCFILE} |
24 | ) |
25 | |
26 | UP2DATE="updatecmd ${HOMEPAGE} | grep 'latest release' | sed 's/.* \(.*.\)\..*/\1/'" |
27 | |
28 | src_prepare() |
29 | { |
30 | munpack ${SRCFILE} || die |
31 | cp ${SOURCEDIR}/${PNAME}/${SSL_SRCFILE} ${SRCDIR}/matrixssl.tar.gz || die |
32 | |
33 | cd ${SRCDIR} |
34 | # fix build with newer gcc |
35 | sed -i 's:const char \*progname;::' ssl_io.c || die |
36 | } |
37 | |
38 | src_compile() |
39 | { |
40 | cd ${SRCDIR} |
41 | echo "gcc ${CFLAGS}" > conf-cc || die |
42 | echo "gcc ${LDFLAGS}" > conf-ld || die |
43 | mmake || die |
44 | } |
45 | |
46 | src_install() |
47 | { |
48 | cd ${SRCDIR} |
49 | minstalldir /usr/sbin || die |
50 | minstallexec sslsvd /usr/sbin || die |
51 | } |