Commit graph

17 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 bee2cfe2c2 Fixup info_tmpl now that $url is gone.
--HG--
extra : convert_revision : b79e598e34d9297e690ed130d28c99f404ad51e4
2008-10-16 06:59:32 +02:00
Juan RP 289b8130a2 If exists $wrksrc/ltmain.sh make libtool available.
--HG--
extra : convert_revision : bacfefa0436ac6c61f7958ac5a81f67b0ce0ea72
2008-10-16 06:31:40 +02:00
Juan RP b3f4a90070 Do not set blindly 'prefix=...' in the install phase.
Rather if $make_install_prefix is not defined, use defaults.

--HG--
extra : convert_revision : be83ac6eefe4dce25e82f7c57a9063dd77e5b049
2008-10-16 06:18:25 +02:00
Juan RP 23a1318acd libtool: override shlib naming on NetBSD, as done in pkgsrc.
While here there's no need to override ltmain.sh, remove this block
from the xbps.sh script.

--HG--
extra : convert_revision : 76951b6f01e95e717a6f2cd8b36c1e3cfc9882fc
2008-10-16 05:22:04 +02:00
Juan RP 7c5b471ca0 Ignore fixup_tmpl_libtool if $pkgname = libtool.
--HG--
extra : convert_revision : 2c3cea2b0eda84ad4e7c79eb78af8acb7a41ad89
2008-10-16 03:29:19 +02:00
Juan RP d45bdcbbfa xbps.sh: use configure_script if it's set in templates.
--HG--
extra : convert_revision : b10300a5b10ca2ba1bb0751733bd9820f9092b6c
2008-10-16 00:57:53 +02:00
Juan RP 9c31a76231 xbps.sh: remove $wrksrc/ltmain.sh before making the link.
--HG--
extra : convert_revision : 380e630bc66a54b08447bd0c636cec0c2cb93a08
2008-10-15 02:19:31 +02:00
Juan RP abb748cf1e xbps.sh: add {sgml,xml}_entries vars into reset_tmpl_vars.
--HG--
extra : convert_revision : 7f2b11b0143040d90c22cfaf38bb059a7c36985c
2008-10-15 02:00:56 +02:00
Juan RP 4833911e22 xbps.sh: override all libtool scripts after configure.
--HG--
extra : convert_revision : 555b2d477c4e0691a8d1994ad7ee264c161e372f
2008-10-15 00:21:35 +02:00
Juan RP 105c647e3b xbps.sh: move fixup_tmpl_libtool to the configure phase.
--HG--
extra : convert_revision : aafb25725f51716896e3d32799571dd64e42981a
2008-10-14 18:44:31 +02:00
Juan RP 20691bb4b2 Add support to use another tar(1) command than the one in base.
A new variable may be used in templates, $tar_override_cmd.
This accepts a full path to the binary, note that dependency must
be added before using this.

--HG--
extra : convert_revision : fc2a20d8e0104152d624d355e077e2b4219a1b73
2008-10-14 09:27:25 +02:00
Juan RP b52d064544 Major changes to support multiple distfiles in templates.
Each template now needs to use $distfiles that accepts the full
URL to download the distfile and old $extract_sufx is now merged
on it, but this must be separated by the '@' character. Example:

distfiles="http://www.foo.org/blah-6.2@.tar.gz
http://www.foo.org/blob-1.0@.tar.bz2"

If distfiles contains multiple files defined, $wrksrc is now
mandatory.

--HG--
extra : convert_revision : 1c3fa35f148af8323ce3cbcf5732104960de6bc4
2008-10-14 07:52:29 +02:00
Juan RP cdf77cd1ad pkgfs.sh: misc bugs fixed and performance improvements.
- Fixed a bug with XBPS_MAKEJOBS that only worked for the first package.
- Fixed a bug in dependency handling when pkg A depends on B, and
  package C that needs B wasn't installed, so it was skipped.
- Improvement to not source the template file if it's currently sourced.

--HG--
extra : convert_revision : 27b7e95b2360258db8da92063f173da7558be9ba
2008-10-13 10:28:51 +02:00
Juan RP 0f17943ee8 xbps.sh: fix runstuff by removing a spurious char!
Also unset some vars ASAP if they aren't used anymore.

--HG--
extra : convert_revision : 055ecc0e1dced7ed2d123d11d9e8baf4074e8b61
2008-10-13 09:08:10 +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 b947d143c7 Massive renaming: pkgfs is now called xbps.
Also known as "xtraeme's build package system".

--HG--
extra : convert_revision : 3c3a8604ca064e711631bcc09be5276ec11f90b2
2008-10-13 07:29:38 +02:00
Renamed from pkgfs.sh (Browse further)