Commit Graph

101 Commits

Author SHA1 Message Date
Panu Matilainen 2404685050 Kill of RPMTAG_RHNPLATFORM: don't add to header, mark deprecated. 2007-07-12 16:10:46 +03:00
Panu Matilainen d0e8db7af4 parseSpec() cookie should be const, make it so... 2007-07-12 09:22:38 +03:00
jbj dfcc573288 Splint fiddles.
CVS patchset: 7438
CVS date: 2004/10/09 18:23:00
2004-10-09 18:23:00 +00:00
niemeyer 70905ee4c6 Implemented multiline macro support.
CVS patchset: 7231
CVS date: 2004/04/08 20:27:53
2004-04-08 20:27:53 +00:00
niemeyer 73260d956c - Implemented support for internal Lua scripts.
- Implemented %pretrans and %posttrans script slots.
Changed files:
	Makefile.am configure.ac build/pack.c build/parseScript.c
	build/parseSpec.c build/rpmbuild.h build/rpmspec.h
	lib/Makefile.am lib/psm.c lib/rpmlib.h lib/rpmlibprov.c
	lib/rpmts.c lib/rpmts.h lib/transaction.c
Added files:
	lib/rpmlua.c lib/rpmlua.h lua/*

CVS patchset: 7175
CVS date: 2004/03/16 21:58:25
2004-03-16 21:58:25 +00:00
jbj a3bf9b96f9 - use -fPIC -DPIC on all platforms, not just mandatory (#112713).
CVS patchset: 7051
CVS date: 2003/12/30 15:12:50
2003-12-30 15:12:50 +00:00
jbj cdb6cfe7f0 - fix: nested %if handling, optind initialization posix vs. glibc.
CVS patchset: 6843
CVS date: 2003/05/15 13:53:41
2003-05-15 13:53:41 +00:00
jbj 9c5529608e - don't use error string after gzclose (Dmitry V. Levin).
Spliddles for rpmio, drill h_errno all the way through.

CVS patchset: 6826
CVS date: 2003/05/08 20:39:29
2003-05-08 20:39:29 +00:00
jbj e788b7c1f3 - fix: remove rpmfi scareMem so that headers can be reloaded on ia64.
- 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-24 07:21:04 +00:00
jbj b7129ca898 splint fiddles.
CVS patchset: 5962
CVS date: 2002/12/24 04:04:20
2002-12-24 04:04:20 +00:00
jbj e3c423226e Sanity.
CVS patchset: 5960
CVS date: 2002/12/23 20:58:36
2002-12-23 20:58:36 +00:00
jbj b63b4a5d12 - simplify specfile query linkage loop.
- drill rpmts into parseSpec(), carrying Spec along.

CVS patchset: 5958
CVS date: 2002/12/22 02:11:05
2002-12-22 02:11:05 +00:00
jbj 1f6cdca2d5 - add --enable-posixmutexes when configuring on linux.
- add rpmdb_{deadlock,dump,load,svc,stat,verify} utilities.
- include srpm pkgid in binary headers (#71460).
- add %check scriptlet to run after %install (#64137).

CVS patchset: 5957
CVS date: 2002/12/21 20:37:37
2002-12-21 20:37:37 +00:00
jbj e5fb770e7d Add boundsread annotations throughout, enable +bounds checking.
Start narrowing the scope of bounds annotations by adding more annotations.

CVS patchset: 5537
CVS date: 2002/07/02 23:54:35
2002-07-02 23:54:35 +00:00
jbj 13d177beb2 Add boundswrite annotations everywhere.
CVS patchset: 5522
CVS date: 2002/06/23 19:47:08
2002-06-23 19:47:08 +00:00
jbj c74fa24965 - missing key(s) on keyring when verifying a signature is now an error.
- remove dependency whiteout.
- splint fiddles.

CVS patchset: 5255
CVS date: 2002/01/18 22:51:30
2002-01-18 22:51:30 +00:00
jbj e680cce3e8 - fix: harmless typo in db3 chroot hack.
- fix: big-endian's with sizeof(time_t) != sizeof(int_32) mtime broken.
- fix: add Korean message catalogs (#54473).
- add RPHNPLATFORM and PLATFORM tags.
- linear search on added package provides is dumb.
- discarding entire signature header when using --addsign is dumb.

CVS patchset: 5159
CVS date: 2001/11/06 22:46:26
2001-11-06 22:46:26 +00:00
jbj d57a29baac Converging on lclint-3.0.17 strict level.
CVS patchset: 5118
CVS date: 2001/10/17 16:43:36
2001-10-17 16:43:36 +00:00
jbj 96a3f7a55d Factor -type problems into explicit code annotations.
CVS patchset: 5117
CVS date: 2001/10/16 17:42:18
2001-10-16 17:42:18 +00:00
jbj 9f45bcd3ec More lclint annotations.
CVS patchset: 5116
CVS date: 2001/10/16 14:58:57
2001-10-16 14:58:57 +00:00
jbj 72471f2e54 Explicit branchstate annotations.
CVS patchset: 5113
CVS date: 2001/10/15 17:53:34
2001-10-15 17:53:34 +00:00
jbj d8dc44f363 lclint fiddles to annotate globals.
CVS patchset: 5106
CVS date: 2001/10/15 03:22:10
2001-10-15 03:22:10 +00:00
jbj 4b67d7621c More lclint annotations.
CVS patchset: 5105
CVS date: 2001/10/13 22:01:38
2001-10-13 22:01:38 +00:00
jbj 525f4cb8b1 - ratchet up to lclint "strict" level.
CVS patchset: 5104
CVS date: 2001/10/13 19:35:58
2001-10-13 19:35:58 +00:00
jbj 9d555b6216 Move to lclint-3.0.0.15, revisit and clean up annotations.
intl/: Add gettext orphans.
popt/intl/: Add gettext orphans.
beecrypt: Add beecrypt repository.
rpmio/tdigest.c: Add beecrypt digest checks.

CVS patchset: 5077
CVS date: 2001/09/24 21:53:14
2001-09-24 21:53:14 +00:00
jbj 4ae69250a2 - fix typos in linux.{req,prov}.
CVS patchset: 4834
CVS date: 2001/06/05 19:26:22
2001-06-05 19:26:22 +00:00
jbj 750d54d8a3 lclint fiddles.
CVS patchset: 4833
CVS date: 2001/06/04 13:55:58
2001-06-04 13:55:58 +00:00
jbj c3835f5ca0 - fix: specfile queries with BuildArch: (#27589).
CVS patchset: 4746
CVS date: 2001/05/06 19:17:14
2001-05-06 19:17:14 +00:00
jbj d78e027808 - still more boring lclint annotations and fiddles.
CVS patchset: 4738
CVS date: 2001/05/03 21:00:18
2001-05-03 21:00:18 +00:00
jbj 0ecdbba935 - yet more boring lclint annotations and fiddles.
CVS patchset: 4732
CVS date: 2001/04/30 22:32:22
2001-04-30 22:32:22 +00:00
jbj 3b5820c420 - globalize _free(3) wrapper in rpmlib.h, consistent usage throughout.
- internalize locale insensitive ctype(3) in rpmio.h
- boring lclint annotations and fiddles.

CVS patchset: 4721
CVS date: 2001/04/29 01:05:43
2001-04-29 01:05:43 +00:00
jbj fc920e3ac3 Update to doxygen-1.2.6 configuration.
Add manual files to Doxfile.in.
lclint annotations.

CVS patchset: 4624
CVS date: 2001/03/14 23:09:09
2001-03-14 23:09:09 +00:00
jbj 3e85ac2cd2 dropped piece of patch.
CVS patchset: 4448
CVS date: 2001/01/16 13:09:35
2001-01-16 13:09:35 +00:00
jbj c74cc1df1c - fix: extra newline in many error messages (#23947).
- fix: rpm -Va with db1 needs per-iterator, not per-index, offset.
- add install/remove transaction id tags.

CVS patchset: 4441
CVS date: 2001/01/15 23:09:42
2001-01-15 23:09:42 +00:00
jbj 2e13767946 doxygen annotations for build/*.
- fix: don't hang on build error.
- fix: remove "error: " prefix from signature verification message.

CVS patchset: 4426
CVS date: 2001/01/11 14:13:04
2001-01-11 14:13:04 +00:00
jbj 23fcf67cb5 - fix: avoid locale issues with strcasecmp/strncasecmp (#23199).
- remove almost all explicit uses of stderr in rpmlib using rpmError().

CVS patchset: 4406
CVS date: 2001/01/03 20:19:27
2001-01-03 20:19:27 +00:00
jbj db32ab6bea Sync with rpm-4_0 branch.
CVS patchset: 4338
CVS date: 2000/12/12 20:03:45
2000-12-12 20:03:45 +00:00
jbj 2885f536b6 Bring header reggions mods back to top of stack.
CVS patchset: 4305
CVS date: 2000/12/02 21:53:44
2000-12-02 21:53:44 +00:00
jbj 44e5913dae - fine-grained Requires, remove install PreReq's from Requires db.
CVS patchset: 4258
CVS date: 2000/11/12 11:11:49
2000-11-12 11:11:49 +00:00
jbj 97e479677f Sanity.
CVS patchset: 4257
CVS date: 2000/11/12 10:02:54
2000-11-12 10:02:54 +00:00
jbj 679aca04c8 Doxygen annotations.
CVS patchset: 4147
CVS date: 2000/08/30 17:47:53
2000-08-30 17:47:53 +00:00
jbj a131131381 Doxygen annotations.
CVS patchset: 4130
CVS date: 2000/08/27 19:18:25
2000-08-27 19:18:25 +00:00
jbj fab0493dbe - fix: don't expand macros in false branch of %if (kasal@suse.cz).
- fix: macro expansion problem and clean up (#11484) (kasal@suse.cz).

CVS patchset: 3885
CVS date: 2000/06/21 23:28:50
2000-06-21 23:28:50 +00:00
jbj 4272f490ca - API: uncouple fadio from rest of rpmio.
- API: externalize legacy fdOpen interface for rpmfind et al.

CVS patchset: 3873
CVS date: 2000/06/20 15:54:48
2000-06-20 15:54:48 +00:00
jbj c38a7cdcfb Move low level support routines to librpmio.
CVS patchset: 3822
CVS date: 2000/06/09 18:57:23
2000-06-09 18:57:23 +00:00
jbj ef6736bd90 Move noLang to rpmlib.
Add defaultdocdir to per-platform macros.

CVS patchset: 3788
CVS date: 2000/06/01 05:36:14
2000-06-01 05:36:14 +00:00
jbj 48e8650520 The death of rpmdbFindBy{Group,TriggeredBy,Header}.
CVS patchset: 3673
CVS date: 2000/04/13 09:07:08
2000-04-13 09:07:08 +00:00
jbj dd35cf769b Documentation sugar.
CVS patchset: 3533
CVS date: 2000/01/24 20:02:32
2000-01-24 20:02:32 +00:00
jbj 6e704014b7 Initialize values behind pointers before calling rpmGet{Arch,Os}Info.
Sanity (make dist).

CVS patchset: 3492
CVS date: 1999/12/19 19:55:14
1999-12-19 19:55:14 +00:00
jbj 82a546f8f4 fix: missing strdup when overriding buildroot from command line
argument (#1026,#5006).

CVS patchset: 3487
CVS date: 1999/12/16 19:38:28
1999-12-16 19:38:28 +00:00