Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/gupnp/
Date: Sun, 04 Oct 2020 14:01:24
Message-Id: 1601820069.ddc30eee753215e4320afa847198ffa05823579a.sam@gentoo
1 commit: ddc30eee753215e4320afa847198ffa05823579a
2 Author: John Helmert III <jchelmert3 <AT> posteo <DOT> net>
3 AuthorDate: Thu Jul 30 06:40:43 2020 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 4 14:01:09 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddc30eee
7
8 net-libs/gupnp: Security cleanup (drop <1.2.3)
9
10 Bug: https://bugs.gentoo.org/729306
11 Package-Manager: Portage-3.0.1, Repoman-2.3.23
12 Signed-off-by: John Helmert III <jchelmert3 <AT> posteo.net>
13 Closes: https://github.com/gentoo/gentoo/pull/16908
14 Signed-off-by: Sam James <sam <AT> gentoo.org>
15
16 net-libs/gupnp/Manifest | 2 -
17 net-libs/gupnp/gupnp-1.0.4.ebuild | 73 --------------------------------
18 net-libs/gupnp/gupnp-1.2.2.ebuild | 88 ---------------------------------------
19 3 files changed, 163 deletions(-)
20
21 diff --git a/net-libs/gupnp/Manifest b/net-libs/gupnp/Manifest
22 index a5d5bcaa4ab..9c1a48f14df 100644
23 --- a/net-libs/gupnp/Manifest
24 +++ b/net-libs/gupnp/Manifest
25 @@ -1,4 +1,2 @@
26 -DIST gupnp-1.0.4.tar.xz 427616 BLAKE2B ab5d34e701e253dc48ebafabc908f9aacd7a325805c61b11b5668cfa105d56a37f0d93593eeedd0e63630b986f2a2c18d4d9cdd82b653c9cc7a5d57262a819ef SHA512 54a133ce043e9b3d5ea23041c04fbbf5483aea98a72421cdb59bada0ab2e3ab3fc85452c4c743b794eeb7c929f5ef38bf0e6ba7f9539d86182a77612c898205a
27 -DIST gupnp-1.2.2.tar.xz 136556 BLAKE2B f38018c76972f1b60b8274353a60d4bb1e4687ead6fd3fb084e050c070e5da4cbb7118807f65d47787c50af3174e7c2b87ff0b920cdcf13e7c5be17f8b156588 SHA512 08a715b06f30b9d9d11b914136f89b0c53d6b07b09dddf622619073fc6f144fc8d711eec28ede80fd14fc71a6addfe88de15740d0748302522ce71555fd18d2a
28 DIST gupnp-1.2.3.tar.xz 138428 BLAKE2B 23f7f677ee9d58c43ba69d6e707e26b17efa5b510f4b14b41006b332f196037fcb103b64e6b1f91260383232ad6d19872b1e8d856878b103c5c2612d3bafae63 SHA512 85caa68a4c6f4b1ccf21d910048a59b6db2b21e8bd728404b28eb0f00b588a1ab55f3ff3227e76199a20554b0708128680379e7ffa5fe162cccb4a1e3e322101
29 DIST gupnp-1.2.4.tar.xz 139832 BLAKE2B a4d49ea8a3739a2233c9dd4a258a7d0d355ff651b0de85c5b7151f0ffca93b50248a303dd040c2d7e9fb215a0edb0627fa3a8a16835b55d90459c623faaad62b SHA512 cb787264b5a1bcb4f547f7a9d7a5e4e712f91ecbb593f12b2c51aed0607abd6fbfd43e5c42e261eb853d09358685637e172c78e3e9a6059bccdeb1176e6e4ef7
30
31 diff --git a/net-libs/gupnp/gupnp-1.0.4.ebuild b/net-libs/gupnp/gupnp-1.0.4.ebuild
32 deleted file mode 100644
33 index 21d5109ef95..00000000000
34 --- a/net-libs/gupnp/gupnp-1.0.4.ebuild
35 +++ /dev/null
36 @@ -1,73 +0,0 @@
37 -# Copyright 1999-2020 Gentoo Authors
38 -# Distributed under the terms of the GNU General Public License v2
39 -
40 -EAPI="6"
41 -VALA_USE_DEPEND="vapigen"
42 -PYTHON_COMPAT=( python{3_6,3_7} )
43 -PYTHON_REQ_USE="xml"
44 -
45 -inherit gnome2 multilib-minimal python-single-r1 vala
46 -
47 -DESCRIPTION="An object-oriented framework for creating UPnP devs and control points"
48 -HOMEPAGE="https://wiki.gnome.org/Projects/GUPnP"
49 -
50 -LICENSE="LGPL-2"
51 -SLOT="0/4"
52 -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~ppc ppc64 ~sparc x86"
53 -
54 -IUSE="connman +introspection kernel_linux networkmanager"
55 -REQUIRED_USE="${PYTHON_REQUIRED_USE}
56 - ?? ( connman networkmanager )
57 -"
58 -
59 -# prefix: uuid dependency can be adapted to non-linux platforms
60 -RDEPEND="${PYTHON_DEPS}
61 - >=net-libs/gssdp-0.14.15:0/3[introspection?,${MULTILIB_USEDEP}]
62 - >=net-libs/libsoup-2.48.0:2.4[introspection?,${MULTILIB_USEDEP}]
63 - >=dev-libs/glib-2.40:2[${MULTILIB_USEDEP}]
64 - >=dev-libs/libxml2-2.9.1-r4[${MULTILIB_USEDEP}]
65 - >=sys-apps/util-linux-2.24.1-r3[${MULTILIB_USEDEP}]
66 - introspection? (
67 - >=dev-libs/gobject-introspection-1.36:=
68 - $(vala_depend) )
69 - connman? ( >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}] )
70 - networkmanager? ( >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}] )
71 - !net-libs/gupnp-vala
72 -"
73 -DEPEND="${RDEPEND}
74 - dev-util/glib-utils
75 - >=dev-util/gtk-doc-am-1.14
76 - sys-devel/gettext
77 - virtual/pkgconfig
78 -"
79 -
80 -src_prepare() {
81 - use introspection && vala_src_prepare
82 - gnome2_src_prepare
83 -}
84 -
85 -multilib_src_configure() {
86 - local backend=unix
87 - use kernel_linux && backend=linux
88 - use connman && backend=connman
89 - use networkmanager && backend=network-manager
90 -
91 - ECONF_SOURCE=${S} \
92 - gnome2_src_configure \
93 - $(multilib_native_use_enable introspection) \
94 - --disable-static \
95 - --with-context-manager=${backend}
96 -
97 - if multilib_is_native_abi; then
98 - ln -s "${S}"/doc/html doc/html || die
99 - fi
100 -}
101 -
102 -multilib_src_install() {
103 - gnome2_src_install
104 -}
105 -
106 -multilib_src_install_all() {
107 - einstalldocs
108 - python_fix_shebang "${ED}"/usr/bin/gupnp-binding-tool
109 -}
110
111 diff --git a/net-libs/gupnp/gupnp-1.2.2.ebuild b/net-libs/gupnp/gupnp-1.2.2.ebuild
112 deleted file mode 100644
113 index b73234a91a5..00000000000
114 --- a/net-libs/gupnp/gupnp-1.2.2.ebuild
115 +++ /dev/null
116 @@ -1,88 +0,0 @@
117 -# Copyright 1999-2020 Gentoo Authors
118 -# Distributed under the terms of the GNU General Public License v2
119 -
120 -EAPI="7"
121 -VALA_USE_DEPEND="vapigen"
122 -PYTHON_COMPAT=( python3_{6,7,8} )
123 -PYTHON_REQ_USE="xml"
124 -
125 -inherit gnome.org meson multilib-minimal python-single-r1 vala xdg
126 -
127 -DESCRIPTION="An object-oriented framework for creating UPnP devs and control points"
128 -HOMEPAGE="https://wiki.gnome.org/Projects/GUPnP"
129 -
130 -LICENSE="LGPL-2+ GPL-2+" # gupnp-binding-tool is GPL-2+
131 -SLOT="0/1.2-0" # <API version>-<soname>
132 -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~ppc ppc64 ~sparc x86"
133 -
134 -IUSE="connman gtk-doc +introspection kernel_linux networkmanager vala"
135 -REQUIRED_USE="${PYTHON_REQUIRED_USE}
136 - ?? ( connman networkmanager )
137 -"
138 -
139 -# prefix: uuid dependency can be adapted to non-linux platforms
140 -RDEPEND="${PYTHON_DEPS}
141 - >=dev-libs/glib-2.58:2[${MULTILIB_USEDEP}]
142 - >=net-libs/gssdp-1.1.3:0=[introspection?,${MULTILIB_USEDEP}]
143 - >=net-libs/libsoup-2.48.0:2.4[introspection?,${MULTILIB_USEDEP}]
144 - >=dev-libs/libxml2-2.9.1-r4[${MULTILIB_USEDEP}]
145 - >=sys-apps/util-linux-2.24.1-r3[${MULTILIB_USEDEP}]
146 - introspection? ( >=dev-libs/gobject-introspection-1.54:= )
147 -"
148 -DEPEND="${RDEPEND}"
149 -BDEPEND="
150 - dev-util/glib-utils
151 - gtk-doc? ( >=dev-util/gtk-doc-1.14
152 - app-text/docbook-xml-dtd:4.1.2
153 - app-text/docbook-xml-dtd:4.2 )
154 - dev-libs/libxslt
155 - app-text/docbook-xsl-stylesheets
156 - virtual/pkgconfig
157 - !connman? ( !networkmanager? ( kernel_linux? ( sys-kernel/linux-headers ) ) )
158 - vala? ( $(vala_depend)
159 - >=net-libs/gssdp-1.1.3:0[vala]
160 - net-libs/libsoup:2.4[vala]
161 - )
162 -"
163 -
164 -PATCHES=(
165 - "${FILESDIR}"/${PV}-build-manpage.patch # https://gitlab.gnome.org/GNOME/gupnp/merge_requests/5
166 -)
167 -
168 -src_prepare() {
169 - use introspection && vala_src_prepare
170 - xdg_src_prepare
171 -}
172 -
173 -multilib_src_configure() {
174 - local backend=system
175 - use kernel_linux && backend=linux
176 - use connman && backend=connman
177 - use networkmanager && backend=network-manager
178 -
179 - local emesonargs=(
180 - -Dcontext_manager=${backend}
181 - -Dintrospection=$(multilib_native_usex introspection true false)
182 - -Dvapi=$(multilib_native_usex vala true false)
183 - -Dgtk_doc=$(multilib_native_usex gtk-doc true false)
184 - -Dexamples=false
185 - )
186 - meson_src_configure
187 -}
188 -
189 -multilib_src_compile() {
190 - meson_src_compile
191 -}
192 -
193 -multilib_src_test() {
194 - meson_src_test
195 -}
196 -
197 -multilib_src_install() {
198 - meson_src_install
199 -}
200 -
201 -multilib_src_install_all() {
202 - einstalldocs
203 - python_fix_shebang "${ED}"/usr/bin/gupnp-binding-tool-1.2
204 -}