diff options
author | kim <kim@pkgsrc.org> | 1998-08-04 15:20:07 +0000 |
---|---|---|
committer | kim <kim@pkgsrc.org> | 1998-08-04 15:20:07 +0000 |
commit | d7eb4d26847a452ea81954709ba79abcc474bb96 (patch) | |
tree | 115d56ec184f0c17014183d31a974b59f1812ff0 /sysutils/skill | |
parent | 8cabc1463fee8cdb337c0a06c4727b0ecd5b26b6 (diff) | |
download | pkgsrc-d7eb4d26847a452ea81954709ba79abcc474bb96.tar.gz |
Addition of skill/snice (skill-3.7.5)
Diffstat (limited to 'sysutils/skill')
-rw-r--r-- | sysutils/skill/Makefile | 23 | ||||
-rw-r--r-- | sysutils/skill/files/md5 | 1 | ||||
-rw-r--r-- | sysutils/skill/patches/patch-aa | 69 | ||||
-rw-r--r-- | sysutils/skill/pkg/COMMENT | 1 | ||||
-rw-r--r-- | sysutils/skill/pkg/DESCR | 10 | ||||
-rw-r--r-- | sysutils/skill/pkg/PLIST | 5 |
6 files changed, 109 insertions, 0 deletions
diff --git a/sysutils/skill/Makefile b/sysutils/skill/Makefile new file mode 100644 index 00000000000..3057e7cb24a --- /dev/null +++ b/sysutils/skill/Makefile @@ -0,0 +1,23 @@ +# $NetBSD: Makefile,v 1.1 1998/08/04 15:20:07 kim Exp $ + +DISTNAME= skill-3.7@P4 +PKGNAME= skill-3.7.5 +WRKSRC= ${WRKDIR}/${PKGNAME} +CATEGORIES= sysutils +MASTER_SITES= ftp://jaguar.cs.utah.edu/pub/skill/ +EXTRACT_SUFX= _tar.Z + +MAINTAINER= kim@tac.nyc.ny.us + +BINMODE= 02555 +BINGRP= kmem + +MAKE_ENV+= UVM=${UVM} + +pre-install: + ${INSTALL_PROGRAM} ${WRKSRC}/skill ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/skill.1 ${PREFIX}/man/man1 + ln -s skill ${PREFIX}/bin/snice + ln -s skill.1 ${PREFIX}/man/man1/snice.1 + +.include "../../mk/bsd.pkg.mk" diff --git a/sysutils/skill/files/md5 b/sysutils/skill/files/md5 new file mode 100644 index 00000000000..6943b72fc8d --- /dev/null +++ b/sysutils/skill/files/md5 @@ -0,0 +1 @@ +MD5 (skill-3.7@P4_tar.Z) = 808d29e4c2538bf47dfd546cfce9607e diff --git a/sysutils/skill/patches/patch-aa b/sysutils/skill/patches/patch-aa new file mode 100644 index 00000000000..3bdb6a16b94 --- /dev/null +++ b/sysutils/skill/patches/patch-aa @@ -0,0 +1,69 @@ +--- Makefile.orig Wed Oct 29 14:28:22 1997 ++++ Makefile Sat Aug 1 20:56:09 1998 +@@ -50,22 +50,29 @@ + 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= + ++.ifndef UVM ++UVM= ++.endif ++.if ${UVM} != "" ++COPTS+= -DUVM ++.endif ++ + # CONFIGURE(Config): Add any special libraries your system needs. +-LIBS= ++LIBS= -lkvm + + SRCS= main.c argparse.c getproc.c + OBJS= main.o argparse.o getproc.o +@@ -86,20 +93,20 @@ + + install: skill + #(SysV) filepriv -d ${DESTDIR}/${BINDIR}/skill +- rm -f ${DESTDIR}/${BINDIR}/skill ${DESTDIR}/${MANDIR}/skill.${MANSFX} +- rm -f ${DESTDIR}/${BINDIR}/snice ${DESTDIR}/${MANDIR}/snice.${MANSFX} ++# rm -f ${DESTDIR}/${BINDIR}/skill ${DESTDIR}/${MANDIR}/skill.${MANSFX} ++# rm -f ${DESTDIR}/${BINDIR}/snice ${DESTDIR}/${MANDIR}/snice.${MANSFX} + # install -c -g ${BINGRP} -m ${BINMOD} -s skill ${DESTDIR}/${BINDIR} +- cp skill ${DESTDIR}/${BINDIR}/skill +- strip ${DESTDIR}/${BINDIR}/skill +- chgrp ${BINGRP} ${DESTDIR}/${BINDIR}/skill +- chmod ${BINMOD} ${DESTDIR}/${BINDIR}/skill +- ln ${DESTDIR}/${BINDIR}/skill ${DESTDIR}/${BINDIR}/snice ++# cp skill ${DESTDIR}/${BINDIR}/skill ++# strip ${DESTDIR}/${BINDIR}/skill ++# chgrp ${BINGRP} ${DESTDIR}/${BINDIR}/skill ++# chmod ${BINMOD} ${DESTDIR}/${BINDIR}/skill ++# ln ${DESTDIR}/${BINDIR}/skill ${DESTDIR}/${BINDIR}/snice + #(SysV) filepriv -f dacread ${DESTDIR}/${BINDIR}/skill + # 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} ++# cp skill.1 ${DESTDIR}/${MANDIR}/skill.${MANSFX} ++# chmod 644 ${DESTDIR}/${MANDIR}/skill.${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 00000000000..0f2e47af34b --- /dev/null +++ b/sysutils/skill/pkg/COMMENT @@ -0,0 +1 @@ +send signals to or renice processes given user names, ttys, commands, or pids diff --git a/sysutils/skill/pkg/DESCR b/sysutils/skill/pkg/DESCR new file mode 100644 index 00000000000..3eab575712c --- /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 00000000000..2d106951d5f --- /dev/null +++ b/sysutils/skill/pkg/PLIST @@ -0,0 +1,5 @@ +@comment $NetBSD: PLIST,v 1.1 1998/08/04 15:20:08 kim Exp $ +bin/skill +bin/snice +man/man1/skill.1 +man/man1/snice.1 |