Commit graph

1049 commits

Author SHA1 Message Date
Juan RP
ecb3e6d8aa coreutils: update to 7.1.
--HG--
extra : convert_revision : 2ede8fa27fcd586eb1664b5e5d3f32993629bf32
2009-02-28 02:54:15 +01:00
Juan RP
4edad150c0 xbps-bin: make -C flag work when -r not set.
--HG--
extra : convert_revision : f4248255d94e9562483ef76630707eaefc3a9591
2009-02-27 18:30:59 +01:00
Juan RP
f28419db7d TODO: updated an item.
--HG--
extra : convert_revision : 94bb4cbee658815f9601571ee697cdbf54c6fdfd
2009-02-27 17:48:47 +01:00
Juan RP
750f467fe6 Take into account $conf_files and $keep_dirs when removing a pkg.
* If a dir is listed in $keep_dirs it won't be removed (anyway any
  directory that is not empty won't either).
* If a config file hasn't been modified (SHA256 hash matches) the
  file will be removed, otherwise it won't be removed.

There's still missing support to handle new configuration files when
there's an existing file, but will do later.

--HG--
extra : convert_revision : 448af95876fc7a47da07a9a910d6111047f72271
2009-02-27 17:41:31 +01:00
Juan RP
45482378ff wget: it's $conf_files not $conf_file!
--HG--
extra : convert_revision : 8d1cdfdb4fd9be86bc492eeacb0ba45577a8d8ad
2009-02-27 17:29:31 +01:00
Juan RP
48a5933756 xbps-bin: added -C flag for 'files' target, to check SHA256 hash in files.
--HG--
extra : convert_revision : 28fffd3047de8d8a4b9401618017a880cbf03008
2009-02-27 17:00:41 +01:00
Juan RP
d9cc1d6b8f Implement support to update required_by objs when removing a pkg.
--HG--
extra : convert_revision : 405986d806ff23ce6348b22a2d7c48e0820ab1b9
2009-02-27 16:03:25 +01:00
Juan RP
a711ace8f7 vars.mk: disable -fstack-protector-all, leave this to the host compiler.
--HG--
extra : convert_revision : 91ed9643631589256bc4a9b4b230292ee0049d48
2009-02-27 16:01:33 +01:00
Juan RP
f211c85e6d Updated TODO.
--HG--
extra : convert_revision : 6b37e23d827b9fabb0305e1de5c1a8ac780bd9da
2009-02-27 16:00:38 +01:00
Juan RP
6023615a89 findutils: fix updatedb(8).
--HG--
extra : convert_revision : f8811c557beb2b0db8170f2ab56515ca3f0f622d
2009-02-26 22:57:32 +01:00
Juan RP
eac2af8da4 binpkg.sh: bzip2 pass doesn't need privs.
--HG--
extra : convert_revision : eea83d4204e016a78ec573d1b409e06ecb51c72a
2009-02-26 18:18:51 +01:00
Juan RP
a00ae944b5 Rename prepost-{inst,rm} to just INSTALL/REMOVE.
Some other changes related for this:
 - Modify binpkg.sh to always insert the INSTALL script at head of
   the archive, and appending files after it.
 - Modify binpkg.sh to compress binpkgs with bzip2 -9 to save some bytes.

--HG--
extra : convert_revision : b651b944f11c48dede1bbcea658182bf0984e8f3
2009-02-26 18:01:18 +01:00
Juan RP
a0ee2ee61b gcc-libgcc: set $install_priority to 50, just after xbps-base-dirs.
--HG--
extra : convert_revision : 02e61cff2e245e1f10a70bda321273ebb74ee9f5
2009-02-26 16:53:30 +01:00
Juan RP
46a42f7500 unpack.c: add missing \n in error msg.
--HG--
extra : convert_revision : ba47dd04be5b7a8d4d5a1e97b28573e67f89a79e
2009-02-26 14:37:01 +01:00
Juan RP
255c48b198 Added support to check SHA256 integrity for binary pkgs.
This currently checks:
 - While removing, any file is checked and if hash doesn't match the
   file is ignored and not removed.
 - While installing, if a binary pkg file doesn't match with the one
   reported by the repository's pkg index file, the process will be
   stopped.

