If a template uses this, it should provide a do_install() function to
install all required stuff.
--HG--
extra : convert_revision : ffbb388b83ac72e506c2c1fe98a942a41f3777d2
This is to ensure that only stuff found in the chroot will be used,
and to avoid some stupid problems with libtool scripts. Therefore only
templates that have $base_chroot set can be built without the chroot.
As bonus now all messages are prepended with "[chroot]" when xbps.sh
is running inside of it.
--HG--
extra : convert_revision : 68195f4b240c01eea18777767b555604d892400f
Rather than using a file for stuff like this, change them to be
functions in templates. Now if any template want to use them, it
can specify for example a {pre,post}_<stage>() shell function.
Also remove some NetBSD specific stuff that is not useful anymore.
--HG--
extra : convert_revision : b7157c61c92c05904e0e4d971268e5f018db46bc
If exists a patch called $pkgname-fix-{build,install}.diff in the
templates directory, they will be applied automatically. If patches
are named differently $patch_files must be used yet.
--HG--
extra : convert_revision : 21f6edfab580c569b3737280f54a6332c44baa49
If there's a file called "$pkgname.{pre,post}_{configure,build,install}
it will be automatically executed. In addition to this, templates may
use {pre,post}_{configure,build,install}_cmd variables to run arbitrary
commands.
--HG--
extra : convert_revision : 62ad549b8299689ecf8c833e73eda436ffdb7aa7
It's possible now to specify the target on which libtool_fixup_la_files
will run on, if template doesn't use by default will run at post
install. Also some changes to the listfiles target to not only show
files.
--HG--
extra : convert_revision : fc0656e6504184b890e1096e5a158f29f54b414b
- Use masterdir path before system path, this is needed in chroot!
- Use system grep because before starting the chroot LD_LIBRARY_PATH
has been configured and might fail.
--HG--
extra : convert_revision : 767a9fb94819ee85eab44096a0741b536e59763f
Also allow packages to disable fixup_libtool_file() via
$no_fixup_libtool, it's enabled by default.
--HG--
extra : convert_revision : 5fd550379cc78d08c2131fa011ee0121422bbae4
Some changes include:
- Xstow is not used anymore, files are copied into masterdir.
- a new target install-chroot has been created.
- a new meta-template xbps-base-chroot has been created required for
the install-chroot target.
- Removed XBPS_SYSCONFDIR, /etc is used by default.
Other changes that I cannot remember right now...
--HG--
extra : convert_revision : fb57d9dafb56aeb03cc935580172e075ce584fd5
This depends if a package uses $base_package, by default not set,
means the package will be installed into masterdir/usr, if set
will be installed into masterdir directly.
While here fixup binutils, gcc and glibc! I'm approaching to the point
on where I'll be able to chroot into masterdir and having working pkgs
installed.
--HG--
extra : convert_revision : be3c3e0d7368e7a1e1ef1c9add932aeeab82688d
While here add a new variable for templates: disable_ldflags.
If set LDFLAGS won't be used while building the package, it was
required by glibc which refused to link with a rpath set.
--HG--
extra : convert_revision : 14c547aa7470145c883ca982c517c50ca8f15fc5
Two new utilities in C have been created:
- xbps-digest: shows the SHA256 hash for a file.
- xbps-pkgdb: handles dependency stuff via proplib.
Templates should use now $build_depends and change $checksum to be
a SHA256 hash. That means that I'm currently using xbps on Linux and
I lost interest on NetBSD, perhaps I'll add support for it in the
future.
Only git and its dependencies have been converted, as well as vim.
--HG--
extra : convert_revision : 53a7e030ca6b6d02bb6cd3e51d42b7d5702c1b57
While here there's no need to override ltmain.sh, remove this block
from the xbps.sh script.
--HG--
extra : convert_revision : 76951b6f01e95e717a6f2cd8b36c1e3cfc9882fc
A new variable may be used in templates, $tar_override_cmd.
This accepts a full path to the binary, note that dependency must
be added before using this.
--HG--
extra : convert_revision : fc2a20d8e0104152d624d355e077e2b4219a1b73
Each template now needs to use $distfiles that accepts the full
URL to download the distfile and old $extract_sufx is now merged
on it, but this must be separated by the '@' character. Example:
distfiles="http://www.foo.org/blah-6.2@.tar.gzhttp://www.foo.org/blob-1.0@.tar.bz2"
If distfiles contains multiple files defined, $wrksrc is now
mandatory.
--HG--
extra : convert_revision : 1c3fa35f148af8323ce3cbcf5732104960de6bc4