summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1997-06-05 17:03:25 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1997-06-05 17:03:25 +0000
commit02263f31a54f52cbeccf86aef7bcaf183d4dd0cf (patch)
tree634578c5b0081197921608ad3d336b099b0c8331 /sysutils
parentRemove ${PREFIX}/lib/rwhois/dev/zero character device from install and PLIST. (diff)
`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)
Notes
Notes: svn path=/head/; revision=6775
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/skill/Makefile32
-rw-r--r--sysutils/skill/distinfo1
-rw-r--r--sysutils/skill/files/patch-aa34
-rw-r--r--sysutils/skill/pkg-comment1
-rw-r--r--sysutils/skill/pkg-descr10
-rw-r--r--sysutils/skill/pkg-plist4
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