Commit graph

1410 commits

Author SHA1 Message Date
Juan RP
33edcb122b Provide FILESDIR to template files and use it in some pkgs.
This always points to ${XBPS_TEMPLATESDIR}/${pkgname}/files.

--HG--
extra : convert_revision : ef23025694cb95d508d511ab52bf67c66ead9d61
2009-03-08 01:31:24 +01:00
Juan RP
67d700ac77 klibc-devel: needs perl at runtime for klcc.
--HG--
extra : convert_revision : 5d83c859765f5afe2d3dbb9db256ac2bde1d82f6
2009-03-08 00:44:46 +01:00
Juan RP
e0d64e93b3 klibc: update to 1.5.15.
--HG--
extra : convert_revision : 5573f58bc7172cc2130c817f96ea5844cc7f1a78
2009-03-08 00:40:42 +01:00
Juan RP
1fb0ab968d mpfr: update to 2.4.1. The authors removed previous distfile...
--HG--
extra : convert_revision : e369a8bcdce3f728ea1f5eb26208c989bf734c37
2009-03-07 23:55:45 +01:00
Juan RP
e6539fee84 tzdata: update to 2009b.
--HG--
extra : convert_revision : b55ea8c44653d38577d727392c1fc2920d18a9ab
2009-03-07 23:53:05 +01:00
Juan RP
593e754ad6 initramfs-tools: update to 0.93.
--HG--
extra : convert_revision : 94d98a512aabe9692c6785e20c61a81aa1313498
2009-03-07 07:27:06 +01:00
Juan RP
551d1760d3 fakeroot: update to 1.12.2.
--HG--
extra : convert_revision : 2738a1cd84c658cfc71c4d7cb29ac6ece15561ec
2009-03-07 00:56:15 +01:00
Juan RP
da1e44dc35 xbps-base-system: depend on iputils.
--HG--
extra : convert_revision : 8361c542095f7f9561f284b2ab9430f19c8d0599
2009-03-06 09:37:59 +01:00
Juan RP
f113b046f2 Added iputils-20071127 template.
--HG--
extra : convert_revision : f5bdebd8b5da47626004f486339b929256fa3d49
2009-03-06 09:37:42 +01:00
Juan RP
12cabc94c8 initscripts: use $hostname from rc.conf, to mimic NetBSD.
--HG--
extra : convert_revision : 61b6484648b15667e10a7259a46f09253a5b6e3b
2009-03-06 08:31:12 +01:00
Juan RP
cffbaad064 TODO: initscripts are provided, even by reusing NetBSD's rc.d.
--HG--
extra : convert_revision : e1f7b42a90ebbe7d4ab12856dc34cef1a3edc25f
2009-03-06 08:25:41 +01:00
Juan RP
d7c27e8ab2 initscripts: depend on dhcpcd and use it if requested.
--HG--
extra : convert_revision : 49f1ce13ae5f51c0d4348500915069e8077aa355
2009-03-06 08:19:05 +01:00
Juan RP
6af7bf8f62 Added dhcpcd-4.0.12 template.
--HG--
extra : convert_revision : e50863747f1c6e079c33e2d571d71035209ba794
2009-03-06 08:18:38 +01:00
Juan RP
8fcbfc42bb initscripts: fix up rc.d/locale.
--HG--
extra : convert_revision : b314bfe6ebff16cbeb797b16b3d26db1652e6727
2009-03-06 06:30:38 +01:00
Juan RP
e9a15758da initscripts: set hostname via rc.sysinit.
--HG--
extra : convert_revision : 3f0c356f141d3d408089dca970497b310dc5a66e
2009-03-06 06:30:15 +01:00
Juan RP
5329e3579b sysklogd: add the rc.d scripts and run them by default.
--HG--
extra : convert_revision : 07e704a3e8c999d04305205ad359793d50a29d0c
2009-03-06 05:40:33 +01:00
Juan RP
134d5f6ce1 xbps-base-system: use sysvinit and iniscripts.
--HG--
extra : convert_revision : 0816b3c7ae117cef2b22d1fa25ea8d57f9b56ee9
2009-03-06 05:19:35 +01:00
Juan RP
ed07259681 Added initscripts-2009.01 template.
This package contains all files required for booting the lsXL
linux system built through xbps.

Currently it uses the NetBSD rc.d(8) system, sysvinit and
modified BSD style scripts modified from Arch linux.

--HG--
extra : convert_revision : 4584be26dd672ba33f9b1d76534a22d4715664ea
2009-03-06 05:17:46 +01:00
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