59 Commits

Author SHA1 Message Date
Alexey Tourbin
19e6de9d5e added support for .xz/.lzma compressed sources and patches
This also fixes some bugs:
- %uncompress macro never worked;
- %patch -s -b .orig never worked.
2009-09-29 14:18:01 +04:00
Alexey Tourbin
147801d6a6 rpmio.c: tweak lzma preset options for better compression 2009-09-26 02:47:34 +04:00
Alexey Tourbin
0cded3969f rpmio.c: updated lzdio for xz-5.0 API, added xzdio 2009-09-24 12:30:07 +04:00
7e293aed59 rpmio/macro.c (doShellEscape): Fix potential buffer underflow (ALT#11921) 2009-07-13 23:01:04 +00:00
3d4f77766e rpmmacro.h (rpmGetPath, rpmExpand): Add __attribute__ ((sentinel))
(cherry picked from commit 328d65def9a8271cb3415fb07c92b5c63aebf87d)
2008-11-13 06:46:42 +03:00
Alexey Tourbin
52b2499aff rpmio.c: implemented cpio hints for rsyncable_gzwrite() 2008-05-30 22:23:16 +04:00
Alexey Tourbin
8d5e355e06 rpmio.c: deal with partial rsyncable_gzwrite() return 2008-05-30 20:09:17 +04:00
Alexey Tourbin
f7b5ee1e80 rpmio.c: implemented rscynable_gzwrite() 2008-05-30 20:08:14 +04:00
Alexey Tourbin
c761902bcb rpmio.c: introduced rpmGZFILE wrapper for gzdio 2008-05-30 20:05:08 +04:00
Panu Matilainen
86679b599f Plug a memleak in lzclose() 2008-05-24 13:48:14 +04:00
Alexey Tourbin
9814453966 backported LZMA payload compression from SuSE 2008-05-24 13:47:41 +04:00
20400c24b8 rpmio/macro.c (doFoo): Fix potential buffer overflow in %homedir macro processing 2007-04-11 18:18:01 +00:00
08a6500862 rpmio/rpmrpc.c (Glob): Override gl_stat to allow broken symlinks. 2006-10-04 16:18:09 +00:00
df61ee0b9e Include local headers. 2006-05-15 03:26:57 +04:00
8787ee5d55 Fixed "type qualifiers ignored on function return type" issue. 2006-05-15 02:48:59 +04:00
41dcd7cb5f missing macro with length <=2 is not an error 2005-10-13 10:59:05 +00:00
b23ff9b127 implemented rpmSetBuiltinMacroLookupFailedOK 2005-10-12 23:35:17 +00:00
74ce1d569c expandMacro: unparseable macro is now just a warning 2005-10-06 21:50:47 +00:00
32956660df expandMacro: do not return error status due to unparseable macro 2005-10-06 19:15:05 +00:00
a392ed233f Introduced rpmBuiltinMacroLookup 2005-10-06 18:16:57 +00:00
c8f7261883 expandMacro: propagate error status from unrecognized macros 2005-10-06 15:24:04 +00:00
228f52209f when found unknown macro, skip known tags and set error status 2005-10-06 00:55:41 +00:00
71dfbb8215 Enhanced unparseable macro diagnostics in expandMacro() 2005-10-05 23:43:32 +00:00
4086557633 fixed rpmExpand usage 2005-09-29 16:01:17 +00:00
cb23936968 print error message for unparseable macros 2005-09-29 15:04:43 +00:00
ce031c62d6 reverted previous change 2005-06-29 18:04:46 +00:00
cb69eafd41 rpmInitMacrofileGlob: expand argument before processing 2005-06-23 14:09:04 +00:00
b59df3d771 fix "eats up newline" bug 2004-06-26 17:36:32 +00:00
4dd561a6c8 rdcl: optimized 2004-06-26 15:23:29 +00:00
67fbe0467b backported upstream change (2.107->2.108):
- fix: "/path/foo.../bar" was losing a dot (#123844).
2004-06-26 12:17:21 +00:00
0f82b5c7b9 backported upstream change (-r2.101 -r2.103 macro.c):
Made it so %* does not evaluate with a leading space.  For instance:

        %define xxx() "%{*}"
        %xxx 1 2 3

would evaluate to:

        " 1 2 3"

and now evaluates to:

   "1 2 3"
2004-06-26 12:11:28 +00:00
66c99c7f0d expandMacro: handle single % properly 2004-02-20 21:22:07 +00:00
872a1726f8 fixed compilation 2003-11-25 09:37:15 +00:00
65a1bfcf20 optimize out -lpthread 2003-11-25 09:15:28 +00:00
1cff6d97bc makefiles cleanup1 2003-11-24 20:44:29 +00:00
58e1dad6cc fixed compilation warnings 2003-11-24 18:59:03 +00:00
906d5c74b2 fixed gzclose error handling 2003-05-06 15:09:48 +00:00
27bf3c78ed do not skip files when globbing patterns containing ~ 2003-02-01 19:30:50 +00:00
b904bed04f filter out non-alphanumeric macro files, #0001925 2003-02-01 17:44:19 +00:00
8ed249f553 fixed warnings 2002-12-09 14:04:37 +00:00
6051b691a3 added macrofiles globbing 2002-08-29 17:20:29 +00:00
eec1435513 implemented MkdirP 2002-08-29 14:58:52 +00:00
4cc2386607 fixed %basename, dropped %username, added caching for %homedir 2002-08-13 11:28:42 +00:00
c3a7049f78 added username/homedir support 2002-08-12 15:53:39 +00:00
878c7ffd55 fixed typo made in latest merge 2002-08-03 17:10:56 +00:00
3da7dab205 reverted latest merge related to beecrypt (won't change libbeecrypt API) 2002-08-03 17:07:51 +00:00
6cc64fa4ea updated code to snapshot 2002-06-15 of 4_0 branch 2002-08-03 16:35:14 +00:00
1afe894c52 updated code to snapshot 2002-05-23 of 4_0 branch 2002-06-05 11:06:46 +00:00
1ade659615 dependency_libs cleanup for: -lrt -lpthread -lpopt -lbeecrypt 2002-03-26 16:27:08 +00:00
fb0cfc221f removed: -lrt -lpthread 2002-03-26 16:00:26 +00:00