NetBSD Problem Report #44014
From cheusov@tut.by Sat Oct 30 09:12:17 2010
Return-Path: <cheusov@tut.by>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id 0C3DD63B873
for <gnats-bugs@gnats.netbsd.org>; Sat, 30 Oct 2010 09:12:17 +0000 (UTC)
Message-Id: <871v78doyd.fsf@asrock.chizhovka.net>
Date: Sat, 30 Oct 2010 12:12:10 +0300
From: cheusov@tut.by
To: gnats-bugs@gnats.NetBSD.org
Subject: Update for sysutils/mktemp [patch]
X-Send-Pr-Version: 3.95
>Number: 44014
>Category: pkg
>Synopsis: Update for sysutils/mktemp [patch]
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: sketch
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sat Oct 30 09:15:00 +0000 2010
>Closed-Date: Wed Mar 23 10:17:00 +0000 2011
>Last-Modified: Wed Mar 23 10:20:01 +0000 2011
>Originator: Aleksey Cheusov
>Release: NetBSD 5.1_RC3
>Organization:
>Environment:
System: NetBSD asrock.chizhovka.net 5.1_RC3 NetBSD 5.1_RC3 (GENERIC) #1: Mon Jun 28 00:06:07 EEST 2010 cheusov@asrock.chizhovka.net:/srv/obj/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
patch for updating sysutils/mktemp is below.
Major changes in upstream
Temporary file names now include digits in addition to letters.
mktemp will now terminate after 2*N^62 attempts, where N
is the number of Xs in the template. Previously it would try
forever.
Fixed UTF8 formatting of the grave accent character in the manual.
patch-ab is needed anymore.
>How-To-Repeat:
>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/mktemp/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- Makefile 12 Dec 2009 23:20:52 -0000 1.8
+++ Makefile 30 Oct 2010 09:09:12 -0000
@@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.8 2009/12/12 23:20:52 asau Exp $
#
-DISTNAME= mktemp-1.6
+DISTNAME= mktemp-1.7
CATEGORIES= sysutils security
MASTER_SITES= ftp://ftp.mktemp.org/pub/mktemp/ \
ftp://ftp.usa.openbsd.org/pub/mktemp/
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/mktemp/distinfo,v
retrieving revision 1.6
diff -u -r1.6 distinfo
--- distinfo 12 Dec 2009 23:20:52 -0000 1.6
+++ distinfo 30 Oct 2010 09:09:12 -0000
@@ -1,6 +1,5 @@
$NetBSD: distinfo,v 1.6 2009/12/12 23:20:52 asau Exp $
-SHA1 (mktemp-1.6.tar.gz) = 562ee9f2b7033a90196409961c2137917c125838
-RMD160 (mktemp-1.6.tar.gz) = f29953ed51fe0f593c7407467ec1b99f24b5813d
-Size (mktemp-1.6.tar.gz) = 79154 bytes
-SHA1 (patch-ab) = cc2499cad500853d76cfd8d7840930e6a1364c6e
+SHA1 (mktemp-1.7.tar.gz) = 6a4098623cd65b9037b301b8f71c62454ccab2d9
+RMD160 (mktemp-1.7.tar.gz) = c6ad39326af4585a36e1846a6a6a8ce56d24265d
+Size (mktemp-1.7.tar.gz) = 78792 bytes
Index: patches/patch-ab
===================================================================
RCS file: patches/patch-ab
diff -N patches/patch-ab
--- patches/patch-ab 12 Dec 2009 23:20:52 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,21 +0,0 @@
-$NetBSD: patch-ab,v 1.1 2009/12/12 23:20:52 asau Exp $
-
---- Makefile.in.orig 2008-08-17 19:38:34.000000000 +0400
-+++ Makefile.in 2009-12-13 02:16:34.000000000 +0300
-@@ -106,13 +106,13 @@
- install: install-dirs install-binaries install-man
-
- install-dirs:
-- $(SHELL) $(srcdir)/mkinstalldirs $(bindir) $(mandir)/man1
-+ $(SHELL) $(srcdir)/mkinstalldirs $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1
-
- install-binaries: $(PROG)
-- $(INSTALL) -m 0555 -s $(PROG) $(bindir)/$(PROG)
-+ $(INSTALL) -m 0555 -s $(PROG) $(DESTDIR)$(bindir)/$(PROG)
-
- install-man:
-- $(INSTALL) -m 0444 $(srcdir)/mktemp.$(mantype) $(mandir)/man1/mktemp.1
-+ $(INSTALL) -m 0444 $(srcdir)/mktemp.$(mantype) $(DESTDIR)$(mandir)/man1/mktemp.1
-
- check:
- @echo nothing to check
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->sketch
Responsible-Changed-By: hauke@NetBSD.org
Responsible-Changed-When: Sat, 30 Oct 2010 16:36:16 +0000
Responsible-Changed-Why:
Over to maintainer.
State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Wed, 23 Mar 2011 10:17:00 +0000
State-Changed-Why:
Committed, thanks.
From: "Thomas Klausner" <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/44014 CVS commit: pkgsrc/sysutils/mktemp
Date: Wed, 23 Mar 2011 10:16:23 +0000
Module Name: pkgsrc
Committed By: wiz
Date: Wed Mar 23 10:16:23 UTC 2011
Modified Files:
pkgsrc/sysutils/mktemp: Makefile distinfo
Removed Files:
pkgsrc/sysutils/mktemp/patches: patch-ab
Log Message:
Update to 1.7, based on PR 44014 from Aleksey Cheusov.
Set LICENSE.
Major changes in upstream
Temporary file names now include digits in addition to letters.
mktemp will now terminate after 2*N^62 attempts, where N
is the number of Xs in the template. Previously it would try
forever.
Fixed UTF8 formatting of the grave accent character in the manual.
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/sysutils/mktemp/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/sysutils/mktemp/distinfo
cvs rdiff -u -r1.1 -r0 pkgsrc/sysutils/mktemp/patches/patch-ab
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.