Commit graph

1092 commits

Author SHA1 Message Date
Juan RP
d5426651e8 Added minilogd-2009.01 template, from Arch Linux.
--HG--
extra : convert_revision : d4949b0d88c7cc0a1bd82d7d89660e0684dbaf62
2009-03-06 05:16:36 +01:00
Juan RP
7f403680eb Added rcorder-2009.01 template, taken from NetBSD HEAD.
--HG--
extra : convert_revision : 84eaf0c93bae0a069eb7a8e242d6c0e4b97af019
2009-03-05 19:39:23 +01:00
Juan RP
4c2e44acc3 Added net-tools-1.60 template.
--HG--
extra : convert_revision : fcba4aa2deb9bc381f5a658b3d290d72c9bf5a87
2009-03-05 18:04:22 +01:00
Juan RP
de7fa4b9da man-db: disable setuid requirement.
--HG--
extra : convert_revision : ce142a83bbcf9b83a06fc6570ec4e3feb95b1149
2009-03-05 07:39:40 +01:00
Juan RP
cfdd17965e Added sysvinit-2.86 template.
--HG--
extra : convert_revision : 653417285eacee491da7eb8da0101585e6889437
2009-03-05 07:03:44 +01:00
Juan RP
728f0883f1 kernel*: update to 2.6.28.7, disable debug, fix INSTALL.
An automated image is working now...

--HG--
extra : convert_revision : 1b0b4f911fc69c1d8d54431ea0d8d5835e8bf57b
2009-03-05 07:01:55 +01:00
Juan RP
30ddc236cd util-linux-ng: use /var/lib/hwclock as suggested by LFS.
--HG--
extra : convert_revision : 69e91a921185e4f4ca05349e5482172183b434fa
2009-03-05 04:24:00 +01:00
Juan RP
955f9f3d74 udev: create some files at post_install() to make it work.
--HG--
extra : convert_revision : cc1110c1893defa3d324012b313b5911cb2c427d
2009-03-05 03:20:57 +01:00
Juan RP
a22d0e1248 udev: /bin/rm is also needed in the initramfs.
--HG--
extra : convert_revision : 4cfa48ce40e73d26a7f0c4ec3d6ceeaabb29937a
2009-03-05 02:08:57 +01:00
Juan RP
d25232651f shadow: add wheel/dialout groups, remove unneeded man user.
--HG--
extra : convert_revision : 58ef5f6c406bda132d624e9f1d7ebed072401e2a
2009-03-05 01:39:13 +01:00
Juan RP
0e22e7dac8 klibc: build with klcc shared by default, make the initramfs work.
--HG--
extra : convert_revision : 3f787beaca0e32cb3dd6ae1a1e8c41b940b8a316
2009-03-04 18:51:16 +01:00
Juan RP
d4c7ed8586 util-linux-ng: install the wall(1) command.
--HG--
extra : convert_revision : 42cb870499a39fd181ada353e84b26003b8cb4c7
2009-03-04 06:33:29 +01:00
Juan RP
9295982620 tar: update to 1.21.
--HG--
extra : convert_revision : 75290a8ca59f8f2f188334ec8532f10f5b743933
2009-03-04 03:44:25 +01:00
Juan RP
ee13f3be09 xbps-base-chroot: add some required rundeps. Bump to 0.8.
--HG--
extra : convert_revision : f8a20924f860a67c3ef20a7d59592dad6dbd8a32
2009-03-04 00:05:35 +01:00
Juan RP
ff2494f262 glibc: add kernel-libc-headers builddep and use it.
--HG--
extra : convert_revision : 663046e8c2c5d47d61f466aa296efd344c19c585
2009-03-03 23:52:07 +01:00
Juan RP
a592a38eda dash: downgrade to 0.5.4, it seems newer version has problems.
--HG--
extra : convert_revision : e0497052bfd0ab24e432532e81019809b1a690c5
2009-03-03 22:33:44 +01:00
Juan RP
5c8d0c01b3 Make (un)set_build_vars() work inside of the chroot.
This has the effect to really pass the XBPS_C(XX)FLAGS values from
xbps.conf to the packages built there.

--HG--
extra : convert_revision : 87ea9f6a755ba3f60a095391d2b0069ab22cb742
2009-03-03 19:06:27 +01:00
Juan RP
8c296e19ae libarchive: update to 2.6.2.
--HG--
extra : convert_revision : bddb5297a87c72863decfc5db1ad703526691842
2009-03-03 17:55:16 +01:00
Juan RP
a2d93458c0 glibc: use the official 2.9 distfile, add ld.so.cache to $conf_files.
--HG--
extra : convert_revision : 71d73ae0879dc0e771b89d3e2a89546e589cd36b
2009-03-03 17:37:28 +01:00
Juan RP
054d5b9d0d dash: update to 0.5.5.1 and force LANG=C to make this build.
--HG--
extra : convert_revision : 9727e3b3675a513cf980d3f6b392b380a437f7f3
2009-03-03 17:37:04 +01:00
Juan RP
5d3209056c gcc: update to 4.3.3.
--HG--
extra : convert_revision : debf86fa8d7ff52272accac054abdccf3abb5e37
2009-03-03 16:44:11 +01:00
Juan RP
dd0eb440ce binutils: update to 2.19.1.
--HG--
extra : convert_revision : 765787ded98e0fdf32f96d550872da2a73b3c84e
2009-03-03 16:43:58 +01:00
Juan RP
339efaefc3 ruby: update to 1.9.1-p0 and update template build file.
--HG--
extra : convert_revision : 6853250f11a8b7b7c485268947707ee6d604e258
2009-03-03 01:19:14 +01:00
Juan RP
ea55f7c9e5 tar: add missing deps.
--HG--
extra : convert_revision : e00ae4175c52d4883a4b8e96389dbddddeb73aed
2009-03-03 01:11:28 +01:00
Juan RP
eb249d40e2 git, ruby: update maintainer. I'm alone with xbps since it was born...
--HG--
extra : convert_revision : e3094954b235cc0971fc874b97cb6502e932e4c1
2009-03-03 00:05:47 +01:00
Juan RP
37e4be86f9 Added support to check the SHA256 hash for any binpkg before installation happens.
--HG--
extra : convert_revision : 4f812eb0cfb614461527e360db1692bd5f9c34aa
2009-03-02 23:38:24 +01:00
Juan RP
05f918ea93 xbps-repo: in the show target also print the binpkg file size.
Now it looks like:

