Commit graph

12 commits

Author SHA1 Message Date
Juan RP
b0089e7284 binpkg: replace invalid chars in $maintainer.
--HG--
extra : convert_revision : 31669a428ad626a7c97d533d057ca0be1d265c31
2008-12-19 03:24:49 +01:00
Juan RP
931731bb2c binpkg.sh: fix some typos that really fucked me!
--HG--
extra : convert_revision : ffceafd696ab31e057ebfcab1e565132dd69aae9
2008-12-19 03:01:11 +01:00
Juan RP
8a35ef0945 binpkg.sh: add $pkgname/$version in metadata plist.
--HG--
extra : convert_revision : 8d3926972b082b28f16ef20afe4a76ab01bebc0a
2008-12-18 07:14:01 +01:00
Juan RP
6f8456d9f1 binpkg.sh: use xbps as extension and add hw machine.
Packages are now named like: foo-2.0.x86_64.xbps
so that they don't have any common extension that could lead
to confusion for installing.

These packages shouldn't be installed directly with tar(1).

--HG--
extra : convert_revision : ee3efd57adbba6aa025a2a4e76002c784510f810
2008-12-18 02:11:12 +01:00
Juan RP
ef2601f4eb Add pkg metadata into /var/cache/xbps/metadata and not /xbps-metadata.
With this change it's possible to use a binary package just by unpacking
it into the destination directory.

--HG--
extra : convert_revision : 5f025a5e5d7593555fa55d08d5652c26736a139e
2008-12-17 08:27:28 +01:00
Juan RP
5c2d362169 Fix previous, it's conf_files not config_files.
--HG--
extra : convert_revision : dc8d0e29104846c5ecc066fbb68668042f4e51b5
2008-12-14 01:54:18 +01:00
Juan RP
6c9ac2ea07 Added keep_dirs and conf_files vars for templates.
These will be written in pkg metadata props file as well. For now
they don't change any behaviour, will be used in binary packages.

Convert some pkgs to use them.

--HG--
extra : convert_revision : d04f681cf80dc97ceb9e50370d5a8c0d7b52687c
2008-12-14 01:48:36 +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
Renamed from binpkg/create.sh (Browse further)