From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1ADE3139694 for ; Thu, 9 Feb 2017 22:38:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 13D30E0CC6; Thu, 9 Feb 2017 22:37:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CA6C8E0CC6 for ; Thu, 9 Feb 2017 22:37:57 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BBFFB340F43 for ; Thu, 9 Feb 2017 22:37:56 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E1EFA3EEA for ; Thu, 9 Feb 2017 22:37:53 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1486679834.26f8ebb05c1a162637961e02affc5ae2b5dfb9c0.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-power/nut/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-power/nut/files/nut-2.2.2-init.d-upsd sys-power/nut/files/nut-2.2.2-init.d-upsmon sys-power/nut/files/nut-2.4.3-lowspeed-buffer-size.patch X-VCS-Directories: sys-power/nut/files/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: 26f8ebb05c1a162637961e02affc5ae2b5dfb9c0 X-VCS-Branch: master Date: Thu, 9 Feb 2017 22:37:53 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: c672c1d2-4bb5-47df-a64d-56a27acd9fee X-Archives-Hash: f2f915011bf5c7983083171cba50e224 commit: 26f8ebb05c1a162637961e02affc5ae2b5dfb9c0 Author: Michael Mair-Keimberger (asterix) gmail com> AuthorDate: Tue Feb 7 16:48:35 2017 +0000 Commit: David Seifert gentoo org> CommitDate: Thu Feb 9 22:37:14 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26f8ebb0 sys-power/nut: remove unused patch/files Closes: https://github.com/gentoo/gentoo/pull/3870 sys-power/nut/files/nut-2.2.2-init.d-upsd | 38 ---------------------- sys-power/nut/files/nut-2.2.2-init.d-upsmon | 30 ----------------- .../nut/files/nut-2.4.3-lowspeed-buffer-size.patch | 21 ------------ 3 files changed, 89 deletions(-) diff --git a/sys-power/nut/files/nut-2.2.2-init.d-upsd b/sys-power/nut/files/nut-2.2.2-init.d-upsd deleted file mode 100644 index 56f524a2c7..0000000000 --- a/sys-power/nut/files/nut-2.2.2-init.d-upsd +++ /dev/null @@ -1,38 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -extra_started_commands="reload" - -pidfile=/var/lib/nut/upsd.pid -bin=/usr/sbin/upsd - -depend() { - need net - before upsmon - after upsdrv -} - -start() { - ebegin "Starting upsd" - # clean up first - pkill -u root,nut -x ${bin} - sleep 1 - rm -f ${pidfile} - # now start up - start-stop-daemon --start --quiet --exec ${bin} - eend $? -} - -stop() { - ebegin "Stopping upsd" - start-stop-daemon --stop --quiet --pidfile ${pidfile} - eend $? -} - -reload() { - ebegin "Reloading upsd" - start-stop-daemon --stop --signal HUP --oknodo --quiet --pidfile ${pidfile} - eend $? -} diff --git a/sys-power/nut/files/nut-2.2.2-init.d-upsmon b/sys-power/nut/files/nut-2.2.2-init.d-upsmon deleted file mode 100644 index 079255dca6..0000000000 --- a/sys-power/nut/files/nut-2.2.2-init.d-upsmon +++ /dev/null @@ -1,30 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -extra_started_commands="reload" - -pidfile=/var/run/upsmon.pid -bin=/usr/sbin/upsmon - -depend() { - need net -} - -start() { - ebegin "Starting upsmon" - start-stop-daemon --start --quiet --exec ${bin} - eend $? -} - -stop() { - ebegin "Stopping upsmon" - start-stop-daemon --stop --quiet --pidfile ${pidfile} - eend $? -} -reload() { - ebegin "Reloading upsd" - start-stop-daemon --stop --signal HUP --oknodo --quiet --pidfile ${pidfile} - eend $? -} diff --git a/sys-power/nut/files/nut-2.4.3-lowspeed-buffer-size.patch b/sys-power/nut/files/nut-2.4.3-lowspeed-buffer-size.patch deleted file mode 100644 index e9a4da8fab..0000000000 --- a/sys-power/nut/files/nut-2.4.3-lowspeed-buffer-size.patch +++ /dev/null @@ -1,21 +0,0 @@ -http://bugs.gentoo.org/show_bug.cgi?id=318937 -http://boxster.ghz.cc/projects/nut/changeset/2407 - -Index: /trunk/drivers/libhid.c -=================================================================== ---- /trunk/drivers/libhid.c (revision 2336) -+++ /trunk/drivers/libhid.c (revision 2407) -@@ -142,5 +142,5 @@ - int id = pData->ReportID; - int r; -- unsigned char buf[SMALLBUF]; -+ unsigned char buf[8]; /* Maximum size for low-speed USB devices */ - - if (rbuf->ts[id] + age > time(NULL)) { -@@ -470,5 +470,5 @@ - int HIDGetEvents(hid_dev_handle_t udev, HIDData_t **event, int eventsize) - { -- unsigned char buf[SMALLBUF]; -+ unsigned char buf[8]; /* Maximum size for low-speed USB devices */ - int itemCount = 0; - int buflen, r, i;