NetBSD Problem Report #46070
From www@NetBSD.org Tue Feb 21 23:56:02 2012
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
by www.NetBSD.org (Postfix) with ESMTP id 97E0763BDD0
for <gnats-bugs@gnats.NetBSD.org>; Tue, 21 Feb 2012 23:56:02 +0000 (UTC)
Message-Id: <20120221235601.D425563BCEF@www.NetBSD.org>
Date: Tue, 21 Feb 2012 23:56:01 +0000 (UTC)
From: gnrp@komkon2.de
Reply-To: gnrp@komkon2.de
To: gnats-bugs@NetBSD.org
Subject: pkg_tarup source contains misguiding proposal
X-Send-Pr-Version: www-1.0
>Number: 46070
>Category: pkg
>Synopsis: pkg_tarup source contains misguiding proposal
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Feb 22 00:00:00 +0000 2012
>Closed-Date: Wed Feb 22 07:39:18 +0000 2012
>Last-Modified: Wed Feb 22 07:40:01 +0000 2012
>Originator: Julian Fagir
>Release: current
>Organization:
>Environment:
>Description:
The pkg_tarup sources contain a hint that it should be rewritten in C. However, this was refused:
http://mail-index.netbsd.org/tech-pkg/2012/01/03/msg008325.html
The appended patch puts another clarification about that into the source, instead of the proposal
>How-To-Repeat:
tail /usr/pkgsrc/pkgtools/pkg_tarup/files/pkg_tarup
>Fix:
Index: pkgtools/pkg_tarup/files/pkg_tarup
===================================================================
RCS file: /cvsroot/pkgsrc/pkgtools/pkg_tarup/files/pkg_tarup,v
retrieving revision 1.26
diff -u -r1.26 pkg_tarup
--- pkgtools/pkg_tarup/files/pkg_tarup 3 Jan 2012 12:57:20 -0000 1.26
+++ pkgtools/pkg_tarup/files/pkg_tarup 21 Feb 2012 23:53:07 -0000
@@ -266,8 +266,8 @@
- maybe the squirelling away of +REQUIRED_BY should be done here
instead of in the bsd.pkg.mk framework that normally calls this.
-integration:
+future:
- - how/where? I'd prefer not to have yet another pkg_* utility flying
- around, integration into pkg_admin would be nice. But how merge a
- shell script into a C executable? REWRITE in C of course! ;-)
+ - this script very likely doesn't create a clean copy of the old package,
+ and therefore is rather meant to be a hack to recreate packages
+ instead of a clean way of packing up things after having them installed.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Wed, 22 Feb 2012 07:39:18 +0000
State-Changed-Why:
Committed, thanks!
From: "Thomas Klausner" <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/46070 CVS commit: pkgsrc/pkgtools/pkg_tarup/files
Date: Wed, 22 Feb 2012 07:39:05 +0000
Module Name: pkgsrc
Committed By: wiz
Date: Wed Feb 22 07:39:05 UTC 2012
Modified Files:
pkgsrc/pkgtools/pkg_tarup/files: pkg_tarup
Log Message:
Update "integration" section per
http://mail-index.netbsd.org/tech-pkg/2012/01/03/msg008325.html
Frm Julian Fagir in PR 46070.
To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 pkgsrc/pkgtools/pkg_tarup/files/pkg_tarup
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.