Commit graph

1073 commits

Author SHA1 Message Date
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
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