Commit graph

23 commits

Author SHA1 Message Date
Juan RP
9436b962df Merge branch 'master' into full-binpkgs
--HG--
extra : convert_revision : 7b927e0360aab3a5e05bd6036de0083b8ba677db
2008-12-13 09:01:23 +01:00
Juan RP
a27cfbf3c8 builddeps: improve min req deps printing.
--HG--
extra : convert_revision : 123d65cc4348fba54e3236a2f9109f4c145c6389
2008-12-13 08:59:50 +01:00
Juan RP
a31a003a63 Create binpkgs for meta-template packages.
--HG--
extra : convert_revision : fdf26fe45ee1b5ecb2d32a7e72e2b83c8ee02f5a
2008-12-13 08:44:51 +01:00
Juan RP
e817d470ab Added a new conf option: XBPS_PACKAGESDIR.
This is to specify where to store the binary packages.

--HG--
extra : convert_revision : 16d810d058b78662a33d8492caf7981e0700808e
2008-12-13 07:04:53 +01:00
Juan RP
8df4138beb binpkg: use run_rootcmd() when building the tarball.
--HG--
extra : convert_revision : c070ed6381fe27210fa7a3e39420f54ed6a19843
2008-12-13 06:11:56 +01:00
Juan RP
26f703e47f Split funcs from xbps.sh into its own files.
That way it's easier to work in certain parts and easier to
catch errors. There's a performance penalty, but this can be
fixed later.

--HG--
extra : convert_revision : c0b0e63c873bb4c078ce332dd5182a72d57c3969
2008-12-13 05:23:16 +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
Juan RP
8373117030 Another checkpoint in progress for binpkgs.
--HG--
extra : convert_revision : 38f4a4106a2d61757e1feacaec5eaef01f812d59
2008-12-12 18:12:45 +01:00
Juan RP
cf2015f692 xbps-pkgdb: add function to internalize plist file.
--HG--
extra : convert_revision : 0a303377d6c17b80eb9ff36b0309247a624c3e3e
2008-10-30 08:47:00 +01:00
Juan RP
35df6d0c6e Rewrite xbps-pkgdb to use an array of dictionaries per pkg.
That way we can make it extensible in future changes.
Now it looks like this:

<key>packages_installed</key>
<array>
	<dict>
		<key>pkgname</key>
		<string>dash</string>
		<key>short_desc</key>
		<string>POSIX-compliant Unix shell ...</string>
		<key>version</key>
		<string>0.5.4</string>
	</dict>
	...
</array>

xbps list should be faster than before if a lot of packages
are installed.

--HG--
extra : convert_revision : 816e3e73a4fc72fd8e61f3825757d92ad9d5b511
2008-10-30 06:40:11 +01:00
Juan RP
c467d31a66 Simplify check_installed_pkg to avoid calling xbps-pkgdb unnecessarily.
--HG--
extra : convert_revision : 6e0f6f96a65b346e2e2e3c3253e5469d5eed8ede
2008-10-29 22:05:29 +01:00
Juan RP
de6947e0c9 Misc tweaks to messages in xbps-pkgdb.
--HG--
extra : convert_revision : 33bac6965b2efc2d212a95d15114661bd8170255
2008-10-29 20:20:22 +01:00
Juan RP
de67397983 xbps-digest: accept any number of arbitrary files in argv.
--HG--
extra : convert_revision : 42a96b8435a2508a06b48f327f25dc97e16db233
2008-10-29 18:42:23 +01:00
Juan RP
2cb592e66e Remove bash specific features to not depend on it.
--HG--
extra : convert_revision : 0ff8eac00a603d8aae549a8bfa568bb710e4b0bf
2008-10-29 18:33:55 +01:00
pancake
7d8701190d Fixes for cmpver..use strrchr and control last char
- should make util-linux work now

--HG--
extra : convert_revision : 3a02003c06ba3b84d2b8df6acef790765a7750f3
2008-10-29 17:51:29 +01:00
Juan RP
f043d3db38 Add clean_objs to all target.
--HG--
extra : convert_revision : 2e7e440048ad6a819fe40fb7fe11eba62a3b3405
2008-10-29 03:38:19 +01:00
Juan RP
5a0aac4fd2 Added some ANSI colors for messages, may be disabled.
With the -e flag those colors will be disabled. As bonus also
I removed blank lines in .xbps-filelist and other misc tweaks, fixes
I cannot remember now.

--HG--
extra : convert_revision : 5e481d0faa14518363eafc622633d645c335ed78
2008-10-29 03:20:14 +01:00
pancake
a4f4fde9cf Initial import of xbps-cmpver
--HG--
extra : convert_revision : 57260b5d7bfc45cb2e2c877fad2fdcae155c0a75
2008-10-28 16:51:58 +01:00
pancake
1732450967 Added wget package (dependency of xbps-base-chroot)
Make chroot copy etc/resolv.conf when entering
Added buggy gstreamer template (exposese some bugs of xbps.sh)
utils build now does not cleanups the dir after build

--HG--
extra : convert_revision : a36211b7dab8627f912f3b8f844d16bbcec0bc6e
2008-10-28 12:45:30 +01:00
Juan RP
c429d26452 Remove objs after build in utils/Makefile.
--HG--
extra : convert_revision : ea6ab0ce142883c0c400f8a57ff11bc94f32ad65
2008-10-28 08:10:53 +01:00
Juan RP
4179308606 Missed xbps-pkgdb.c in previous commit.
--HG--
extra : convert_revision : 5c064f4c4fb4352d0f50180a295b0b2f28f3a463
2008-10-28 08:01:05 +01:00
pancake
86d787a276 * Initial import of chkver (compare version and package strings)
* Oops. update-index for Makefile in / and utils/

--HG--
extra : convert_revision : 2e3132bd594600b63febf11a01bc1fd63da73398
2008-10-27 18:06:45 +01:00
pancake
af3fe4c94c * Move xbps-* into utils/ directory
- Simplify Makefile rules

--HG--
extra : convert_revision : f24c98fa56d724772e7c5e9a21cf700e4085d6e2
2008-10-27 18:01:15 +01:00