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
Juan RP
e7c17a5cd8
xbps-base-system: drop initng* and use upstart, bump to 0.4.
...
--HG--
extra : convert_revision : 81e80610be67f7c2a7350edcb8f2401aa1ba177d
2009-02-15 20:15:50 +01:00
Juan RP
cf830c8b04
TODO: add item about noarch binpkgs.
...
--HG--
extra : convert_revision : 08816d99cf80a5a7284f6263efd3513cc1afa5af
2009-02-15 19:28:46 +01:00
Juan RP
0a0ddc92bc
dbus, upstart: use keep_dirs and conf_files.
...
--HG--
extra : convert_revision : 1b4de2d4006966bdc75e7afac6dd85d1c853aa34
2009-02-15 01:23:33 +01:00
Juan RP
fa025ed7b7
upstart: update to 0.5.1.
...
--HG--
extra : convert_revision : fa846ba003539a1e8ddf569cee953f66cac07906
2009-02-15 01:07:45 +01:00
Juan RP
39aa50017c
dbus: update to 1.2.12.
...
--HG--
extra : convert_revision : ec69c7f56a85a87b0b17957d1304c8e1a5852d32
2009-02-15 01:05:49 +01:00
Juan RP
902fb71aa6
Changed XBPS_META_PATH to /var/db/xbps rather than /var/cache/xbps.
...
--HG--
extra : convert_revision : 4e10af13ce05f060ebdfa8ca4e767a269c46b17f
2009-02-14 23:21:12 +01:00
Juan RP
1629f71053
glibc: update to a newer snapshot and don't install timezones.
...
--HG--
extra : convert_revision : 5ddfef3dde9ef87bcc70a4e934d1d3c1843c5b62
2009-02-14 23:15:16 +01:00
Juan RP
49d1ea4dd5
Note that perl is also required to build xbps-base-chroot.
...
--HG--
extra : convert_revision : 4681f1971a0a41afae0a7d90fabd716befda574b
2009-02-14 23:09:10 +01:00
Juan RP
37725c0e97
xbps_sort_pkg_deps: there's no need to sort direct/indirect in two passes.
...
--HG--
extra : convert_revision : a6666b0605f34ac2440c61d09f25831dee9e67fa
2009-02-14 06:06:01 +01:00
Juan RP
5a894ad5e5
sortdeps: use a SIMPLEQ rather than a TAILQ, it's enough and faster.
...
--HG--
extra : convert_revision : b42935d05f31a74838140ef46293b65f9f0cb07d
2009-02-14 05:45:04 +01:00