Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2008-04-14 | Remove glibc upgrade-helper kludge, only necessary for some ancient RHEL | Panu Matilainen | 1 | -3/+0 | |
2008-04-14 | Lose useless variable | Panu Matilainen | 1 | -4/+3 | |
2008-04-14 | Split scriptlet execv() preparations to separate function | Panu Matilainen | 1 | -84/+92 | |
- runScript() is way too big and still is, but this helps a bit... | |||||
2008-04-14 | Use argvAddNum() for passing package count numbers for scriptlets | Panu Matilainen | 1 | -8/+2 | |
2008-04-14 | Add argvAddNum() for adding integers to ARGV_t arrays | Panu Matilainen | 2 | -0/+19 | |
2008-04-14 | Use ARGV_t for passing around scriptlet args psm internally | Panu Matilainen | 1 | -51/+51 | |
- simplifies allocation and freeing while getting rid of alloca()'s - runScript() needs to add arguments anyway, might as well pass in something that *can* be modified without having play games with partial const, partial alloca() contents in the argv - removes the need for passing argc around - (unrelated) move fi->h NULL check in runScript() to beginning *before* we trie to access it, duh... | |||||
2008-04-14 | Add argvNew() to create an empty argv array | Panu Matilainen | 2 | -0/+13 | |
- yes it's silly ;) | |||||
2008-04-14 | Avoid redundant script name formatting | Panu Matilainen | 1 | -32/+30 | |
- remove two points of return to simplify allocations.. | |||||
2008-04-14 | Reduce #ifdef clutter | Panu Matilainen | 1 | -6/+4 | |
2008-04-14 | Streamline lua scriptlet name formatting - just do it once | Panu Matilainen | 1 | -10/+8 | |
2008-04-14 | Move legacy prefix compat thing out of the loop | Panu Matilainen | 1 | -12/+11 | |
- additionally fix indentation, move block local variable def there... | |||||
2008-04-14 | Don't bother calculating max prefix lengths | Panu Matilainen | 1 | -11/+1 | |
- no longer needed, prefixBuf is dynamically allocated as needed | |||||
2008-04-14 | Prevent buffer overflow in readKeys() | Jindrich Novy | 1 | -2/+3 | |
2008-04-11 | Use dynamic allocation in rpmlibNeedsFeature() | Jindrich Novy | 1 | -4/+9 | |
2008-04-11 | Don't warn about BuildRoot being "/" while it is actually empty | Jindrich Novy | 1 | -2/+6 | |
2008-04-11 | Simplify url retrieval in rpmInstall() | Panu Matilainen | 1 | -16/+8 | |
- use rpmMkTemp() instead of manual kludgery to static buffer | |||||
2008-04-11 | Simplify url io a lot | Panu Matilainen | 2 | -79/+34 | |
- move urlhelper call to urlGetFile() - have urlOpen() call urlGetFile() instead of going the other way around and causing local copies and all sorts of craziness in the process | |||||
2008-04-11 | Remove #ifdef NOTYET junk | Panu Matilainen | 1 | -24/+0 | |
2008-04-11 | Rewrite rpmMkTempFile() for sanity | Panu Matilainen | 7 | -100/+45 | |
- Actually use mkstemp() for creating the temp file and return a FD_t dupped from the file descriptor returned by mkstemp(). - Simplify the interface while at it. - Change callers for the new interface. - Yes we now require mkstemp() to work, mkstemp() is in POSIX.1-2001 and this is year 2008... | |||||
2008-04-10 | First crack at adding ISA provides to packages (rhbz#235755) | Panu Matilainen | 4 | -3/+70 | |
- Horrible kludgery to get the isa names and bits into platform specific macros from installplatform script. That beast needs to die. I mean really - In build, add provides: name(isa) = evr automatically when it makes sense (similarly to name = evr provides). ISA consists of ISA name and bitness (or wordsize). This can be used to correctly express multilib dependencies without resorting to (expensive!) file dependency kludges, eg for dlopen()'ed libraries where automatic dep extraction doesn't force dependency on 32bit vs 64bit version, you can now use: Requires: foo-plugin%{?_isa} This expands to foo-plugin(x86-32) for i?86 packages, foo-plugin(x86-64) to x86_64 etc, and permits spec to be shared with older distros which don't have ISA provides. - The same could be expressed with "canon arch" just as well, but using the ISA to differentiate from %_arch and the like: eg i386 could be used instead of x86-32 but it's overloaded with meanings (the actual i386 processor vs i386 compatible cpu family etc) | |||||
2008-04-10 | Avoid exporting providePackageNVR() in the library | Panu Matilainen | 2 | -8/+1 | |
2008-04-10 | Just call legacyRetrofit() instead of combined compress + provide retrofits | Panu Matilainen | 2 | -7/+4 | |
2008-04-10 | Add a static, far simpler addPackageProvides() to build | Panu Matilainen | 1 | -2/+19 | |
- use instead of providePackageNVR() which needs to deal with all sorts of hysteric "rpm 3.0.2 did this but 3.0.5 didn't" issues | |||||
2008-04-10 | Call rpmReadConfigFiles() in rpm2cpio so that rpm2cpio won't complain like: | Jindrich Novy | 1 | -0/+1 | |
warning: Unknown system: (null) warning: Please contact rpm-maint@lists.rpm.org | |||||
2008-04-10 | Remove unnecessary providePackageNVR() from writeRPM() | Panu Matilainen | 1 | -7/+2 | |
- packageBinaries() already calls providePackageNVR(), no need to do it twice | |||||
2008-04-10 | Unbreak srpm generation broken by 6c4b0cbd93709a0fa18af1ef07af44da585bb5f6 | Panu Matilainen | 1 | -5/+4 | |
- cpio path in source packages is the basename of the file, make this obvious by using basename() instead of pointer games | |||||
2008-04-09 | Don't use stack allocations in rpm2cpio when not needed | Jindrich Novy | 1 | -5/+2 | |
2008-04-09 | Replace alloca+memset with xcalloc() in rpmdbRemove() | Panu Matilainen | 1 | -6/+12 | |
- return value is suspect: should return "ret" instead of 0 at exit depending on what happened in removal but preserving previous behavior for now... | |||||
2008-04-09 | Replace alloca+memset with xcalloc() in rpmdbAdd() | Panu Matilainen | 1 | -4/+6 | |
2008-04-09 | Replace alloca+memset with xcalloc() in rpmdbCountPackages() | Panu Matilainen | 1 | -6/+10 | |
2008-04-09 | Tonne of indentation + other formatting corrections to rpmdb.c | Panu Matilainen | 1 | -70/+85 | |
- no functional changes | |||||
2008-04-09 | Remove dead code | Panu Matilainen | 1 | -25/+0 | |
2008-04-09 | Report full nevra in rpmdb remove debug message | Panu Matilainen | 1 | -3/+4 | |
2008-04-09 | Plug memleak from signature verification now returning malloced msg | Panu Matilainen | 1 | -0/+1 | |
2008-04-09 | Simplify addTE() | Panu Matilainen | 1 | -40/+23 | |
- eliminate wtf parsing of NEVR string which doesn't actually handle epoch - use NEVR and NEVRA formatting from headerGetN*() instead of doubling the work here | |||||
2008-04-09 | Make headerGetNEVRA() return "src" as the arch of source packages | Panu Matilainen | 1 | -2/+4 | |
2008-04-09 | Initialize pointers, lowercase local variable | Panu Matilainen | 1 | -4/+4 | |
2008-04-09 | Rewrite headerGetN*() for simplicity | Panu Matilainen | 1 | -26/+21 | |
- eliminate stpcpy() games - reuse evr formatting from headerGetEVR() instead of doing it over and over again everywhere | |||||
2008-04-09 | Fix buffer overflow in verifyDSASignature() | Jindrich Novy | 1 | -1/+2 | |
- caused by assumption that sizeof(size_t) is always 4 (credited to jbj) | |||||
2008-04-09 | Replace bunch of wtf evr formatters with headerGetNVR() | Panu Matilainen | 2 | -44/+11 | |
2008-04-09 | Add headerGetEVR() convenience function | Panu Matilainen | 2 | -0/+26 | |
- return formatted evr string + optionally pointer to name | |||||
2008-04-09 | Make headerNEVRA() actually return epoch too | Panu Matilainen | 2 | -2/+7 | |
- ...but epoch is an integer type in headers, change proto to match that | |||||
2008-04-09 | And one more url->path rename for local variable... | Panu Matilainen | 1 | -2/+2 | |
2008-04-09 | Rip the last remaining disk/file URL stuff in processSourceFiles() | Panu Matilainen | 1 | -15/+11 | |
2008-04-09 | And more url ripping in build internals... (addFile) | Panu Matilainen | 1 | -24/+19 | |
2008-04-09 | URL -> path renames continued... (build internal) | Panu Matilainen | 1 | -6/+6 | |
2008-04-09 | Rename FileListRec_s disk + cpio path variables | Panu Matilainen | 1 | -23/+23 | |
- on-disk is diskPath, rename previous fileURL to cpioPath to make it more obvious it's the path in the package cpio - neither is an URL | |||||
2008-04-09 | Yet more url ripping - buildroot is never an url | Panu Matilainen | 10 | -66/+58 | |
- 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-09 | Remove remote host stuff from build doScript() | Panu Matilainen | 1 | -55/+7 | |
2008-04-09 | More url-path ripping in build/ | Panu Matilainen | 1 | -29/+20 | |
- processBinaryFile() and processMetadataFile() don't need steenking urls |