Commit Graph

927 Commits

Author SHA1 Message Date
Juan RP 871d2fa873 xbps-src: added -G to enable XBPS_USE_GIT_REVS. 2014-07-01 10:33:54 +02:00
Juan RP 9d34c36e0a Implemented support for permanent pkg build options (globally or per-pkg).
Permanent global pkg build options can be defined via 'XBPS_PKG_OPTIONS' in etc/conf.
Permament per-pkg build options can be defined via 'XBPS_PKG_OPTIONS_<pkgname>' in etc/conf.

Close GH #452.
2014-06-30 11:32:07 +02:00
Juan RP 1b4e6ecaac xbps-src: added support for the "tags" variable and require xbps>=0.37. 2014-06-06 20:51:47 +02:00
Juan RP ecdb3900af xbps-src: clean target without args removes autodeps/{build,dest}dir now. 2014-05-23 17:14:00 +02:00
Juan RP 3e55e4e30e xbps-src: add list target to usage(). 2014-05-20 10:02:09 +02:00
Juan RP 28ec7358c1 xbps-src: use local repo first for the binary-bootstrap target, append remotes later. 2014-05-20 09:56:20 +02:00
Juan RP c09b2df7a7 xbps-src: fix bootstrap target with gcc being part of it. 2014-05-19 12:42:43 +02:00
Juan RP a1f948bc35 xbps-src: wait for child processes before exiting. 2014-05-15 20:45:14 +02:00
Juan RP 5efa970972 xbps-src: only remove autodeps if chroot is ready. 2014-05-15 16:44:47 +02:00
Juan RP 6b1d54f873 xbps-src: remove autodeps before updating bootstrap pkgs. 2014-05-15 16:43:35 +02:00
Juan RP cf97b1a2b4 xbps-src: apply indentation and avoid XBPS_MASTERDIR in the chroot case. 2014-04-28 23:03:35 +02:00
Juan RP d5bc654227 xbps-src: repair bootstrap target. 2014-04-28 11:33:13 +02:00
Juan RP b64fd3fefe xbps-src: reconfigure pkgs for !native masterdirs. 2014-04-24 14:43:44 +02:00
Juan RP eaf79d8b78 xbps-src: if ~/.xbps-src.conf exists, read it after etc/conf. 2014-04-23 16:37:02 +02:00
Juan RP 110b50ab24 xbps-src: improve -r description. 2014-04-22 17:11:24 +02:00
Juan RP 74305d33ff xbps-src: add default local repo for the binary-bootstrap target. 2014-04-22 16:49:33 +02:00
Juan RP 1fb261bb97 xbps-src: use default hostdir if unset; added support for x86 chroots ootb.
- If -H (hostdir) is unset, it now defaults to xbps-packages/hostdir. This way
  a single hostdir can be shared by multiple masterdirs without any tweak.

- If bootstrap pkg are installed via 'binary-bootstrap arch', add support to
  reexec xbps-src with linux32 to allow 32bit builds without any tweak or
  additional commands.
2014-04-22 16:01:05 +02:00
Juan RP d4e4d826e6 xbps-src: new targets: update-bulk and update-sys.
* update-bulk:
	This rebuilds all pkgs in system repositories that are outdated.
	with this xbps-bulk is now considered fully obsolete.

* update-sys:
	This rebuilds all pkgs in system that are oudated and once built,
	updates them via xbps-install(8).

	This target defines a new configuration option "XBPS_SUCMD" that
	is the command to execute to update the system. By default set to
	"sudo sh -c".

CAVEATS
	- need to check if binpkg is in local repo.
	- need to add support to specify alternative rootdir.
	- need to add support to specify system repos.
2014-04-09 16:42:07 +02:00
Juan RP 46d302a92a xbps-src: two new targets merging xbps-bulk functionality.
show-repo-updates: prints the list of oudated pkgs in repos.
show-sys-updates: prints the list of oudated pkgs in your system.
2014-04-09 12:11:50 +02:00
Juan RP ec62e56ef6 xbps-src: new target: show-var <varname> to print the value of <varname>. 2014-04-09 09:52:48 +02:00
Juan RP 576b865cf4 Update for xbps>=0.35 which contains xbps-uchroot.
That means that the Makefile and xbps-src generated files are not required
anymore, and the xbps-src script can be used as is.

