o Remove incorporated patch
o Update to 1.7 PR: 33622 Submitted by: maintainer
This commit is contained in:
@@ -8,8 +8,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= kenny
|
||||
PORTVERSION= 1.6
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 1.7
|
||||
CATEGORIES= misc perl5
|
||||
MASTER_SITES= http://www.h.shuttle.de/mitch/stuff/
|
||||
DISTNAME= kenny.pl-${PORTVERSION}
|
||||
|
||||
@@ -1 +1 @@
|
||||
MD5 (kenny.pl-1.6.gz) = 49c51ed4a33cd475cb4add69acfc46bf
|
||||
MD5 (kenny.pl-1.7.gz) = 2205f33c7088bde718b7fbab32716814
|
||||
|
||||
@@ -1,42 +0,0 @@
|
||||
--- kenny.orig Sat Jan 5 23:45:34 2002
|
||||
+++ kenny Sat Jan 5 23:45:34 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! You bastards!\n";
|
||||
+ exit 0;
|
||||
+}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user