Commit graph

16 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
d5c95e0fe2 dash: add missing bison & coreutils build deps.
--HG--
extra : convert_revision : 700fff1c5cf38b9982ebbbed0d11f3fdfa984a13
2009-11-05 17:49:36 +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
c48c9c9a22 dash: remove the not-so-useful REMOVE script.
Bump revision.

--HG--
extra : convert_revision : 5737d178ec7bb38b22475a48ad42458d3bd321eb
2009-08-05 22:58:56 +02:00
Juan RP
b28c3c5b43 dash: mark as essential. Bump revision.
--HG--
extra : convert_revision : 4ea0f4554441453f6edf02fb7cfcb41acc091a34
2009-06-07 08:10:03 +02:00
Juan RP
36c84fe45b dash: some fixes for /bin/sh symlink.
1) Always create /bin/sh symlink at post-installation.
2) If dash is going to be removed, make /bin/sh a symlink
   to /bin/bash, if it exists otherwise it will be dangled.

This fixes the update of the dash package.

Bump revision.

--HG--
extra : convert_revision : 38586de9f72d0b5f4c7498dbef3709d77f4f07db
2009-05-06 07:17:33 +02:00
Juan RP
498494add8 dash: update to 0.5.5.1.
--HG--
extra : convert_revision : 956f16f5e524084272855edeb1bf8364d84c414f
2009-05-02 02:16:53 +02:00
Juan RP
30f0a45c0d dash: needs coreutils rundep for the INSTALL script.
--HG--
extra : convert_revision : ee92a901939d6eb3c1d28377f8fb942ff3c7eee7
2009-04-25 03:45:27 +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
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
de411515cc Kill $base_package, it was only used by dash after all.
--HG--
extra : convert_revision : e7ac14b1535f716dec259fc208343b3f4b6bb75f
2009-03-14 06:11:52 +01:00
Juan RP
a592a38eda dash: downgrade to 0.5.4, it seems newer version has problems.
--HG--
extra : convert_revision : e0497052bfd0ab24e432532e81019809b1a690c5
2009-03-03 22:33:44 +01:00
Juan RP
054d5b9d0d dash: update to 0.5.5.1 and force LANG=C to make this build.
--HG--
extra : convert_revision : 9727e3b3675a513cf980d3f6b392b380a437f7f3
2009-03-03 17:37:04 +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
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/dash.tmpl (Browse further)