Commit graph

103 commits

Author SHA1 Message Date
Juan RP
bc5f57f274 xbps-src: use install_pkg() for configure and build targets too. 2011-11-18 09:33:29 +01:00
Juan RP
6405eb783a xbps-src: sanitize path for IN_CHROOT opts too. 2011-11-17 16:31:17 +01:00
Juan RP
9c39c3e23f xbps-src: bump version for last verify_rundeps bugfix. 2011-11-17 15:52:50 +01:00
Juan RP
f4c0b67184 xbps-src: [verify_rundeps] use SONAME for matching pkgname if found. 2011-11-17 11:00:08 +01:00
Juan RP
5cf08f1381 xbps-src: new target: clean-autodeps. To force autodeps removal. 2011-11-16 17:59:33 +01:00
Juan RP
3be2a5f852 xbps-src: added an optional arg to rshlibs, to make SONAME arch specific. 2011-11-16 13:35:48 +01:00
Juan RP
a7059483f5 xbps-src: always generate xbps-shell with a proper PATH. Bump version. 2011-11-15 17:15:53 +01:00
Juan RP
871e7aad4a xbps-src: verify_rundeps: make sure to unset local vars. 2011-11-15 11:04:31 +01:00
Juan RP
7236b3549b xbps-src: bump XBPS_SRC_BUILD_VERSION. 2011-11-15 10:41:19 +01:00
Juan RP
108e35ef33 xbps-src: bumped XBPS_SRC_BUILD_VERSION for make-binpkg fix. 2011-11-14 20:59:12 +01:00
Juan RP
59ca05ac3d xbps-src: bump XBPS_SRC_BUILD_VERSION. 2011-11-12 12:09:16 +01:00
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