Commit Graph

67 Commits

Author SHA1 Message Date
Duncan Overbruck 570842f4a5 xbps-src: add etc/xbps.conf for extra xbps options (#8304) 2017-10-19 11:38:14 +02:00
Jürgen Buchmüller 5a11957d14 Merge branch 'master' into check 2017-05-02 09:18:52 +02:00
Michael Gehring 54fb7c9b9e etc/defaults.conf: fix aarch64* binary bootstrap/update 2017-03-13 08:01:11 +00:00
Jürgen Buchmüller c31dd888f6 xbps-src: implement a 'check' stage
Add another stage 'check' between 'build' and 'install'. It is be enabled using the
variable XBPS_CHECK_PKGS=yes and disabled if unset, set to "0" or "no" in your
local etc/conf.

A new xbps-src option `-q` for `quick` will disable XBPS_CHECK_PKGS by overriding it to 0.
If enabled, `common/xbps-src/shutils/xbps-src-docheck.sh` checks for an existing
`do_check()` function in the package's template and, if it exists, calls it.

A new template variable `checkdepends` may be present and list packages required
to run the `do_check()` function. Example: `checkdepends="bc unittest-cpp"`.
2017-03-08 11:33:48 +01:00
Satvik Sharma 5dc2824849 etc/repos-remote: add australian mirror
Closes: #5095 [via git-merge-pr]
2017-01-13 13:27:08 -05:00
Juan RP ef108a3af8 etc/repos-remote.conf: sort repo order to unbreak musl. 2016-11-04 13:21:27 +01:00
Christian Neukirchen ecc5dc0bb9 etc/repos-remote.conf: add aarch64 repo. 2016-09-17 17:13:32 +02:00
Duncaen b1ab524b1e etc/repos-remote.conf: add correct location for repo3 and repo4 2016-05-12 18:13:46 +02:00
Andrea Brancaleoni ab5b144dae etc/defaults.virtual: defaults to rkt-stage1-coreos 2016-05-04 10:26:52 +02:00
Juan RP 319b2a6689 Merge pull request #4125 from ebfe/notmuch
notmuch: update to 0.22.
2016-05-04 07:25:30 +02:00
Juan RP b092694736 etc/defaults.virtual: add missing pkgs to resolve all vpkgs (close #4124). 2016-05-03 11:33:59 +02:00
Michael Gehring 0ef175a0b9 etc/defaults.virtual: add emacs 2016-05-03 08:37:07 +02:00
Juan RP cadc6ffb83 etc/defaults.virtual: added phonon-backend. 2016-05-02 09:16:40 +02:00
Andrea Brancaleoni b52a035e2d rkt: update to 1.5.0. 2016-04-30 09:58:37 +02:00
Juan RP 433d2ecd21 etc/defaults.virtual: add libudev. 2016-04-30 09:46:37 +02:00
Juan RP d2bac19750 xbps-src: re-introduce etc/virtual.
The `etc/virtual` file declares the default package to be built for
virtual dependencies declared as "virtual?foo" in $depends.

Before this change, the run-time dependency was added as is to the final
binary package but no pkg providing this virtual pkg was built.

With this file we declare the *default* pkg to be built.

NOTE: "virtual?foo" is only applicable to *run* time dependencies, i.e
only those declared in $depends.
2016-04-27 20:16:59 +02:00
Juan RP ac5ce94884 etc/repos-remote: added lug.utdallas.edu void mirror. 2016-04-24 08:24:07 +02:00
Juan RP 7c0edc395b etc/repos-remote.conf: add commented out repo mirrors to keep track of them. 2016-04-23 20:52:44 +02:00
Juan RP da9b7bce98 etc/defaults.conf: switch to https for repo.voidlinux.eu. 2016-04-21 14:02:36 +02:00
Juan RP 7978233e78 etc/repos-remote.conf: use https for the musl repos. 2016-04-21 13:31:32 +02:00
Juan RP 42be387677 etc/repos*: switch to new url for musl repos. 2016-04-21 13:20:27 +02:00
Juan RP 4aa521495b etc/repos*: use https for repo.voidlinux.eu. 2016-04-21 11:03:51 +02:00
Juan RP d3bc0de1e7 xbps-src: get rid of etc/{defaults.,}virtual.
It wasn't too useful after all and this slowed down the dependency
process marginally.

We don't need this, we can live without this.
2016-03-22 10:39:45 +01:00
Enno Boland c83a4d96c4 hooks/pre-pkg: mtime rewriting is default on now. 2016-02-23 08:05:43 +01:00
Enno Boland 16050ad3f2 hooks/pre-pkg: fixed mtime support for packages.
overwrites the mtime of all files in a package with the commit-date
of the package.
2016-02-19 16:21:56 +01:00
Juan RP 784f75931d xbps-src: move compiler/linker defaults to env/hardening.sh.
The user can still set his/her defaults via etc/conf, and per
package in the templates.
2015-11-17 17:13:12 +01:00
Juan RP 26b301fecb etc/defaults.virtual: libressl-openssl -> libressl. 2015-10-30 15:10:44 +01:00
Juan RP 8412e02259 eudev-libgudev is gone; replaced by libgudev. 2015-10-14 09:18:31 +02:00
Juan RP 983d68a31e xbps-src: support multiple pkg compression formats via etc/conf.
XBPS_PKG_COMPTYPE can be set via etc/conf to set your preferred compression
format; defaults to xz, like xbps-create(1).

The "none" setting is only available since 0.48 (unreleased).
2015-09-03 12:44:08 +02:00
Juan RP 279ead0999 xbps-src: added XBPS_ALLOW_RESTRICTED conf option for restricted pkgs.
Such packages should set the `restricted' var to allow building a binary package.
Note that such packages do not allow redistribution of sources and binaries,
so that it's up to the user if (s)he wants to pkg it locally.
2015-07-26 10:22:35 +02:00
Juan RP 21e8243ce5 xbps-src: use XBPS_INSTALL_ARGS to repair bootstrap-update. 2015-06-09 09:23:06 +02:00
Juan RP 43062ba0a8 etc: musl.voidlinux.net -> muslrepo.voidlinux.eu 2015-05-25 21:10:28 +02:00
Juan RP 2ac40a8208 etc/defaults.conf: added remote repo for musl in XBPS_INSTALL_ARGS. 2015-05-21 10:46:29 +02:00
Juan RP 1ec769880a etc/repos-remote.conf: added remote repo for musl. 2015-05-21 10:46:28 +02:00
Juan RP cf1b7e7849 etc/defaults.conf: remove unshare(1) ref. 2015-05-02 05:37:27 +02:00
Juan RP cad5db125c etc/defaults.conf: document chroot-style/unshare. 2015-04-10 09:39:48 +02:00
Juan RP c7f21fd595 xbps-src: introduce support for multiple chroot implementations.
Available implementations at common/chroot-style/*.sh. Each .sh
script there implements a chroot style to be able to chroot and bind
mount with multiple utilities. The current supported list:

 - uunshare (uses xbps-uunshare(8))
 - uchroot (uses xbps-uchroot(8))
 - proot (uses proot, see http://proot.me)

The XBPS_CHROOT_CMD can be set in etc/conf to use a specific implementation,
and XBPS_CHROOT_CMD_ARGS to pass in additional arguments to the cmd.
2015-04-09 18:57:41 +02:00
Juan RP 4ca0e0951c etc/defaults.virtual: remove some useless replacements. 2015-03-17 10:35:56 +01:00
Juan RP 891b7e661e xbps-src: move xbps repo conf files to etc/. 2015-03-13 09:53:30 +01:00
Juan RP 4c49a35f43 etc/defaults.conf: move _FORTIFY_SOURCE to CFLAGS.
Lots of pkgs seem to fail when _FORTIFY_SOURCE is defined in CPPFLAGS
due to a missing optimization level, and also some of them simply
ignore CPPFLAGS, therefore move it to CFLAGS to fix this once and for all.
2015-03-12 11:28:27 +01:00
Christian Neukirchen cd01759127 defaults.conf: move -z now to hardened-ld only. 2015-03-08 19:57:01 +01:00
Juan RP e3765bc9b3 etc/defaults.conf: apply full relro completely via LDFLAGS. 2015-03-08 09:26:50 +01:00
Juan RP d056b34dca etc/defaults.conf: fix some comments. 2015-03-04 15:20:57 +01:00
Juan RP 50a116d27a xbps-src: set default compiler/preprocessor/linker flags via etc/conf.
Rather than setting them in the build profile, just set them in
etc/defaults.conf (overridable via etc/conf) to simplify the code.

- Also enable _FORTIFY_SOURCE=2 in CPPFLAGS.
- Also enable -z,relro in LDFLAGS.

As suggested by @chneukirchen.
2015-03-04 15:18:46 +01:00
Juan RP 1e04dc260d etc/defaults.virtual: ConsoleKit -> ConsoleKit2 2015-01-20 18:45:17 +01:00
Juan RP 357d701fb6 etc/defaults.virtual: ConsoleKit-devel -> ConsoleKit2-devel. 2015-01-06 10:44:16 +01:00
Juan RP 7796f157c7 etc/defaults.virtual: declare libressl replacements. 2014-12-06 18:59:13 +01:00
Juan RP c2bd01c8d3 xbps-src: introduce build profiles and use it by default.
common/build-profiles contains the compilation flags used in native
builds, and are defined per architecture:

	- x86_64 (glibc)
	- x86_64-musl (musl)

If XBPS_CFLAGS or XBPS_CXXFLAGS are set in `etc/conf`, the settings
from the build profile will be overrided.
2014-11-10 11:17:34 +01:00
Juan RP fb1d18aec3 kde: update to 4.14.2. 2014-10-29 16:21:18 +01:00
Juan RP 9b8410064a etc/defaults.virtual: declare awk (gawk) and man (openbsd-man) defaults. 2014-10-28 07:35:38 +01:00