Commit graph

2046 commits

Author SHA1 Message Date
Juan RP
17404bdb42 Mega-commit with improvements and changes done in the past days.
- Introduce package states: unpacked, broken, installed, etc.
  Not yet finished, only unpacked and installed are used for now.

- Move package metadata files in binary packages directly to
  the top directory, this speeds up some ops and makes easier to
  continue working in future changes.

- xbps-bin: -C flag to check the hash of package files has been
  superseded by the 'check' target, which verifies the integrity
  of an installed package.

- Use the 'essential' object when upgrading packages, overwritting
  current files. This is needed for critical packages like sh, libc
  and others.

- Miscellaneous tweaks and improvements thorough the code.

--HG--
extra : convert_revision : 2073fcc123efc24b3e9327b5e22aa91752f20df6
2009-08-08 22:29:48 +02:00
Juan RP
75cac4a637 xbps_find_orphan_packages: simplify and make it report the correct order.
--HG--
extra : convert_revision : f3b09a258e4cd0bdd310935b51742a09e8db4409
2009-08-08 22:16:45 +02:00
Juan RP
8b2fe3efe3 Introduce xbps_callback_array_iter_reverse_in_dict().
This function works by iterating an array in a dictionary
in reverse order, i.e from down to top.

--HG--
extra : convert_revision : 5e655c2edf3d42453f16830e2e944c7f6e2cd974
2009-08-08 22:14:42 +02:00
Juan RP
9affd1491a xbps_find_orphan_packages: use xbps_prepare_regpkgdb_dict().
--HG--
extra : convert_revision : 5c7b61ade09df674256ef9fb8f3b6d3e8d962ab3
2009-08-08 15:19:47 +02: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
db73999510 git: update to 1.6.4.
--HG--
extra : convert_revision : 4560b12a3cd6da49e1a29f4effc86c6f2dd68d94
2009-08-05 22:58:02 +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
bca1fd8b47 xbps_file_chdir_exec: only chroot(3) if uid == 0 and /bin/sh exists.
--HG--
extra : convert_revision : f07bf2f511d896fc6f6c731b5ef04f3eebcd2eaa
2009-08-02 11:04:46 +02:00
Juan RP
67be65f444 xbps_prepare_regpkgdb_dict: fix a memleak.
--HG--
extra : convert_revision : be040d6ac96f45aed82f5aae538cae6965e288f8
2009-08-02 01:17:47 +02:00
Juan RP
7b22faf19d xbps_find_orphan_packages: fix a memleak.
--HG--
extra : convert_revision : 67547efacd9a711ae6f92889a41d2e93665a020d
2009-08-02 01:17:08 +02:00
Juan RP
d8353810b6 Reorganize pkg metadata files.plist scheme to improve future changes.
This fixes an item from the TODO about 'xbps-bin -C files' not checking
configuration files.

--HG--
extra : convert_revision : bb661554a6b34a25066749844709b8cbaf5a4d6c
2009-08-01 11:23:41 +02:00
Juan RP
1601b19834 man-db: add /etc/man_db.conf to $conf_files.
Bump revision.

--HG--
extra : convert_revision : 7ee6dc0f679ab8601fcc09d56ad9fe41593bed87
2009-08-01 11:16:55 +02:00
Juan RP
a313f35bec man-pages: remove manpages that come with tzdata.
--HG--
extra : convert_revision : 417bec3199100e020812c33ac89e8a6c1b463c05
2009-08-01 11:03:20 +02:00
Juan RP
ec5ecc892b tzdata: update to 2009k.
--HG--
extra : convert_revision : 8b8e410cb0df9f49d38bbcae0eb6da80de2ada3e
2009-08-01 11:03:08 +02:00
Juan RP
b049cd7986 shadow: remove groups(1) manpage that comes with coreutils.
Bump revision.

--HG--
extra : convert_revision : 2e62eead090bf37123daaca0a0f767665450dfb5
2009-08-01 10:45:18 +02:00
Juan RP
c032566982 man-pages: remove groups(1) manpage that comes with coreutils.
Bump revision.

--HG--
extra : convert_revision : f3eda4fc5b4109e49a13856009d45221511fc100
2009-08-01 10:38:10 +02:00
Juan RP
3996fe6f76 man-pages: update to 3.22.
--HG--
extra : convert_revision : 6c1014e1ad6687740bc3398b211d18e030020abe
2009-08-01 01:02:19 +02:00
Juan RP
9e56f04f96 openssl: remove passwd(1) man that conflicts with shadow's pkg.
Bump revision.

--HG--
extra : convert_revision : 98d89f2f4125eebdc45090307d297bb2a9bcb187
2009-08-01 00:39:23 +02:00
Juan RP
35278fa1f0 less: update to 436.
--HG--
extra : convert_revision : 247615fd7acf61da15663ba8f7f745f44caba500
2009-07-30 15:39:03 +02:00
Juan RP
76c23bbd96 Improve the info-files and register-shell triggers.
This avoids the need of having to create a new file in pkg metadata
dir with a few lines and puts all them in the INSTALL/REMOVE
scripts.

--HG--
extra : convert_revision : 2dc1d3f6ddcc6aec7dadf14df475c32959df0aba
2009-07-30 12:34:31 +02:00
Juan RP
8a31007139 xbps-digest: use the SHA256_DIGEST_STRING_LENGTH constant.
--HG--
extra : convert_revision : 1da9eff8ef7aa5a214bde8036ebfb81df8d9d5f7
2009-07-29 23:13:04 +02:00
Juan RP
0c9f739e92 e2fsprogs*: update to 1.41.8.
--HG--
extra : convert_revision : 797759fecbee37a28a9788cbc0424d3c2c791778
2009-07-29 22:47:38 +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
d3c1892c6d usbutils: update to 0.84.
--HG--
extra : convert_revision : ae26b41cbd546432fe2520376a5e392e6f73a99b
2009-07-29 21:43:25 +02:00
Juan RP
816baf0d8a Sync the SHA256 code with NetBSD HEAD.
This fixes a buffer overflow and avoids unnecessary casts and
other cleanup thorough the code.

