From owner-freebsd-ports Sat Jan 5 7:40:40 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A01EF37B50B for ; Sat, 5 Jan 2002 07:40:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g05Fe1d78076; Sat, 5 Jan 2002 07:40:01 -0800 (PST) (envelope-from gnats) Received: from wwweasel.geeksrus.net (wwweasel.geeksrus.net [64.67.200.82]) by hub.freebsd.org (Postfix) with ESMTP id 64B4E37B417 for ; Sat, 5 Jan 2002 07:32:06 -0800 (PST) Received: (from alane@localhost) by wwweasel.geeksrus.net (8.11.6/8.11.6) id g05FV1L96315; Sat, 5 Jan 2002 10:31:01 -0500 (EST) (envelope-from alane) Message-Id: <200201051531.g05FV1L96315@wwweasel.geeksrus.net> Date: Sat, 5 Jan 2002 10:31:01 -0500 (EST) From: Alan Eldridge Reply-To: Alan Eldridge To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/33576: maintainer-update: misc/kenny now reacts appropriately to being killed Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 33576 >Category: ports >Synopsis: maintainer-update: misc/kenny now reacts appropriately to being killed >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sat Jan 05 07:40:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Alan Eldridge >Release: FreeBSD 4.4-STABLE i386 >Organization: Geeksrus.NET >Environment: System: FreeBSD wwweasel.geeksrus.net 4.4-STABLE FreeBSD 4.4-STABLE #0: Sun Dec 2 19:14:12 EST 2001 root@wwweasel.geeksrus.net:/usr/obj/usr/src/sys/WWWEASEL i386 >Description: An appropriate message is now emitted if kenny is killed. >How-To-Repeat: >Fix: Index: misc/kenny/Makefile =================================================================== RCS file: /home/alane/cvsroot/ports/misc/kenny/Makefile,v retrieving revision 1.1 diff -u -3 -r1.1 Makefile --- misc/kenny/Makefile 2 Jan 2002 23:22:26 -0000 1.1 +++ misc/kenny/Makefile 5 Jan 2002 15:25:20 -0000 @@ -9,6 +9,7 @@ PORTNAME= kenny PORTVERSION= 1.6 +PORTREVISION= 1 CATEGORIES= misc perl5 MASTER_SITES= http://www.h.shuttle.de/mitch/stuff/ DISTNAME= kenny.pl-${PORTVERSION} @@ -19,6 +20,7 @@ USE_PERL5= yes NO_BUILD= yes +NO_WRKSUBDIR= yes MAN1= kenny.1 Index: misc/kenny/files/patch-kenny =================================================================== RCS file: misc/kenny/files/patch-kenny diff -N misc/kenny/files/patch-kenny --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ misc/kenny/files/patch-kenny 5 Jan 2002 15:26:58 -0000 @@ -0,0 +1,42 @@ +--- kenny.orig Sat Jan 5 10:23:55 2002 ++++ kenny Sat Jan 5 10:26:37 2002 +@@ -149,6 +149,7 @@ + sub translate($); + sub addGermanUmlauts($); + sub printHelp(); ++sub theyKilledKenny(); + + + +@@ -169,6 +170,15 @@ + + + ++##### Install signal handlers ++ ++$SIG{HUP} = \&theyKilledKenny; ++$SIG{INT} = \&theyKilledKenny; ++$SIG{QUIT} = \&theyKilledKenny; ++$SIG{TERM} = \&theyKilledKenny; ++ ++ ++ + ##### Parse commandline arguments + + # "-h" switch (print help): +@@ -224,6 +234,15 @@ + ##### That's all, folks! + + exit 0; ++ ++ ++##### Signal handler, if we're kill(1)ed ++ ++sub theyKilledKenny() ++{ ++ print "Oh my God! They killed Kenny! The bastards!\n"; ++ exit 0; ++} + + + >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message