add and 1.0.7

Auto Nice Daemon
This commit is contained in:
Ying-Chieh Liao 2002-06-21 19:41:34 +00:00
parent c6e6c135d1
commit 1bf108a1d7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=61699
7 changed files with 72 additions and 0 deletions

View file

@ -5,6 +5,7 @@
SUBDIR += LPRngTool
SUBDIR += abck
SUBDIR += afio
SUBDIR += and
SUBDIR += anteater
SUBDIR += apcupsd
SUBDIR += asapm

23
sysutils/and/Makefile Normal file
View file

@ -0,0 +1,23 @@
# ex:ts=8
# Ports collection makefile for: and
# Date created: Jun 22, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= and
PORTVERSION= 1.0.7
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
USE_GMAKE= yes
ALL_TARGET= # empty
MAN5= and.conf.5 and.priorities.5
MAN8= and.8
.include <bsd.port.mk>

1
sysutils/and/distinfo Normal file
View file

@ -0,0 +1 @@
MD5 (and-1.0.7.tar.gz) = c66f2945ec3f4e06e639ee8f290b2e74

View file

@ -0,0 +1,26 @@
--- Makefile.orig Sat Jun 22 03:39:00 2002
+++ Makefile Sat Jun 22 03:39:19 2002
@@ -16,7 +16,7 @@
# (and.init.debian for Debian GNU/Linux or and.init for others;
# leave empty for BSD!)
#
-INITSCRIPT=and.init
+INITSCRIPT=
#
# Target directories. Examples for common configurations are
@@ -30,10 +30,10 @@
# typical OpenBSD or FreeBSD configuration
#PREFIX=/usr/local
-#INSTALL_ETC=/etc
-#INSTALL_INITD=
-#INSTALL_SBIN=$(PREFIX)/sbin
-#INSTALL_MAN=$(PREFIX)/man
+INSTALL_ETC=${PREFIX}/etc
+INSTALL_INITD=
+INSTALL_SBIN=$(PREFIX)/sbin
+INSTALL_MAN=$(PREFIX)/man
# typical Debian or SuSE 7.x configuration
#PREFIX=/usr

1
sysutils/and/pkg-comment Normal file
View file

@ -0,0 +1 @@
Auto Nice Daemon

17
sysutils/and/pkg-descr Normal file
View file

@ -0,0 +1,17 @@
The auto nice daemon activates itself in certain intervals and renices jobs
according to their priority and CPU usage. Jobs owned by root are left alone.
Jobs are never increased in their priority.
AND is very flexible. The renice intervals can be adjusted as well as the
default nice level and the activation intervals. A priority database stores
user/group/job tuples along with their renice values for three CPU usage time
ranges. Negative nice levels are interpreted as signals to be sent to a
process, triggered by CPU usage; this way, Netscapes going berserk can be
killed automatically. The strategy for searching the priority database can be
configured.
AND also provides network-wide configuration files with host-specific
sections, as well as wildcard/regexp support for commands in the priority
database.
WWW: http://and.sourceforge.net/

3
sysutils/and/pkg-plist Normal file
View file

@ -0,0 +1,3 @@
sbin/and
etc/and.conf
etc/and.priorities