summaryrefslogtreecommitdiff
path: root/macros.in
AgeCommit message (Collapse)AuthorFilesLines
2001-07-31- add support for mips (#49283).jbj1-1/+4
- add __as, _build_arch, and __cxx macros (#36662, #36663, #49280). - detailed build package error messages. CVS patchset: 4996 CVS date: 2001/07/31 18:13:22
2001-07-28- fix: --noscripts is another multimode option.jbj1-4/+4
- add tmpdir to configure db3 tmpdir into chroot tree. - permit lazy db opens within chroot. - fix: diddle dbenv path to accomodate backing store reopen in chroot. CVS patchset: 4990 CVS date: 2001/07/28 00:33:07
2001-07-14- isolate cdb access configuration (experimental, use at your own risk).jbj1-2/+5
- fix: hard fail on locked dbopen if CDB locking not in use. - fix: dbconfig with mp_mmapsize=16Mb/mp_size=1Mb for "everything ENOSPC" failure check. CVS patchset: 4942 CVS date: 2001/07/14 20:09:56
2001-07-10- package version now configureable, default v3.jbj1-10/+22
- rename rpm libraries to have version with libtool -release. - fix: -i CLI context broken Yet Again. CVS patchset: 4930 CVS date: 2001/07/10 17:59:11
2001-06-21- add %{_gnu} macro to append "-gnu" to %{_target_platform} tojbj1-4/+5
support --target/--host flavored %configure. Legacy behavior available by undefining %{_gnu}. CVS patchset: 4899 CVS date: 2001/06/21 03:51:34
2001-06-17Sync with rpm-4_0 branch.jbj1-2/+2
CVS patchset: 4876 CVS date: 2001/06/17 22:18:03
2001-06-15- linux.req needs exit 0jbj1-17/+22
CVS patchset: 4868 CVS date: 2001/06/15 21:52:47
2001-06-15- fix: db1 end-of-file not detected in legacy compatible way.jbj1-2/+16
- fix: remove (harmless) chown error message from %post. - add --target/--host to %configure, add example cross-build/config.site scripts to /usr/lib/rpm <arjanv@redhat.com> (#44581). - rpmdb iterator selectors permit default/strcmp/regex/glob matching. - rpmdb iterator selectors permit negative matches. CVS patchset: 4861 CVS date: 2001/06/15 04:56:33
2001-06-06- default to dbenv with mpool, --rebuilddb with nofsync is much faster.jbj1-2/+2
CVS patchset: 4849 CVS date: 2001/06/06 19:57:12
2001-05-25- perform db->verify when closing db files.jbj1-6/+7
CVS patchset: 4813 CVS date: 2001/05/25 19:51:53
2001-05-14- upgrade to db-3.3.4.jbj1-42/+76
CVS patchset: 4787 CVS date: 2001/05/14 20:12:10
2001-05-13- add cron/logrotate scripts to save installed package filenames.jbj1-22/+55
CVS patchset: 4777 CVS date: 2001/05/13 17:55:58
2001-05-09- rpm executables now setuid rpm to share write locks.jbj1-19/+58
- expose more db3 macro configuration tokens. CVS patchset: 4756 CVS date: 2001/05/09 22:58:56
2001-04-10Doxygen annotations for config files.jbj1-2/+2
Doxygen annotations for rpmdep section. Add manifests for install modes. CVS patchset: 4675 CVS date: 2001/04/10 12:36:45
2001-03-17Doco updates.jbj1-1/+7
CVS patchset: 4641 CVS date: 2001/03/17 19:55:09
2001-03-04- Add btree indexes for Dirnames, Requireversion, Provideversion, Insttaltid,jbj1-2/+8
and Removetid. - Add per-script and per-trigger control options and flags. - Add --apply option and flags. CVS patchset: 4605 CVS date: 2001/03/04 15:34:53
2001-02-111st stab at --repackage.jbj1-33/+89
CVS patchset: 4545 CVS date: 2001/02/11 22:02:29
2000-12-04Sync with rpm-4_0 branch.jbj1-1/+2
CVS patchset: 4315 CVS date: 2000/12/04 00:55:17
2000-11-02- add support for unzip rodrigob@conectiva.com.br>jbj1-1/+3
CVS patchset: 4243 CVS date: 2000/11/02 17:57:25
2000-09-01- unify rpmError and rpmMessge interfaces through rpmlog.jbj1-4/+7
- collect and display rpm build error messages at end of build. CVS patchset: 4149 CVS date: 2000/09/01 21:15:40
2000-08-28Document global/system/user configuration hierarchy in rpmrc/macros (#17038).jbj1-1/+7
CVS patchset: 4142 CVS date: 2000/08/28 15:25:04
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