1 |
commit: 39afb1a79ff685bf5e5dee8ab0806ad224ca66d8 |
2 |
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 23 01:46:59 2017 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 23 01:47:09 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39afb1a7 |
7 |
|
8 |
net-misc/sslh: remove sslh-1.18-r1 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.3 |
11 |
|
12 |
net-misc/sslh/sslh-1.18-r1.ebuild | 65 --------------------------------------- |
13 |
1 file changed, 65 deletions(-) |
14 |
|
15 |
diff --git a/net-misc/sslh/sslh-1.18-r1.ebuild b/net-misc/sslh/sslh-1.18-r1.ebuild |
16 |
deleted file mode 100644 |
17 |
index 569a9c2ee72..00000000000 |
18 |
--- a/net-misc/sslh/sslh-1.18-r1.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,65 +0,0 @@ |
21 |
-# Copyright 1999-2016 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=6 |
25 |
- |
26 |
-MY_P="${PN}-v${PV}" |
27 |
-inherit flag-o-matic systemd toolchain-funcs |
28 |
- |
29 |
-DESCRIPTION="Port multiplexer - accept both HTTPS and SSH connections on the same port" |
30 |
-HOMEPAGE="http://www.rutschle.net/tech/sslh.shtml" |
31 |
-SRC_URI="http://www.rutschle.net/tech/${PN}/${MY_P}.tar.gz" |
32 |
- |
33 |
-LICENSE="GPL-2" |
34 |
-SLOT="0" |
35 |
-KEYWORDS="amd64 ~arm ~m68k ~mips ~s390 ~sh x86" |
36 |
-IUSE="caps systemd tcpd" |
37 |
- |
38 |
-RDEPEND="caps? ( sys-libs/libcap ) |
39 |
- systemd? ( sys-apps/systemd:= ) |
40 |
- tcpd? ( sys-apps/tcp-wrappers ) |
41 |
- dev-libs/libconfig" |
42 |
-DEPEND="${RDEPEND} |
43 |
- dev-lang/perl" |
44 |
- |
45 |
-RESTRICT="test" |
46 |
- |
47 |
-S=${WORKDIR}/${MY_P} |
48 |
- |
49 |
-PATCHES=( |
50 |
- "${FILESDIR}/${PN}-1.18-version-deps.patch" |
51 |
- "${FILESDIR}/${PN}-1.18-systemd-generator.patch" |
52 |
-) |
53 |
- |
54 |
-src_compile() { |
55 |
- # On older versions of GCC, the default gnu89 variant |
56 |
- # will reject within-for-loop initializers, bug #595426 |
57 |
- # Furthermore, we need to use the gnu variant (gnu99) instead |
58 |
- # of the ISO (c99) variant, as we want the __USE_XOPEN2K macro |
59 |
- # to be defined. |
60 |
- append-cflags -std=gnu99 |
61 |
- |
62 |
- emake \ |
63 |
- CC="$(tc-getCC)" \ |
64 |
- USELIBCAP=$(usev caps) \ |
65 |
- USELIBWRAP=$(usev tcpd) \ |
66 |
- USESYSTEMD=$(usev systemd) |
67 |
-} |
68 |
- |
69 |
-src_install() { |
70 |
- dosbin sslh-{fork,select} |
71 |
- dosym sslh-fork /usr/sbin/sslh |
72 |
- doman sslh.8.gz |
73 |
- dodoc ChangeLog README.md |
74 |
- |
75 |
- newinitd "${FILESDIR}"/sslh.init.d-2 sslh |
76 |
- newconfd "${FILESDIR}"/sslh.conf.d-2 sslh |
77 |
- |
78 |
- if use systemd; then |
79 |
- # Gentoo puts the binaries in /usr/sbin, but upstream puts them in /usr/bin |
80 |
- sed -i -e 's~/usr/bin/~/usr/sbin/~g' scripts/systemd.sslh.service || die |
81 |
- systemd_newunit scripts/systemd.sslh.service sslh.service |
82 |
- exeinto /usr/lib/systemd/system-generators/ |
83 |
- doexe systemd-sslh-generator |
84 |
- fi |
85 |
-} |