Commit graph

81 commits

Author SHA1 Message Date
Juan RP
b26931c3a1 xbps-src: minor improvements. 2011-10-06 17:05:17 +02:00
Juan RP
c586459062 xbps-src: export CCACHE_DIR is XBPS_CCACHE is set. 2011-07-19 00:22:52 +02:00
Juan RP
cfb09f2d9f xbps-src: remove unnecessary variable assignments. 2011-07-18 18:50:23 +02:00
Juan RP
9dc7185e7e xbps-src: use shell patterns directly to source shutils. 2011-07-18 16:30:31 +02:00
Juan RP
07db31cb54 xbps-src: cleanup version/revision mess. 2011-07-18 16:25:18 +02:00
Juan RP
ac7c66d00a xbps-src: some changes for usage(). 2011-07-18 14:00:03 +02:00
Juan RP
e22c565811 xbps-src: make -B flag build binpkgs for required pkg deps. 2011-07-18 11:36:48 +02:00
Juan RP
d734239f2e xbps-src: added -B flag for the install target. 2011-07-17 20:12:31 +02:00
Juan RP
e78e0028ca xbps-src: rename libexec helpers, they were too long. 2011-07-14 13:24:00 +02:00
Juan RP
f74a9b34a6 xbps-src: prefer host utils in non-chroot case for bootstrap. 2011-07-11 13:12:27 +02:00
Juan RP
becde060a4 xbps-src: show all missing required host utilities, add gzip/bzip2. 2011-07-11 12:32:44 +02:00
Juan RP
bd2c0ccf9b xbps-src: add bison to required host utils for bootstrap. 2011-07-11 09:21:29 +02:00
Juan RP
2b9aec22ea xbps-src: <destdir> and <builddir> must not be in XBPS_HOSTDIR. 2011-07-08 02:25:51 +02:00
Juan RP
b6c21b960b xbps-src: new layout in masterdir to use a common directory from host.
XBPS_CACHEDIR has been replaced by XBPS_HOSTDIR in configuration file,
and this expects the following structure:

/host
  |_ /build (previously /pkg-builddir)
  |_ /binpkgs (previously /pkg-binpkgs)
  |_ /repocache (previously /cachedir)
  |_ /sources (previously /pkg-srcdistdir)

Thanks to str1ngs for the great idea!
2011-07-08 02:07:38 +02:00
Juan RP
ef21557313 xbps-src: multiple improvements related to chroot code. 2011-07-06 14:20:27 +02:00
Juan RP
8b3b96182e xbps-src: make remove target respect bootstrap setting. 2011-07-06 11:29:38 +02:00
Juan RP
341432f1fb xbps-src: make -D remove only remove files in pkg's destdir. 2011-07-06 11:27:57 +02:00
Juan RP
fae03c067e xbps-src: rename IGNORE_BOOTSTRAP_PKGS to BOOTSTRAP_PKG_REBUILD. 2011-07-06 08:28:34 +02:00
Juan RP
5355f32aca xbps-src: support building bootstrap pkgs in chroot with -D.
The base_chroot var has been renamed to bootstrap, to avoid conflicts
with the base-chroot pkg. So now you can rebuild any bootstrap package
if the masterdir is ready (base-chroot already) installed and
installation is only to destdir.
2011-07-06 08:16:56 +02:00
Juan RP
de16af4308 xbps-src: add -D flag replacing the install-destdir target. 2011-07-04 23:30:30 +02:00
Juan RP
24bad5c713 xbps-src: make -K and -C really work. 2011-07-04 21:29:11 +02:00
Juan RP
9b52e244c6 xbps-src: added -K flag to KEEP automatic installed deps, cleanups. 2011-07-04 19:07:08 +02:00
Juan RP
32f59c07c5 xbps-src: redo PATH to always prefer coreutils over busybox, if available. 2011-07-03 14:38:51 +02:00
Juan RP
21a096b6de xbps-src: rename listfiles target to list-files. 2011-07-03 12:22:44 +02:00
Juan RP
d22024261d xbps-src: make internal var UPPERCASE. 2011-07-03 02:57:32 +02:00
Juan RP
8bc23145c8 xbps-src: added -S flag to disable XBPS_PREFER_BINPKG_DEPS. 2011-07-02 22:56:26 +02:00
Juan RP
dd0579d967 xbps-src: tar and xz are required in host system. 2011-07-02 20:31:43 +02:00
Juan RP
7984b39928 xbps-src: fix fetch phase with depends, performance improvements.
- The fetch phase *must* run after installing pkg dependencies,
  otherwise it could fail if we need them for fetching.

