Commit graph

49 commits

Author SHA1 Message Date
Juan RP
8bb195410d TODO: $revision has been added, remove item.
--HG--
extra : convert_revision : 877aa8af58095c70c5872bdd9035de9214ffd9ba
2009-03-27 16:41:56 +01:00
Juan RP
c661af8233 TODO: more stuff.
--HG--
extra : convert_revision : 32420a6f071350ebd71b596f50719ac6c242bf77
2009-03-22 05:06:44 +01:00
Juan RP
e1425ea26c TODO: a trigger to (un)register users/groups is needed.
--HG--
extra : convert_revision : 834616556c7fc6121f9e0f2cd2b9db6e990ee144
2009-03-19 06:56:20 +01:00
Juan RP
cb3df7a9ba TODO: fc-cache trigger is missing.
--HG--
extra : convert_revision : 45cbd9c108afe43e23a5d4cf54b8ea24514969cb
2009-03-19 03:22:24 +01:00
Juan RP
0ed055c4eb Don't continue installing a binpkg if newest version in repos is already installed.
--HG--
extra : convert_revision : b73376d091fd95f4cfd92cbdba21f4bc93781504
2009-03-17 05:10:21 +01:00
Juan RP
bc1e2c8dcd TODO: I'm working in package upgrades now.
--HG--
extra : convert_revision : 01360954acd2aa4e0ff7c56e1d5b116eebf1a3e1
2009-03-16 07:08:13 +01:00
Juan RP
96c57cfb43 TODO: add another item.
--HG--
extra : convert_revision : fbf112f5e9e4a90ce3370d43414792a2dbc1b7c5
2009-03-16 07:05:10 +01:00
Juan RP
855ec90fdf Add $register_shell var, to (un)register shells at post-{inst,rm} for binpkgs.
Multiple shells can be (un)registered by a single package, like:

register_shell="/bin/zsh-foo /bin/zsh-blah"

--HG--
extra : convert_revision : 0172a74b41e26089da97fcdc8cc2d5cb6ae147f2
2009-03-14 07:32:48 +01:00
Juan RP
5d8328894d TODO: add some items required to make the system functional.
--HG--
extra : convert_revision : 38807c2fb729923194c903bf43be5a7b586c6436
2009-03-13 18:54:30 +01:00
Juan RP
53747489f0 Implemented support for running triggers with binpkgs.
Also the following changes were made:
 * Added an info-files trigger, to (un)register info files.
 * xbps-base-dirs: it's responsible to install triggers on destdir.

--HG--
extra : convert_revision : 8d707053616f38d2b5beef7cf28e1bc4a66812b8
2009-03-12 11:16:08 +01:00
Juan RP
37c27f7307 TODO: mark an item as stopped... not sure it will be implemented.
--HG--
extra : convert_revision : 2208040f9ee9cb2b21f73b45f75eccd7c34f2a83
2009-03-12 10:53:16 +01:00
Juan RP
95b01cfd63 TODO: mark two items IN PROGRESS.
--HG--
extra : convert_revision : a9c2605eda8a80bb2bd437cdf8fdb117497fef61
2009-03-11 23:29:56 +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
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
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
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
c136f6193d TODO: another item.
--HG--
extra : convert_revision : 69c734f622b926b9fd7025c6a533718de3a49363
2009-02-28 17:50:53 +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
f211c85e6d Updated TODO.
--HG--
extra : convert_revision : 6b37e23d827b9fabb0305e1de5c1a8ac780bd9da
2009-02-27 16:00:38 +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
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
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
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
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
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
2b24128059 xbps-bin: added support for the show target.
--HG--
extra : convert_revision : 24b2d30a94c95b22b1c524203cf578da03314335
2009-02-16 16:24:33 +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
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
cf830c8b04 TODO: add item about noarch binpkgs.
--HG--
extra : convert_revision : 08816d99cf80a5a7284f6263efd3513cc1afa5af
2009-02-15 19:28:46 +01:00
Juan RP
3cec555fa5 TODO: remove item for xbps-repo that has been fixed.
--HG--
extra : convert_revision : 250444dbbb78c07c09e2ec2986ef4a6158f79ac5
2009-02-14 05:15:04 +01:00
Juan RP
28cfeea6d1 New dependency sorting algorithm made in 2 days.
This algorithm works for all packages currently usable on xbps.
Previous code didn't take into account the correct order between
indirect and direct deps.

