summaryrefslogtreecommitdiff
path: root/build/parsePrep.c
AgeCommit message (Collapse)AuthorFilesLines
2008-04-20Sanitize + simplify %patch "macro" parsingPanu Matilainen1-92/+69
- Use popt for parsing %patch options, give accurate error messages for invalid options instead of bogosity like "bad %patch arg: %build" - Store all the variants we can get patch numbers into argv to avoid special cases when passing to doPatch(), this has the added bonus of removing the 1024 patches per line-limit (as if somebody cared)
2008-04-20Single exit point for doPatchMacro()Panu Matilainen1-27/+17
- assuming failure avoids several redundant free() + return RPMRC_FAILS
2008-04-17Eliminate splitString() and freeSplitString()Panu Matilainen1-4/+5
- use ARGV_t instead, it does the same and more...
2008-04-09Yet more url ripping - buildroot is never an urlPanu Matilainen1-1/+1
- this is a bit nasty as it changes public interfaces but rename to make it explicit they're just plain paths, not urls
2008-04-04%{_builddir} is not an url, everPanu Matilainen1-4/+2
2008-04-04We only ever deal with local, regular files in doUntar()Panu Matilainen1-25/+7
2008-04-04We only ever deal with local, regular files in doPatch()Panu Matilainen1-24/+5
2008-03-29Don't use static buffer ptr as return value in doUntar()Jindrich Novy1-28/+20
2008-03-23Fix buffer overflow while creating patch script, avoid fixed sized buffers.Jindrich Novy1-34/+53
2008-03-06Mark bunch of static build-related tables as read-onlyPanu Matilainen1-2/+2
2008-02-22Use %__tar instead of hardcoded tar in build prepPanu Matilainen1-4/+13
2008-02-22Don't use legacy gzipbin etc macros in buildPanu Matilainen1-5/+5
2008-02-22Make %patch use %__patch instead of hardcoded patch.. patchy huh?Panu Matilainen1-4/+7
2008-02-03Make rpmtag.h standalone, include from rpmtypes.hPanu Matilainen1-1/+1
- permits header.h to use the tag types - revert other includes back to header.h, more crazy #include churn... - rpmTagTable etc in header.h for now, don't really belong there but...
2008-01-30rpmlib.h mass evictionPanu Matilainen1-0/+1
- explicitly include what's really needed instead - document remaining uses
2008-01-27Rename isCompressed() -> rpmFileIsCompressed() for namespacingPanu Matilainen1-2/+2
2007-12-16Remove couple of bogus const uses in temp variablesPanu Matilainen1-2/+4
2007-12-15Make bunch of build internal code take const parametersPanu Matilainen1-2/+2
2007-12-15Remove bogus const from rpmGenPath() temporary targetsPanu Matilainen1-1/+1
2007-12-15Remove bogus const from rpmGetPath() temporary targetsPanu Matilainen1-2/+2
2007-12-14Bogus const removal continued...Panu Matilainen1-2/+1
2007-12-08Switch to <rpm/foo.h> style for public headersPanu Matilainen1-3/+3
- adjust include paths accordingly
2007-12-07Yet more rpmbuild fixups from rpmerr.h removal (partly from rpm5.org)Panu Matilainen1-26/+26
- additionally use rpmRC return types instead of numbers where appropriate
2007-12-03Use regular POSIX functions instead of "RPC" clonesPanu Matilainen1-2/+2
- we only care about local files
2007-11-23Move file compression stuff from rpmmacro.h to rpmfileutil.hPanu Matilainen1-0/+1
2007-11-23Move string helpers from lib/misc.h to rpmio/rpmstring.hPanu Matilainen1-1/+0
- splitString, freeSplitString, stripTrailingChar
2007-11-23Use #include <x.h> syntax to include public headers.Ralf Corsépius1-2/+2
2007-11-19Lose rpmerr.h for goodPanu Matilainen1-1/+1
2007-11-19Replace all RPMERR_* etc uses with corresponding RPMLOG_* levelsPanu Matilainen1-34/+34
2007-10-29Remove couple of useless rpmio_internal includesPanu Matilainen1-1/+0
2007-10-28Include "rpmbuild.h" instead of <rpmbuild.h>.Ralf Corsépius1-1/+1
2007-10-28Include "rpmio_internal.h" instead of <rpmio_internal.h>.Ralf Corsépius1-1/+1
2007-10-10Add support for lzma compressed "Sources".Ralf Corsépius1-0/+3
2007-10-09Make rpmerr.h private, include directly where needed.Panu Matilainen1-0/+1
2007-10-09Replace all rpmError() uses with rpmlog()Panu Matilainen1-16/+16
2007-09-21Rename Spec -> rpmSpec for namespacingPanu Matilainen1-5/+5
2007-09-17misc.h is a private headerPanu Matilainen1-0/+1
- include it from build/*.c where needed - dont install
2007-09-11Remove splint tags.Ralf Corsépius1-45/+10
2007-08-29Fix various cases of build failing due to whitespace in dir/filenames.Panu Matilainen1-7/+8
2007-08-15Replace MKDIR_P and MKDIR with RPM_MKDIR_P and RPM_MKDIR to avoid conflicts ↵Ralf Corsépius1-1/+1
with automake's build-in MKDIR_P/MKDIR
2007-06-20Duh, remember to initialize opt_FPanu Matilainen1-1/+1
2007-06-19Add support for specifying fuzz factor to %patch (rhbz#243720)Panu Matilainen1-15/+36
Based on rpm5.org patch, additionally support both -F1 and -F 1 formats. Use stpcpy() instead of strcat() for doPatch() args processing.
2004-11-28- add support for automagic pubkey retrieval using HKP.jbj1-0/+2
CVS patchset: 7617 CVS date: 2004/11/28 21:14:41
2004-11-04Stub in URL_IS_HTTPS everywhere.jbj1-0/+2
CVS patchset: 7536 CVS date: 2004/11/04 13:29:11
2003-05-08- don't use error string after gzclose (Dmitry V. Levin).jbj1-5/+5
Spliddles for rpmio, drill h_errno all the way through. CVS patchset: 6826 CVS date: 2003/05/08 20:39:29
2002-08-07Teach unzip about %setup -q.jbj1-1/+4
CVS patchset: 5609 CVS date: 2002/08/07 14:20:45
2002-07-20- popt: parse file into string of options (#56860).jbj1-2/+0
CVS patchset: 5560 CVS date: 2002/07/20 19:02:40
2002-07-08Propagate splint-3.0.1.7 close(2) internalState annotation throughout.jbj1-13/+11
CVS patchset: 5542 CVS date: 2002/07/08 14:21:26
2002-07-02Add boundsread annotations throughout, enable +bounds checking.jbj1-0/+4
Start narrowing the scope of bounds annotations by adding more annotations. CVS patchset: 5537 CVS date: 2002/07/02 23:54:35
2002-06-23Add boundswrite annotations everywhere.jbj1-0/+6
CVS patchset: 5522 CVS date: 2002/06/23 19:47:08