pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/46070: pkg_tarup source contains misguiding proposal



>Number:         46070
>Category:       pkg
>Synopsis:       pkg_tarup source contains misguiding proposal
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 22 00:00:00 +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.



Home | Main Index | Thread Index | Old Index