CVS log for pkgsrc/mk/scripts/Attic/extract
Up to [cvs.NetBSD.org] / pkgsrc / mk / scripts
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.22
Tue Jun 6 03:05:48 2006 UTC (20 years, 5 months ago) by jlam
Branches: MAIN
CVS tags: pkgsrc-2013Q2-base,
pkgsrc-2013Q2,
pkgsrc-2012Q4-base,
pkgsrc-2012Q4,
pkgsrc-2011Q4-base,
pkgsrc-2011Q4,
pkgsrc-2011Q2-base,
pkgsrc-2011Q2,
pkgsrc-2009Q4-base,
pkgsrc-2009Q4,
pkgsrc-2008Q4-base,
pkgsrc-2008Q4,
pkgsrc-2008Q3-base,
pkgsrc-2008Q3,
pkgsrc-2008Q2-base,
pkgsrc-2008Q2,
pkgsrc-2008Q1-base,
pkgsrc-2008Q1,
pkgsrc-2007Q4-base,
pkgsrc-2007Q4,
pkgsrc-2007Q3-base,
pkgsrc-2007Q3,
pkgsrc-2007Q2-base,
pkgsrc-2007Q2,
pkgsrc-2007Q1-base,
pkgsrc-2007Q1,
pkgsrc-2006Q4-base,
pkgsrc-2006Q4,
pkgsrc-2006Q3-base,
pkgsrc-2006Q3,
pkgsrc-2006Q2-base,
pkgsrc-2006Q2,
jlam-pkgviews-base,
jlam-pkgviews,
cube-native-xorg-base,
cube-native-xorg,
HEAD
FILE REMOVED
Changes since revision 1.21: +1 -1
lines
Refactor "fetch" and "extract" code into correspondingly named
subdirectories of pkgsrc/mk. Move the following files around for
locality:
pkgsrc/mk/scripts/extract -> pkgsrc/mk/extract/extract
pkgsrc/mk/bsd.sites.mk -> pkgsrc/mk/fetch/sites.mk
Also get rid of the recursive make for the "fetch" and "extract"
targets. This basically merges the "fetch" and "extract" phases into
the "patch" phase.
There is still much more work to do to simplify the fetch code, but
this is a good start.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Tue May 30 23:51:38 2006 UTC (20 years, 5 months ago) by wiz
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -2
lines
Recognize -tar.gz as tar.gz files. PR 33571 by Dieter Roelants.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun Feb 19 15:38:23 2006 UTC (20 years, 9 months ago) by adrianp
Branches: MAIN
CVS tags: pkgsrc-2006Q1-base,
pkgsrc-2006Q1
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +3 -3
lines
Add .tar.bz support
Revision 1.19: download - view: text, markup, annotated - select for diffs
Sat Feb 4 18:06:47 2006 UTC (20 years, 9 months ago) by rillig
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +28 -15
lines
- Added "set -e" at the top of the file to prevent uncontrolled execution.
- Added "set -u" at the top of the file to prevent spelling errors.
- Renamed UNZIP to UNZIP_CMD, since that is used by the rest of pkgsrc.
- Found a singleton use of $extract_options and replaced it with
${EXTRACT_OPTS_LHA}.
- Took the default assignment for TMPDIR out of the block. All other
entries are tools.
- Removed unnecessary variables.
- Make sure that distfile can always be resolved, even if the current
working directory is changed.
- Provide default values for all EXTRACT_OPTS_* variables, as close as
possible to the point where they are used.
- Replaced all "$@" with ${1+"$@"} to avoid errors when no parameters are
given.
- Made the removal of the temporary file for .tar extraction more robust.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Fri Feb 3 11:22:12 2006 UTC (20 years, 9 months ago) by joerg
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -2
lines
.tar.z is a valid tar extension.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Thu Feb 2 14:28:17 2006 UTC (20 years, 9 months ago) by joerg
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -2
lines
Fix unrar usage: the command to extract is 'x', without hyphen.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue Jan 24 15:26:06 2006 UTC (20 years, 9 months ago) by jlam
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -2
lines
Ensure that decompress_cat and tarprog always have vaild default values
in the case where the user makes bad option choices on the command line.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon Jan 23 17:52:02 2006 UTC (20 years, 9 months ago) by wiz
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -2
lines
Handle *.ZIP the same way as *.zip -- fixes fonts/cyberbit-ttf extraction.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Sat Jan 21 19:26:09 2006 UTC (20 years, 9 months ago) by jlam
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +16 -3
lines
Allow using standard input for the archive contents for tar and shar
extraction.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat Jan 21 18:21:08 2006 UTC (20 years, 9 months ago) by jlam
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +7 -3
lines
Fix the case where -X excludefile is used so that we don't error out trying
to remove "".
Revision 1.12: download - view: text, markup, annotated - select for diffs
Sat Jan 21 18:01:26 2006 UTC (20 years, 9 months ago) by jlam
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +14 -2
lines
Teach the extract script how to exclude files specified on the command
line from extraction when using tar (it already knew how to do it for pax).
Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Jan 21 16:48:10 2006 UTC (20 years, 9 months ago) by jlam
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +4 -3
lines
Teach extract how to extract *.z files using gzip.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat Jan 21 16:40:19 2006 UTC (20 years, 9 months ago) by jlam
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +13 -2
lines
Teach the extract script a "-d dir" option to extract into a specific
directory.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Jan 21 15:33:05 2006 UTC (20 years, 9 months ago) by jlam
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +10 -5
lines
Fix up the comments, and add a fall-through for unrecognized archive
formats.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Sat Jan 21 14:31:56 2006 UTC (20 years, 9 months ago) by jlam
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -3
lines
Fix other instance of _ZOO -> _ZIP and remove a debugging line.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Jan 21 14:23:08 2006 UTC (20 years, 9 months ago) by jlam
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -2
lines
unzip should be using EXTRACT_OPTS_ZIP, not *_ZOO.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Jan 21 05:24:36 2006 UTC (20 years, 9 months ago) by jlam
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +40 -16
lines
Teach the extract script to simply copy the distfile over to the
current working directory by default if it can't figure out what type
of archive it is. This handles the most common case of overriding
EXTRACT_CMD in package Makefiles, which is to copy a C file or a Perl
script over to the work directory.
Also, modify the script to allow the file format to be specified on
the command line via a -f option, which will force the extract script
to interpret the archive as the specified a format. This covers the
case where there is a distfile with an unusual file extension that is
actually in well-known format, and we would like to just tell the
extract script which format this is.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Jan 20 23:58:49 2006 UTC (20 years, 10 months ago) by jlam
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +7 -2
lines
Teach this script a default extraction method for *.bin files (which are
what Sun packagse its JRE/JDKs as). While here, cleanup up the comments
slightly.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Jan 20 22:26:12 2006 UTC (20 years, 10 months ago) by jlam
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +28 -7
lines
Support listing files/patterns for exclusion in an "excludefile",
which is correctly parsed and translated into the correct syntax for
the underlying tool.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Jan 20 20:00:44 2006 UTC (20 years, 10 months ago) by jlam
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +8 -1
lines
Add some whitespace for readability.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Jan 20 20:00:15 2006 UTC (20 years, 10 months ago) by jlam
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -3
lines
Fix processing of -t tarprog.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Jan 20 18:00:45 2006 UTC (20 years, 10 months ago) by jlam
Branches: MAIN
First pass at a script that replaces many of the variables, loops and
logic in bsd.pkg.extract.mk. This script "knows" how to extract files
depending on their file extension.
CVSweb <webmaster@jp.NetBSD.org>