diff options
author | obrien <obrien@FreeBSD.org> | 1997-06-06 01:03:25 +0800 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 1997-06-06 01:03:25 +0800 |
commit | 81269cb0c3521b962bd832e97d40c03328635d70 (patch) | |
tree | 0ce59c94f698d10c5fe22c0457965d9a4598582d /sysutils/skill | |
parent | 98944e45ab640fafc6a77759aa2f53208326cc2d (diff) | |
download | freebsd-ports-gnome-81269cb0c3521b962bd832e97d40c03328635d70.tar.gz freebsd-ports-gnome-81269cb0c3521b962bd832e97d40c03328635d70.tar.zst freebsd-ports-gnome-81269cb0c3521b962bd832e97d40c03328635d70.zip |
`skill' is a program which sends signals to processes given
any combination of user names, ttys, commands, and pids. `snice' is
a program which changes the priority of processes (given the same).
PR: ports/3783
Submitted by: Joao Carlos Mendes Luis <jonny@mailhost.coppe.ufrj.br>
(w/minor hacks by me)
Diffstat (limited to 'sysutils/skill')
-rw-r--r-- | sysutils/skill/Makefile | 32 | ||||
-rw-r--r-- | sysutils/skill/distinfo | 1 | ||||
-rw-r--r-- | sysutils/skill/files/patch-aa | 34 | ||||
-rw-r--r-- | sysutils/skill/pkg-comment | 1 | ||||
-rw-r--r-- | sysutils/skill/pkg-descr | 10 | ||||
-rw-r--r-- | sysutils/skill/pkg-plist | 4 |
6 files changed, 82 insertions, 0 deletions
diff --git a/sysutils/skill/Makefile b/sysutils/skill/Makefile new file mode 100644 index 000000000000..5d467a8f8625 --- /dev/null +++ b/sysutils/skill/Makefile @@ -0,0 +1,32 @@ +# New ports collection makefile for: skill +# Version required: 3.7 +# Date created: 04 Jun 1997 +# Whom: Joao Carlos Mendes Luis <jonny@mailhost.coppe.ufrj.br> +# +# $Id$ +# + +DISTNAME= skill-3.7@P3 +PKGNAME= skill-3.7.4 +CATEGORIES= sysutils +MASTER_SITES= ftp://jaguar.cs.utah.edu/pub/skill/ +EXTRACT_SUFX= _tar.Z + +MAINTAINER= jonny@coppe.ufrj.br + +HAS_CONFIGURE= yes +CONFIGURE_SCRIPT= Config +WRKSRC= ${WRKDIR}/${PKGNAME} + +MAN1= skill.1 + +# Bugs: skill.1 and snice.1 are hard links. When compressed they +# are changed to independent files. I'd like to change this... + +pre-configure: + @chmod a+x ${WRKSRC}/Config + +post-install: + @ln -sf ${PREFIX}/man/man1/skill.1.gz ${PREFIX}/man/man1/snice.1.gz + +.include <bsd.port.mk> diff --git a/sysutils/skill/distinfo b/sysutils/skill/distinfo new file mode 100644 index 000000000000..60ad6b33da05 --- /dev/null +++ b/sysutils/skill/distinfo @@ -0,0 +1 @@ +MD5 (skill-3.7@P3_tar.Z) = 3eee84402b8f765b6f923df783d08a76 diff --git a/sysutils/skill/files/patch-aa b/sysutils/skill/files/patch-aa new file mode 100644 index 000000000000..08d39549e179 --- /dev/null +++ b/sysutils/skill/files/patch-aa @@ -0,0 +1,34 @@ +--- Makefile.orig Mon May 5 10:29:16 1997 ++++ Makefile Thu Jun 5 09:52:07 1997 +@@ -49,16 +49,16 @@ + SHELL= /bin/sh + + # CONFIGURE: Set location of executable, it's group and mode. +-BINDIR= /usr/local/bin ++BINDIR= ${PREFIX}/bin + BINGRP= kmem + BINMOD= 2755 + + # CONFIGURE: Set location of man directory and man page suffix. +-MANDIR= /usr/man/manl +-MANSFX= l ++MANDIR= ${PREFIX}/man/man1 ++MANSFX= 1 + + # CONFIGURE(Config): Select an OSTYPE for your machine from the list above. +-OSTYPE= sys-5r4 ++OSTYPE= bsd-44 + + # CONFIGURE(Config): Add any OS-specific options here. + COPTS= +@@ -97,8 +97,8 @@ + # install -c -m 644 skill.1 ${DESTDIR}/${MANDIR}/skill.${MANSFX} + cp skill.1 ${DESTDIR}/${MANDIR}/skill.${MANSFX} + chmod 644 ${DESTDIR}/${MANDIR}/skill.${MANSFX} +- ln ${DESTDIR}/${MANDIR}/skill.${MANSFX}\ +- ${DESTDIR}/${MANDIR}/snice.${MANSFX} ++ #ln ${DESTDIR}/${MANDIR}/skill.${MANSFX}\ ++ # ${DESTDIR}/${MANDIR}/snice.${MANSFX} + + config Config: FRC + ./Config diff --git a/sysutils/skill/pkg-comment b/sysutils/skill/pkg-comment new file mode 100644 index 000000000000..b3970283178f --- /dev/null +++ b/sysutils/skill/pkg-comment @@ -0,0 +1 @@ +SuperKILL, a kill(1)/renice(8) utility with nice features diff --git a/sysutils/skill/pkg-descr b/sysutils/skill/pkg-descr new file mode 100644 index 000000000000..ba7597f2397f --- /dev/null +++ b/sysutils/skill/pkg-descr @@ -0,0 +1,10 @@ + `skill' is a program which sends signals to processes given +any combination of user names, ttys, commands, and pids. `snice' is +a program which changes the priority of processes (given the same). +It's actually one program which examines argv to determine what action +is to be taken on matching processes. It is similar to kill(1) and +renice(8), however the command line is completely order independent. +There are also verbose, search, and interactive modes of operation. + +The name `skill' stems from `SuperKILL', but if you use it under `csh', +you may discover another reason for calling it `skill' (hint "s!!"). diff --git a/sysutils/skill/pkg-plist b/sysutils/skill/pkg-plist new file mode 100644 index 000000000000..d894896c908f --- /dev/null +++ b/sysutils/skill/pkg-plist @@ -0,0 +1,4 @@ +bin/skill +bin/snice +man/man1/skill.1.gz +man/man1/snice.1.gz |