summaryrefslogtreecommitdiffstats
path: root/RPM4/src
Commit message (Collapse)AuthorAgeFilesLines
* (Header_string) make it compile again with rpm < 4.19Thierry Vignaud2022-04-292-0/+12
| | | | | | | Technically headerUnload() has been deprecated by headerExport() in rpm-4.10, but let's keep using the old testedcode path in rpm < 4.18 but starts using and testing the new code path in 4.18+ before headerUnload() removal in 4.19
* (Te_files) make it compile again with rpm < 4.12Thierry Vignaud2022-04-292-0/+10
| | | | | | Technically the old code would compile up to 4.18 but: - rpmteFI() has been obsoleted in 4.12 - it segfaults (see next commit) whereas new code path works in 4.18
* Fix segfaultThierry Vignaud2022-04-291-1/+0
| | | | | We cannot free an rpmfi object we just wrapped into a SV Bug introduced in commit f6d333affb60e5364bf30355869fd359da2317e8
* Prepare for rpm-4.19: switch away from rpmteFI()Thierry Vignaud2022-04-271-4/+8
| | | | Test Te->files btw (which shows it was segfaulting before...)
* Prepare for rpm-4.19: switch to headerExport()Thierry Vignaud2022-04-271-3/+3
|
* Fix detecting 4.18-alpha1Thierry Vignaud2022-04-271-1/+1
|
* Fix RPM4.xs/libperl.so mismatch on i586Thierry Vignaud2020-12-141-1/+2
| | | | | | | | | | It's OK on aarch64 & on x86_64 but it's broken on i586 eg: $ perl -MRPM4 RPM4.c: loadable library and perl binaries are mismatched (got handshake key 0x9100080, needed 0x9180080) Just build with the flags used to build perl itself in order to fix it
* handle RPM version with "beta" or "rc" in itThierry Vignaud2020-06-031-0/+1
| | | | | | | Was already done in commit d939d0fcd43955f367768b4a0f378e360d6bd3ce But got dropped in commit 66504834514cdf96f5a366864982f0d2a0267ea2 when switching to ExtUtils::PkgConfig
* fix comparing version when using a fixup rpm releaseThierry Vignaud2020-04-241-1/+3
| | | | | | | | | | force using a version object rationale: - 4.12.0.2 < 4.12.90 will wrongly pass - v4.12.0.2 < 4.12.90 will check as we expect Thus fixing detecting rpm version so that we do compile with rpm < 4.13 See eg: http://www.cpantesters.org/cpan/report/315efa38-85f8-11ea-adf4-f9341f24ea8f
* explainThierry Vignaud2020-04-241-0/+3
|
* simplify testing rpm version like URPM doesThierry Vignaud2020-04-231-10/+1
| | | | | | | | | | It's no more needed to list all point version unless there's a change in them we want to test for (such as 4.12.90) Thus fixing detecting unlisted rpm versions such as http://www.cpantesters.org/cpan/report/1d673d18-503a-11ea-8fff-b48f1f24ea8f where 4.13.0.1 wasn't listed and thus choked on rpm >= 4.15 code path set by commit 9e3deaefdbc54910d58dea28d06c2678673c9d09
* typo fixThierry Vignaud2020-04-231-1/+1
|
* fix detecting rpm-4.15.x finalThierry Vignaud2020-02-141-0/+1
|
* fix building with rpm-4.15Thierry Vignaud2019-09-091-0/+6
|
* kill useless argThierry Vignaud2017-11-061-5/+3
|
* add special case for patched rpm-4.12 in Mageia 5, various Debian & FCThierry Vignaud2017-11-062-1/+6
|
* explicitely check for rpm-4.1[0-2].0Thierry Vignaud2017-11-061-0/+6
| | | | thus preventing rpm-4.1[0-2] users to choke on rpmPkgSign
* fix commentsThierry Vignaud2017-11-061-2/+2
|
* let rpm version to be known in cpan tester logsThierry Vignaud2017-11-061-1/+3
| | | | in order to investigate some strange compilation failures
* use ExtUtils::PkgConfig in order to find rpmThierry Vignaud2017-11-061-3/+5
| | | | | We need to include {cflags} even if empty on Linux as it contains -I/usr/local/include on eg: FreeBSD
* fix a segfault regression with rpm-4.14Panu Matilainen2017-10-281-1/+1
| | | | | it only happens when the perl callback wrapper also calls the default librpm callback too
* (transreset) fix a segfaultThierry Vignaud2017-10-281-0/+1
| | | | always set root to sg sensitive
* fix segfault in testsuitetv2016-10-261-2/+1
| | | | | | | | | | | else we segfault in plugins/syslog.c's syslog_tsm_pre() because rpmtsRootDir(ts) returns NULL rpmlib expects rootdir to always have been set testsuite was segfaulting since at least mga5/rpm-4.12 git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@261 971eb68f-4bfb-0310-8326-d2484c010a4c
* drop methods only supported in rpm < 4.9tv2015-08-011-50/+0
| | | | git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@257 971eb68f-4bfb-0310-8326-d2484c010a4c
* fix compiling with rpm-4.13tv2015-08-012-0/+5
| | | | git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@256 971eb68f-4bfb-0310-8326-d2484c010a4c
* simplify after last committv2015-08-011-56/+0
| | | | git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@255 971eb68f-4bfb-0310-8326-d2484c010a4c
* drop support for rpm > 4.9.0tv2015-08-012-104/+0
| | | | git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@254 971eb68f-4bfb-0310-8326-d2484c010a4c
* drop support for repackage (not working anymore since rpm-4.6)tv2012-10-051-12/+0
| | | | git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@231 971eb68f-4bfb-0310-8326-d2484c010a4c
* (srcrpm) simplify through using RPMTAG_NOSOURCEtv2012-10-051-1/+1
| | | | git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@230 971eb68f-4bfb-0310-8326-d2484c010a4c
* indenttv2012-06-261-3/+3
| | | | git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@228 971eb68f-4bfb-0310-8326-d2484c010a4c
* perl_checker cleanups, thus fixing --rpmversion (broken for 6+ years...)tv2012-06-261-9/+10
| | | | | | | (broken since commit introduced in r51 on 2005-12-14 by nanardon, aka it never worked... git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@227 971eb68f-4bfb-0310-8326-d2484c010a4c
* drop references to unsupported rpm versionstv2012-06-261-3/+0
| | | | git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@225 971eb68f-4bfb-0310-8326-d2484c010a4c
* merge rpmsign() from RPM4sign.c into RPM4.xstv2012-06-264-38/+22
| | | | git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@224 971eb68f-4bfb-0310-8326-d2484c010a4c
* typo fixtv2012-06-261-1/+1
| | | | git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@223 971eb68f-4bfb-0310-8326-d2484c010a4c
* revert commit r213 from Jun 20 2012 ("(srcrpm) simplify"), thus fixingtv2012-06-261-1/+2
| | | | | | srcrpm() until panu merges my patch git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@222 971eb68f-4bfb-0310-8326-d2484c010a4c
* (rpmsysinfodep,rpmgetconfdep,rpmcpuinfodep,rpmpipedep,rpmunamedep) droptv2012-06-251-34/+0
| | | | | | as rpm5 only (aka unimplemented for 4 years...) git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@220 971eb68f-4bfb-0310-8326-d2484c010a4c
* (rpmDbiTagVal) silent type warningtv2012-06-251-1/+1
| | | | git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@219 971eb68f-4bfb-0310-8326-d2484c010a4c
* (Ts_traverse) simplify (thus silenting compiler warning)tv2012-06-251-5/+2
| | | | git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@218 971eb68f-4bfb-0310-8326-d2484c010a4c
* (_newspec,newspec) drop unused 'cookie', 'passphrase', 'rootdir' & 'verify' ↵tv2012-06-251-40/+5
| | | | | | | | parameters (useless with rpm-4.9.x anyway) git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@217 971eb68f-4bfb-0310-8326-d2484c010a4c
* silent compiler warningstv2012-06-251-5/+5
| | | | git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@216 971eb68f-4bfb-0310-8326-d2484c010a4c
* fix warnings by make sure proper def are seen by compilertv2012-06-251-0/+1
| | | | git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@215 971eb68f-4bfb-0310-8326-d2484c010a4c
* (newspec) fix forcing 'noarch_check' & 'force' parameterstv2012-06-251-1/+6
| | | | | | (RPMSPEC_ANYARCH, RPMSPEC_FORCE) git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@214 971eb68f-4bfb-0310-8326-d2484c010a4c
* (srcrpm) simplifytv2012-06-251-2/+1
| | | | git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@213 971eb68f-4bfb-0310-8326-d2484c010a4c
* simplifytv2012-06-151-8/+3
| | | | git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@210 971eb68f-4bfb-0310-8326-d2484c010a4c
* (Header_fullname,Spec_srcrpm) simplify using RPMTAG_NVRtv2012-06-151-28/+11
| | | | git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@209 971eb68f-4bfb-0310-8326-d2484c010a4c
* (Header_fullname) get_arch() already handle SRPMstv2012-06-151-8/+2
| | | | git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@208 971eb68f-4bfb-0310-8326-d2484c010a4c
* (srcrpm) fix a FIXME: s/src/no/ again accordinglytv2012-06-151-2/+3
| | | | | | see genSourceRpmName() in rpmlib git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@207 971eb68f-4bfb-0310-8326-d2484c010a4c
* (osscore) alias archscore() on ittv2012-06-151-16/+9
| | | | git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@206 971eb68f-4bfb-0310-8326-d2484c010a4c
* (platformscore) kill it (unimplemented for 5 years)tv2012-06-151-10/+0
| | | | git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@205 971eb68f-4bfb-0310-8326-d2484c010a4c
* (tag) simplifytv2012-06-131-6/+3
| | | | git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@204 971eb68f-4bfb-0310-8326-d2484c010a4c