--HG--
extra : convert_revision : 42bb64e89a092f0ff3e7d951e5b26e45d63a60fe
2009-02-26 05:41:49 +01:00
Juan RP
99ba792509 wget: add /etc/wgetrc into $conf_file.
--HG--
extra : convert_revision : 3bfec8083d77b4e63075553724442f29d90b0dc9
2009-02-26 03:50:38 +01:00
Juan RP
8d243e8dab xbps-bin: implement 'files' target, to show installed files for a pkg.
--HG--
extra : convert_revision : c522253a61c23e8439c6de343e713497a2a10033
2009-02-26 02:46:20 +01:00
Juan RP
f53e18171a pam: move missing libtool archives to pam-devel.
--HG--
extra : convert_revision : 34bc1715c2eb66e0b88f8a0ccb75e2b82fafe5d5
2009-02-25 22:50:47 +01:00
Juan RP
3d9bf73432 initramfs-tools: hooks/udevhelper tries to copy an unexistent file.
--HG--
extra : convert_revision : a134f157db4571ee999c965e504d4bce188e9125
2009-02-25 18:54:56 +01:00
Juan RP
cb4333e216 kernel: mount /sys before calling update-initramfs(8).
--HG--
extra : convert_revision : ff4322c1df549c7f87e13b24d7af0bb321775fa2
2009-02-25 18:54:15 +01:00
Juan RP
1c83b76888 glib, irssi, pcre: converted to subpkgs.
--HG--
extra : convert_revision : c3e0384ca9fb987a7e1b5ce93d40855dfcfbaa0e
2009-02-25 17:55:24 +01:00
Juan RP
5a435dc28f xbps-base-pkg: install bins with 755 not 644!
--HG--
extra : convert_revision : b5abbe37bfded3c75949532ddef12f7fec380f25
2009-02-25 17:02:14 +01:00
Juan RP
78f752757c xbps-base-system: depend on xbps-base-pkg, bump to 0.7.
--HG--
extra : convert_revision : b0b867d9c299d71d05de7dfc410dab227ee27090
2009-02-25 16:59:53 +01:00
Juan RP
cd76c83062 Add xbps-base-pkg-0.1. This installs the xbps binary pkg utils.
--HG--
extra : convert_revision : 3ecf2f81ddf7edd38ce04d0d0b7d53627d7847d0
2009-02-25 16:59:13 +01:00
Juan RP
56fb2c5ebe git: install by setting DESTDIR, avoids building twice and really works.
--HG--
extra : convert_revision : 6e059d28632712eb79d9207aaf3e94916aaef949
2009-02-25 16:39:15 +01:00
Juan RP
4d29f69f32 curl, libidn: converted to subpkgs.
--HG--
extra : convert_revision : 1041370558329cd01bdfaf6258eace73ae42a9cc
2009-02-25 16:39:02 +01:00
Juan RP
072ad1c9a0 util-linux-ng: add e2fsprogs build dep, not -devel.
--HG--
extra : convert_revision : 30af68c0a81e2e4f87bc1150bbb8241703404a94
2009-02-25 16:38:17 +01:00
Juan RP
7599bd302c lzma-utils: move shared lib symlink to the libs subpkg.
--HG--
extra : convert_revision : 2409b57365c4e70bda3a766a2e8fbfbb32d3dbfe
2009-02-25 07:32:35 +01:00
Juan RP
35aa197015 xbps-base-system: add vim dependency.
--HG--
extra : convert_revision : 29d6f29e725a9fec773bdecc84c7b192d4c695dc
2009-02-25 07:32:03 +01:00
Juan RP
7e225693c1 binpkg.sh: reset conf_files and keep_dirs for subpkgs.
--HG--
extra : convert_revision : 866665f3a7db612b80ea765c9308e6754b467921
2009-02-25 07:31:29 +01:00
Juan RP
cbf73d8362 chroot.sh: set LANG=C for the environment to avoid perl warns.
--HG--
extra : convert_revision : b38ba3d7f16e498507db597e63695704373c9957
2009-02-25 07:05:50 +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
64adf578e7 xbps-base-chroot: add wget dependency back again.
--HG--
extra : convert_revision : d82defd896231183252774f5040bc51e01b52cce
2009-02-25 04:58:27 +01:00
Juan RP
4aab5990ba Update all pkgs until xbps-base-system's initramfs-tools dependency.
--HG--
extra : convert_revision : 7c4f25f0ac22755e54d4604e1581e8c7fc255d58
2009-02-24 08:22:29 +01:00
Juan RP
2045bfe573 Merge branch 'subpkgs'
--HG--
extra : convert_revision : ce65943c5b14c7082df703a8ab3edc52465571d1
2009-02-24 07:22:56 +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
97821bf458 tar: base subpkg needs gzip/bzip2 at runtime.
--HG--
extra : convert_revision : 0a96b7b56b2630c28d6c8e3738570b44c554ec6c
2009-02-22 15:33:12 +01:00
Juan RP
eb2e824a33 xbps-bin: while installing binpkgs, detect properly in some cases its return value.
--HG--
extra : convert_revision : 89cb21eed183c1d9702613690fb7f48f8cceb5e2
2009-02-22 06:00:08 +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
2cfb55735b Depend on glibc-libs in all converted pkgs to subpkgs.
--HG--
extra : convert_revision : c2ecbfbb96a502dff70bf9155abfc63f3f47ec43
2009-02-21 02:25:31 +01:00
Juan RP
f788c5f3f6 glibc: converted to subpkgs, don't build/install all locales.
--HG--
extra : convert_revision : 808d308c646e2c8e07e97435983ef377a64ad5da
2009-02-21 02:18:23 +01:00
Juan RP
b063ab2b54 binutils, gawk, gcc: add missing base subpkg.
--HG--
extra : convert_revision : e65fc368499c6124b1cf7963d830f64c05953b6c
2009-02-20 18:09:54 +01:00
Juan RP
733c889185 gawk: converted to subpkgs.
--HG--
extra : convert_revision : f5f17f1604557131e5649f957015b019045031f4
2009-02-20 16:59:28 +01:00
Juan RP
0b8c5b3253 gcc: convert to subpkgs.
--HG--
extra : convert_revision : 88fbeeb5b204c2d8a82f4c4b9833723d8503657b
2009-02-20 16:52:02 +01:00
Juan RP
fed44a5c15 Use ${version} in gmp, mpfr, proplib subpkgs.
--HG--
extra : convert_revision : 96cd7fa219f8acec0885a0c2541976598de4125d
2009-02-20 16:07:37 +01:00
Juan RP
5939c1dbd4 binutils: converted to subpkgs.
--HG--
extra : convert_revision : b13640fb0e5be76c90b3920359597fc4a40a141e
2009-02-20 07:18:26 +01:00
Juan RP
6966c9ffde Don't remove files on destdir/${sourcepkg}, they are used in some pkgs.
--HG--
extra : convert_revision : 94b882a792908aa874e30067160f51b1033c492b
2009-02-20 07:05:34 +01:00
Juan RP
d49b5e0239 Add the symlinks required for gmp and mpfr subpkgs.
--HG--
extra : convert_revision : e7b39a5a6624424fd967110c3ca63fcf914829c8
2009-02-20 06:50:48 +01:00
Juan RP
c8163148da gmp, mpfr: converted to subpkgs.
--HG--
extra : convert_revision : 8ce5b84c7d3adf91880e38466ba360bd028a464b
2009-02-20 06:26:27 +01:00
Juan RP
04a0248ef1 Add support to install/remove subpkgs independently of its sourcepkg.
--HG--
extra : convert_revision : 5495fb6558fa71dd843f54981313df233236ac50
2009-02-20 06:25:35 +01:00