diff options
Diffstat (limited to 'converters')
-rw-r--r-- | converters/pstotext/Makefile | 3 | ||||
-rw-r--r-- | converters/pstotext/distinfo | 4 | ||||
-rw-r--r-- | converters/pstotext/patches/patch-ab | 4 |
3 files changed, 6 insertions, 5 deletions
diff --git a/converters/pstotext/Makefile b/converters/pstotext/Makefile index b2e4b047806..6182e5f2a46 100644 --- a/converters/pstotext/Makefile +++ b/converters/pstotext/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.1.1.1 2010/04/25 12:46:19 obache Exp $ +# $NetBSD: Makefile,v 1.2 2010/04/28 07:32:40 obache Exp $ # DISTNAME= pstotext-1.9 +PKGREVISION= 1 CATEGORIES= converters print MASTER_SITES= ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/contrib/ diff --git a/converters/pstotext/distinfo b/converters/pstotext/distinfo index f65497b832b..983997b8e24 100644 --- a/converters/pstotext/distinfo +++ b/converters/pstotext/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.1.1.1 2010/04/25 12:46:19 obache Exp $ +$NetBSD: distinfo,v 1.2 2010/04/28 07:32:40 obache Exp $ SHA1 (pstotext-1.9.tar.gz) = d84732ba42301a8905f6b14f37d8b57ff8b42a3e RMD160 (pstotext-1.9.tar.gz) = 16dc199d19df64280184d11ccbced7a32770ddad Size (pstotext-1.9.tar.gz) = 37461 bytes SHA1 (patch-aa) = ea34c276a605580e9a80427c9f5588c98f8778a0 -SHA1 (patch-ab) = 862d995d54d6962e7e5264674344671fa6308fb1 +SHA1 (patch-ab) = 5273ef0a2380619e3ee4c02606327ff6bd5ba3ec diff --git a/converters/pstotext/patches/patch-ab b/converters/pstotext/patches/patch-ab index 0ca60b4176e..f1fe64ea7c3 100644 --- a/converters/pstotext/patches/patch-ab +++ b/converters/pstotext/patches/patch-ab @@ -1,4 +1,4 @@ -$NetBSD: patch-ab,v 1.1.1.1 2010/04/25 12:46:19 obache Exp $ +$NetBSD: patch-ab,v 1.2 2010/04/28 07:32:41 obache Exp $ * Set absolute path for GS cmmand. * Fixes CVE-2005-2536 and SA20012 @@ -133,7 +133,7 @@ $NetBSD: patch-ab,v 1.1.1.1 2010/04/25 12:46:19 obache Exp $ + if (p == 0) { /* child */ + close(fd[0]); + dup2(fd[1], 1); /* Redirect stdout into pipe to parent */ -+ execvp("gs", gs_argv); ++ execvp(gs_cmd, gs_argv); + perror("execvp: "); status=cleanup(); exit(1); + } else { /* parent */ + close(fd[1]); |