summaryrefslogtreecommitdiffstats
path: root/RPM4/src
Commit message (Collapse)AuthorAgeFilesLines
* (listtag,tag,tagtype) use rpmtdTag() & rpmtdType() accessorstv2012-06-131-3/+3
| | | | | | (rather than access struct members directly) git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@202 971eb68f-4bfb-0310-8326-d2484c010a4c
* do not use legacy compatibility header anymoretv2012-06-121-2/+0
| | | | git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@199 971eb68f-4bfb-0310-8326-d2484c010a4c
* (fullname) alias nevr() on it, thus getting rid of deprecated pre-rpm-4.6 ↵tv2012-06-121-11/+14
| | | | | | headerGetNEVR() git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@198 971eb68f-4bfb-0310-8326-d2484c010a4c
* simplify through newSVpvs()tv2012-06-121-26/+26
| | | | git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@197 971eb68f-4bfb-0310-8326-d2484c010a4c
* simplify by using mXPUSHstv2012-06-121-144/+144
| | | | git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@196 971eb68f-4bfb-0310-8326-d2484c010a4c
* make some functions that not implemented since switching to rpm-4.6 to dietv2012-06-121-0/+4
| | | | | | they do nothing for 3.5 years by now... git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@195 971eb68f-4bfb-0310-8326-d2484c010a4c
* (addtag) adapt to rpm 4.6 changes:tv2012-06-121-4/+12
| | | | | | | | | | - headerAddOrAppendEntry -> headerPut - headerAddEntry -> headerPutString also thread RPM_STRING_TYPE like RPM_BIN_TYPE else this introduces a testsuite regression git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@194 971eb68f-4bfb-0310-8326-d2484c010a4c
* adapt to rpm 4.org changes: rpmMessage -> rpmlogtv2012-06-121-1/+1
| | | | git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@193 971eb68f-4bfb-0310-8326-d2484c010a4c
* adapt to rpm 4.org changes: tagValue -> rpmTagGetValuetv2012-06-121-6/+6
| | | | git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@192 971eb68f-4bfb-0310-8326-d2484c010a4c
* (listtag) do not use deprecated pre-rpm-4.6.0 function: headerNextIterator ↵tv2012-06-121-3/+5
| | | | | | -> headerNext git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@191 971eb68f-4bfb-0310-8326-d2484c010a4c
* (removetag) adapt to rpm 4.6 changes: headerRemoveEntry -> headerDeltv2012-06-121-1/+1
| | | | git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@190 971eb68f-4bfb-0310-8326-d2484c010a4c
* (_headername_vs_dep,Header_fullname,Header_tagtype) adapt to rpm 4.6 ↵tv2012-06-121-29/+33
| | | | | | | | changes: headerGetEntry -> headerGet (using previously introduced wrappers) git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@189 971eb68f-4bfb-0310-8326-d2484c010a4c
* (Spec_srcrpm) adapt to rpm 4.6 changes: headerNVR -> headerGettv2012-06-121-4/+4
| | | | | | (using previously introduced wrappers) git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@188 971eb68f-4bfb-0310-8326-d2484c010a4c
* (get_name, get_arch) introduce a couple helper from URPM (needed for next ↵tv2012-06-121-0/+24
| | | | | | commits) git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@187 971eb68f-4bfb-0310-8326-d2484c010a4c
* kill unused variabletv2012-06-121-1/+1
| | | | git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@186 971eb68f-4bfb-0310-8326-d2484c010a4c
* (transCallback) mark as statictv2012-01-021-1/+1
| | | | git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@183 971eb68f-4bfb-0310-8326-d2484c010a4c
* kill more dead code (we don't have RPM4_4* definitions anyway...)tv2012-01-021-64/+1
| | | | git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@182 971eb68f-4bfb-0310-8326-d2484c010a4c
* (traverse) make it usefull again with rpm-4.9tv2012-01-021-5/+2
| | | | git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@178 971eb68f-4bfb-0310-8326-d2484c010a4c
* (rpmdbinit) do all the needed worktv2012-01-021-1/+1
| | | | git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@176 971eb68f-4bfb-0310-8326-d2484c010a4c
* (_specbuild) make it works with rpm-4.9tv2012-01-021-1/+3
| | | | git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@174 971eb68f-4bfb-0310-8326-d2484c010a4c
* kill dead variablestv2012-01-021-4/+0
| | | | git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@172 971eb68f-4bfb-0310-8326-d2484c010a4c
* (Spec_sources, Spec_sources_url) fix unused parameter with rpm-4.9.xtv2012-01-021-0/+4
| | | | git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@171 971eb68f-4bfb-0310-8326-d2484c010a4c
* (transCallback) handle RPMCALLBACK_SCRIPT_ERRORtv2012-01-021-0/+3
| | | | git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@170 971eb68f-4bfb-0310-8326-d2484c010a4c
* (logcallback) fix it not returning any valyes (since introduced years ago)tv2012-01-021-0/+1
| | | | | | fix "warning: control reaches end of non-void function [-Wreturn-type]" git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@169 971eb68f-4bfb-0310-8326-d2484c010a4c
* (Spec_binheader,Spec_binrpm) use right iteratortv2012-01-021-2/+2
| | | | | | (should fix a random segfault on Mageia build system) git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@168 971eb68f-4bfb-0310-8326-d2484c010a4c
* (_headername_vs_dep,Header_tag,Header_tagtype) fix signedness oftv2012-01-021-5/+5
| | | | | | arguments of headerGetEntry() git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@167 971eb68f-4bfb-0310-8326-d2484c010a4c
* (Spec_binheader) implement it for rpm-4.9.xtv2011-12-141-9/+4
| | | | git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@162 971eb68f-4bfb-0310-8326-d2484c010a4c
* (Spec_binrpm) implement it for rpm-4.9.xtv2011-12-141-1/+6
| | | | git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@161 971eb68f-4bfb-0310-8326-d2484c010a4c
* (Spec_binrpm) hide struct detailstv2011-12-141-2/+4
| | | | git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@160 971eb68f-4bfb-0310-8326-d2484c010a4c
* (Spec_srcrpm) implement it for rpm-4.9.xtv2011-12-141-2/+3
| | | | git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@159 971eb68f-4bfb-0310-8326-d2484c010a4c
* (Spec_srcrpm) hide struct detailstv2011-12-141-5/+7
| | | | | | (needed for next commit) git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@158 971eb68f-4bfb-0310-8326-d2484c010a4c
* explicit which functions are unused (and thus those we don't care about)tv2011-12-141-10/+10
| | | | | | and those we should implement with rpm-4.9.x git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@157 971eb68f-4bfb-0310-8326-d2484c010a4c
* (Spec_sources, Spec_sources_url) implement them for rpm-4.9tv2011-12-141-3/+17
| | | | | | (could use a shared static helper...) git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@156 971eb68f-4bfb-0310-8326-d2484c010a4c
* (buildhost) kill commented out croak since it's implementedtv2011-12-141-1/+0
| | | | git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@153 971eb68f-4bfb-0310-8326-d2484c010a4c
* (_newspec) simplifytv2011-11-091-4/+1
| | | | git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@151 971eb68f-4bfb-0310-8326-d2484c010a4c
* add rpm-4.9 support (tv, 2011-08)tv2011-11-093-9/+146
| | | | git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@150 971eb68f-4bfb-0310-8326-d2484c010a4c
* declare 4.8.0 & 4.8.1 in order to make 4.9.x checks worktv2011-11-091-0/+2
| | | | git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@149 971eb68f-4bfb-0310-8326-d2484c010a4c
* drop support for rpm-4.4.xtv2011-11-091-35/+0
| | | | | | | | rationale: - too much ifdef/else/endif spaghetti - and already broken since rpm-4.6 & rpm-4.8 support patches git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@148 971eb68f-4bfb-0310-8326-d2484c010a4c
* add rpm-4.8 support (by Dexter Morgan on 2011-02)tv2011-11-091-2/+2
| | | | git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@146 971eb68f-4bfb-0310-8326-d2484c010a4c
* add rpm-4.6 support (by pixel on 2009-01-20)tv2011-11-095-180/+86
| | | | | | details are in README.API git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@145 971eb68f-4bfb-0310-8326-d2484c010a4c
* - fix compil against rpm.org 4.4.2.2nanardon2007-12-142-2/+10
| | | | git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@144 971eb68f-4bfb-0310-8326-d2484c010a4c
* - fix #7: installsrpms return one value in scalar contextnanardon2007-07-221-0/+2
| | | | git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@140 971eb68f-4bfb-0310-8326-d2484c010a4c
* - fix another memleaknanardon2007-07-211-0/+2
| | | | git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@139 971eb68f-4bfb-0310-8326-d2484c010a4c
* - string: fix test, then fix the functionnanardon2007-07-211-3/+8
| | | | git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@138 971eb68f-4bfb-0310-8326-d2484c010a4c
* - fix memleaknanardon2007-07-201-1/+4
| | | | git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@135 971eb68f-4bfb-0310-8326-d2484c010a4c
* - fix header->stringnanardon2007-07-201-2/+2
| | | | git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@134 971eb68f-4bfb-0310-8326-d2484c010a4c
* - fix spec->source ignoring everythingnanardon2007-07-201-0/+1
| | | | git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@133 971eb68f-4bfb-0310-8326-d2484c010a4c
* - kill useless malloc and mem leaksnanardon2007-07-151-13/+2
| | | | git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@131 971eb68f-4bfb-0310-8326-d2484c010a4c
* - fix 2 memleaksnanardon2007-07-031-20/+7
| | | | git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@130 971eb68f-4bfb-0310-8326-d2484c010a4c
* - revert last change, breaks everythingsnanardon2007-07-031-119/+119
| | | | git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@129 971eb68f-4bfb-0310-8326-d2484c010a4c