Commit Graph

11 Commits

Author SHA1 Message Date
Juan RP
d1791dad60 make-binpkg: pass correct vars as arguments to the signal handler. 2010-05-13 21:21:36 +02:00
Juan RP
8077fd7472 shutils: bump copyright year for touched files in 2010.
--HG--
extra : convert_revision : 967ce0c8f98299db161ccb746a9e633ca0457640
2010-01-17 08:50:36 +01:00
Juan RP
e57940985e Added support to build pkgs in the chroot as normal user via capchroot.
Please read the comment in xbps-src.conf to use it. Fully tested
and working nicely, probably some pkgs will need minimal changes.

--HG--
extra : convert_revision : 820ad6d48aa74cf5b6db1871adea750acccaa82f
2010-01-16 02:11:44 +01:00
Juan RP
925e22e0f9 shutils/make-binpkg: reset noarch for subpkgs.
--HG--
extra : convert_revision : dec3deb9321b1689b79a6d9035f947cd15088ca5
2009-12-27 16:48:27 +01:00
Juan RP
a88cee9039 make-binpkg: also add symlinks to dirs!
--HG--
extra : convert_revision : 75d65479ff0f7c59b8dbfbe92ed158018458966b
2009-12-19 04:57:39 +01:00
Juan RP
a94b2511d0 shutils/make-binpkg.sh: cleanup while creating unfinished binpkgs.
- If creating the binpkg fails remove the file, the same if
  SIGINT is caught.

--HG--
extra : convert_revision : 113ce6580cc514c791835d87bf572a566b3341f8
2009-11-23 10:50:18 +00:00
Juan RP
dbb02a1930 Kill run_template(), use setup_tmpl() instead.
--HG--
extra : convert_revision : 6aaf4f637d28f476e88c05ee8608e418642a01fa
2009-11-23 05:30:04 +00:00
Juan RP
85cc462e1d Major infrastructure changes, part 2.
* Moved helpers, common and triggers dirs into xbps-src, where
  they belong.
* Renamed the templates dir to srcpkgs, it was so redundant before.
* Make it possible to add subpkgs with no restriction in names, for
  example udev now has a subpkgs called "libgudev". Previously
  subpkgs were named "${sourcepkg}-${pkgname}".
* xbps-src: changed to look for template files in current directory.
  That means that most arguments from the targets have been removed.
* xbps-src: added a reinstall target, to remove + install.
* xbps-src: do not overwrite binpkgs by default, skip them.

And more that I forgot because it's a mega-commit that I've been
working for some days already...

--HG--
extra : convert_revision : 0f466878584d1e6895d2a234f07ea1b2d1e61b3e
2009-11-22 08:31:44 +01:00
Juan RP
ef3da70478 xbps-src: build binpkgs compressed with xz by default.
- Added two new options for xbps-src.conf:
    XBPS_COMPRESS_CMD by default set to xz.
    XBPS_COMPRESS_LEVEL by default not set.

Change these options to override the behaviour.

--HG--
extra : convert_revision : cbf096e3ff8c290ec0dfd96e5e7cf81f82cbf26a
2009-10-20 15:19:09 +02:00
Juan RP
de15937c98 shutils/make-binpkg.sh: make 'build-pkg' target build all subpkgs.
--HG--
extra : convert_revision : 9b1f6d0dcbf65550e393d00eb3bea8939a644055
2009-10-20 10:06:02 +02:00
Juan RP
745192ef37 Added xbps-src and its associated code again.
It's better to keep it outside of XBPS.

--HG--
extra : convert_revision : 34f9c316585b972158d6ee55492c02c9bc5d3fcd
2009-10-18 11:17:26 +02:00