Commit graph

30 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
9760ddca40 udev: update to 147, add glib-devel subpkg.
--HG--
extra : convert_revision : bef0cb6fd424f63c276ddd87a0bfb87fac69cc72
2009-11-17 17:29:37 +01:00
Juan RP
2c53035fb7 Added support for extended pkgdep version matching.
xbps from launchpad head branch has gained support for extended
pkg version matching, as specified in:

https://blueprints.launchpad.net/xbps/+spec/improved-version-matching

Now it's required to specify the operator(s) for required versions
in the depends files and "Add_dependency" option in build templates.

xbps-src now requires xbps utils 20091107.

--HG--
extra : convert_revision : fc09fa707483a75e0b6f68445721fc1a9166cdad
2009-11-07 05:01:00 +01:00
Juan RP
e4b9a3100f udev: use pkill and rm from busybox in the initramfs hook.
Bump revision.

--HG--
extra : convert_revision : 0bd72f6a716dcf86183c04efff4c2a4b48efeba0
2009-10-08 16:58:12 +02:00
Juan RP
aef0a6d042 udev: remove useless/obsolete rules file. Bump revision.
--HG--
extra : convert_revision : 049eead85b964fe4b643e7cc9dae607079299b5b
2009-10-04 19:25:25 +02:00
Juan RP
1c14d2be2d udev: update to 146.
--HG--
extra : convert_revision : 55ec824a4afa2bf210bf591ea6a857a0c32be17c
2009-08-15 16:00:02 +02:00
Juan RP
d9a9bbae51 udev: move libgudev into a subpkg, remove unneeded stuff.
Bump revision.

--HG--
extra : convert_revision : b0a478d249fae14f908b589a2c128cabc72eefc2
2009-08-09 17:55:08 +02:00
Juan RP
dd6b45c322 Set sourcepkg to pkgname through run_template().
This removes the need for having to specify sourcepkg manually in
every package that will build subpkgs.

--HG--
extra : convert_revision : 383e4c467e84844d2f4f61ae5c5e07a5124e9cfb
2009-07-29 22:44:30 +02:00
Juan RP
129c1513f8 udev: update to 145.
--HG--
extra : convert_revision : 89be32cc1a3d19d2f3819e1d9039474e7e4200e8
2009-07-27 17:10:04 +02:00
Juan RP
a13d4f93b6 udev: install the initramfs-tools hook.
This replaces klibc-udev, which adds extra work for a little
gain, so just use the real pkg.

Bump revision.

--HG--
extra : convert_revision : c01ed34d0766012254b24b1da090b24a261a6bf7
2009-06-20 18:50:06 +02:00
Juan RP
3afdd1f54d udev: update to 143.
--HG--
extra : convert_revision : 54402d0798820b0928aa2f860416a2cdb799e568
2009-06-20 18:19:50 +02:00
Juan RP
486a502046 udev: update to 142.
--HG--
extra : convert_revision : eda2f0e326f07d75e63df574f659f07b38ad518d
2009-06-07 02:13:40 +02:00
Juan RP
9a3f2e7c3d Handle openrc_services more gracefully.
1) There's no need to specify the trigger anymore.
2) There's no need to add the OpenRC run dependency anymore.

Just specifying $openrc_services is enough.

--HG--
extra : convert_revision : 34e4d6d37a07a18837ef2216474ee0ca6fd55124
2009-05-14 21:26:44 +02:00
Juan RP
21f2782f99 udev: use $openrc_services and its triggers.
--HG--
extra : convert_revision : 4d0a82f7dba6df89e882022c26c96eed08f412ae
2009-05-04 23:19:48 +02:00
Juan RP
4e869cddf8 udev: switch to OpenRC; bump revision.
--HG--
extra : convert_revision : 5fdfb64e584411c294ecadb2dc90286056313905
2009-05-04 21:44:24 +02:00
Juan RP
d013286604 tmpl_vars.sh: add KERNEL_SITE var and use it.
--HG--
extra : convert_revision : 19ca0740561716ef2adde93213fd64d4e280caec
2009-04-19 00:31:39 +02:00
Juan RP
a2ce888b97 udev: update to 141.
--HG--
extra : convert_revision : 6ffe63b6e975e60e30843ef56d6c09d066fe6eab
2009-04-09 21:16:54 +02:00
Juan RP
db5b069a23 udev: use a patch from Archlinux to fix some perms, bump revision.
--HG--
extra : convert_revision : ac87852e1adb89dbda9bd549f0337a95f2c3508b
2009-04-02 04:38:45 +02:00
Juan RP
28f31ff7d2 udev: add a rules file to fix perms, based off the one from Archlinux.
--HG--
extra : convert_revision : 2b574934b32189095af24f6fdafe136ddec310a6
2009-04-02 04:06:40 +02:00
Juan RP
4bcadd934e udev: update to 140.
--HG--
extra : convert_revision : c252b4b4e5ca762ea06cafeb2a1e7b09f6b623f9
2009-03-24 05:18:31 +01: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
744b2fc5fc Do not set infodir/mandir to DESTDIR for chroot packages.
--HG--
extra : convert_revision : 990e93fcf5a36f75d29a5f2de60b44f180fe0e48
2009-03-13 23:55:25 +01:00
Juan RP
84222395b8 Provide some vars for use in template's targets.
These new vars are DESTDIR (by default XBPS_DESTDIR/pkgname-version),
SRCPKGDESTDIR (XBPS_DESTDIR/sourcepkg-version) and FILESDIR
(XBPS_TEMPLATESDIR/pkgname/files).

This simplifies packages that used them.

--HG--
extra : convert_revision : 287ea7128cb5df19870ca7aff0a3b8f99a11d63a
2009-03-11 06:31:56 +01:00
Juan RP
b7b8235665 udev: update to 139.
--HG--
extra : convert_revision : addd3102dd2fde5b875657457ad87b04d4caaf5e
2009-03-08 04:13:42 +01:00
Juan RP
26a8c1b1fa Added klibc-udev-138 template, for the initramfs.
Move initramfs-tools udev hook to this pkg.

--HG--
extra : convert_revision : d88915bc50cdf9211fae16f09a3b306814c6ed1f
2009-03-08 02:09:37 +01:00
Juan RP
955f9f3d74 udev: create some files at post_install() to make it work.
--HG--
extra : convert_revision : cc1110c1893defa3d324012b313b5911cb2c427d
2009-03-05 03:20:57 +01:00
Juan RP
0b7cdfa1d0 Split pkgs required by xbps-base-system, structure based in Fedora.
--HG--
extra : convert_revision : 151da3637a2745b786251e067bb924c3fd98118b
2009-02-25 06:15:20 +01:00
Juan RP
a392f5f9f4 udev: add initramfs-tools, update depends.
--HG--
extra : convert_revision : 2450b2c23182dd801dedb579b86ae3e40c3abdb9
2009-02-19 16:10:13 +01:00
Juan RP
9f5e8637d5 udev: make udev use original version, update initramfs-tools.
--HG--
extra : convert_revision : 3ace9028d0a954113284e8863ad6280d3acf3dcc
2009-02-17 13:59:18 +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/udev.tmpl (Browse further)