diff options
author | kent <kent@pkgsrc.org> | 2002-06-23 14:42:00 +0000 |
---|---|---|
committer | kent <kent@pkgsrc.org> | 2002-06-23 14:42:00 +0000 |
commit | 70a8ccb2798aecc255337e94005e881acf3cae5a (patch) | |
tree | 50edb1779b336f3562dbeed0979c300649013700 | |
parent | d38cf99706baada1d7f2178bef44b03601fbf718 (diff) | |
download | pkgsrc-70a8ccb2798aecc255337e94005e881acf3cae5a.tar.gz |
Fix for truncated process name problem decribed in pkg/10416.
Increment PKGREVISION.
-rw-r--r-- | sysutils/skill/Makefile | 3 | ||||
-rw-r--r-- | sysutils/skill/distinfo | 3 | ||||
-rw-r--r-- | sysutils/skill/patches/patch-ab | 23 |
3 files changed, 27 insertions, 2 deletions
diff --git a/sysutils/skill/Makefile b/sysutils/skill/Makefile index 291f7884f5c..0f48cf0a6c3 100644 --- a/sysutils/skill/Makefile +++ b/sysutils/skill/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.13 2002/04/29 10:43:16 wiz Exp $ +# $NetBSD: Makefile,v 1.14 2002/06/23 14:42:00 kent Exp $ # DISTNAME= skill-4.1 +PKGREVISION= 1 CATEGORIES= sysutils MASTER_SITES= ftp://fast.cs.utah.edu/pub/skill/ EXTRACT_SUFX= .tgz diff --git a/sysutils/skill/distinfo b/sysutils/skill/distinfo index 97a92ca9d60..c8f321a5b52 100644 --- a/sysutils/skill/distinfo +++ b/sysutils/skill/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.3 2002/04/29 10:43:16 wiz Exp $ +$NetBSD: distinfo,v 1.4 2002/06/23 14:42:00 kent Exp $ SHA1 (skill-4.1.tgz) = d4f548347c34462156276f96185afa9862621338 Size (skill-4.1.tgz) = 45923 bytes SHA1 (patch-aa) = fc94b72896cb1d1023bb9a254540eb28bf5479cf +SHA1 (patch-ab) = aad60006de98aba965a9cc5c8f0cfc6b358e5c3c diff --git a/sysutils/skill/patches/patch-ab b/sysutils/skill/patches/patch-ab new file mode 100644 index 00000000000..c136829b584 --- /dev/null +++ b/sysutils/skill/patches/patch-ab @@ -0,0 +1,23 @@ +$NetBSD: patch-ab,v 1.9 2002/06/23 14:42:01 kent Exp $ + +--- main.c~ Sat Apr 6 13:26:01 2002 ++++ main.c +@@ -46,6 +46,9 @@ + #include <stdio.h> + #include <errno.h> + #include <pwd.h> ++#ifdef __NetBSD__ ++# include <sys/sysctl.h> ++#endif + + /* + * Processes which could not be checked -- usually due to permission +@@ -137,7 +140,7 @@ + for (i = 0; i < CmdIndx; i++) { + cmdp = (CmdList + i); + if ((cmdp->flags & CMD_FLAG_EXACT) != 0 && +- STREQU(CMD, cmdp->cmd.cmdstr)) ++ STRNEQU(CMD, cmdp->cmd.cmdstr, KI_MAXCOMLEN-8)) + break; + else if ((cmdp->flags & CMD_FLAG_REGEX) != 0 && + RegexMatch(CMD, cmdp) != 0) |