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
jbj [Wed, 21 Jan 2004 23:31:45 +0000 (23:31 +0000)]
Sanity.
CVS patchset: 7081
CVS date: 2004/01/21 23:31:45
jbj [Fri, 16 Jan 2004 05:47:51 +0000 (05:47 +0000)]
Quick fix for [] vs None retrun.
CVS patchset: 7080
CVS date: 2004/01/16 05:47:51
jbj [Wed, 14 Jan 2004 16:20:04 +0000 (16:20 +0000)]
Return [] for tags with no contents.
CVS patchset: 7078
CVS date: 2004/01/14 16:20:04
jbj [Wed, 14 Jan 2004 14:41:57 +0000 (14:41 +0000)]
Require beecrypt, not beecrypt-devel.
CVS patchset: 7077
CVS date: 2004/01/14 14:41:57
jbj [Mon, 12 Jan 2004 16:27:21 +0000 (16:27 +0000)]
- fix: handle files w/o contexts correctly.
CVS patchset: 7076
CVS date: 2004/01/12 16:27:21
jbj [Sun, 11 Jan 2004 15:24:19 +0000 (15:24 +0000)]
rpm-nls-fixes.patch (from PLD).
CVS patchset: 7074
CVS date: 2004/01/11 15:24:19
jbj [Sat, 10 Jan 2004 18:48:19 +0000 (18:48 +0000)]
Avoid trying to set "<<none>>" file context.
CVS patchset: 7073
CVS date: 2004/01/10 18:48:19
jbj [Fri, 9 Jan 2004 23:20:07 +0000 (23:20 +0000)]
Don't try to set empty file contexts.
CVS patchset: 7072
CVS date: 2004/01/09 23:20:07
jbj [Fri, 9 Jan 2004 23:17:33 +0000 (23:17 +0000)]
Map "<<none>>" expressions to "".
CVS patchset: 7071
CVS date: 2004/01/09 23:17:33
jbj [Fri, 9 Jan 2004 23:14:00 +0000 (23:14 +0000)]
Use "", not NULL, for missing file contexts.
CVS patchset: 7070
CVS date: 2004/01/09 23:14:00
pauln [Fri, 9 Jan 2004 13:53:38 +0000 (13:53 +0000)]
Fix rpm-4.2/rpm-4.3 typo. As highlighted by Matthias
CVS patchset: 7069
CVS date: 2004/01/09 13:53:38
jbj [Mon, 5 Jan 2004 19:04:59 +0000 (19:04 +0000)]
More typos.
CVS patchset: 7068
CVS date: 2004/01/05 19:04:59
jbj [Mon, 5 Jan 2004 18:31:50 +0000 (18:31 +0000)]
Typo.
CVS patchset: 7067
CVS date: 2004/01/05 18:31:50
jbj [Mon, 5 Jan 2004 17:38:18 +0000 (17:38 +0000)]
- selinux phases 1 and 2 delivered.
CVS patchset: 7066
CVS date: 2004/01/05 17:38:18
jbj [Mon, 5 Jan 2004 17:15:18 +0000 (17:15 +0000)]
Typo.
CVS patchset: 7065
CVS date: 2004/01/05 17:15:18
jbj [Mon, 5 Jan 2004 17:00:40 +0000 (17:00 +0000)]
- selinux phases 1 and 2 delivered.
CVS patchset: 7064
CVS date: 2004/01/05 17:00:40
jbj [Mon, 5 Jan 2004 14:09:47 +0000 (14:09 +0000)]
add --with-selinux, move selinux stubs to system.h.
CVS patchset: 7063
CVS date: 2004/01/05 14:09:47
jbj [Sat, 3 Jan 2004 21:43:10 +0000 (21:43 +0000)]
Add %policy marker to suck *.te content into metadata.
CVS patchset: 7062
CVS date: 2004/01/03 21:43:10
jbj [Thu, 1 Jan 2004 17:49:17 +0000 (17:49 +0000)]
- python: avoid invoking python to acquire ill-specified parameters.
CVS patchset: 7060
CVS date: 2004/01/01 17:49:17
jbj [Thu, 1 Jan 2004 16:50:31 +0000 (16:50 +0000)]
- python: return [], not None, accessing header tags (#112794).
CVS patchset: 7059
CVS date: 2004/01/01 16:50:31
jbj [Thu, 1 Jan 2004 16:41:24 +0000 (16:41 +0000)]
- python: include Python.h before glibc features.h.
CVS patchset: 7057
CVS date: 2004/01/01 16:41:24
jbj [Thu, 1 Jan 2004 16:34:10 +0000 (16:34 +0000)]
- python: include Python.h before glibc features.h.
CVS patchset: 7055
CVS date: 2004/01/01 16:34:10