diff options
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-rw-r--r-- | sysutils/and/Makefile | 23 | ||||
-rw-r--r-- | sysutils/and/distinfo | 1 | ||||
-rw-r--r-- | sysutils/and/files/patch-Makefile | 26 | ||||
-rw-r--r-- | sysutils/and/pkg-comment | 1 | ||||
-rw-r--r-- | sysutils/and/pkg-descr | 17 | ||||
-rw-r--r-- | sysutils/and/pkg-plist | 3 |
7 files changed, 72 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index 09bfa7a469d1..7ea736f040e2 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -5,6 +5,7 @@ SUBDIR += LPRngTool SUBDIR += abck SUBDIR += afio + SUBDIR += and SUBDIR += anteater SUBDIR += apcupsd SUBDIR += asapm diff --git a/sysutils/and/Makefile b/sysutils/and/Makefile new file mode 100644 index 000000000000..5372e568701e --- /dev/null +++ b/sysutils/and/Makefile @@ -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> diff --git a/sysutils/and/distinfo b/sysutils/and/distinfo new file mode 100644 index 000000000000..516c156ca149 --- /dev/null +++ b/sysutils/and/distinfo @@ -0,0 +1 @@ +MD5 (and-1.0.7.tar.gz) = c66f2945ec3f4e06e639ee8f290b2e74 diff --git a/sysutils/and/files/patch-Makefile b/sysutils/and/files/patch-Makefile new file mode 100644 index 000000000000..234f312dbb0a --- /dev/null +++ b/sysutils/and/files/patch-Makefile @@ -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 diff --git a/sysutils/and/pkg-comment b/sysutils/and/pkg-comment new file mode 100644 index 000000000000..64ba078edec8 --- /dev/null +++ b/sysutils/and/pkg-comment @@ -0,0 +1 @@ +Auto Nice Daemon diff --git a/sysutils/and/pkg-descr b/sysutils/and/pkg-descr new file mode 100644 index 000000000000..3291e759e1f0 --- /dev/null +++ b/sysutils/and/pkg-descr @@ -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/ diff --git a/sysutils/and/pkg-plist b/sysutils/and/pkg-plist new file mode 100644 index 000000000000..19caf192c8d1 --- /dev/null +++ b/sysutils/and/pkg-plist @@ -0,0 +1,3 @@ +sbin/and +etc/and.conf +etc/and.priorities |