Eric Andersen
7131213460
config.in features patch from Giulio Orsero <giulioo@pobox.com>
...
with some minor edits from me
2001-11-10 09:53:23 +00:00
Glenn L McGrath
0a25b35c66
Fix create list segfault
2001-11-03 08:29:35 +00:00
Glenn L McGrath
7134d6581b
Attempt to fix libc compiling error regarding off_t
2001-10-27 13:14:52 +00:00
Eric Andersen
c265b17550
Wrap exclude_file() inside a #ifdef CONFIG_FEATURE_TAR_EXCLUDE block
2001-10-27 03:20:00 +00:00
Glenn L McGrath
ee28362597
Menu entry for tar creation support
2001-10-25 18:37:41 +00:00
Glenn L McGrath
ef0eab514d
Recovering from my previous commit
2001-10-25 14:49:48 +00:00
Glenn L McGrath
0d2fb76c11
Modify applets to use libunarchive
2001-10-25 14:26:05 +00:00
Glenn L McGrath
95ebf618b7
*** empty log message ***
2001-10-25 14:18:08 +00:00
Matt Kraai
3c2f27d9f1
Add CONFIG_FEATURE_TAR_EXCLUDE support.
2001-10-24 18:51:27 +00:00
Eric Andersen
99702ab221
Fix variable name -- was stuck at the old RPMUNPACK value. Doh!
2001-10-24 17:37:07 +00:00
Eric Andersen
bdfd0d78bc
Major rework of the directory structure and the entire build system.
...
-Erik
2001-10-24 05:00:29 +00:00
Glenn L McGrath
6ccdd8c122
Abort if scripts return value != 0
2001-10-23 17:52:28 +00:00
Matt Kraai
a7512d74fa
Process extra empty lines correctly.
2001-10-18 17:03:59 +00:00
Matt Kraai
3dd4f5ed69
Remove xmalloc calls.
2001-10-18 15:08:30 +00:00
Eric Andersen
74400ccfd0
Scrub up some function prototypes.
...
-Erik
2001-10-18 04:11:39 +00:00
Glenn L McGrath
4bef7b4186
unarchive function changed to support both exclude and include lists, applets that use unarchive changed to match.
2001-10-13 19:43:46 +00:00
Glenn L McGrath
051eee6ed3
Reverse part of previous change.... i think it was the wrong approach... im lost
2001-10-13 07:11:03 +00:00
Glenn L McGrath
d642a67928
Match subdirectories of included/excluded files
2001-10-13 06:54:45 +00:00
Glenn L McGrath
0e766183ee
Superficial changes to make the exclude/include code easier to understand
2001-10-13 05:03:29 +00:00
Matt Kraai
f86bbfaddd
Fix tar segfault when include list is empty and exclude list is not.
2001-10-12 19:00:15 +00:00
Glenn L McGrath
30f68908ef
Another part of Stafan's latest patch, when replacing a pre-existing package set its status correctly.
2001-10-06 02:40:20 +00:00
Glenn L McGrath
f28d819554
status_package_num should refer to package not status.
...
Only initialise a new entry in the status hashtable if it really is a new entry.
2001-10-06 02:27:36 +00:00
Glenn L McGrath
24e2833cdf
Initial support for for bunzip2....
...
This code could be improvemed by
1) supporting more options,
2) Creating a shared crc table with gunzip, or perhaps generated on the fly.
3) Removing any remaining unneccessary code (e.g. if (noisy))
2001-10-05 03:48:57 +00:00
Glenn L McGrath
2e772edacf
Change extraction/list code to use common unarchive code.
2001-10-05 02:58:48 +00:00
Glenn L McGrath
a8412dbf39
Fixes with help from Stefan, Typo in prerm script, and when reinstall a package the old packages status was getting overwritten.
2001-10-04 05:22:42 +00:00
Glenn L McGrath
35636540ea
Extract control.tar.gz and data.tar.gz unconditionally, another one picked up by Stefan
2001-10-03 03:10:35 +00:00
Glenn L McGrath
95bfe631a4
Fix return status, picked up by Stefan
2001-09-29 03:34:38 +00:00
Glenn L McGrath
dece3c5684
The <package>.list file was prepending "./" to the files, fixed that.
...
Also fixed a very silly error by me when running postinst (remember to use the variable BEFORE its freed)
2001-09-22 04:16:55 +00:00
Glenn L McGrath
b8f5adb64f
Dont free everytime getline() is used, fix from Stefan Soucek
2001-09-22 03:24:07 +00:00
Glenn L McGrath
48cc89b738
Fix to make preinst run when required, from Stefan Soucek
2001-09-21 05:07:47 +00:00
Glenn L McGrath
e73866181f
Implement dpkg -l option, from Stefan Soucek (slightly modified)
2001-09-21 04:30:51 +00:00
Eric Andersen
dcbca62e89
Standard typing (u_int16_t instead of u16, u_int32_t instead
...
of u32, etc) cleanups from Laurence Anderson <laurence@zxmail.com>
2001-08-29 19:02:26 +00:00
Matt Kraai
ac20ce1924
Canonicalize dirname(3) behavior.
2001-08-24 19:51:54 +00:00
Eric Andersen
39eb040757
Patch from Rodney Brown <RDBrown@mira.net>, shrinking 1.5k
...
from gzip by careful optimization. Appears to work just fine
(I've tested the changes on x86, ARM, and powerpc).
2001-08-22 04:15:47 +00:00
Glenn L McGrath
bac490fe53
Fix version comparision bug
2001-08-15 11:25:01 +00:00
Glenn L McGrath
7499918f30
If filename is a '-' then read from stdin to stdout
2001-07-30 04:48:50 +00:00
Glenn L McGrath
81108e7653
Cleanup (most) memory leaks
2001-07-19 12:15:13 +00:00
Glenn L McGrath
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
Glenn L McGrath
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
Glenn L McGrath
ed4492a697
More feedback to user
2001-07-18 05:03:49 +00:00
Glenn L McGrath
7b0241579c
Be more verbose when configureing package, minor changes
2001-07-18 04:33:31 +00:00
Glenn L McGrath
4cdc607f72
Use xfopen to abort on error to prevent segfaulting later.
2001-07-18 03:13:49 +00:00
Eric Andersen
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
Glenn L McGrath
a868ec89e8
Allow the unarchive() extract_list variable to be NULL, meaning extract all
2001-07-14 08:49:53 +00:00
Glenn L McGrath
58a5bd187d
Tolerate fields with no data, e.g. "Depends: "
2001-07-14 06:25:54 +00:00
Glenn L McGrath
ccd65c9be6
Total rewrite, uses hash tables for speed and low memory use.
2001-07-13 18:35:24 +00:00
Glenn L McGrath
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
Glenn L McGrath
26a0d9a945
Call setvbuf from here isntead of gz_open for compatability with uclibc
2001-07-13 06:49:18 +00:00
Glenn L McGrath
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
Glenn L McGrath
c127008840
Allow unarchive to redirect stdout (tobe used by dpkg applet)
2001-07-11 17:32:14 +00:00