Commit graph

77 commits

Author SHA1 Message Date
Juan RP
67cd850ebf
xbps-src: introduce XBPS_REPO_COMPTYPE for etc/conf.
This sets the repository data compression format, as explained
in xbps-rindex(1). By default set to `gzip'.
2019-06-25 10:52:37 +02:00
Aluísio Augusto Silva Gonçalves
3ad7858f09 etc/defaults.conf: point to xbps-create for compression formats
Ensure this comment is always up-to-date by pointing the reader to the
xbps-create manual.  Default is not xbps-create's, but comes from the
gen-pkg hook.
2019-06-25 10:40:46 +02:00
Juan RP
53b2aafb65
etc/repos-remote.conf: voidlinux.eu is no more. 2019-06-24 13:27:37 +02:00
maxice8
fadca94b98 common: add chroot-style 'ethereal' 2019-04-05 05:49:34 -03:00
maxice8
19f35a82c6
etc/defaults.conf: fix wording 2019-02-26 19:35:50 -03:00
maxice8
62240f4e40
etc/defaults.conf: mention bwrap 2019-02-26 17:28:11 -03:00
Michael Aldridge
b1fa5d8398 xbps-src: Update mirror addresses 2018-09-07 12:13:40 +02:00
Michael Gehring
e3f56ecb01 xbps-src: support caching go builds
Piggyback on the existing XBPS_CCACHE logic to enable/disable. Stored in
${XBPS_HOSTDIR}/gocache.
2018-03-19 08:29:05 +01:00
Michael Gehring
a4a229cf64 xbps-src: use HEAD commit time for SOURCE_DATE_EPOCH
In order to make builds more reproducible SOURCE_DATE_EPOCH was set to
the time of the last commit that touched the template. Since trying to
reproduce a build from a different revision is futile (the most obvious
reason is that the source-revisions property includes the HEAD commit
hash) and looking up the commit in question can take several seconds,
stop wasting time an just use HEAD.

Closes:  [via git-merge-pr]
2018-03-14 12:58:36 +00:00
Michael Aldridge
769fad6806 New package: nodejs-lts-8.9.0 2017-11-27 20:22:22 -08:00
Duncan Overbruck
570842f4a5 xbps-src: add etc/xbps.conf for extra xbps options () 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:  [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 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 ). 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