c3fbec73fb
Change read_package_field interface, and rewrite using low level functions
...
Fixes for a few bugs that have crept into dpkg in the last few days
2001-07-18 15:47:21 +00:00
8d3b0497a4
Fix extract_archive so it doesnt mangle filenames, dont try and extract "./" and strip leading "./" on other files
2001-07-18 13:22:44 +00:00
778041f8d1
Use the unofficial -C instead of -c to --configure a package, -c conflicts with another dpkg command
2001-07-18 05:17:39 +00:00
b9e4ce99d8
Update dpkg usage
2001-07-18 05:16:31 +00:00
ed4492a697
More feedback to user
2001-07-18 05:03:49 +00:00
7b0241579c
Be more verbose when configureing package, minor changes
2001-07-18 04:33:31 +00:00
6fc92a506a
Fail silently on failure to read tar header, its unfortunate that many tar implementations must be adding unwanted crap to the end of their archives.
...
It makes error reporting here more trouble than its worth
2001-07-18 03:23:10 +00:00
4cdc607f72
Use xfopen to abort on error to prevent segfaulting later.
2001-07-18 03:13:49 +00:00
bc4c030023
Cleanup from vodz
2001-07-17 01:14:06 +00:00
044228d5ec
This is vodz' latest patch. Sorry it took so long...
...
1) ping cleanup (compile fix from this patch already applied).
2) traceroute call not spare ntohl() now (and reduce size);
3) Fix for functions not declared static in insmod, ash, vi and mount.
4) a more simple API cmdedit :))
5) adds "stopped jobs" warning to ash on Ctrl-D and fixes "ignoreeof" option
6) reduce exporting library function index->strchr (traceroute), bzero->memset (syslogd)
2001-07-17 01:12:36 +00:00
51ded05b3b
enum entry for unarchive to be used by tar
2001-07-14 12:38:55 +00:00
a868ec89e8
Allow the unarchive() extract_list variable to be NULL, meaning extract all
2001-07-14 08:49:53 +00:00
58a5bd187d
Tolerate fields with no data, e.g. "Depends: "
2001-07-14 06:25:54 +00:00
06ef16563b
Allow featureless ping to compile, and featureful ping to shrink
...
(by Adam Slattery).
2001-07-13 20:56:27 +00:00
ccd65c9be6
Total rewrite, uses hash tables for speed and low memory use.
2001-07-13 18:35:24 +00:00
3d46224b78
Return NULL if file doesnt open in deb_extract
2001-07-13 18:16:57 +00:00
cfeb08a193
Make sure there is a trailing '\0' when extracting to buffer.
2001-07-13 17:59:48 +00:00
5e66a26eaa
Dont setvbuff in here, must be called just after stream is initialised, glibc tolerates using it later, uclibc doesnt
2001-07-13 06:51:56 +00:00
26a0d9a945
Call setvbuf from here isntead of gz_open for compatability with uclibc
2001-07-13 06:49:18 +00:00
b028e08d35
Move setvbuf calls from gz_open() to calling functions, setvbuf is only supposed to be called prior to opening the stream, glibc tolerates later use, uclibc doesnt.
2001-07-13 06:43:03 +00:00
7467c8d3b6
Patch from vodz:
...
Changed email address
cmdedit API change
optimizations for traceroute and md5sum
added a new shared create_icmp_socket() function
2001-07-12 20:26:32 +00:00
f69bfc76fa
Allow assignments in the export and readonly commands.
2001-07-12 19:39:59 +00:00
ab6526c8b3
Remove debugging statement.
2001-07-12 18:44:34 +00:00
3e94f729a5
Quiet mode, sometimes error messages arent wanted
2001-07-12 10:24:57 +00:00
c127008840
Allow unarchive to redirect stdout (tobe used by dpkg applet)
2001-07-11 17:32:14 +00:00
481d19b38e
Fix bug where it wasnt returning the last line of a multiline field
2001-07-11 15:43:03 +00:00
daf0b78e1a
Reverse part of my previous changes
2001-07-11 15:32:52 +00:00
93febe672a
free coniditionally, just to make it play nice with dmalloc which is incompatable with standard free()
2001-07-11 07:25:01 +00:00
c59fa37d40
Make the obj's generated from libbb/unarchive.c depend on the
...
Makefile, so things like setting DODMALLOC will cause them to
be recompiled
-Erik
2001-07-11 07:24:05 +00:00
248c57ca43
minor dmalloc inspired cleanups
2001-07-11 07:22:17 +00:00
59e50f634a
Unpack the filename not the package name
2001-07-11 03:30:11 +00:00
8c145dc31b
Fix a stupid search and replace bug...
2001-07-10 16:57:09 +00:00
55522080c6
Patch for md5sum from Aaron Lehmann <aaronl@vitelus.com> to slim
...
it down a little bit.
2001-07-10 16:31:29 +00:00
5c58d283bb
A traceroute applet from vodz. This could probably be slimmed down,
...
but will do for now...
2001-07-10 16:29:00 +00:00
91b84603d3
Cleanup from vodz
2001-07-10 16:25:34 +00:00
2a46634617
Make the rev be 0.53pre...
2001-07-10 15:24:16 +00:00
5710f9f690
Read 20 512-byte blocks at a time (like GNU tar).
2001-07-10 15:05:39 +00:00
654944fc36
Reverse my previous change, still cant compile with dmalloc
2001-07-10 14:33:22 +00:00
c3d2f1287e
When compiling unarchive objects link to $(LIBRARIES) incase using dmalloc
2001-07-10 14:04:30 +00:00
6199fa90e5
Update version number to 0.53pre.
2001-07-10 13:57:30 +00:00
6248355c6f
vodz' latest update to ash.c
2001-07-10 06:09:16 +00:00
5a4a46a251
Patch from vodz to support 'tr a-z A-Z' syntax.
2001-07-09 21:32:29 +00:00
f52947ba71
Fix the spec file so it works on redhat systems. At least I think
...
it will work on redhat. At least it now works on my Debian box...
-Erik
2001-07-09 18:34:12 +00:00
aa64ba459f
Minor working update
2001-07-07 16:36:29 +00:00
ceece81414
Move a bit more to the old news section
2001-07-07 09:38:30 +00:00
d0e5f86a10
Enable APPLETS_ALWAYS_WIN
2001-07-07 09:37:28 +00:00
d0b4d3dabf
Typo fix.
2001-07-07 08:47:21 +00:00
7b2dfc623b
Move some stuff to the oldnews area
2001-07-07 08:44:25 +00:00
40ecf7da88
Update web page...
2001-07-07 08:25:03 +00:00
5c3070b29c
Update changelogs
2001-07-07 08:13:27 +00:00