Commit graph

1058 commits

Author SHA1 Message Date
Juan RP
62e1344b53 xbps-bin::main.c: avoid an extra level of indentation.
--HG--
extra : convert_revision : 6c05ab660edbaef484d0a8852918c021a253dc9f
2009-03-01 00:19:45 +01:00
Juan RP
e11c6b7420 initramfs-tools: s/config_files/conf_files/
--HG--
extra : convert_revision : a4c92287a5d373577dff72c65cd2eb4d3a9b7227
2009-03-01 00:19:28 +01:00
Juan RP
c136f6193d TODO: another item.
--HG--
extra : convert_revision : 69c734f622b926b9fd7025c6a533718de3a49363
2009-02-28 17:50:53 +01:00
Juan RP
be170f0cb7 Fix some problems with dangling links while removing a binpkg.
First remove all links, next files and last dirs.
Only check the SHA256 hash for files, skip links and dirs.

--HG--
extra : convert_revision : b1762d5e795959591c732f625d25adfd1840f592
2009-02-28 17:32:38 +01:00
Juan RP
aefe26d30c binpkg.sh: do the files processing in 3 steps: 1- links, 2- files and 3- dirs.
--HG--
extra : convert_revision : d68324f39af442b089e71083316c16bc4690a4e2
2009-02-28 17:31:47 +01:00
Juan RP
323997af7e shadow: add "man" user/group to INSTALL.
--HG--
extra : convert_revision : 94ccfd07bd67837db9a7ffc37b049f84bddbf82f
2009-02-28 17:31:07 +01:00
Juan RP
905a6a38ad install.c: avoid using extra pointers when you only need one.
--HG--
extra : convert_revision : 0b8bfe3403b9753be7cc3e0603aeb8f353418f93
2009-02-28 17:22:05 +01:00
Juan RP
7f8077e713 man-pages: update to 3.19.
--HG--
extra : convert_revision : e8d21c3a84a1e77a7fe4de2a67a534568e3380e8
2009-02-28 03:35:18 +01:00
Juan RP
4bc97422a7 coreutils: force configure to ignore selinux.
--HG--
extra : convert_revision : 73bc88f7bea1364f83d39cacb8a3805602083c42
2009-02-28 03:29:46 +01:00
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