Commit graph

979 commits

Author SHA1 Message Date
Juan RP
77fc66ec4a module-init-tools: update to 3.6.
--HG--
extra : convert_revision : 92b59deb06dabf70e25fed996972596590cc1e37
2009-02-19 02:02:19 +01:00
Juan RP
73b346867e bison: update to 2.4.1.
--HG--
extra : convert_revision : e692c486b46b421c161156049365b7f4dc634210
2009-02-19 01:10:26 +01:00
Juan RP
8a7d10cfd0 bash: use latest tarball with patches.
--HG--
extra : convert_revision : eac96249c7a8464dea1d127647c625742346cb76
2009-02-19 00:40:44 +01:00
Juan RP
08630476d6 builddep_funcs.sh: always look if there are more deps.
--HG--
extra : convert_revision : 16b1ab98622f45bab123a388640dad14fc410f6c
2009-02-18 20:10:11 +01:00
Juan RP
d6e2d02e9f requiredby: don't add dups.
--HG--
extra : convert_revision : a883cf0a080e99120b3e17a8836b132ff94079f0
2009-02-18 05:33:19 +01:00
Juan RP
cbb1d1bef5 xbps-repo: fix search and show targets when first repo doesn't exist.
--HG--
extra : convert_revision : 2e5410f4461c62ceb51bb1296cab8a9076bc666a
2009-02-18 03:50:05 +01:00
Juan RP
8fa094ff02 unpack: check rv and also errno, not rv twice!
--HG--
extra : convert_revision : f30a7c3135c05f55e6b6d6acd50f17d79e623c85
2009-02-18 03:15:37 +01:00
Juan RP
2f287003e0 xbps_install_binary_pkg: chdir to / if destdir not set.
Fixes installation of binpkgs in the chroot.

--HG--
extra : convert_revision : fb68c94d81b1803fe77fb025929ffd727b04cbbb
2009-02-18 03:14:27 +01:00
Juan RP
59a2ac4118 bzip2: don't forget to install the shared lib and fix its soname.
--HG--
extra : convert_revision : 13e3b4349de90a45efc784e4280de79ca5dc6977
2009-02-18 03:13:38 +01:00
Juan RP
a66b2e5fcc libarchive: depend on lzma-utils.
--HG--
extra : convert_revision : 65f294396555931778f7440bcc42c7365a06d7da
2009-02-18 02:15:05 +01:00
Juan RP
12d65cc30c Move run_template() to tmpl_funcs.sh.
--HG--
extra : convert_revision : b5dcd681b3faacde90a783a0c13493600f36a5a8
2009-02-18 01:32:42 +01:00
Juan RP
2c7f9d1330 xbps-bin: fix typo in previous.
--HG--
extra : convert_revision : 3010d732f67e42a368722f6aa81b5263e0b1fdf9
2009-02-18 01:10:07 +01:00
Juan RP
3b18195a6a Change code to compile with -Wall -Wextra.
--HG--
extra : convert_revision : 992e1515458c6ee36cd481d1ba0ff8febf892d12
2009-02-18 01:07:51 +01:00
Juan RP
028cacdd2a Add support to set automatic install flag for srcpkgs.
--HG--
extra : convert_revision : fa0e103ce44a4758858124ecd63aea0dec400720
2009-02-18 00:28:35 +01:00
Juan RP
a2e9f7de29 xbps-pkgdb: check for empty strings passed to getpkg{name,version}.
--HG--
extra : convert_revision : adc73449ed57cd4628fbba91c91372d05db4e594
2009-02-17 23:29:13 +01:00
Juan RP
6f8647f5c8 xbps_get_pkg_{name,version}: check for strrchr() returning NULL.
--HG--
extra : convert_revision : 4d63c1834f7b3c3b1a0395a7434095e9fc341885
2009-02-17 23:28:40 +01:00
Juan RP
952a8f9266 kernel: bah sync previous with shadow style.
--HG--
extra : convert_revision : f9cb3f93ec8d289f5d98bf1648605955289df7ca
2009-02-17 19:43:37 +01:00
Juan RP
e45be8067f kernel, shadow: change info about post install hooks.
--HG--
extra : convert_revision : 0b18c435f96c4751c86336054759c360ba175590
2009-02-17 19:41:42 +01:00
Juan RP
297d7c6941 unpack: some printf related changes.
--HG--
extra : convert_revision : 6feb3492c0d59e80fa02fef527f2b9c8821cc56c
2009-02-17 19:41:21 +01:00
Juan RP
cc162c2691 Improve printfs in previous.
--HG--
extra : convert_revision : 7d1c36a09fffddfea73cc18f0d45198f2424276e
2009-02-17 17:40:44 +01:00
Juan RP
9ef5180865 xbps-base-chroot: add xbps-base-dirs at head of $build_depends.
--HG--
extra : convert_revision : 5e5704174b4cf77ba1eb5324aecd74d33e2f975e
2009-02-17 17:17:58 +01:00
Juan RP
3b3d788c7c Improve the build deps strategy, this is now pkgsrc-alike.
The list of build dependencies is shown, and if any of them
has deps, the list is shown for it and so on. This has the effect
of installing the deps in the order that they were specified
in the template, at the expense of a minor performance ratio.