--HG--
extra : convert_revision : 4b389251cfb76b28028967cd60c409fe94f6c85e
2009-07-29 16:30:37 +02:00
Juan RP
9fa47ba790 fakeroot: update to 1.12.4.
--HG--
extra : convert_revision : 4b54566b4242524135aadfa7813ce759b054a32a
2009-07-29 16:29:31 +02:00
Juan RP
264701aa9d dhcpcd: update to 5.0.7.
--HG--
extra : convert_revision : 52f3bc05d62b30059f5ea2e5ed38a1edfc3605a2
2009-07-29 12:52:53 +02:00
Juan RP
50166a8d3d git: update to 1.6.3.4.
--HG--
extra : convert_revision : ecbc24e2817c76a88b9473ee3cebb360f277f740
2009-07-29 12:52:45 +02:00
Juan RP
19aa6c1e63 shadow: update to 4.1.4.2.
--HG--
extra : convert_revision : 5b01f772a5102de96f8aa92ed1654ba31bfb6627
2009-07-29 12:39:48 +02:00
Juan RP
3c3ae47cad sudo: update to 7.2.
--HG--
extra : convert_revision : 9ec8ecec621faa9eecac726142663e3affa54589
2009-07-29 12:39:34 +02:00
Juan RP
26ed4d0060 gcc: update to 4.4.1.
--HG--
extra : convert_revision : c01181a369130b15037fcdac9589bcb163fd98cb
2009-07-28 17:03:50 +02:00
Juan RP
2b3363993f kernel-*: update to 2.6.30.3.
--HG--
extra : convert_revision : 22e20772bc44489034b099ee240a54ad99a39a8e
2009-07-27 17:10:23 +02:00
Juan RP
129c1513f8 udev: update to 145.
--HG--
extra : convert_revision : 89be32cc1a3d19d2f3819e1d9039474e7e4200e8
2009-07-27 17:10:04 +02:00
Juan RP
ab1372b0c2 initramfs-tools: use udev and module-init-tools.
The klibc-* pkgs have been removed because they provided
little gain and 150KB is not much...

--HG--
extra : convert_revision : f88a8bb0f6a2056feef2fe6b1cfb710ee669edf7
2009-06-20 18:52:27 +02:00
Juan RP
0466e610ae Remove klibc-udev, udev is used again by initramfs-tools.
--HG--
extra : convert_revision : 72d1d357bb52b43aa69db5568c8954cb6da8d87e
2009-06-20 18:52:00 +02:00
Juan RP
45b276dd97 Remove klibc-module-init-tools, not very useful.
--HG--
extra : convert_revision : 7cd5c4226f676b71a09c033daa30338b4891ec36
2009-06-20 18:51:28 +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
b58b45996c usbutils: update to 0.82.
--HG--
extra : convert_revision : a5c55d846d9adc48ddd82fbb850813ce673933e4
2009-06-20 18:12:00 +02:00
Juan RP
9a94bc1a20 kernel: disable securityfs related support.
Bump revision.

--HG--
extra : convert_revision : 04d2c3bca9ebfa4eb36d73febc331e04dabdab7c
2009-06-20 17:06:27 +02:00
Juan RP
076a54e583 sqlite: update to 3.6.15.
--HG--
extra : convert_revision : c4b4e2deb8c2616a631cf85e006b77fc7eb030e9
2009-06-20 09:28:31 +02:00
Juan RP
c3e073f1d7 findutils: update to 4.4.2.
--HG--
extra : convert_revision : 290bec0775587b5efe7141de64f70dd125948e64
2009-06-20 09:25:10 +02:00
Juan RP
60c380731e OpenRC: mention ticket URL for build patch.
--HG--
extra : convert_revision : de368501287ce3595d95dfc5d00bc5ab0041a742
2009-06-20 08:35:05 +02:00
Juan RP
8006da32f5 OpenRC: update to 0.5.0.
--HG--
extra : convert_revision : 293639617f1a2acc03d84ebaec39cf575fc131d9
2009-06-20 08:18:13 +02:00
Juan RP
9f65c73b02 klibc-module-init-tools: update to 3.8.
--HG--
extra : convert_revision : e469431925124018daf51a3778f98f89176ac159
2009-06-19 16:11:47 +02:00
Juan RP
d7de4e03b9 module-init-tools: update to 3.8.
--HG--
extra : convert_revision : ebe7720274a09efa3f0a87ccfe1b20c01eb6f82e
2009-06-19 16:11:29 +02:00
Juan RP
0e4aac580d initramfs-tools: vol_id is no more, use blkid.
Bump revision.

--HG--
extra : convert_revision : 08b0110a47e80be1885dfc047851ca62ba08acf3
2009-06-19 15:50:18 +02:00
Juan RP
760fd0b731 klibc-udev: update to 142.
--HG--
extra : convert_revision : de80880a5c66a52b98eec12612ad6c6fc2d8e05a
2009-06-19 15:50:02 +02:00
Juan RP
fe2521df22 git: update to 1.6.3.2.
--HG--
extra : convert_revision : 397109ea22672b5b7045f4da5eb6e4d10800ddd4
2009-06-19 08:28:15 +02:00
Juan RP
a8e9ffa70d libidn: update to 1.15.
--HG--
extra : convert_revision : 7c6e9b459cee3c196fc950e972c7b22fe5e9ee04
2009-06-19 08:23:53 +02:00