jbj [Mon, 19 Apr 2004 12:06:30 +0000 (12:06 +0000)]
splint fiddles.
CVS patchset: 7241
CVS date: 2004/04/19 12:06:30
niemeyer [Sun, 18 Apr 2004 23:47:29 +0000 (23:47 +0000)]
Force global Lua state initialization during rpmReadConfigFiles().
CVS patchset: 7240
CVS date: 2004/04/18 23:47:29
niemeyer [Sun, 18 Apr 2004 20:47:29 +0000 (20:47 +0000)]
Implemented Lua support for the hooking system.
CVS patchset: 7239
CVS date: 2004/04/18 20:47:29
niemeyer [Sun, 18 Apr 2004 18:30:21 +0000 (18:30 +0000)]
Implemented external interface for the hooking system, and
included in rpm context.
CVS patchset: 7238
CVS date: 2004/04/18 18:30:21
niemeyer [Sun, 18 Apr 2004 03:23:39 +0000 (03:23 +0000)]
Adding in-development hooking system into the repository.
CVS patchset: 7237
CVS date: 2004/04/18 03:23:39
cturner [Wed, 14 Apr 2004 12:46:13 +0000 (12:46 +0000)]
prep for release
CVS patchset: 7235
CVS date: 2004/04/14 12:46:13
cturner [Wed, 14 Apr 2004 12:44:30 +0000 (12:44 +0000)]
integrate test patch from ville
CVS patchset: 7234
CVS date: 2004/04/14 12:44:30
niemeyer [Tue, 13 Apr 2004 16:34:40 +0000 (16:34 +0000)]
Fixed bug in "rpm -qf": if a file in the current directory had the
same name as a dependency provided by some package, "rpm -qf filename"
would return the package owning that dependency.
CVS patchset: 7233
CVS date: 2004/04/13 16:34:40
cturner [Fri, 9 Apr 2004 13:20:57 +0000 (13:20 +0000)]
patches from Ville to add changelog support
CVS patchset: 7232
CVS date: 2004/04/09 13:20:57
niemeyer [Thu, 8 Apr 2004 20:27:53 +0000 (20:27 +0000)]
Implemented multiline macro support.
CVS patchset: 7231
CVS date: 2004/04/08 20:27:53
jbj [Thu, 8 Apr 2004 00:12:01 +0000 (00:12 +0000)]
- perl: use __perl for perl variable macros (#115156).
CVS patchset: 7229
CVS date: 2004/04/08 00:12:01
jbj [Thu, 8 Apr 2004 00:07:13 +0000 (00:07 +0000)]
Typos.
CVS patchset: 7228
CVS date: 2004/04/08 00:07:13
jbj [Thu, 8 Apr 2004 00:04:17 +0000 (00:04 +0000)]
Add bug number.
CVS patchset: 7225
CVS date: 2004/04/08 00:04:17
jbj [Thu, 8 Apr 2004 00:03:51 +0000 (00:03 +0000)]
- perl: skip new-fangled head[34] while gerenerating deps (#118243).
CVS patchset: 7224
CVS date: 2004/04/08 00:03:51
jbj [Wed, 7 Apr 2004 23:50:35 +0000 (23:50 +0000)]
- fix: no transaction lock if --test was specified (#119783).
CVS patchset: 7222
CVS date: 2004/04/07 23:50:35
jbj [Wed, 7 Apr 2004 23:26:00 +0000 (23:26 +0000)]
- fix: segfault on --recontext if file_contexts unreadable (#117374).
- fix: /etc/security/selinux/file_contexts is default path.
CVS patchset: 7220
CVS date: 2004/04/07 23:26:00
jbj [Wed, 7 Apr 2004 18:07:08 +0000 (18:07 +0000)]
Splint fiddles.
CVS patchset: 7219
CVS date: 2004/04/07 18:07:08
jbj [Wed, 7 Apr 2004 17:31:29 +0000 (17:31 +0000)]
Make peace with libtool-1.5.4.
CVS patchset: 7218
CVS date: 2004/04/07 17:31:29
jbj [Wed, 7 Apr 2004 17:30:07 +0000 (17:30 +0000)]
Make peace with libtool-1.5.3.
CVS patchset: 7217
CVS date: 2004/04/07 17:30:07
jbj [Thu, 1 Apr 2004 12:56:54 +0000 (12:56 +0000)]
revert buildtime tie breaking, not the right thing to do.
splint fiddles.
CVS patchset: 7216
CVS date: 2004/04/01 12:56:54
jbj [Tue, 30 Mar 2004 21:00:47 +0000 (21:00 +0000)]
Start rpm-4.4 devel.
CVS patchset: 7210
CVS date: 2004/03/30 21:00:47
arekm [Tue, 30 Mar 2004 18:13:11 +0000 (18:13 +0000)]
Document last changes.
CVS patchset: 7209
CVS date: 2004/03/30 18:13:11
arekm [Tue, 30 Mar 2004 16:41:37 +0000 (16:41 +0000)]
Simplify cpuid code; fix it for gcc 3.4; always push/pop ebx for PIC and non PIC. Patch by Pawe³ Sikora <pluto/at/pld-linux.org>.
Modified Files: lib/rpmrc.c
CVS patchset: 7208
CVS date: 2004/03/30 16:41:37
arekm [Tue, 30 Mar 2004 00:40:26 +0000 (00:40 +0000)]
Make rpmGlob() locale independent to get stable behaviour whatever locale is used when building (Artur Frysiak <wiget/at/pld-linux.org>).
Modified Files: rpmio/macro.c
CVS patchset: 7207
CVS date: 2004/03/30 00:40:26
jbj [Mon, 29 Mar 2004 07:43:42 +0000 (07:43 +0000)]
Proof-of-concept for arch filtered dependencies.
CVS patchset: 7206
CVS date: 2004/03/29 07:43:42
arekm [Sun, 28 Mar 2004 20:10:54 +0000 (20:10 +0000)]
buildarchtranslate p3/p4 to i386 as it's on other cases (athlon/i686/i586)
CVS patchset: 7205
CVS date: 2004/03/28 20:10:54
jbj [Sun, 28 Mar 2004 16:24:02 +0000 (16:24 +0000)]
Typo.
CVS patchset: 7204
CVS date: 2004/03/28 16:24:02
jbj [Sun, 28 Mar 2004 16:07:26 +0000 (16:07 +0000)]
- scareMem = 0 everywhere, document deprecation phase out.
CVS patchset: 7203
CVS date: 2004/03/28 16:07:26
jbj [Sun, 28 Mar 2004 15:06:10 +0000 (15:06 +0000)]
- fix: don't add leading space to %* argv expansion (#119059).
CVS patchset: 7202
CVS date: 2004/03/28 15:06:10
jbj [Sun, 28 Mar 2004 14:57:53 +0000 (14:57 +0000)]
- use package build time as EVR comparison tie breaker.
CVS patchset: 7201
CVS date: 2004/03/28 14:57:53
jbj [Sun, 28 Mar 2004 13:49:19 +0000 (13:49 +0000)]
Sanity.
CVS patchset: 7200
CVS date: 2004/03/28 13:49:19
arekm [Sun, 28 Mar 2004 02:58:54 +0000 (02:58 +0000)]
Polish translation update.
CVS patchset: 7199
CVS date: 2004/03/28 02:58:54
arekm [Sun, 28 Mar 2004 02:41:32 +0000 (02:41 +0000)]
pentium3/pentium4 support by Pawe³ Sikora <pluto/at/pld-linux.org>.
Modified Files: installplatform macros.in rpmrc.in lib/rpmrc.c lib/rpmts.c
CVS patchset: 7198
CVS date: 2004/03/28 02:41:32
arekm [Sun, 28 Mar 2004 00:49:54 +0000 (00:49 +0000)]
When fixing permissions do u+w, too (fixes badly packaged tarballs)
CVS patchset: 7197
CVS date: 2004/03/28 00:49:54
joden [Sat, 27 Mar 2004 11:34:14 +0000 (11:34 +0000)]
Made it so %* does not evaluate with a leading space. For instance:
%define xxx() "%{*}"
%xxx 1 2 3
would evaluate to:
" 1 2 3"
and now evaluates to:
"1 2 3"
CVS patchset: 7196
CVS date: 2004/03/27 11:34:14
jbj [Fri, 26 Mar 2004 17:27:57 +0000 (17:27 +0000)]
Splint fiddles.
CVS patchset: 7195
CVS date: 2004/03/26 17:27:57
jbj [Fri, 26 Mar 2004 15:44:18 +0000 (15:44 +0000)]
Typo.
CVS patchset: 7194
CVS date: 2004/03/26 15:44:18
jbj [Fri, 26 Mar 2004 15:42:45 +0000 (15:42 +0000)]
splint fiddles.
CVS patchset: 7193
CVS date: 2004/03/26 15:42:45
jbj [Thu, 25 Mar 2004 19:41:22 +0000 (19:41 +0000)]
Endian neutral join keys for rpmdbAdd() and rpmdbRemove().
CVS patchset: 7192
CVS date: 2004/03/25 19:41:22
jbj [Thu, 25 Mar 2004 18:14:03 +0000 (18:14 +0000)]
- endian neutral rpmdb join keys (finally).
CVS patchset: 7191
CVS date: 2004/03/25 18:14:03
niemeyer [Wed, 24 Mar 2004 19:47:11 +0000 (19:47 +0000)]
- Now Lua interface is using a global state.
- /usr/lib/rpm/init.lua is called during intialization.
CVS patchset: 7188
CVS date: 2004/03/24 19:47:11
niemeyer [Tue, 23 Mar 2004 23:52:45 +0000 (23:52 +0000)]
Removing unwanted "static" attribute in "luaL_reg *lib". Using it
removes the prectability of initalization order in relation to
lualibs.
CVS patchset: 7187
CVS date: 2004/03/23 23:52:45
niemeyer [Tue, 23 Mar 2004 18:38:19 +0000 (18:38 +0000)]
Adding missing entries in EXTRA_DIST.
CVS patchset: 7186
CVS date: 2004/03/23 18:38:19
jbj [Tue, 23 Mar 2004 14:49:38 +0000 (14:49 +0000)]
Uniqify symbols to prevent name space pollution.
CVS patchset: 7185
CVS date: 2004/03/23 14:49:38
jbj [Tue, 23 Mar 2004 07:18:55 +0000 (07:18 +0000)]
Spint fiddles.
CVS patchset: 7184
CVS date: 2004/03/23 07:18:55
jbj [Tue, 23 Mar 2004 05:52:59 +0000 (05:52 +0000)]
Splint fiddles.
CVS patchset: 7183
CVS date: 2004/03/23 05:52:59
jbj [Tue, 23 Mar 2004 05:09:13 +0000 (05:09 +0000)]
Splint annotations.
CVS patchset: 7182
CVS date: 2004/03/23 05:09:13
jbj [Tue, 23 Mar 2004 02:27:55 +0000 (02:27 +0000)]
Splint annotations.
CVS patchset: 7181
CVS date: 2004/03/23 02:27:55
jbj [Sun, 21 Mar 2004 13:25:53 +0000 (13:25 +0000)]
Automake 1.8.3.
CVS patchset: 7180
CVS date: 2004/03/21 13:25:53
niemeyer [Fri, 19 Mar 2004 21:14:32 +0000 (21:14 +0000)]
Upgrading to Lua 5.0.2.
CVS patchset: 7179
CVS date: 2004/03/19 21:14:32
niemeyer [Fri, 19 Mar 2004 20:08:20 +0000 (20:08 +0000)]
- New internal Lua support scheme, laying under rpmio.
- New API abstracting access to Lua state (rpmlua is
abstract to everyone but rpmlua.c).
- New %{lua: ... } macro.
Modified Files:
lib/Makefile.am lib/psm.c lib/rpmts.c lua/local/linit.lch
lua/local/linit.lua rpmio/Makefile.am rpmio/macro.c
Added Files:
rpmio/rpmlua.c rpmio/rpmlua.h
Removed Files:
lib/rpmlua.c lib/rpmlua.h
CVS patchset: 7178
CVS date: 2004/03/19 20:08:20
jbj [Thu, 18 Mar 2004 15:29:23 +0000 (15:29 +0000)]
Resurrect "other endian" rpmdb functionality.
CVS patchset: 7177
CVS date: 2004/03/18 15:29:23
niemeyer [Tue, 16 Mar 2004 21:58:25 +0000 (21:58 +0000)]
- 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
jbj [Tue, 16 Mar 2004 17:13:25 +0000 (17:13 +0000)]
- fix: grrr, skip notes on non-i386 entirely.
CVS patchset: 7174
CVS date: 2004/03/16 17:13:25
jbj [Mon, 15 Mar 2004 14:40:01 +0000 (14:40 +0000)]
re-add splint fiddles.
CVS patchset: 7172
CVS date: 2004/03/15 14:40:01
jbj [Sat, 13 Mar 2004 13:34:44 +0000 (13:34 +0000)]
- fix: handle elf64 note sections correctly.
CVS patchset: 7171
CVS date: 2004/03/13 13:34:44
jbj [Thu, 11 Mar 2004 17:33:17 +0000 (17:33 +0000)]
- fix: ENOTSUP filter from lsetfilecon borkage.
CVS patchset: 7168
CVS date: 2004/03/11 17:33:17
pauln [Thu, 11 Mar 2004 08:32:02 +0000 (08:32 +0000)]
Make spec-py lint free.
CVS patchset: 7166
CVS date: 2004/03/11 08:32:02
pauln [Thu, 11 Mar 2004 07:03:40 +0000 (07:03 +0000)]
Begin lint fixes for spec-py
CVS patchset: 7165
CVS date: 2004/03/11 07:03:40
pauln [Thu, 11 Mar 2004 06:25:48 +0000 (06:25 +0000)]
Fix splint warnings for spec
CVS patchset: 7164
CVS date: 2004/03/11 06:25:48
jbj [Thu, 11 Mar 2004 03:06:38 +0000 (03:06 +0000)]
substititute labelCompare into rpmds_compare; map rpmdsCompare onto '==' and '!='.
CVS patchset: 7163
CVS date: 2004/03/11 03:06:38
jbj [Wed, 10 Mar 2004 23:01:46 +0000 (23:01 +0000)]
- add sparcv8 and enable elf32/elf64 Zon sparc64 (#117302).
- fix: --querybynumber looped.
CVS patchset: 7161
CVS date: 2004/03/10 23:01:46
pauln [Wed, 10 Mar 2004 22:44:29 +0000 (22:44 +0000)]
Initial rpm.spec implementation
CVS patchset: 7160
CVS date: 2004/03/10 22:44:29
jbj [Tue, 9 Mar 2004 17:27:16 +0000 (17:27 +0000)]
- fix: sq->reaped needs sighold(SIGCHLD)/sigrelease(SIGCHLD) (#117620).
CVS patchset: 7155
CVS date: 2004/03/09 17:27:16
jbj [Sun, 7 Mar 2004 21:11:27 +0000 (21:11 +0000)]
Add comments, minor performance improvement.
CVS patchset: 7154
CVS date: 2004/03/07 21:11:27
jbj [Sun, 7 Mar 2004 12:50:36 +0000 (12:50 +0000)]
Protect sq->reaped with sighold and sigrelease.
CVS patchset: 7153
CVS date: 2004/03/07 12:50:36
jbj [Sat, 6 Mar 2004 17:59:22 +0000 (17:59 +0000)]
Filter ENOTSUP lsetfilecon() to permit tmpfs mount on /dev/shm.
CVS patchset: 7152
CVS date: 2004/03/06 17:59:22
jbj [Fri, 5 Mar 2004 23:11:51 +0000 (23:11 +0000)]
Use /etc/security/selinux/file_contexts as default instead.
CVS patchset: 7151
CVS date: 2004/03/05 23:11:51
joden [Fri, 5 Mar 2004 18:22:25 +0000 (18:22 +0000)]
initial autorollback feature.
CVS patchset: 7149
CVS date: 2004/03/05 18:22:25
pauln [Fri, 5 Mar 2004 18:00:55 +0000 (18:00 +0000)]
Added todo for types for tagtbl
CVS patchset: 7148
CVS date: 2004/03/05 18:00:55
joden [Fri, 5 Mar 2004 02:23:14 +0000 (02:23 +0000)]
Initial autorollback feature.
CVS patchset: 7147
CVS date: 2004/03/05 02:23:14
joden [Fri, 5 Mar 2004 02:21:48 +0000 (02:21 +0000)]
initial autorollback feature.
CVS patchset: 7146
CVS date: 2004/03/05 02:21:48
jbj [Wed, 3 Mar 2004 01:58:36 +0000 (01:58 +0000)]
Typo.
CVS patchset: 7145
CVS date: 2004/03/03 01:58:36
jbj [Tue, 2 Mar 2004 21:55:03 +0000 (21:55 +0000)]
Change lock file location.
Lock in outer, not in chroot, file tree for now.
CVS patchset: 7142
CVS date: 2004/03/02 21:55:03
jbj [Tue, 2 Mar 2004 01:31:01 +0000 (01:31 +0000)]
- permit globs in macrofiles: directive (#117217).
CVS patchset: 7139
CVS date: 2004/03/02 01:31:01
jbj [Thu, 26 Feb 2004 01:23:48 +0000 (01:23 +0000)]
use static variable, not define, for lock file path.
CVS patchset: 7135
CVS date: 2004/02/26 01:23:48
jbj [Thu, 26 Feb 2004 01:20:52 +0000 (01:20 +0000)]
splint fiddles.
CVS patchset: 7134
CVS date: 2004/02/26 01:20:52
niemeyer [Wed, 25 Feb 2004 20:04:36 +0000 (20:04 +0000)]
It was 2 bytes, not one. Amateurs.. humpf. ;-)
CVS patchset: 7132
CVS date: 2004/02/25 20:04:36
niemeyer [Wed, 25 Feb 2004 20:02:23 +0000 (20:02 +0000)]
Oops. "path" was being allocated with 1 byte less than necessary.
CVS patchset: 7131
CVS date: 2004/02/25 20:02:23
niemeyer [Wed, 25 Feb 2004 19:54:58 +0000 (19:54 +0000)]
Creating transaction locking scheme based on fcntl file locking
during writing operations. For now, this system will wait forever
for the lock to be released. This will ensure that current
applications will get the necessary protection without breaking
unexpectedly.
Modified Files:
lib/Makefile.am lib/rpmts.c lib/transaction.c
Added Files:
lib/rpmlock.c lib/rpmlock.h
CVS patchset: 7130
CVS date: 2004/02/25 19:54:58
jbj [Mon, 23 Feb 2004 00:43:45 +0000 (00:43 +0000)]
- force FD_CLOEXEC on 1st 100 inherited fdno's.
CVS patchset: 7125
CVS date: 2004/02/23 00:43:45
jbj [Mon, 23 Feb 2004 00:03:14 +0000 (00:03 +0000)]
- set "rpm_script_t" exec type for scriptlets iff /bin/sh, else default.
CVS patchset: 7123
CVS date: 2004/02/23 00:03:14
jbj [Sun, 22 Feb 2004 23:43:05 +0000 (23:43 +0000)]
- stable sort for policy specifications, patterns before paths.
CVS patchset: 7121
CVS date: 2004/02/22 23:43:05
jbj [Sun, 22 Feb 2004 20:24:13 +0000 (20:24 +0000)]
- add ia32e arch.
CVS patchset: 7116
CVS date: 2004/02/22 20:24:13
jbj [Sat, 21 Feb 2004 18:37:56 +0000 (18:37 +0000)]
Typo.
CVS patchset: 7114
CVS date: 2004/02/21 18:37:56
jbj [Sat, 21 Feb 2004 18:36:09 +0000 (18:36 +0000)]
Fix typo.
CVS patchset: 7112
CVS date: 2004/02/21 18:36:09
sopwith [Fri, 20 Feb 2004 20:18:20 +0000 (20:18 +0000)]
another oops
CVS patchset: 7108
CVS date: 2004/02/20 20:18:20
sopwith [Fri, 20 Feb 2004 20:06:31 +0000 (20:06 +0000)]
oops
CVS patchset: 7107
CVS date: 2004/02/20 20:06:31
sopwith [Fri, 20 Feb 2004 20:05:27 +0000 (20:05 +0000)]
Further fixes related to 113661
CVS patchset: 7105
CVS date: 2004/02/20 20:05:27
jbj [Fri, 20 Feb 2004 11:24:41 +0000 (11:24 +0000)]
- fix: only first "mkdir -p" directory had context set.
CVS patchset: 7102
CVS date: 2004/02/20 11:24:41
pauln [Tue, 17 Feb 2004 14:29:42 +0000 (14:29 +0000)]
Return 1 and -1 as we state we do - #113668
CVS patchset: 7099
CVS date: 2004/02/17 14:29:42
jbj [Mon, 16 Feb 2004 04:57:25 +0000 (04:57 +0000)]
- establish rpm_script_t before scriptlet exec.
CVS patchset: 7098
CVS date: 2004/02/16 04:57:25
jbj [Mon, 16 Feb 2004 03:07:48 +0000 (03:07 +0000)]
- establish rpm_script_t before scriptlet exec, ignore errors for now.
CVS patchset: 7095
CVS date: 2004/02/16 03:07:48
jbj [Sun, 15 Feb 2004 23:51:36 +0000 (23:51 +0000)]
- fix: setfiles (aka rpmsx.c) dinna handle patterns correctly.
CVS patchset: 7093
CVS date: 2004/02/15 23:51:36
jbj [Sun, 15 Feb 2004 22:12:45 +0000 (22:12 +0000)]
- fix: set fcontext for "mkdir -p" directories not in packages.
CVS patchset: 7091
CVS date: 2004/02/15 22:12:45
jbj [Sun, 15 Feb 2004 20:54:19 +0000 (20:54 +0000)]
- fix: set fcontext from pkg when file_contexts doesn't exist (#114040).
CVS patchset: 7088
CVS date: 2004/02/15 20:54:19
pauln [Wed, 28 Jan 2004 00:09:06 +0000 (00:09 +0000)]
Enable selinux contexts in rpmtsRun - patch from Jeremy Katz
CVS patchset: 7086
CVS date: 2004/01/28 00:09:06
jbj [Mon, 26 Jan 2004 09:59:36 +0000 (09:59 +0000)]
- python: throw exception on bad arg to labelCompare (#113661).
CVS patchset: 7084
CVS date: 2004/01/26 09:59:36
jbj [Thu, 22 Jan 2004 23:03:40 +0000 (23:03 +0000)]
- other perl variables (#114121).
CVS patchset: 7083
CVS date: 2004/01/22 23:03:40
jbj [Thu, 22 Jan 2004 14:28:08 +0000 (14:28 +0000)]
Build with gcc-2.95.3 and python-2.2, remove incompat CFLAGS and casts.
CVS patchset: 7082
CVS date: 2004/01/22 14:28:08