--HG--
extra : convert_revision : 231ed52da19201bdeab65d0f9db78ab83b51e010
2009-02-17 17:15:12 +01:00
Juan RP
f545a7be72 Revert "bzip2: fails with -j at install target."
I've found the real error, so reverting previous.

--HG--
extra : convert_revision : f85cbd09edc1fb56cce7e97085d063b8e4347c19
2009-02-17 16:59:54 +01:00
Juan RP
462ad9d20c bzip2: fails with -j at install target.
--HG--
extra : convert_revision : 2df8d03882415106cc01bf6dfb56d8693583b7cf
2009-02-17 16:57:20 +01:00
Juan RP
ab0db1fe93 binpkg-genindex: use xbps-pkgdb getpkg{name,version}.
--HG--
extra : convert_revision : 810596b7704c63c571e5c3282635a5a954090ca8
2009-02-17 14:09:15 +01:00
Juan RP
2aeda1c182 tzdata: use original version and make xbps-base-system depend on it.
--HG--
extra : convert_revision : dd1488fb5c4ff1950da8aa6761fae6be62fb5550
2009-02-17 13:59:58 +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
0bb1780f8e shutils: use xbps-pkgdb getpkg{name,version}, remove item from TODO.
--HG--
extra : convert_revision : 69927380509b3bc6b3f80ee3cbc44953bdd2b729
2009-02-17 13:58:34 +01:00
Juan RP
3d308188b7 xbps-pkgdb: add 'getpkgname' and 'getpkgversion' actions.
--HG--
extra : convert_revision : e931f3527b501d6153348b503b3213064e55c286
2009-02-17 13:57:51 +01:00
Juan RP
fda3da1543 Use string version comparator code from FreeBSD.
This fixes all cases that previous code has with no changes...
sorry pancake.

--HG--
extra : convert_revision : 993d0aa060daf36d1b5ffa63725002dda122c091
2009-02-17 03:49:02 +01:00
Juan RP
fb998feacf xbps-bin: add -v flag, used when installing/removing currently.
--HG--
extra : convert_revision : d543b52213bf3d35b17ef29ff74a879bc4342cef
2009-02-17 00:08:03 +01:00
Juan RP
8d5e1ab017 More cosmetics printfs for previous.
--HG--
extra : convert_revision : 6104b54261f97758aff715a1e2ccabf606cbb13e
2009-02-16 23:00:50 +01:00
Juan RP
91291d5aec Improve informative messages when installing binpkgs.
This now looks like:

$ xbps-bin -r /raid/random/xbps/test install initramfs-tools
Installing dependency xbps-base-dirs: found xbps-base-dirs-0.2 ... done.
Installing dependency glibc: found glibc-2.9 ... done.
Installing dependency e2fsprogs: found e2fsprogs-1.41.3 ... done.
Installing dependency zlib: found zlib-1.2.3 ... done.
Installing dependency gawk: found gawk-3.1.6 ... done.
Installing dependency findutils: found findutils-4.4.0 ... done.
Installing dependency sed: found sed-4.1.5 ... done.
Installing dependency grep: found grep-2.5.3 ... done.
Installing dependency gzip: found gzip-1.3.12 ... done.
Installing dependency cpio: found cpio-2.9 ... done.
...
...
Installing initramfs-tools-0.92o ... done.
Package initramfs-tools installed successfully.
$

