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!
XBPS_CACHEDIR will be bind mounted as read/write in target masterdir
into /cachedir. This directory must have read/write perms for the user
running xbps-src.
This is to specify common LDFLAGS settings for all packages, by default
it's set to '-Wl,--as-needed' to avoid linking extra libraries into
the binaries. This helped to find such cases.
- Added a new var XBPS_REPO_LIST for the conf file, to specify
a list of remote repositories to be used in a masterdir.
- Install all required binpkgs in one pass, if that fails install
one of them at every pass.
- Fixed xbps-src-chroot-helper to properly catch SIG{INT,QUIT}
when -m is specified.
- Misc cosmetics improvements.
--HG--
extra : convert_revision : 0ad7d559477ccc1fc04ab09deb791343ee453de6
Three new helpers will now be installed into ${libexecdir}:
- xbps-src-capchroot needs to have set CAP_SYS_CHROOT ep.
- xbps-src-chroot-cap{,u}mount: needs to have set CAP_SYS_ADMIN ep.
That means that libcap and setcap(8) are now required to install
xbps-src and use it as normal user.
--HG--
extra : convert_revision : 586d6526079e085f86bf3e393459d429f6f0ef99
* Removed the following vars from the conf file: XBPS_BUILDDIR,
XBPS_PACKAGESDIR and XBPS_SRCDISTDIR. They are always relative
to XBPS_MASTERDIR and cannot be changed.
* Removed XBPS_INSTALLDIR, it was unused in the code.
* Prepend /tools/bin in PATH for the chroot.
* Don't register a repo in the chroot if the XBPS_PREFER_BINPKG_DEPS
is not set.
--HG--
extra : convert_revision : 4df03ffa64f0bbf81cd1dd0baf38f1b7e4f47549
Please read the comment in xbps-src.conf to use it. Fully tested
and working nicely, probably some pkgs will need minimal changes.
--HG--
extra : convert_revision : 820ad6d48aa74cf5b6db1871adea750acccaa82f
if XBPS_PREFER_BINPKG_DEPS is set in xbps-src.conf, the local binpkg
repo in XBPS_PACKAGESDIR will be used to install binpkgs.
To use this feature you'll need xbps utils >= 20100114 from head.
--HG--
extra : convert_revision : 7317e0e2741997007e81ed478f819c36e4858e5d
Rather than make it configurable, put this always under
XBPS_MASTERDIR/pkg-destdir, so you don't have to care about it anymore.
--HG--
extra : convert_revision : 34cc3102272bfcf95b2fc3a8961cb9cb2429ab91
* Moved helpers, common and triggers dirs into xbps-src, where
they belong.
* Renamed the templates dir to srcpkgs, it was so redundant before.
* Make it possible to add subpkgs with no restriction in names, for
example udev now has a subpkgs called "libgudev". Previously
subpkgs were named "${sourcepkg}-${pkgname}".
* xbps-src: changed to look for template files in current directory.
That means that most arguments from the targets have been removed.
* xbps-src: added a reinstall target, to remove + install.
* xbps-src: do not overwrite binpkgs by default, skip them.
And more that I forgot because it's a mega-commit that I've been
working for some days already...
--HG--
extra : convert_revision : 0f466878584d1e6895d2a234f07ea1b2d1e61b3e
xbps-src:
* ALWAYS use the static bins, to avoid breakage in the chroot.
* Remove XBPS_FETCH_CMD. Use xbps-fetch (static) now that it's
useful to download all distfiles in xbps-base-system.
* Use busybox in the chroot and create links in /usr/local/bin
at creation time. This helps to remove many packages that
had problems with host/target libs (acl, attr, libarchive, etc).
build templates:
* Add explicit gettext and texinfo build dependencies in all
packages that need them, because they aren't built anymore
by xbps-base-chroot.
* Fixed some packages using build_style=gnu_makefile, that were
broken because pre/post_configure() is not executed for a while,
they should use pre/post_build() instead.
--HG--
extra : convert_revision : 0eaaf4917fd824710d0895e0c984bbc236b0cdf8
- Added two new options for xbps-src.conf:
XBPS_COMPRESS_CMD by default set to xz.
XBPS_COMPRESS_LEVEL by default not set.
Change these options to override the behaviour.
--HG--
extra : convert_revision : cbf096e3ff8c290ec0dfd96e5e7cf81f82cbf26a