Commit graph

15 commits

Author SHA1 Message Date
Juan RP
99d5350b30 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
2008-10-20 16:34:27 +02:00
Juan RP
cfa18b4416 Massive renaming, pkgfs is now called xbps.
Also known as "xtraeme's build package system".

--HG--
extra : convert_revision : 119840ceae588fef65d6dcab651f607f54fa0be6
2008-10-13 07:32:05 +02:00
Juan RP
6752045a4f README: explain the 'listfiles' target.
--HG--
extra : convert_revision : 38a1815946f4b65ae4aa6f49e2a6cda80c638c6c
2008-10-13 06:19:35 +02:00
Juan RP
48c3875d83 README: remove stuff about PKGFS_TEMPLATESDIR.
The user doesn't have to mess with it anymore.

--HG--
extra : convert_revision : 7d14d681346a544f6cc3c4a8be53df42965388ca
2008-10-13 01:18:59 +02:00
Juan RP
b53922a2ec Major changes adding new targets and supporting build phases.
New changes include adding the following targets:

	build, configure, extract, fetch and install.

Those targets replace the not very understood old flags. Also
the code has been restructured to really understand what's going
on all the time.

--HG--
extra : convert_revision : c591d7ffd5251b7bb80e5e56bf2f4a7909c887dc
2008-10-12 20:05:52 +02:00
Juan RP
b4b9a41fac Update PERFORMANCE section with numbers building libX11 and all
its dependencies in pkgfs vs pkgsrc. You know, pkgsrc is 40% slower.

--HG--
extra : convert_revision : 6fe7cc35419d7d936cc4a996c481a7b5da57cf44
2008-10-04 15:09:11 +02:00
Juan RP
98b7b40a7b Update README to match current behaviour of code.
--HG--
extra : convert_revision : a402005d8da8335c696889b9c5a264a5b8cb1bb2
2008-10-04 06:35:43 +02:00
Juan RP
2b14031db2 Some changes in how the configuration file is searched.
If the configuration file is not specified through the -c flag, try
to find it before at default location, and as last resort in current
directory.

This avoids having to specify -c all the time, even if you are using
it from distribution dir.

--HG--
extra : convert_revision : d0b48a1e53a064fe011c72c4f2492a897b113179
2008-10-03 18:53:58 +02:00
Juan RP
61d42c32c7 Added the flags "-i". Use it when you only want to build and install
a package into destdir but do not want to have it in masterdir.

Useful to test different versions, with incompatible ABI changes, etc.

--HG--
extra : convert_revision : cd13448fb92fdf0df6547477c7e9d7343bb197a0
2008-10-02 03:52:21 +02:00
Juan RP
5d65d4762c Add a not so useful "HOW TO MAKE TEMPLATES" section.
--HG--
extra : convert_revision : c6c7012bdec2666685c2b3f5578fdcbd800470bd
2008-10-01 05:27:15 +02:00
Juan RP
9a7303df8a Add latest libX11 template and its required dependencies.
While here, I compared install time in pkgfs vs pkgsrc on libX11,
and pkgfs built the package 12 seconds faster.

--HG--
extra : convert_revision : 7804a092c5d3ba879d9e869769ad912ddeb6743c
2008-09-30 04:02:44 +02:00
Juan RP
7ea1076ab3 Do not require on install/remove commands to specify path to templates
directory, or full name to template files. Now you do:

$ pkgfs.sh install perl-5.10.0

Removed the item from TODO, which was suggested by milosn@freenode.

--HG--
extra : convert_revision : 55e41b27a940ed7d67ade5c185cbbfeb4d82c20a
2008-09-30 01:59:51 +02:00
Juan RP
37210e2d84 Add "list" targets, that prints pkg installed + short_desc.
--HG--
extra : convert_revision : dbce561949960303fea46d66b9920eff7e2dd244
2008-09-30 00:45:25 +02:00
Juan RP
4d78af885b Add a small "HOW TO USE IT" section.
--HG--
extra : convert_revision : 41434cf75c4422e695ed15c8ede45c6e1c0ab880
2008-09-29 20:05:13 +02:00
Juan RP
a9fae81030 Add a README file to test if pushing changes via ssh works, heh.
--HG--
extra : convert_revision : eb6d2557d5fe1ce2360f48747298a280c7631467
2008-09-29 19:25:56 +02:00