summaryrefslogtreecommitdiff
path: root/build.c
AgeCommit message (Collapse)AuthorFilesLines
2008-04-28Remove alloca() from build()Jindrich Novy1-1/+2
2008-04-22Relax spec permissions in tar build mode (rhbz#253648)Panu Matilainen1-0/+5
- mkstemp() can create the spec in overly protective mode (rpmlint whines), relax up to what users umask permits
2008-04-16Don't use mktemp(), we are sure mkstemp() is available nowJindrich Novy1-4/+0
2008-04-04Oops, no newline at end of filename please...Panu Matilainen1-1/+1
2008-04-04Get rid of the horrid zcmd hackery in buildPanu Matilainen1-12/+4
- rpmExpand() with %uncompress macro etc simplifies things a lot
2008-04-04Stop pretending spec can be an URL or stdin, neither worksPanu Matilainen1-35/+26
- simplifies buildForTarget() somewhat - while at it, eliminate remaining unsafe string operations
2008-04-04Wait for popen() to finish before passing to isSpecFile()Panu Matilainen1-2/+2
2008-04-04Move spec extraction from tarball out of buildForTarget(), simplifyPanu Matilainen1-98/+99
- use basename() and dirname() instead of manual pointer manipulation games - static buffer only used for reading tar output, sizes checked
2008-04-04Oops, add --wildcards back to spec extractionPanu Matilainen1-1/+1
- shouldn't really have to hardcode such stuff but...
2008-04-04Assume failure in buildForTarget() to remove redundancyPanu Matilainen1-9/+1
2008-04-04Refactor spec extraction on tar build to address several issuesPanu Matilainen1-28/+27
- simplify the code - use %{__tar} instead of tar as the extraction command - avoid sprintf to "big enough" buffer - basic spec sanity check while extracting, fixes rhbz#281391
2008-04-04Spec of size zero cannot be a valid spec filePanu Matilainen1-0/+3
2008-03-24Use regular stream functions instead of rpmio in spec sanity checkPanu Matilainen1-6/+6
2008-03-07Log message adjustmentsPanu Matilainen1-2/+2
- dont waste translator time by having them translate obscure debug messages - adjust some suspect looking logging levels - mark some non-debug messages for translation where missing..
2008-01-30Include spring-cleaningPanu Matilainen1-1/+1
- put some consistency into include ordering - everything (apart from bits missed ;) is now ordered like this 1. "system.h" 2. other system includes 3. rpm public headers 4. rpm private headers 5. "debug.h"
2008-01-30rpmlib.h mass evictionPanu Matilainen1-0/+2
- explicitly include what's really needed instead - document remaining uses
2008-01-27Rename isCompressed() -> rpmFileIsCompressed() for namespacingPanu Matilainen1-1/+1
2007-12-15Remove bogus const from rpmGenPath() temporary targetsPanu Matilainen1-1/+1
2007-12-15Remove bogus const from rpmGetPath() temporary targetsPanu Matilainen1-1/+1
2007-12-08Switch to <rpm/foo.h> style for public headersPanu Matilainen1-7/+7
- adjust include paths accordingly
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-23Use #include <x.h> syntax to include public headers.Ralf Corsépius1-6/+6
2007-11-19Lose rpmerr.h for goodPanu Matilainen1-1/+1
2007-11-19Replace all RPMERR_* etc uses with corresponding RPMLOG_* levelsPanu Matilainen1-10/+10
2007-10-28Include "rpmbuild.h" instead of <rpmbuild.h>.Ralf Corsépius1-1/+1
2007-10-28Include "rpmcli.h" instead of <rpmcli.h>.Ralf Corsépius1-1/+1
2007-10-10Kick out polish comment.Ralf Corsépius1-5/+0
2007-10-09Make rpmerr.h private, include directly where needed.Panu Matilainen1-0/+1
2007-10-09Replace all uses of RPMMESS_ERROR with RPMLOG_ERRPanu Matilainen1-1/+1
2007-10-09Replace all rpmMessage() uses with rpmlog()Panu Matilainen1-1/+1
2007-10-09Replace all rpmError() uses with rpmlog()Panu Matilainen1-10/+10
2007-09-21Rename Spec -> rpmSpec for namespacingPanu Matilainen1-1/+1
2007-09-11Remove splint tags.Ralf Corsépius1-23/+6
2007-08-29Fix various cases of build failing due to whitespace in dir/filenames.Panu Matilainen1-2/+2
2007-07-12Fix yet-another-compiler-warning.Panu Matilainen1-1/+1
tmpSpecFile gets passed to mkstemp() which expects to modify the template thus discarding const
2007-07-03Pass --wildcards to tar on build (rhbz#206841)Panu Matilainen1-1/+1
Tar no longer accepts globbing by default as it's incompatible with traditional implementations: http://lists.gnu.org/archive/html/bug-tar/2006-06/msg00001.html Rpm needs to work with upstream tar really, the --wildcards option has been supported since 2001 so older versions shouldn't suffer either.
2007-06-08Allow characters >127 that don't fit the current locale in thePanu Matilainen1-0/+5
specfile (e.g. latin1 in utf-8 locale). Patch from OpenSuSE.
2007-04-16Check getcwd return value, abort if rpm cannot determine currentPaul Nasrat1-2/+9
directory. Patch from OpenSuSE
2004-10-17- free rpmrc when looping on --target arches (#127730).jbj1-0/+2
CVS patchset: 7479 CVS date: 2004/10/17 19:00:10
2003-12-26- don't use mktemp if mkstemp is available (#103850).jbj1-9/+7
CVS patchset: 7012 CVS date: 2003/12/26 17:36:38
2003-05-08- don't use error string after gzclose (Dmitry V. Levin).jbj1-3/+3
Spliddles for rpmio, drill h_errno all the way through. CVS patchset: 6826 CVS date: 2003/05/08 20:39:29
2002-12-24- fix: remove rpmfi scareMem so that headers can be reloaded on ia64.jbj1-1/+1
- fix: set DB_PRIVATE, not DB_ENV_PRIVATE, if unshared posix mutexes. - remove useless kernel/glibc dependencies (#79872). - add matching "config(N) = EVR" dependencies iff %%config is found. CVS patchset: 5963 CVS date: 2002/12/24 07:21:04
2002-12-22- simplify specfile query linkage loop.jbj1-2/+7
- drill rpmts into parseSpec(), carrying Spec along. CVS patchset: 5958 CVS date: 2002/12/22 02:11:05
2002-08-06- add bitmask for precise control of signature/digest verification.jbj1-6/+6
CVS patchset: 5604 CVS date: 2002/08/06 01:41:44
2002-07-29Remove debugging printf.jbj1-1/+0
CVS patchset: 5580 CVS date: 2002/07/29 23:13:54
2002-07-28- python: don't segfault in ts.GetKeys() on erased packages.jbj1-0/+12
resurrect build modes. add undocumented debugging options. CVS patchset: 5577 CVS date: 2002/07/28 14:52:33
2002-07-21- add methods to make signature handling opaque wrto rpmts.jbj1-6/+4
CVS patchset: 5566 CVS date: 2002/07/21 22:06:19
2002-07-08Propagate splint-3.0.1.7 close(2) internalState annotation throughout.jbj1-2/+2
CVS patchset: 5542 CVS date: 2002/07/08 14:21:26
2002-07-02Add boundsread annotations throughout, enable +bounds checking.jbj1-0/+2
Start narrowing the scope of bounds annotations by adding more annotations. CVS patchset: 5537 CVS date: 2002/07/02 23:54:35