Commit graph

92 commits

Author SHA1 Message Date
Juan RP
d0871519a0 xbps-src: bump XBPS_SRC_BUILD_VERSION. 2011-11-11 16:01:21 +01:00
Juan RP
0e59c1ee07 xbps-src: fixed index generation with -B without -D. 2011-11-10 13:28:27 +01:00
Juan RP
688accec67 xbps-src: added -V flag to print code version, add new obj into pkg metadata for that. 2011-11-09 20:58:42 +01:00
Juan RP
5a2cc5b5bd xbps-src: infrastructure changes required for "nonfree" keyword in tmpls.
- The chroot target now execs masterdir/bin/xbps-shell to set up correct envvars.
- 2 pkgs are now in nonfree repo: adobe-flash-plugin and jre.
- Renamed some vars in xbps-src to be in uppercase, notably XBPS_MACHINE.
- make-repoidx target now creates the index for all "known" directories specified
  via XBPS_PACKAGESDIR: XBPS_MACHINE, noarch, and nonfree/XBPS_MACHINE.
2011-11-08 11:56:17 +01:00
Juan RP
6f12d878c1 xbps-src: follow target names from xbps utils.
Some targets have been renamed:
	info		-> show
	list-files	-> show-files
Added a new target to print reverse dependencies for a package:
	show-revdeps
2011-11-02 16:02:31 +01:00
Juan RP
749ef825a3 xbps-src: always check required host utils, even if masterdir is ready. 2011-10-30 11:17:05 +01:00
Juan RP
cc85809e29 xbps-src: if euid can't write to masterdir, exit gracefully. 2011-10-30 09:27:46 +01:00
Juan RP
c2b0d7a307 xbps-src: make unstow work even if build template is missing. 2011-10-26 09:05:10 +02:00
Juan RP
34b6c2c391 xbps-src: for src bootstrap case, append our PATH to existent PATH. 2011-10-24 22:15:01 +02:00
Juan RP
48259e0011 xbps-src: check that xbps static bins are there. 2011-10-21 21:30:08 +02:00
Juan RP
b1dcc3623a xbps-src: new target: bootstrap-update.
This target will update the bootstrap packages in masterdir
(if it was installed thru binary packages) to the most newer
version available in registered repositories.
2011-10-20 18:31:16 +02:00
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