summaryrefslogtreecommitdiff
path: root/app-admin/verynice/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:56:41 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:56:41 +0100
commitd87262dd706fec50cd150aab3e93883b6337466d (patch)
tree246b44c33ad7a57550430b0a60fa0df86a3c9e68 /app-admin/verynice/files
parent71bc00c87bba1ce31de0dac6c3b7fd1aee6917fc (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-admin/verynice/files')
-rw-r--r--app-admin/verynice/files/verynice19
-rw-r--r--app-admin/verynice/files/verynice-1.1-build.patch73
-rw-r--r--app-admin/verynice/files/verynice.service8
3 files changed, 0 insertions, 100 deletions
diff --git a/app-admin/verynice/files/verynice b/app-admin/verynice/files/verynice
deleted file mode 100644
index 4aa89cf73b2a..000000000000
--- a/app-admin/verynice/files/verynice
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- after checkroot root
-}
-
-start() {
- ebegin "Starting verynice"
- /usr/sbin/verynice -d /var/run/verynice.pid
- eend $?
-}
-
-stop() {
- ebegin "Stopping verynice"
- start-stop-daemon --stop --quiet --pidfile=/var/run/verynice.pid
- eend $?
-}
diff --git a/app-admin/verynice/files/verynice-1.1-build.patch b/app-admin/verynice/files/verynice-1.1-build.patch
deleted file mode 100644
index 3782c74a5c05..000000000000
--- a/app-admin/verynice/files/verynice-1.1-build.patch
+++ /dev/null
@@ -1,73 +0,0 @@
-From: Julian Ospald <hasufell@gentoo.org>
-Date: Wed Dec 26 19:46:44 UTC 2012
-Subject: build system
-
-respect flags, add LDFLAGS to linker line
-fix install rules
-
---- a/Makefile
-+++ b/Makefile
-@@ -15,13 +15,15 @@
- # along with this program; if not, write to the Free Software
- # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-
--CC = gcc
-+CC ?= gcc
-
-
- RPM_BUILD_ROOT=
-
- # PREFIX is usually either /usr or /usr/local
- PREFIX=/usr/local
-+BINDIR=$(PREFIX)/sbin
-+ETCDIR=/etc
- TARGET=linux
-
-
-@@ -32,8 +34,8 @@
- VERSION=1.1
-
- #CFLAGS= -I../include/ -O3 -Wimplicit
--CFLAGS= -I../include/ -g -Wimplicit -DPREFIX=\"$(PREFIX)\" -DTARGET_$(TARGET) -DVERSION=\"$(VERSION)\"
--LINK = gcc
-+CFLAGS += -Wimplicit
-+CPPFLAGS = -I../include/ -DPREFIX=\"$(PREFIX)\" -DTARGET_$(TARGET) -DVERSION=\"$(VERSION)\"
- AG = /home3/sdh4/anagram/ag_unix_dev/ag
-
-
-@@ -55,20 +57,15 @@
- (cd .. ; tar cvzf verynice-$(VERSION).tar.gz verynice/ )
-
- install:
-- $(INSTALL) -d $(RPM_BUILD_ROOT)$(PREFIX)/sbin
-- $(INSTALL) verynice $(RPM_BUILD_ROOT)$(PREFIX)/sbin
-- if [ $(PREFIX) = "/usr" ]; then \
-- mv -f $(RPM_BUILD_ROOT)/etc/verynice.conf $(RPM_BUILD_ROOT)/etc/verynice.conf~ ; \
-- $(INSTALL) verynice.conf $(RPM_BUILD_ROOT)/etc ; \
-- else \
-- $(INSTALL) -d $(RPM_BUILD_ROOT)$(PREFIX)/etc ; \
-- mv -f $(RPM_BUILD_ROOT)$(PREFIX)/etc/verynice.conf $(RPM_BUILD_ROOT)$(PREFIX)/etc/verynice.conf~ ; \
-- $(INSTALL) -m 644 verynice.conf $(RPM_BUILD_ROOT)$(PREFIX)/etc ; \
-- fi
-+ $(INSTALL) -d $(RPM_BUILD_ROOT)$(BINDIR)
-+ $(INSTALL) verynice $(RPM_BUILD_ROOT)$(BINDIR)
-+ $(INSTALL) -d $(RPM_BUILD_ROOT)$(ETCDIR)
-+ $(INSTALL) -m 644 verynice.conf $(RPM_BUILD_ROOT)$(ETCDIR)
- $(INSTALL) -d $(RPM_BUILD_ROOT)$(PREFIX)/share
- $(INSTALL) -d $(RPM_BUILD_ROOT)$(PREFIX)/share/doc
- $(INSTALL) -d $(RPM_BUILD_ROOT)$(PREFIX)/share/doc/verynice-$(VERSION)
-- $(INSTALL) -m 644 verynice.html $(RPM_BUILD_ROOT)$(PREFIX)/share/doc/verynice-$(VERSION)
-+ $(INSTALL) -d $(RPM_BUILD_ROOT)$(PREFIX)/share/doc/verynice-$(VERSION)/html
-+ $(INSTALL) -m 644 verynice.html $(RPM_BUILD_ROOT)$(PREFIX)/share/doc/verynice-$(VERSION)/html
- $(INSTALL) -m 644 README $(RPM_BUILD_ROOT)$(PREFIX)/share/doc/verynice-$(VERSION)
- $(INSTALL) -m 644 README.SYN $(RPM_BUILD_ROOT)$(PREFIX)/share/doc/verynice-$(VERSION)
- $(INSTALL) -m 644 COPYING $(RPM_BUILD_ROOT)$(PREFIX)/share/doc/verynice-$(VERSION)
-@@ -95,7 +92,7 @@
- $(AG) $*
-
- verynice: verynice.o config.o linklist.o stringstack.o
-- $(LINK) -g -o $@ $^ -lm
-+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ -lm
-
-
-
diff --git a/app-admin/verynice/files/verynice.service b/app-admin/verynice/files/verynice.service
deleted file mode 100644
index e85ef4c895b2..000000000000
--- a/app-admin/verynice/files/verynice.service
+++ /dev/null
@@ -1,8 +0,0 @@
-[Unit]
-Description=A tool for dynamically adjusting the nice-level of processes
-
-[Service]
-ExecStart=/usr/sbin/verynice
-
-[Install]
-WantedBy=multi-user.target