Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-08-25 | Eliminate an exit point from parseSpec() | Panu Matilainen | 1 | -2/+2 | |
2010-08-24 | Eliminate newOpenFileInfo() from librpmbuild API | Panu Matilainen | 1 | -0/+15 | |
- Nothing outside parseSpec.c needs, bury it there and make static | |||||
2010-08-20 | Remove signing support from (lib)rpmbuild | Panu Matilainen | 1 | -3/+1 | |
- Signing is better done in an environment completely separated from the process of actually building packages. This is how its generally done anyway by distros, this change just forces the issue. - While signing on build seems handy and saves some io-churn, this is very insecure as your precious secret passphrase remains unencrypted in memory for the entire duration of the build where it's accessible to whatever happens to be building. This change doesn't affect fix the issue of unencrypted passphrase residing in memory and potentially getting swapped out, it only limits the exposure to the actual signing process which isn't subject to unknown scripts poking around. - Minimally preserve rpmbuild's --sign functionality via popt --pipe hack to call rpm --addsign when build completes | |||||
2010-05-24 | Put the macro evaluation in spec comments back. | Jindrich Novy | 1 | -11/+0 | |
- '#' at the beginning doesn't need to always represent comment in spec but can be part of the embedded bash script (RhBug:594672 - comment 6) | |||||
2010-05-21 | Do not evaluate macros in spec comments (RhBug:594672) | Jindrich Novy | 1 | -0/+11 | |
2010-04-12 | readLineFromOFI may modify the fileStack, thus we have to re-set | Michael Schroeder | 1 | -0/+1 | |
ofi after calling it | |||||
2010-01-05 | Move <errno.h> include out of system.h to the places that need it | Panu Matilainen | 1 | -0/+2 | |
2009-10-16 | Since we really want a FILE* then get one in the first place | Panu Matilainen | 1 | -8/+7 | |
- this is visible in the librpmbuild exported goo, rename the member to force build-breakage on the poor souls trying to use librpmbuild API | |||||
2009-09-02 | Eliminate uses of headerNVR() and friends in librpmbuild code | Panu Matilainen | 1 | -3/+2 | |
2009-08-31 | Replace equal/not equal uses of str[n]cmp() with rstreq[n] in build code | Panu Matilainen | 1 | -9/+9 | |
2009-08-17 | Add default %clean section unless overridden in spec (ticket #81) | Panu Matilainen | 1 | -0/+7 | |
- avoids silly clutter in every specfile in the regular case but permits overriding if needed for whatever reason - it's a spec behavior change but mostly backwards compatible: existing specs will do whatever the %clean does, and if you need to avoid calling %clean for whatever reason just keep an empty %clean in the spec | |||||
2009-08-12 | rpmbuild won't segfault when %including spec with zero size | Jindrich Novy | 1 | -1/+1 | |
2009-07-23 | Kill off lclint remnants everywhere | Panu Matilainen | 1 | -3/+0 | |
- remove ancient and likely irrelevant LCL comments and bogus NULL checks | |||||
2009-06-01 | Generate spec part string lengths at build time and make it const | Panu Matilainen | 1 | -36/+26 | |
2008-12-05 | Tighten up setting and checking of buildroot (ticket #10) | Panu Matilainen | 1 | -9/+0 | |
- expand, set and verify buildroot just once for after main package preamble is parsed to avoid sub-packages from overriding it - spec can still mess with %buildroot by defining it to something else after preamble but that's another issue... | |||||
2008-10-23 | Make noarch subpackages actually work | Panu Matilainen | 1 | -1/+4 | |
- noarch subpackages get their arch tag from parsePreamble() already, don't stomp over it later in parseSpec() | |||||
2008-08-06 | Simplify spec buildroot hysteria | Panu Matilainen | 1 | -17/+12 | |
- BuildRoot: in spec is now really ignored - parseSpec() uses default %{buildroot} unless overridden - BuildRoot is forced for all builds | |||||
2008-06-19 | Use type-specific headerPut() on all of build/parseSpec.c | Panu Matilainen | 1 | -12/+3 | |
2008-06-17 | Convert parseSpec to headerPut() | Panu Matilainen | 1 | -5/+12 | |
2008-05-21 | Include rpmtypes.h first instead of rpmtag.h everywhere | Panu Matilainen | 1 | -1/+1 | |
2008-05-05 | Trap RPMRC_FAIL returns from spec parse with abort() for now | Panu Matilainen | 1 | -0/+4 | |
2008-05-05 | Make readLine() return PART_ERROR on errors | Panu Matilainen | 1 | -7/+7 | |
2008-05-05 | Fix (hopefully ;) signaling for line continuations on spec parsing | Panu Matilainen | 1 | -8/+9 | |
2008-05-05 | Indentation fixes | Panu Matilainen | 1 | -10/+9 | |
2008-05-05 | Make parseSpec() return PART_ERROR on all errors | Panu Matilainen | 1 | -6/+4 | |
- also fix memleak from buildroot errors | |||||
2008-05-05 | Start cleaning up the rpmerr removal mess of build/ return codes | Panu Matilainen | 1 | -11/+11 | |
- define PART_ERROR for error returns from various parse bits, teach parseSpec() about it - streamline parseSpec() exists | |||||
2008-04-11 | Don't warn about BuildRoot being "/" while it is actually empty | Jindrich Novy | 1 | -2/+6 | |
2008-04-09 | Yet more url ripping - buildroot is never an url | Panu Matilainen | 1 | -11/+9 | |
- this is a bit nasty as it changes public interfaces but rename to make it explicit they're just plain paths, not urls | |||||
2008-03-24 | Eliminate bogus const's from OFI_t and spectags structs | Panu Matilainen | 1 | -2/+2 | |
2008-03-18 | Minimal namespacing for locale-insensitive x*() string functions | Panu Matilainen | 1 | -7/+7 | |
2008-03-06 | Make yet more build tables readonly | Panu Matilainen | 1 | -2/+1 | |
- preambleList and partList are modified runtime for silly reasons, reminders to fix later.. | |||||
2008-01-30 | rpmlib.h mass eviction | Panu Matilainen | 1 | -0/+2 | |
- explicitly include what's really needed instead - document remaining uses | |||||
2008-01-09 | Implementation of triggerprein scriptlets. | Panu Matilainen | 1 | -0/+2 | |
Ported from rpm5.org work of Jeff Johnson to 4.4.x by Pascal Rigaux, further adopted to fit HEAD... | |||||
2007-12-22 | Fix multi-line macro expansion in last line of spec (mdvbz#27417) | Panu Matilainen | 1 | -18/+39 | |
Patch from Pascal Rigaux: 1. creating functions restoreFirstChar(), copyNextLineFromOFI() and copyNextLineFinish() out of copyNextLine() 2. creating function readLineFromOFI() out of readLine() 3. inline copyNextLine 4. if we can restoreFirstChar, then use it, otherwise read from file (ie don't read from file when we have a remaining multiline macro in spec->nextline) | |||||
2007-12-16 | More constfree for spec exposed stuff for now | Panu Matilainen | 1 | -2/+2 | |
- openfileinfo seems easily made opaque, revisit later | |||||
2007-12-14 | Bogus const removal continued... | Panu Matilainen | 1 | -7/+7 | |
2007-12-14 | More size_t type pedantry | Panu Matilainen | 1 | -1/+1 | |
2007-12-08 | Switch to <rpm/foo.h> style for public headers | Panu Matilainen | 1 | -5/+5 | |
- adjust include paths accordingly | |||||
2007-12-07 | rpm5.org: fixup spec parsing from rpmerr.h removal | Panu Matilainen | 1 | -16/+20 | |
- renumber rpmParseState enums to leave room for error codes | |||||
2007-11-23 | Move rpmGetPath and rpmGenPath to rpmfileutil.h | Panu Matilainen | 1 | -0/+1 | |
2007-11-23 | Use #include <x.h> syntax to include public headers. | Ralf Corsépius | 1 | -4/+4 | |
2007-11-19 | Lose rpmerr.h for good | Panu Matilainen | 1 | -1/+1 | |
2007-11-19 | Replace all RPMERR_* etc uses with corresponding RPMLOG_* levels | Panu Matilainen | 1 | -25/+25 | |
2007-11-08 | Remove dead rpmrc-related code from spec parsing | Panu Matilainen | 1 | -49/+0 | |
2007-10-29 | Add SKIPSPACE, SKIPNONSPACE. | Ralf Corsépius | 1 | -0/+3 | |
2007-10-29 | Use fdGetFILE() instead of rpmio internal fdGetFp() everywhere | Panu Matilainen | 1 | -3/+1 | |
2007-10-28 | Include "rpmbuild.h" instead of <rpmbuild.h>. | Ralf Corsépius | 1 | -1/+1 | |
2007-10-28 | Include "rpmio_internal.h" instead of <rpmio_internal.h>. | Ralf Corsépius | 1 | -1/+1 | |
2007-10-09 | Make rpmerr.h private, include directly where needed. | Panu Matilainen | 1 | -0/+1 | |
2007-10-09 | Replace all rpmError() uses with rpmlog() | Panu Matilainen | 1 | -11/+11 | |