Commit Graph

14 Commits

Author SHA1 Message Date
Juan RP
e056e23be1 shutils: improve how the patches are applied.
Now all patches must be placed in PATCHESDIR (templatesdir/$pkgname/patches)
and must be in -p0 format. If other args are required, a same file with
.args extension should be created with specific args inside of it.

--HG--
extra : convert_revision : xtraeme%40gmail.com-20091015140224-x5n026mdhwb4pvyq
2009-10-15 16:02:24 +02:00
Juan RP
9296d25811 shutils: return proper error in {do,pre,post}_* stage funcs and use msg_error.
--HG--
extra : convert_revision : xtraeme%40gmail.com-20091012220713-k3j00b7x3jk5s3we
2009-10-13 00:07:13 +02:00
Juan RP
cf7b3caebe shutils: cross-compilation.sh is in XBPS_SHUTILSDIR not XBPS_HELPERSDIR.
--HG--
extra : convert_revision : xtraeme%40gmail.com-20091012203507-oqqkp2izfsl570gp
2009-10-12 22:35:07 +02:00
Juan RP
c6d3868b8b shutils: remove tmpl_func.sh, moved to the xbps-templates repo.
xbps-src: added XBPS_COMMONVARSDIR that sources all .sh files in
	  setup_tmpl(), this replaces tmpl_funcs.sh.

--HG--
extra : convert_revision : xtraeme%40gmail.com-20091012203056-rtay2drhrwak4ldk
2009-10-12 22:30:56 +02:00
Juan RP
8918861000 shutils: added "nofetch" variable to be used in build templates.
When it's set, a custom do_fetch() function must be used to fetch
sources. $distfiles and $checksum will be ignored in that case.
This makes it able to fetch sources from git, svn, bzr, etc.

--HG--
extra : convert_revision : xtraeme%40gmail.com-20091012102321-zqp4r783uo1s4sek
2009-10-12 12:23:21 +02:00
Juan RP
06d451e557 Remove 'automatic' flag while installing via xbps-src, it's not very
useful and won't be implemented.

--HG--
extra : convert_revision : xtraeme%40gmail.com-20091010155336-uyjgohik8y1y21bz
2009-10-10 17:53:36 +02:00
Juan RP
c0959e503f shutils/install_funcs.sh: fix inverted test for $libtool_no_delete_archives.
--HG--
extra : convert_revision : xtraeme%40gmail.com-20091010081719-f6mx907ma5rtitux
2009-10-10 10:17:19 +02:00
Juan RP
5a26facf51 shutils/chroot.sh: only rebuild ldso cache once at creation time.
--HG--
extra : convert_revision : xtraeme%40gmail.com-20091008185250-s3io3s6l2fyr2y0t
2009-10-08 20:52:50 +02:00
Juan RP
c0c9a8dfc0 shutils/make-binpkg.sh: reset revision while building binpkgs, so that
the archive is created with the correct version.

--HG--
extra : convert_revision : xtraeme%40gmail.com-20091005211238-b3oa8cf2xyd2bn7c
2009-10-05 23:12:38 +02:00
Juan RP
1c076967d4 Pass the ${UPDATE} argument to the triggers, to support restarting
services while upgrading packages.

--HG--
extra : convert_revision : xtraeme%40gmail.com-20091002152419-qo4i4qpp8ba8qxqd
2009-10-02 17:24:19 +02:00
Juan RP
8d4cc875ea xbps-src: when stowning a package, do not copy metadata files.
--HG--
extra : convert_revision : xtraeme%40gmail.com-20090821095541-833o0srxzybgg0z7
2009-08-21 11:55:41 +02:00
Juan RP
4aac305105 Add some PHONYs to the install target in Makefiles.
--HG--
extra : convert_revision : xtraeme%40gmail.com-20090821091758-6am9fbkvy9doooef
2009-08-21 11:17:58 +02:00
Juan RP
c9d19c2da9 Fix installation of packages in the chroot due to previous
changes.

--HG--
extra : convert_revision : xtraeme%40gmail.com-20090818175825-sazm2dea97y4m0ky
2009-08-18 19:58:25 +02:00
Juan RP
9680251382 Add shell utils required by xbps-src.
These files are moved from the GIT repository.

--HG--
extra : convert_revision : xtraeme%40gmail.com-20090818153742-98s9y92f5m19l3c2
2009-08-18 17:37:42 +02:00