Bump xbps requirement to 0.35 and enable XBPS_INSTALL_ARGS by default.
2014-04-01 11:29:21 +02:00
Juan RP c973848606 Removed xbps-src code. It's available on https://github.com/xtraeme/xbps-src. 2011-11-19 00:05:42 +01:00
Juan RP ccc3eaa70f Reorganize stuff in repo to make xbps-src an independent package. 2011-11-18 17:36:14 +01:00
Juan RP eac23f408f TODO: remove old item. 2011-11-18 16:25:51 +01:00
Juan RP 47a52ce84f xbps-src: set ETCDIR to PREFIX/etc/xbps by default. 2011-11-18 16:06:11 +01:00
Juan RP 2e53ec2c82 xbps-src: remove unneeded assignment. 2011-11-18 15:59:00 +01:00
Juan RP 9fd0795509 xbps-src: fix usage(). 2011-11-18 15:51:46 +01:00
Juan RP 7253423d23 xbps-src: no need to chroot to install xbps-src anymore. 2011-11-18 15:41:49 +01:00
Juan RP 99578ee070 xbps-src: no need to subst shell helpers anymore. 2011-11-18 14:20:00 +01:00
Juan RP c011a2749b xbps-src: use XBPS_LIBEXECDIR and XBPS_SHAREDIR in all scripts that need substs. 2011-11-18 14:05:51 +01:00
Juan RP dd4feb7b41 xbps-src: init_func.sh doesn't need to be sed subst anymore. 2011-11-18 12:51:58 +01:00
Juan RP c5dd6426ae xbps-src: use fixed paths for chroot case, unsubst set_defvars. 2011-11-18 12:50:28 +01:00
Juan RP d7c2cc5513 xbps-src: doinst-helper: we know exact PATH for chroot case, use it. 2011-11-18 12:02:39 +01:00
Juan RP 005be53337 xbps-src: remove getdeps-helper, unused; don't install chroot-helper in chroot. 2011-11-18 11:58:21 +01:00
Juan RP 8795076381 xbps-src: install_pkg: we know exact PATH for chroot case, use it. 2011-11-18 11:52:56 +01:00
Juan RP b1210b9934 xbps-src: set_defvars: we know exact PATH for chroot case, use it. 2011-11-18 11:47:24 +01:00
Juan RP a88d12346d xbps-src: tmpl_func.sh doesn't need to be filtered by sed in installation. 2011-11-18 11:40:00 +01:00
Juan RP 202dfd9c26 xbps-src: 'show-revdeps' now looks for hard deps and rshlibs, even faster. 2011-11-18 10:48:29 +01:00
Juan RP bc5f57f274 xbps-src: use install_pkg() for configure and build targets too. 2011-11-18 09:33:29 +01:00
Juan RP c2ebeb328a xulrunner: removed, nothing depends on it anymore. 2011-11-17 17:55:22 +01:00
Juan RP 6405eb783a xbps-src: sanitize path for IN_CHROOT opts too. 2011-11-17 16:31:17 +01:00
Juan RP 524485422e New package: libyaml-0.1.4. 2011-11-17 16:13:50 +01:00
Juan RP 9c39c3e23f xbps-src: bump version for last verify_rundeps bugfix. 2011-11-17 15:52:50 +01:00
Juan RP 1d3f3870f4 gdbm: update to 1.10, abi_depends bump. 2011-11-17 15:41:06 +01:00
Juan RP 5701dffe63 xbps-src: [verify_rundeps] safer way to detect invalid SONAMEs. 2011-11-17 15:39:00 +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 4e151281f7 xbps-src: 'show-revdeps' now works when no -devel pkg exists, i.e libgcc. 2011-11-17 10:18:40 +01:00
Juan RP 74cd8ace29 xbps-src: 'show-revdeps' now works with pkgs containing grep meta-chars. 2011-11-17 10:12:14 +01:00
Juan RP ae0e7aa2bb xbps-src: fixed libxml++ SONAME. 2011-11-17 10:07:43 +01:00
Juan RP 5728894a63 xbps-src: added firefox SONAMEs, to not pick up the xulrunner ones. 2011-11-17 08:08:39 +01:00