- Performance improvements for xbps-src. Only source shutils files
  at the start, not every time we use a function.
2011-07-02 17:04:08 +02:00
Juan RP
cbdfc216de xbps-src: added XBPS_CCACHE option to xbps-src.conf.
If set /usr/lib/ccache/bin will be added to PATH as the first entry,
*only* for chroot.
2011-07-02 09:15:29 +02:00
Juan RP
5c55f940ae xbps-src: fix previous path for ccache. 2011-07-02 08:54:42 +02:00
Juan RP
1ebd495d9c xbps-src: redo PATH to use correct paths for xbps, and ccache. 2011-07-02 08:53:09 +02:00
Juan RP
ecd20056c3 xbps-src: make-repoidx failed for repos with only noarch pkgs. 2011-06-28 16:02:32 +02:00
Juan RP
93ff6b22d7 xbps-src: adapt for xbps-base-chroot -> base_chroot rename. 2011-06-23 03:25:23 +02:00
Juan RP
c912ce0eef xbps-src: remove a pkg thru the chroot handler to fix some bugs in pre/post_remove funcs. 2011-06-16 12:21:12 +02:00
Juan RP
7df9b19e04 xbps-src: remove the check for xbps static bins, it's assumed they are. 2011-02-14 14:21:58 +01:00
Juan RP
53dd86fc6e xbps-src: make 'extract' target also fetch distfiles. 2011-02-11 15:29:00 +01:00
Juan RP
85543cd319 xbps-src: only umount bind mounts in the chroot shell fragment. 2011-02-11 14:19:34 +01:00
Juan RP
0e74f8bc18 xbps-src: bail out if the xbps static utils aren't installed in masterdir. 2011-01-16 18:13:55 +01:00
Juan RP
f832dd42a8 xbps-src: be more conservative with signal handlers. 2010-12-28 22:55:17 +01:00
Juan RP
e643f8dcee xbps-src: gawk is required by glibc, so detect it. 2010-12-23 20:48:04 +01:00
Juan RP
2d32c8fd9e xbps-src: make some targets work by specifying its pkgname.
There are now two ways to use the following targets:

build, build-pkg, clean, configure, extract, fetch, info, install,
install-destdir, remove, stow, unstow.

1) The known way: 'cd srcpkgs/foo && xbps-src <target>"
2) The new way: 'xbps-src <target> foo'.
2010-12-21 18:45:39 +01:00
Juan RP
3da3783333 xbps-src: improve msg_* funcs and update all callers. 2010-12-20 00:22:12 +01:00
Juan RP
a4330337e4 xbps-src: cd to $MASTERDIR when executing the signal handler. 2010-12-16 00:27:42 +01:00
Juan RP
4bdf2e615b xbps-src: be silent while checking for required host cmds. 2010-11-09 00:47:29 +01:00
Juan RP
c5f1097f4e xbps-src: added -s flag to override default XBPS_SRCDISTDIR value. 2010-10-30 18:25:04 +02:00
Juan RP
b257ba41fc xbps-src: do not overwrite PATH, just append it to the new one. 2010-10-21 17:21:23 +02:00
Juan RP
0c5f31342c xbps-src: do not overwrite masterdir if -c not set and -m set. 2010-06-03 01:49:33 +02:00
Juan RP
c34e13336b xbps-src: multiple changes to improve infrastructure.
- Remove buildvars_funcs.sh, its code has been moved into set_tmpl_common_vars().
- Move stripping code into its own file, and don't run it via fakeroot.
- Remove unnecesary reset_tmpl_vars() call in install_pkg().
- Misc changes.
2010-05-26 15:41:26 +02:00
Juan RP
c785787fdd xbps-src: added 'clean' target to remove pkg build directory. 2010-05-20 04:05:35 +02:00
Juan RP
b9d0db9470 xbps-src: added new 'checkvers' target to check for new versions from srcpkgs
against current installed packages.
2010-05-19 03:00:52 +02:00