--HG--
extra : convert_revision : 79df585206c9ddc7f1267bc89bfd431ab572e527
2009-02-16 22:48:18 +01:00
Juan RP
82a9667049 xbps-bin: return a proper error when dict == NULL && rv != ENOENT.
--HG--
extra : convert_revision : f51b4fcda1497cd9aa640cb3db48080806fe497a
2009-02-16 22:19:10 +01:00
Juan RP
524551eee8 unpack: ignore entry if already exists.
--HG--
extra : convert_revision : 7f570822db932d4ae45896e2981a9d8ff41824da
2009-02-16 22:18:40 +01:00
Juan RP
a679f70c55 stow_pkg: don't copy XBPS_PREPOST_INSTALL into masterdir.
--HG--
extra : convert_revision : 64e69cc303e6561a250796028810d89d88682573
2009-02-16 21:50:02 +01:00
Juan RP
ee73775ed5 unpack: don't overwrite files by default.
--HG--
extra : convert_revision : 874850b5d5adbb570c93e963c6c0a4504cbd8c80
2009-02-16 21:42:03 +01:00
Juan RP
82b01212ad Fix previous when building base_chroot pkgs.
--HG--
extra : convert_revision : c46fd838deeb92ac89047bd32a9a0bef421e2aa5
2009-02-16 19:04:23 +01:00
Juan RP
e59520869b Use a common mk file for all bins, install bins stripped.
--HG--
extra : convert_revision : dd739bbc9c67b099ef690533e02bb3f40aa2dc8a
2009-02-16 18:03:03 +01:00
Juan RP
1802997b0b xbps-src: require sudo to build packages.
The reason is that fakeroot can't read files that have restrictive
perms and you'd have to change them before the src installation, and
restoring them at binpkg pre-installation.

I prefer to avoid all this and build the pkg with appropiate perms.

--HG--
extra : convert_revision : 8a5086049ab575962913eda0cb2ace0c211b97f1
2009-02-16 17:36:21 +01:00
Juan RP
4094879d4d xbps-base-system: add tzdata and upstart build deps, bump to 0.5.
--HG--
extra : convert_revision : 7190322757915ca47c404d300252e93297363384
2009-02-16 16:36:34 +01:00
Juan RP
2b24128059 xbps-bin: added support for the show target.
--HG--
extra : convert_revision : 24b2d30a94c95b22b1c524203cf578da03314335
2009-02-16 16:24:33 +01:00
Juan RP
54cce657ec xbps-base-system: workaround a bug in xbps-cmpver.
--HG--
extra : convert_revision : ff1bdf0caf1109671cf40881da0d25def9bbc6b7
2009-02-16 05:48:43 +01:00
Juan RP
3bfe373475 TODO: another case that fails in xbps-cmpver.
--HG--
extra : convert_revision : 12f42919105bd7e6cbf3472308d8add1f0114304
2009-02-16 05:41:43 +01:00
Juan RP
2fe1842d5c lib/Makefile: install the symlinks as well.
--HG--
extra : convert_revision : 07ec7de799468a2303fda8d3a311f22b4dce5d3a
2009-02-16 02:26:27 +01:00
Juan RP
3ac13cd512 TODO: new item for xbps-src.
--HG--
extra : convert_revision : 2ad510ebe24c8585a31cd34a1e4bb4b4f332e01b
2009-02-16 01:24:22 +01:00
Juan RP
6b6162bb44 Added support for using noarch packages.
--HG--
extra : convert_revision : a96166ddecb6efe65d35283f25e06a944cc4a038
2009-02-16 00:39:41 +01:00
Juan RP
4f6364a2bd lib/Makefile: install the so major lib, as suggested by pancake.
--HG--
extra : convert_revision : c22435714ec6712a38d4de9bf2c44c4e72c9a061
2009-02-16 00:38:35 +01:00
Juan RP
870addbffc Add a "noarch" var. Used by packages that aren't arch specific.
--HG--
extra : convert_revision : 263bd27542e1f2e65f119eb307d37d7b7ade3236
2009-02-15 23:57:15 +01:00
Juan RP
746d59a9dd Some improvements for installation of binary packages.
* If any dep of a package cannot be found in the repository pool,
  show it on xbps-bin.

* Add the automatic-install boolean obj into pkg's dictionary
  on regpkgdb.plist, this will be used to implemented something
  like "apt-get autoremove".

--HG--
extra : convert_revision : 666e2fa666ac94140159896e28b445e88e8afb7a
2009-02-15 20:23:23 +01:00