...
Filename: kernel-2.6.28.1.i686.xbps (size: 16M)
SHA256: 6b2d79ed89697263020979addde7fa2f535d53df0c1b011ea74ec7757cfba2f0
...

--HG--
extra : convert_revision : 3e18cbc35b8a85fffefe71dd64815ba23c06b528
2009-03-02 03:06:35 +01:00
Juan RP
4c70b24941 remove.c: check that required objs are in files.plist.
--HG--
extra : convert_revision : a4e15ac3f48bf496d8671997b8e875c750b42730
2009-03-02 02:47:12 +01:00
Juan RP
0d8f08e8ea Added support to list and remove orphaned packages.
A new target has been added to xbps-bin: autoremove. It works in
the same way than 'apt-get', but there's no stdin input. By default
it will list you all orphaned packages, and -f flag must be set
to really remove them.

The following is a real example for the git package, which requires
directly perl and curl-libs, and indirectly libidn and openssl.

$ xbps-bin -r ~/testing-xbps remove git
Removing package git-1.6.1.3 ... done.
$

$ xbps-bin -r ~/testing-xbps autoremove
The following packages were installed automatically
(as dependencies) and aren't needed anymore:

	perl-5.10.0 curl-libs-7.19.0 libidn-1.10 openssl-0.9.8j

If you are really sure you don't need them, use -f to confirm.
$

--HG--
extra : convert_revision : 70eebaa3d99be27753b94f580c8ec86330c7c2d3
2009-03-02 02:26:20 +01:00
Juan RP
ef6b5290af sortdeps.c: use a high priority for packages that don't have run_depends.
--HG--
extra : convert_revision : b7f546d5222537401854bc80bb61cfb652c442dd
2009-03-01 17:33:19 +01:00
Juan RP
01a12891ef plist.c: fix a leak in xbps_find_pkg_installed_from_plist().
--HG--
extra : convert_revision : 50b23bcd6f0821a9ed8b8598f5d4b05fd8197919
2009-03-01 17:32:52 +01:00
Juan RP
f1f34487e2 xbps-bin: added -f flag for remove target.
Now if any package is going to be removed and it's required by
other packages, it won't let you remove it unless -f is set.

Here's an example of how it looks like:

[juan@fedora-vm xbps]$ xbps-bin -r ~/testing-xbps remove glibc
WARNING! glibc is required by the following packages:

	zlib-1.2.3 ncurses-libs-5.7 gcc-libstdc++-4.3.2 e2fsprogs-libs-1.41.4
	cracklib-2.8.13 expat-2.0.1 ncurses-5.7 cpio-2.9
	module-init-tools-3.6 busybox-initramfs-1.13.2 udev-138 procps-3.2.7
	pam-1.0.2 dbus-libs-1.2.12 lzma-utils-libs-4.32.7 coreutils-7.1
	sed-4.1.5 grep-2.5.4 gawk-3.1.6 gzip-1.3.12
	bzip2-1.0.5 bash-4.0 less-424 gdbm-1.8.3
	groff-1.20.1 lzma-utils-4.32.7 dbus-1.2.12 proplib-0.3
	dash-0.5.4 findutils-4.4.0 util-linux-ng-2.14.2 initramfs-tools-0.92o
	file-5.00 diffutils-2.8.1 wget-1.11.4 man-db-2.5.3
	sysklogd-1.5 eject-2.1.5 shadow-4.1.2.2 sudo-1.7.0
	e2fsprogs-1.41.4 tzdata-2009a vim-7.2 upstart-0.5.1
	kernel-2.6.28.1 xbps-base-pkg-0.1 kbd-1.14.1

If you are sure about this, use -f to force deletion for this package.
[juan@fedora-vm xbps]$

--HG--
extra : convert_revision : eeb92925e51f11d5b3bf7e069ed4986ae5fb0c2d
2009-03-01 01:34:15 +01:00
Juan RP
b4806141f7 TODO: another item.
--HG--
extra : convert_revision : c24c1f09857cb4f4c33716e66e1702bf2935cdd3
2009-03-01 00:37:28 +01:00
Juan RP
7acc216a1c TODO: add some more items.
--HG--
extra : convert_revision : 03f9b2d2878248fdad68a7c2b3696e7361b9fbec
2009-03-01 00:34:00 +01:00
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