--HG--
extra : convert_revision : c49a20ce300e6e9dfa565325b40745b5a78b78ed
2009-02-12 17:30:38 +01:00
Juan RP
e32d15605b TODO: add two items and note I'm working on them.
--HG--
extra : convert_revision : 898d33ad0eb7a94fb5b825516c05ca67a19ce32b
2009-02-09 17:37:12 +01:00
Juan RP
d7b5f20e26 TODO: another item for xbps-bin.
--HG--
extra : convert_revision : ce16b1379f9c29e426566b28083e008c7cdf27b4
2009-02-05 16:20:51 +01:00
Juan RP
65d1c71008 Update TODO.
--HG--
extra : convert_revision : 2fb3e5cbd814d6b17645cdc78a05883942099353
2009-02-05 15:26:59 +01:00
Juan RP
c1f0ae6c16 TODO: basic remove support is there, recursive removing not yet.
--HG--
extra : convert_revision : 7c9fc9fc21889a560dda6bb5aabaac3edda6e83d
2009-02-03 23:55:15 +01:00
Juan RP
6c252d43d4 Split installation/removal parts in prepost-action scripts.
There are two scripts that can be used now:
	- prepost-inst: for pre/post actions at installation.
	- prepost-rm: for pre/post actions at removal.

--HG--
extra : convert_revision : 5e054758f549f5c81693b825795fbb36e2d5513a
2009-02-03 17:32:51 +01:00
Juan RP
74b213b519 TODO: add another bug.
--HG--
extra : convert_revision : a1daa1ea882b1877ff8ed7a71697757bdc71bdb1
2009-01-28 16:26:42 +01:00
Juan RP
3550f9cd27 Update TODO with new stuff.
--HG--
extra : convert_revision : 385a0335f4e6750dd4fdc559631a264eb8907c38
2009-01-27 19:41:11 +01:00
Juan RP
a1425f164d TODO: add new items.
--HG--
extra : convert_revision : 636dec5341d934ef18f0686a84d08e7e8a230a14
2008-12-28 11:38:40 +01:00
Juan RP
4148b5e4b6 Added support for pre/post installation script with binary packages.
For now all is handled in a script "prepost-action.sh" in package's
metadata directory, with a target in the shell script.

--HG--
extra : convert_revision : 93ed92d9fbb12939c751354cff464cc097379520
2008-12-28 08:44:01 +01:00
Juan RP
7f5a76ace3 TODO: add some new items for binary packages.
--HG--
extra : convert_revision : 2989daa26335b8a43fab576b0bfcb1489a6fc94e
2008-12-27 06:10:26 +01:00
Juan RP
d9fb96533f Rename xbps.sh to xbps-src.sh.
In preparation for the utility that will handle binary packages.

--HG--
extra : convert_revision : c67f42bccad28f1b5313ae0e1739979a477fd2f1
2008-12-18 11:07:33 +01:00
Juan RP
0f4c3a385a Update TODO with reality.
--HG--
extra : convert_revision : 7f19cdb77433b553d95d3cfa802e4f610c76d5c9
2008-12-17 00:53:12 +01:00
Juan RP
8df38b299b TODO: mention mpfr hardcoded gmp rpath.
--HG--
extra : convert_revision : 284b726032ac10260632ebbebbcd89f1a5f547f2
2008-12-13 07:44:19 +01:00
Juan RP
23fa45a18b Reorganize the tree for easier and better handling.
- Template helpers have been moved to templates/helpers.
- Documentation to docs/.
- Common scripts have been moved to utils/sh.
- Fixed install-destdir when executed via chroot.
- Added a build-pkg target that builds a binary package.
  The package must be installed into destdir before using.
- Misc tweaks and fixes.

--HG--
extra : convert_revision : 0896e8f24bb7592116aaf77ae9c776033818a3d8
2008-12-13 03:01:24 +01:00
Renamed from TODO (Browse further)