Commit Graph

17 Commits

Author SHA1 Message Date
Juan RP 85cc462e1d Major infrastructure changes, part 2.
* 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
2009-11-22 08:31:44 +01:00
Juan RP 8c89fbd90b Fixed launchpad #474467 bug.
Make xbps-base-chroot depend on bash and use it for the chroot
environment. Depending in host's bash wasn't a good idea...

--HG--
extra : convert_revision : dfff2287dec5c3fb64725e601f70fe4a2ab2db98
2009-11-05 17:51:26 +01:00
Juan RP abd191ef1c bash: update to patchlevel 035.
--HG--
extra : convert_revision : cfb0e0d9337ea32683dc2e213cabbd857a6d5d52
2009-11-01 23:03:33 +01:00
Juan RP 1ebe5e6b5e Mega-commit removing deps in xbps-base-chroot.
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
2009-10-30 22:14:09 +01:00
Juan RP 2a8278bd06 Use XBPS_FETCH_CMD in packages that need to fetch something.
--HG--
extra : convert_revision : 9f7742da201cd3a2fee82c2bf6085d8cef7b00f2
2009-10-17 03:16:09 +02:00
Juan RP d9a46f4264 bash: update to 033 patchlevel.
--HG--
extra : convert_revision : 72446815d92af6ba111b7f16428d660797de5114
2009-09-20 11:40:44 +02:00
Juan RP 79ab7f755e bash: update to 4.0.028 (applying all current official patches).
--HG--
extra : convert_revision : 0b18bea0e6484ce9c84a908e4f9ff6a8bb6ea849
2009-08-02 16:06:53 +02:00
Juan RP fed6f64450 bash: mark as essential. Bump revision.
--HG--
extra : convert_revision : b8ec94e93305924d1036e10fd507b1dbfd562e61
2009-06-07 08:09:46 +02:00
Juan RP 783ac14baf bash: needs coreutils rundep for the INSTALL script.
--HG--
extra : convert_revision : ca25e4af8f38a21beeabb1bead820871827cbdec
2009-04-25 03:45:52 +02:00
Juan RP 3667f039f2 Install all packages via DESTDIR var and not prefix.
This removes many assignments that were needed before, and fixes
some packages to install its manpage/info files.

--HG--
extra : convert_revision : 5422f921ef81d089ed95ce0c52e5106ea10b2165
2009-03-18 10:02:43 +01:00
Juan RP 26f8175b51 bash: enable some options, change ncurses to ncurses-libs rundep.
--HG--
extra : convert_revision : 469e8fcb8a5d5844d42ec8e48efeef5e0fe1a995
2009-03-15 18:04:01 +01:00
Juan RP 855ec90fdf Add $register_shell var, to (un)register shells at post-{inst,rm} for binpkgs.
Multiple shells can be (un)registered by a single package, like:

register_shell="/bin/zsh-foo /bin/zsh-blah"

--HG--
extra : convert_revision : 0172a74b41e26089da97fcdc8cc2d5cb6ae147f2
2009-03-14 07:32:48 +01:00
Juan RP e0030bc0fe Split pkgs required by xbps-base-chroot, as it was made in Fedora.
- Added an additional shell func to add full (build/run), build
  or run time dependencies to packages. An optional third parameter
  can be used to specify other version than the one set in
  the depends file.
- Use a "depends" file in package directory to specify minimum
  required ABI/API version for a package, so that there's no need
  to set the version all the time in pkgs.
- Updated bash to 4.0.

--HG--
extra : convert_revision : 1aa0ce32d4bdc2cd371eac19ae7bcff2c986b6b3
2009-02-24 07:13:11 +01:00
Juan RP 1b358afeaf Convert all xbps-base-chroot pkgs to subpkgs.
Also introduce "libs.depends", that adds a rundep of a package
with a proper version. This is to avoid modifying all dependent
packages if there's an API/ABI change.

--HG--
extra : convert_revision : a46b11b8e9187bdb2bfc954ad5ff40ecd9c0fe31
2009-02-22 05:57:13 +01:00
Juan RP 61b0a539bf bash: remove bison and ncurses build deps.
The reason is that the host should provide this anyway.

--HG--
extra : convert_revision : 6dfb92ee193d181e1d1807578baba89d704f08fc
2009-02-19 21:47:26 +01:00
Juan RP 8a7d10cfd0 bash: use latest tarball with patches.
--HG--
extra : convert_revision : eac96249c7a8464dea1d127647c625742346cb76
2009-02-19 00:40:44 +01:00
Juan RP fa2748d9b2 Reorganize the templates directory for possible future changes.
Now every template uses its own directory. Patches, prepost* files
and other related stuff are stored there.

--HG--
extra : convert_revision : bbc529ef161d9a59fe13a1d54ac058f77ea05845
2009-02-03 21:35:57 +01:00
Renamed from templates/bash.tmpl (Browse further)