aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSobhan Mohammadpour <sobhan@gentoo.org>2018-02-06 19:43:05 +0330
committerSobhan Mohammadpour <sobhan@gentoo.org>2018-02-06 19:43:05 +0330
commit6e39185fa12ced96fa6dc3c77a8fe5d272a6ae57 (patch)
treec61796a59e8a3586eea86cdc6231aa37481af1ff /net-libs
parentgnome-base/gdm: bump (diff)
downloadgnome-6e39185fa12ced96fa6dc3c77a8fe5d272a6ae57.tar.gz
gnome-6e39185fa12ced96fa6dc3c77a8fe5d272a6ae57.tar.bz2
gnome-6e39185fa12ced96fa6dc3c77a8fe5d272a6ae57.zip
net-libs/glib-networking: bump
Package-Manager: Portage-2.3.23, Repoman-2.3.6 RepoMan-Options: --force Manifest-Sign-Key: 0x7DF238CF0AA182E1
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/glib-networking/Manifest23
-rw-r--r--net-libs/glib-networking/glib-networking-2.54.1.ebuild83
-rw-r--r--net-libs/glib-networking/metadata.xml12
3 files changed, 118 insertions, 0 deletions
diff --git a/net-libs/glib-networking/Manifest b/net-libs/glib-networking/Manifest
new file mode 100644
index 00000000..90d415dc
--- /dev/null
+++ b/net-libs/glib-networking/Manifest
@@ -0,0 +1,23 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+DIST glib-networking-2.54.1.tar.xz 441232 BLAKE2B 4697ac5fe248d12839d2a3c1340e2e699fa2ea65a9b5d741c50d069c904e82eb23feb89d648bc127959d9ac15e18d3a4cd2bd8b08202d48d33937affb9df13c9 SHA512 8356d835914e33df43f4f2bb6a915ddcd48dd0565e4d5bc1f1d692e9c3124ee4421b99f87f2586f74e9fed24ef7421159f3242fd1eb7bd74950bd25e860896ec
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2
+
+iQKTBAEBCAB9FiEEhjiDzgE0H6m8d3Z/4FucaN0bWf0FAlp51A5fFIAAAAAALgAo
+aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDg2
+Mzg4M0NFMDEzNDFGQTlCQzc3NzY3RkUwNUI5QzY4REQxQjU5RkQACgkQ4FucaN0b
+Wf1xBBAAruP4OxeeqwnYfDSYFwlY9H7NE/3kcICc3XAPPR2AWeBYUHBdn1xrU22O
+NcPNJNXj8HE6Yo5ITXVysVU+Qv445yujqsaHTool1YfipFcGbsjFEiCgzonoG5ZX
+3pW1S64QScITynfsBFvoGgkGTJCQEA/kcwX7vbbAzy5MCLVdzEFV7cUrjb+jWPRs
+QH7Uy4KkuPlmlNabKitwWr+XUnvKRIE74xvpGhA5zgRnlvixfjQVufUMqkAGorZs
+KwAn+oEsWY1GH03I7Gq3tSPwtbJT0BVPYst3QKil9vGBmZzLg/OSiP+yh7e/FHDL
+oJepQtJtcTm34h10Qlcu+XxwXHm0FYZA/dFAoMfO4/LVCU/6X+h4znUfKFDnDn9w
+74S5ccNcbFdsTmI+VhGowWbpwdZUQPLWCSSO4ptbxZo4Ggh0RqXzuVPXTEPwvpQF
+GGCbRsbKfrdSEzOoR4/URaLozW7JN+enJuPRaYeQXluqNLpkPbdBoIYO/BTbKPec
+i0Vn30nAiEKXmE/puBBnRLyuguj2cnJXZwXdiUq1AwCq9kJkybjd/nk2S4JNuKGY
+dHeOVC6FlKMaMQeXR2OEgxnkXDssScHroovB5bxDXN5sUT0+RduQDazDs0nwMd3y
+G8Loy+c3aav6fkuqCsXBs5e8osa7dDfaEu/X6a6AXtDG+PKETNA=
+=VZ/t
+-----END PGP SIGNATURE-----
diff --git a/net-libs/glib-networking/glib-networking-2.54.1.ebuild b/net-libs/glib-networking/glib-networking-2.54.1.ebuild
new file mode 100644
index 00000000..7eb7f3e2
--- /dev/null
+++ b/net-libs/glib-networking/glib-networking-2.54.1.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+GNOME2_LA_PUNT="yes"
+
+inherit gnome2 multilib-minimal virtualx
+
+DESCRIPTION="Network-related giomodules for glib"
+HOMEPAGE="https://git.gnome.org/browse/glib-networking/"
+
+LICENSE="LGPL-2+"
+SLOT="0"
+IUSE="+gnome +libproxy smartcard +ssl test"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
+
+RDEPEND="
+ >=dev-libs/glib-2.46.0:2[${MULTILIB_USEDEP}]
+ gnome? ( gnome-base/gsettings-desktop-schemas )
+ libproxy? ( >=net-libs/libproxy-0.4.11-r1:=[${MULTILIB_USEDEP}] )
+ smartcard? (
+ >=app-crypt/p11-kit-0.18.4[${MULTILIB_USEDEP}]
+ >=net-libs/gnutls-3:=[pkcs11,${MULTILIB_USEDEP}] )
+ ssl? (
+ app-misc/ca-certificates
+ >=net-libs/gnutls-3:=[${MULTILIB_USEDEP}] )
+"
+DEPEND="${RDEPEND}
+ >=sys-devel/gettext-0.19.4
+ >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
+ test? ( sys-apps/dbus[X] )
+"
+# eautoreconf needs >=sys-devel/autoconf-2.65:2.5
+
+src_prepare() {
+ default
+ # Disable SSLv3 requiring fallback test, which fails with net-libs/gnutls[-sslv3], bug 595952
+ # https://bugzilla.gnome.org/show_bug.cgi?id=782853
+ sed -i -e '/\/tls\/connection\/fallback\/SSL/d' "${S}"/tls/tests/connection.c || die
+}
+
+multilib_src_configure() {
+ ECONF_SOURCE=${S} \
+ gnome2_src_configure \
+ --disable-static \
+ --with-ca-certificates="${EPREFIX}"/etc/ssl/certs/ca-certificates.crt \
+ $(use_with gnome gnome-proxy) \
+ $(use_with libproxy) \
+ $(use_with smartcard pkcs11) \
+ $(use_with ssl gnutls)
+}
+
+multilib_src_test() {
+ # XXX: non-native tests fail if glib-networking is already installed.
+ # have no idea what's wrong. would appreciate some help.
+ multilib_is_native_abi || return 0
+
+ virtx emake check
+}
+
+multilib_src_install() {
+ gnome2_src_install
+}
+
+pkg_postinst() {
+ gnome2_pkg_postinst
+
+ multilib_pkg_postinst() {
+ gnome2_giomodule_cache_update \
+ || die "Update GIO modules cache failed (for ${ABI})"
+ }
+ multilib_foreach_abi multilib_pkg_postinst
+}
+
+pkg_postrm() {
+ gnome2_pkg_postrm
+
+ multilib_pkg_postrm() {
+ gnome2_giomodule_cache_update \
+ || die "Update GIO modules cache failed (for ${ABI})"
+ }
+ multilib_foreach_abi multilib_pkg_postrm
+}
diff --git a/net-libs/glib-networking/metadata.xml b/net-libs/glib-networking/metadata.xml
new file mode 100644
index 00000000..a1db58db
--- /dev/null
+++ b/net-libs/glib-networking/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+ </maintainer>
+ <use>
+ <flag name="libproxy">Use <pkg>net-libs/libproxy</pkg> for getting the HTTP/HTTPS/SOCKS proxy configuration</flag>
+ <flag name="gnome">Extract HTTP/HTTPS/SOCKS proxy configuration stored using GSettings</flag>
+ </use>
+</pkgmetadata>