summaryrefslogtreecommitdiff
path: root/macros.in
AgeCommit message (Collapse)AuthorFilesLines
2000-07-07Turn on Depends return cache (again).jbj1-2/+2
CVS patchset: 3923 CVS date: 2000/07/07 20:36:19
2000-06-23 - support for separate source/binary compression policy.jbj1-4/+5
- support for bzip payloads. CVS patchset: 3908 CVS date: 2000/06/23 01:19:45
2000-06-20- add RPMTAG_OPTFLAGS, configured optflags when package was built.jbj1-3/+12
- add RPMTAG_DISTURL for rpmfind-like tools (content unknown yet). - teach brp-compress about /usr/info and /usr/share/info as well. - update macros.in from rpm-4.0 (w/o dbi configuration). CVS patchset: 3878 CVS date: 2000/06/20 21:45:50
2000-06-06Repair db1 functionality.jbj1-4/+5
Require db3 in default configuration. CVS patchset: 3818 CVS date: 2000/06/06 20:06:09
2000-06-05Add triply escaped newlines to %makeinfo.jbj1-15/+15
CVS patchset: 3816 CVS date: 2000/06/05 16:40:04
2000-06-05Remove curly braces from makeinstall.jbj1-4/+4
CVS patchset: 3815 CVS date: 2000/06/05 15:21:19
2000-05-31oops, revert this partmsw1-16/+16
CVS patchset: 3772 CVS date: 2000/05/31 04:57:13
2000-05-31include an escaped '\' as well as continuation for these macros that span ↵msw1-29/+29
shell lines CVS patchset: 3769 CVS date: 2000/05/31 03:35:51
2000-05-30- turn on new, more complete version of %%configure.jbj1-26/+44
- add %%makeinstall analogue of new %%configure for autoconf packages. CVS patchset: 3765 CVS date: 2000/05/30 16:52:31
2000-05-02Add usedbenv (disabled) to use db3 as db1 was used.jbj1-32/+7
Configure to accept any db api (but rebuild will switch to db3). Rename *_major to *_api throughout. Always open Depends with O_CREAT|O_RDWR. db1.c: use good ol' requredby.rpm name, not requiredbyindex.rpm. db1.c: hide pkgs FD_t in dbi_db, eliminate dbi_pkgs. depends.c: Skip Depends caching on dbiPut failure (e.g. perms). rpmdb.c: remove _useDbiMajor, pass dbapi on call. rpmdb.c: repair rot in rpmdbRemoveDatabase()/rpmdbMoveDatabase(). rpmdb.c: disable ^C hack in signal block/unblock. CVS patchset: 3712 CVS date: 2000/05/02 08:30:31
2000-05-01Rename db0.c to db1.c, resurrect db2.c (from db3.c).jbj1-22/+22
Add ia64 and sparc64 changes. rpm.spec: add per-platform sub-directories. Add rpmdbSync to API. installplatform: pass LIB=lib64 on sparc64. db3.c: Add nodbsync, lockdbfd, debug dbi configuration. db3.c: don't check dbi_mode when deciding on DB_WRITECURSOR. CVS patchset: 3711 CVS date: 2000/05/01 17:50:35
2000-04-28Don't incrementally link pthreads, causes segfault on (at least) alpha.jbj1-4/+9
db0.c: Simulate db->sync on falloc. db0.c: Use RPMDBI_PACKAGES for rpmtag comparisons. db0.c: Add debug for dbi open/close like db3. db0.c: Remove dbi if temporary (i.e. Depends). db3.c: Filter DB_INCOMPLETE from db->sync return, it's usually harmless. depends.c: Free Depends iterator, pass keylen, and use cursors. depends.c: Free iterator *after* loop, not at end of 1st pass. rpmdb.c: Fine grained cursor locks to avoid "crossed cursors" deadlocks. rpmdb.c: Lazy open/close during rpmdbAdd/rpmdbRemove/openDatabase. rpmdb.c: Remove last remnants of dbix, do dynamic lookup instead. rpmdb.c: Resurrect rpmdbUpdateRecord in iterator loop. macros.in: Add Depends dbi to config. macros.in: Configure "nommap:mp_size=2Mb:pagesize=16Kb". CVS patchset: 3707 CVS date: 2000/04/28 15:14:47
2000-04-25Sanity.jbj1-5/+10
CVS patchset: 3697 CVS date: 2000/04/25 19:41:37
2000-04-23make db indices as lightweight as possible, with per-dbi config.jbj1-30/+53
db1.c will never be needed, eliminate. API: merge rebuilddb.c into rpmdb.c. CVS patchset: 3694 CVS date: 2000/04/23 20:37:57
2000-04-21fix: legacy packages required provides EVR/Flags to be added.jbj1-6/+33
fix: generating provides EVER was broke with epoch. db3 tuned for installer speed (i.e. no locking, create/remove on fly). add new_db_api and old_db_api macros to control precisely for db version used. CVS patchset: 3691 CVS date: 2000/04/21 00:21:15
2000-04-19Hi!jbj1-3/+10
I'd like to start building sparc64 packages (eventhough the install rule details are yet to be designed - IMHO if 64bit SPARC userland is going into 7.0 we should rebuild all packages into 64bit in the next months or so to have time to chase bugs etc.), and this is about what I need. Basically I'd like to have %{_lib} to stand for the last part (normally "lib") of dirname for directories like /lib, /usr/lib, /usr/X11R6/lib because on sparc64-linux they are /lib64, /usr/lib64, /usr/X11R6/lib64 (and on Solaris /lib/sparcv9, /usr/lib/sparcv9 etc.), so that one can use things like /usr/%{_lib} in the spec files. Another thing which I need is an arch specific build root policy. This patch does a few things: 1) add installplatform into EXTRA_DIST files, so that it is actually invoked during rpm build not from CVS 2) Define %_lib lib and let target specific macros override it 3) Split __spec_install_post into __arch_install_post and __os_install_post, --buildpolicy now specifies the __os_install_post part only. spec files can still override the __arch_install_post if the want to. brp-sparc64-linux is used to move 64bit libraries to */lib64 directories from */lib directories if make install of some package left them there. 4) Change installplatform so that on sparc* it creates both sparc and sparc64 target macro dirs (/usr/lib/rpm/sparc{,64}-redhat-linux in sparc*-redhat-linux case). CVS patchset: 3685 CVS date: 2000/04/19 16:03:49
2000-04-06use hashed access for package headers.jbj1-1/+4
CVS patchset: 3660 CVS date: 2000/04/06 15:20:29
2000-04-03Prefer db3.jbj1-2/+2
CVS patchset: 3652 CVS date: 2000/04/03 14:24:55
2000-03-30Mostly functional db2 interface, db3 still has problems.jbj1-1/+11
CVS patchset: 3645 CVS date: 2000/03/30 19:22:46
2000-03-09- portability: skip bzip2 if not available.jbj1-3/+9
- portability: skip gzseek if not available (zlib-1.0.4). - portability: skip personality if not available (linux). - portability: always include arpa/inet.h (HP-UX). - portability: don't use id -u (Brandon Allbery). - portability: don't chown/chgrp -h w/o lchown. - portability: splats in rpm.spec to find /usr/{share,local}/locale/* CVS patchset: 3610 CVS date: 2000/03/09 18:13:02
2000-02-13Patches from PLD.jbj1-15/+95
CVS patchset: 3556 CVS date: 2000/02/13 19:24:19
2000-01-17add %_rebuilddbpath macro to permit rebuilding db in new location.jbj1-1/+2
CVS patchset: 3522 CVS date: 2000/01/17 18:12:32
2000-01-12fix: resurrect relative path's in fprint lookup queries.jbj1-1/+3
CVS patchset: 3518 CVS date: 2000/01/12 21:48:58
2000-01-11default value for %_install_langs is all.jbj1-2/+2
CVS patchset: 3517 CVS date: 2000/01/11 19:12:34
2000-01-11configurable compression type/level for package payloads.jbj1-1/+7
CVS patchset: 3516 CVS date: 2000/01/11 16:13:16
2000-01-11configurable PATH for install %pre/%post et al scriptlets.jbj1-9/+61
use only %_install_langs, not LINGUAS/LANG when deciding to install. CVS patchset: 3514 CVS date: 2000/01/11 15:22:35
2000-01-07add several BuildRoot FTW policies.jbj1-3/+3
CVS patchset: 3511 CVS date: 2000/01/07 17:32:27
1999-11-24lib/macro.c: Canonicalize paths in rpmGetPath().jbj1-2/+3
build.c: ditto. build/build.c: ditto. build/files.c: ditto. build/parsePreamble.c: ditto. build/parseSpec.c: ditto. build/myftw.c: Use Opendir/Readdir/Closedir wrappers. lib/cpio.c: Use Readlink/Stat/Lstat wrappers while building archive. lib/rpmio.c: functional ftpLstat, ftpStat and ftpReadlink. CVS patchset: 3432 CVS date: 1999/11/24 00:03:54
1999-11-19macros.in: Add buildsubdir and scriptlet template macros.jbj1-27/+183
build/build.c: Rewrite to use scriptlet templates. build/files.c: Rename variables to prepare for (possibly) URL's in %files. build/myftw.c: Use Lstat. build/parsePreamble.c: Permit URL's in BuildRoot tag if not from spec file. build/parseSpec.c: ditto build/parsePrep.c: Add buildsubdir macro. lib/macro.c: Add url2path (nickname u2p) and verbose macro primitives. lib/url.c: urlPath returns "" if url is NULL (rpmGenPath memory corruption). CVS patchset: 3430 CVS date: 1999/11/19 18:19:41
1999-09-29Check in time stamps again.jbj1-2/+1
CVS patchset: 3343 CVS date: 1999/09/29 23:29:57
1999-09-29Check in time stamps.jbj1-1/+2
CVS patchset: 3342 CVS date: 1999/09/29 23:26:08
1999-08-22add %_install_langs to configure languages to be installed.jbj1-1/+2
CVS patchset: 3245 CVS date: 1999/08/22 04:17:12
1999-08-18Typo.jbj1-2/+2
CVS patchset: 3236 CVS date: 1999/08/18 16:29:53
1999-07-27popt: heavy dose of const.jbj1-3/+3
CVS patchset: 3206 CVS date: 1999/07/27 22:05:43
1999-07-23add post install configurable dependency checking.jbj1-1/+7
CVS patchset: 3202 CVS date: 1999/07/23 19:19:15
1999-05-14Add nil macro.jbj1-1/+6
CVS patchset: 3062 CVS date: 1999/05/14 18:59:43
1999-05-10Fix requires_eq macro.jbj1-4/+2
CVS patchset: 3054 CVS date: 1999/05/10 22:58:35
1999-05-05Add perl macros (from Artur Frysiak <wiget@t17.ds.pwr.wroc.pl>)jbj1-1/+29
CVS patchset: 3050 CVS date: 1999/05/05 19:01:01
1999-05-04Another typo.jbj1-2/+2
CVS patchset: 3047 CVS date: 1999/05/04 15:11:23
1999-05-04Typo.jbj1-2/+2
CVS patchset: 3046 CVS date: 1999/05/04 14:26:56
1999-04-27Typo.jbj1-2/+2
CVS patchset: 3033 CVS date: 1999/04/27 19:46:45
1999-04-21Typo.jbj1-2/+2
CVS patchset: 3027 CVS date: 1999/04/21 16:20:20
1999-04-20Add -C dir and -M options to %GNUconfigure.jbj1-3/+7
CVS patchset: 3024 CVS date: 1999/04/20 22:45:52
1999-04-20Add core set of autoconf/automake variables.jbj1-2/+23
CVS patchset: 3022 CVS date: 1999/04/20 18:21:08
1999-04-16Add -f to combat new POSIX behavior chown/chgrp on dangling symlinks.jbj1-18/+21
Hard configure absolute paths (rather than using which). CVS patchset: 3002 CVS date: 1999/04/16 05:44:36
1999-04-01add per-target macrofiles to search path.jbj1-2/+2
take globalMacroContext out of macro api. fix: flush all macros between builds. CVS patchset: 2936 CVS date: 1999/04/01 22:26:44
1999-03-30Restore "chmod -R ." as default.jbj1-3/+3
CVS patchset: 2925 CVS date: 1999/03/30 19:34:01
1999-03-28fix: avoid segfault using --prefix until ewt fixes.jbj1-19/+41
add --define "%foo %bar" option. dump macros to same fd as --showrc uses. add %GNUconfigure for full-blown package regeneration. fix: RPM_ARCH/RPM_OS had wrong values. fix: create ppc directories correctly. CVS patchset: 2922 CVS date: 1999/03/28 00:47:40
1999-03-27%vendor contains Red Hatjbj1-3/+4
%_vendor contains redhat CVS patchset: 2921 CVS date: 1999/03/27 21:40:56
1999-03-21pgp5 support (Carlo Wood <carlo@runaway.xs4all.nl>).jbj1-1/+2
CVS patchset: 2906 CVS date: 1999/03/21 18:43:22