Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/wvstreams/files/, net-libs/wvstreams/
Date: Sun, 09 Jan 2022 19:11:29
Message-Id: 1641755467.80ef3604cac64727db2e1380797fc3c60d0529ca.asturm@gentoo
1 commit: 80ef3604cac64727db2e1380797fc3c60d0529ca
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 9 18:00:09 2022 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 9 19:11:07 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80ef3604
7
8 net-libs/wvstreams: Drop hopelessly outdated 9999 ebuild
9
10 A single commit was made in 2018 and nothing after that.
11
12 Package-Manager: Portage-3.0.30, Repoman-3.0.3
13 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
14
15 .../files/wvstreams-99999-openssl-ldflags.patch | 10 ---
16 .../wvstreams/files/wvstreams-99999-soname.patch | 11 ---
17 net-libs/wvstreams/wvstreams-99999.ebuild | 93 ----------------------
18 3 files changed, 114 deletions(-)
19
20 diff --git a/net-libs/wvstreams/files/wvstreams-99999-openssl-ldflags.patch b/net-libs/wvstreams/files/wvstreams-99999-openssl-ldflags.patch
21 deleted file mode 100644
22 index 0bf2bc4a7b02..000000000000
23 --- a/net-libs/wvstreams/files/wvstreams-99999-openssl-ldflags.patch
24 +++ /dev/null
25 @@ -1,10 +0,0 @@
26 ---- a/config.ac
27 -+++ b/config.ac
28 -@@ -444,7 +444,6 @@
29 - if test "$with_openssl" != "no"; then
30 - if test "$with_openssl" != ""; then
31 - WV_APPEND(CPPFLAGS, [-I$with_openssl/include])
32 -- WV_APPEND(LDFLAGS, [-L$with_openssl])
33 - fi
34 - AC_CHECK_HEADERS(openssl/ssl.h,, [with_openssl=no],
35 - [#define OPENSSL_NO_KRB5])
36
37 diff --git a/net-libs/wvstreams/files/wvstreams-99999-soname.patch b/net-libs/wvstreams/files/wvstreams-99999-soname.patch
38 deleted file mode 100644
39 index 9dd0d8ab8260..000000000000
40 --- a/net-libs/wvstreams/files/wvstreams-99999-soname.patch
41 +++ /dev/null
42 @@ -1,11 +0,0 @@
43 ---- a/default.so.do
44 -+++ b/default.so.do
45 -@@ -47,7 +47,7 @@
46 - redo-ifchange "$OUT/$2.a"
47 - ln -s $2.a "$sofile"
48 - else
49 -- $CXX -o "$sofile" -shared \
50 -+ $CXX -o "$sofile" -shared -Wl,-soname,$sofile \
51 - $zdefs \
52 - $LDFLAGS \
53 - $obj $libdep $libs
54
55 diff --git a/net-libs/wvstreams/wvstreams-99999.ebuild b/net-libs/wvstreams/wvstreams-99999.ebuild
56 deleted file mode 100644
57 index 11e465328157..000000000000
58 --- a/net-libs/wvstreams/wvstreams-99999.ebuild
59 +++ /dev/null
60 @@ -1,93 +0,0 @@
61 -# Copyright 1999-2021 Gentoo Authors
62 -# Distributed under the terms of the GNU General Public License v2
63 -
64 -EAPI=6
65 -AT_NOELIBTOOLIZE=yes
66 -inherit autotools flag-o-matic git-r3 multiprocessing toolchain-funcs out-of-source
67 -
68 -DESCRIPTION="A network programming library in C++"
69 -HOMEPAGE="https://github.com/apenwarr/wvstreams"
70 -EGIT_REPO_URI="https://github.com/apenwarr/wvstreams"
71 -
72 -LICENSE="GPL-2"
73 -SLOT="0/5.0"
74 -KEYWORDS=""
75 -IUSE="+dbus debug doc pam static-libs +zlib"
76 -
77 -RDEPEND="
78 - <dev-libs/openssl-1.1:0=
79 - sys-libs/readline:0=
80 - sys-libs/zlib
81 - virtual/libcrypt:=
82 - dbus? ( >=sys-apps/dbus-1.4.20 )
83 - pam? ( sys-libs/pam )
84 -"
85 -DEPEND="
86 - ${RDEPEND}
87 - dev-util/redo
88 - virtual/pkgconfig
89 - doc? ( app-doc/doxygen )
90 -"
91 -PATCHES=(
92 - "${FILESDIR}"/${PN}-99999-openssl-ldflags.patch
93 - "${FILESDIR}"/${PN}-99999-soname.patch
94 -)
95 -
96 -src_prepare() {
97 - sed -i -e 's|-pre||g' config.ac || die
98 -
99 - default
100 -
101 - ln -s config.ac configure.ac || die
102 - eautoreconf
103 -}
104 -
105 -my_src_configure() {
106 - append-flags -fno-strict-aliasing
107 - append-flags -fno-tree-dce -fno-optimize-sibling-calls #421375
108 -
109 - tc-export AR CC CXX
110 -
111 - econf \
112 - $(use_enable debug) \
113 - $(use_with dbus) \
114 - $(use_with pam) \
115 - $(use_with zlib) \
116 - --cache-file="${BUILD_DIR}"/config.cache \
117 - --disable-optimization \
118 - --localstatedir=/var \
119 - --without-qt \
120 - --without-valgrind
121 -}
122 -
123 -my_src_compile() {
124 - redo -j$(makeopts_jobs) || die
125 -
126 - if use doc; then
127 - doxygen "${S}"/Doxyfile || die
128 - fi
129 -}
130 -
131 -my_src_test() {
132 - redo -j$(makeopts_jobs) test || die
133 -}
134 -
135 -my_src_install() {
136 - DESTDIR="${D}" redo -j$(makeopts_jobs) install || die
137 -
138 - local lib
139 - for lib in $(find "${BUILD_DIR}" -name '*.so' -type l | grep -v libwvstatic); do
140 - insinto /usr/$(get_libdir)/pkgconfig
141 - doins "${BUILD_DIR}"/pkgconfig/$(basename ${lib/.so}).pc
142 - done
143 -
144 - if use doc; then
145 - #the list of files is too big for dohtml -r Docs/doxy-html/*
146 - docinto html
147 - dodoc -r Docs/doxy-html/*
148 - fi
149 -
150 - if ! use static-libs; then
151 - find "${D}/usr/$(get_libdir)" -name '*.a' -delete || die
152 - fi
153 -}