Major changes to not depend on cksum and db from NetBSD.

Two new utilities in C have been created:
	- xbps-digest: shows the SHA256 hash for a file.
	- xbps-pkgdb: handles dependency stuff via proplib.

Templates should use now $build_depends and change $checksum to be
a SHA256 hash. That means that I'm currently using xbps on Linux and
I lost interest on NetBSD, perhaps I'll add support for it in the
future.

Only git and its dependencies have been converted, as well as vim.

--HG--
extra : convert_revision : 53a7e030ca6b6d02bb6cd3e51d42b7d5702c1b57
This commit is contained in:
Juan RP
2008-10-20 16:34:27 +02:00
parent a5c39c58aa
commit 99d5350b30
19 changed files with 851 additions and 126 deletions

8
Makefile Normal file
View File

@@ -0,0 +1,8 @@
all:
mkdir -p utils
cd xbps-digest && make
cp -f xbps-digest/xbps-digest utils/
cd xbps-pkgdb && make
cp -f xbps-pkgdb/xbps-pkgdb utils/
cd xbps-digest && make clean
cd xbps-pkgdb && make clean