summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2019-05-04 11:48:41 +0200
committerPacho Ramos <pacho@gentoo.org>2019-05-04 11:48:41 +0200
commitc61bddfa34ad3bf59d52fb72175c1d4db7030da6 (patch)
tree5bac01281bafd29426e382da969106d1754f3910 /sys-power/upower
parentvirtual/pam: Add ~riscv keyword (diff)
downloadgentoo-c61bddfa34ad3bf59d52fb72175c1d4db7030da6.tar.gz
gentoo-c61bddfa34ad3bf59d52fb72175c1d4db7030da6.tar.bz2
gentoo-c61bddfa34ad3bf59d52fb72175c1d4db7030da6.zip
sys-power/upower: Drop old
Package-Manager: Portage-2.3.64, Repoman-2.3.12 Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'sys-power/upower')
-rw-r--r--sys-power/upower/Manifest1
-rw-r--r--sys-power/upower/files/upower-0.99.8-keyboard-backlight.patch30
-rw-r--r--sys-power/upower/files/upower-0.99.8-udev-events.patch32
-rw-r--r--sys-power/upower/upower-0.99.8-r1.ebuild99
4 files changed, 0 insertions, 162 deletions
diff --git a/sys-power/upower/Manifest b/sys-power/upower/Manifest
index cc2e9525678f..1993b98248c3 100644
--- a/sys-power/upower/Manifest
+++ b/sys-power/upower/Manifest
@@ -1,2 +1 @@
-DIST upower-0.99.8.tar.xz 448664 BLAKE2B e101e7d1b2aede77c1ed2da1fd23b87a95ccac8d901bd8d1f8bebcd5de7052a66f1840cf578a48453538e166aae56ef4bc6d3a2b85f7ba148ecac5cc0a486809 SHA512 dfd2960cae382195dfc7a703a02af298d9de55bc626cde2a1f97e7983842191ba9d99eb2044190214e792539e7d6c9d8e00b5aed17e5e86b04544e9ab90278b1
DIST upower-0.99.9.tar.xz 448408 BLAKE2B 5fa2436f33c94cffb736d8e3fad433acf58954cf06ccd403a0361214be5afc45d79ea279f3c5c48dcd58b92ccaf995777c95987d1749fd8c8c8958317e439570 SHA512 45eb587b0e5ffcce88bad8c56bc5efa30559748913016a55d58313280f5159378e5fbb4a9842c3a6409257bb97822d235f96b03704268b8471455c93eb05fe2f
diff --git a/sys-power/upower/files/upower-0.99.8-keyboard-backlight.patch b/sys-power/upower/files/upower-0.99.8-keyboard-backlight.patch
deleted file mode 100644
index 07b1731ad2c4..000000000000
--- a/sys-power/upower/files/upower-0.99.8-keyboard-backlight.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From 0a9d9ab4949effb20e77aa52e7b4ee07e776fc0d Mon Sep 17 00:00:00 2001
-From: Bastien Nocera <hadess@hadess.net>
-Date: Tue, 4 Sep 2018 09:58:21 +0200
-Subject: daemon: Fix upower's keyboard backlight support
-
-Disabling kernel tunables blocked us from accessing /sys, meaning we
-couldn't change keyboard backlight levels.
-
-Closes: #73
----
- src/upower.service.in | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/src/upower.service.in b/src/upower.service.in
-index 8838655..4566ad3 100644
---- a/src/upower.service.in
-+++ b/src/upower.service.in
-@@ -10,7 +10,8 @@ Restart=on-failure
-
- # Filesystem lockdown
- ProtectSystem=strict
--ProtectKernelTunables=true
-+# Needed by keyboard backlight support
-+ProtectKernelTunables=false
- ProtectControlGroups=true
- ReadWritePaths=@historydir@
- ProtectHome=true
---
-cgit v1.1
-
diff --git a/sys-power/upower/files/upower-0.99.8-udev-events.patch b/sys-power/upower/files/upower-0.99.8-udev-events.patch
deleted file mode 100644
index d164824b735f..000000000000
--- a/sys-power/upower/files/upower-0.99.8-udev-events.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From fe356951a9d45fee73036aaa72661f0319dffba3 Mon Sep 17 00:00:00 2001
-From: Bastien Nocera <hadess@hadess.net>
-Date: Tue, 21 Aug 2018 13:30:44 +0200
-Subject: daemon: Fix upower not having access to udev events
-
-PrivateNetwork=true will cut off upower from the udev netlink socket, so
-it's not what we want to use, as we want those events.
-
-See https://lists.freedesktop.org/archives/systemd-devel/2018-July/041000.html
-
-Closes: #68
----
- src/upower.service.in | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/src/upower.service.in b/src/upower.service.in
-index 835529a..8838655 100644
---- a/src/upower.service.in
-+++ b/src/upower.service.in
-@@ -17,7 +17,8 @@ ProtectHome=true
- PrivateTmp=true
-
- # Network
--PrivateNetwork=true
-+# PrivateNetwork=true would block udev's netlink socket
-+RestrictAddressFamilies=AF_UNIX AF_NETLINK
-
- # Execute Mappings
- MemoryDenyWriteExecute=true
---
-cgit v1.1
-
diff --git a/sys-power/upower/upower-0.99.8-r1.ebuild b/sys-power/upower/upower-0.99.8-r1.ebuild
deleted file mode 100644
index 21fa3ae93623..000000000000
--- a/sys-power/upower/upower-0.99.8-r1.ebuild
+++ /dev/null
@@ -1,99 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit systemd xdg-utils
-
-DESCRIPTION="D-Bus abstraction for enumerating power devices, querying history and statistics"
-HOMEPAGE="https://upower.freedesktop.org/"
-
-# No tarball released, use the same commit as Fedora
-#SRC_URI="https://${PN}.freedesktop.org/releases/${P}.tar.xz"
-COMMIT="9125ab7ee96fdc4ecc68cfefb50c1cab"
-SRC_URI="https://gitlab.freedesktop.org/upower/upower/uploads/${COMMIT}/${P}.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="0/3" # based on SONAME of libupower-glib.so
-KEYWORDS="alpha amd64 arm ~arm64 ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd"
-
-# gtk-doc files are not available as prebuilt in the tarball
-IUSE="doc +introspection ios kernel_FreeBSD kernel_linux selinux"
-
-COMMON_DEPS="
- >=dev-libs/dbus-glib-0.100
- >=dev-libs/glib-2.34:2
- sys-apps/dbus:=
- introspection? ( dev-libs/gobject-introspection:= )
- kernel_linux? (
- virtual/libusb:1
- virtual/libgudev:=
- virtual/udev
- ios? (
- >=app-pda/libimobiledevice-1:=
- >=app-pda/libplist-1:=
- )
- )
-"
-RDEPEND="
- ${COMMON_DEPS}
- selinux? ( sec-policy/selinux-devicekit )
-"
-DEPEND="${COMMON_DEPS}
- doc? ( dev-util/gtk-doc )
- dev-libs/libxslt
- app-text/docbook-xsl-stylesheets
- dev-util/intltool
- >=sys-devel/gettext-0.17
- virtual/pkgconfig
-"
-
-QA_MULTILIB_PATHS="usr/lib/${PN}/.*"
-
-DOCS=( AUTHORS HACKING NEWS README )
-
-PATCHES=(
- # daemon: Fix upower not having access to udev events
- "${FILESDIR}"/${P}-udev-events.patch
-
- # daemon: Fix upower's keyboard backlight support
- "${FILESDIR}"/${P}-keyboard-backlight.patch
-)
-
-src_prepare() {
- default
- xdg_environment_reset
- sed -i -e '/DISABLE_DEPRECATED/d' configure || die
-}
-
-src_configure() {
- local backend
-
- if use kernel_linux ; then
- backend=linux
- elif use kernel_FreeBSD ; then
- backend=freebsd
- else
- backend=dummy
- fi
-
- local myeconfargs=(
- --disable-static
- --disable-tests
- --enable-man-pages
- --libexecdir="${EPREFIX%/}"/usr/lib/${PN}
- --localstatedir="${EPREFIX%/}"/var
- --with-backend=${backend}
- --with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
- --with-systemdutildir="$(systemd_get_utildir)"
- $(use_enable doc gtk-doc)
- $(use_enable introspection)
- $(use_with ios idevice)
- )
- econf "${myeconfargs[@]}"
-}
-
-src_install() {
- default
- find "${D}" -name '*.la' -delete || die
- keepdir /var/lib/upower #383091
-}