Jürgen Buchmüller
c1fd6c389e
hooks/do-fetch/00-distfiles.sh: contents checksum
...
Add support for contents checksums. This is meant to be used for tarballs
like the ones coming from https://*.googlesource.com/ which on every download
change their outer checksum due to being packaged with different date/time
stamps or similar.
If such a distfile still contains the same files as the author of a template
found, then the checksum of its contents can be specified by prepending a
commercial at (@) to the corresponding checksum="..." line.
Depending on the format of the distfile its entire contents will then be
piped into sha256sum and the resulting digest is verified against what
follows after the @.
2018-03-02 23:28:36 +01:00
Michael Aldridge
92d6e1a521
go build style: move GOPATH creation to do_configure()
2017-11-26 00:41:26 -08:00
Michael Gehring
7e9e76706f
Manual.md: add make_check_{args,target}
2017-11-21 14:39:57 +01:00
yopito
f26e6d1025
Manual.md: no underscore or shell subst allowed in version
2017-09-24 15:57:32 +02:00
Enno Boland
86908c48e0
Manual.md: engrish splelling
2017-08-20 13:04:00 +02:00
Radagast
be41975480
Manual.md: Readability fix ( #6897 )
2017-06-29 21:03:19 -04:00
Dominic Monroe
36ac446b2a
haskell-stack: Add support for stack.yaml in source
2017-06-26 23:21:09 -07:00
Michael Aldridge
ec69da540b
Manual.md: clarify the maintainer field
2017-06-22 01:29:21 -07:00
Florian Wagner
f2c0f7885e
Add and document R-cran build style; support CRAN in update-check.
2017-06-08 13:32:40 +02:00
Jürgen Buchmüller
5a11957d14
Merge branch 'master' into check
2017-05-02 09:18:52 +02:00
Toyam Cox
81bcc70bcd
Manual.md: mention the comments at template start
2017-04-30 13:36:54 -04:00
Toyam Cox
2b19b7eb58
build_style/gnu-makefile: allow good makefiles
2017-04-25 16:20:59 -04:00
Toyam Cox
4a58163112
Manual.md: document restricted=yes
2017-03-26 00:19:56 -04:00
Toyam Cox
b40126ab75
Manual.md: state desire for useful nocross, broken
...
Maybe this way we can have less `nocross=yes` and more
`nocross=http://this.link/to/a/failed/cross/build ` to make it easier to
debug later.
2017-03-16 15:20:59 -04:00
Jürgen Buchmüller
c31dd888f6
xbps-src: implement a 'check' stage
...
Add another stage 'check' between 'build' and 'install'. It is be enabled using the
variable XBPS_CHECK_PKGS=yes and disabled if unset, set to "0" or "no" in your
local etc/conf.
A new xbps-src option `-q` for `quick` will disable XBPS_CHECK_PKGS by overriding it to 0.
If enabled, `common/xbps-src/shutils/xbps-src-docheck.sh` checks for an existing
`do_check()` function in the package's template and, if it exists, calls it.
A new template variable `checkdepends` may be present and list packages required
to run the `do_check()` function. Example: `checkdepends="bc unittest-cpp"`.
2017-03-08 11:33:48 +01:00
Piraty
317a459d63
Manual.md: improve language
2017-02-02 11:32:27 +01:00
Toyam Cox
6425225eea
Manual.md: base-devel isn't always in hostmakedeps
2017-01-16 08:00:37 -05:00
Toyam Cox
e3daf4a966
Manual.md: clarify only_for_archs ( #5488 )
2017-01-08 13:46:15 +01:00
Piraty
99152e09c7
Manual: build option commands were incomplete ( #5178 )
2016-11-25 14:29:16 +01:00
Alessio Sergi
29c37543cf
xbps-src: introduce python_version
2016-11-17 17:42:54 +01:00
Alessio Sergi
4e6576e7a4
xbps-src: add support for python3 pkgs
...
- python_module build style now builds modules for python2/3 by default
- new python2_module and python3_module build styles for building
python2-only and python3-only packages respectively
- no more python_versions
- no need to define pycompile_version for Python modules anymore
(still needed for non-Python modules though)
- Python version and paths are now guessed automatically and a set of
useful variables can now be used in templates
- #!/usr/bin/python2 and #!/usr/bin/python3 are now the default shebangs
- /usr/bin/foo2 and /usr/bin/foo3 are now the default names for bin
scripts (for use with alternatives)
2016-10-16 16:59:31 +02:00
Toyam Cox
6e8c89dc20
Manual.md: Clarify the role of {{host,}make,}depends
2016-10-11 12:49:36 -04:00
DirectorX
8dc62472ad
Manual.md: whitespace fixes
2016-08-03 00:25:57 +03:00
Alessio Sergi
da4d9b7f23
xbps-src: PYPI_SITE: use files.pythonhosted.org for less redirections
2016-05-13 17:35:35 +02:00
Toyam Cox
ca892ac605
Manual.md: mention mutable_files ( #4117 )
2016-05-01 10:49:30 +02:00
Toyam Cox
2ec3075932
Manual.md: mention make_dirs ( #4082 )
2016-04-27 11:51:06 +02:00
Alessio Sergi
f6be81e3b7
Manual: update PYPI_SITE
2016-04-25 00:27:27 +02:00
Toyam Cox
e2fe9ef294
Manual.md: Add quality requirements ( #4025 )
2016-04-14 08:05:31 +02:00
Toyam Cox
8e732bbf55
Manual.md: clarify New Package commit message
2016-04-06 15:07:04 -04:00
Michael Gehring
1414b8becf
Manual.md: build_style perl -> perl-module
2016-03-22 02:15:01 +01:00
Dominik Honnef
795a645de4
build-style/go: add support for build tags
2016-03-16 18:46:06 +01:00
Enno Boland
be80bd01e3
Manual.md: sync MOZILLA_SITE with reality.
2016-02-14 12:08:24 +01:00
Christian Neukirchen
28d156bb91
Manual.md: adopt status quo regarding commit messages.
2016-02-01 14:22:44 +01:00
Dominik Honnef
988638a2a3
Manual.md: improve documentation of 'reverts'
2016-01-13 14:30:25 +01:00
Enno Boland
a0979f2efe
Manual.md: conf_files support wildcards now.
2015-11-26 08:31:02 +01:00
Juan RP
917024dd19
Merge pull request #2998 from Gottox/no-force_debug_pkgs
...
common/xbps-src: remove force_debug_pkgs variable
2015-11-17 16:54:10 +01:00
Toyam Cox
743c1193ce
Add nopie to the manual
2015-11-17 10:50:09 -05:00
Enno Boland
c7f2f9840f
common/xbps-src: remove force_debug_pkgs variable
2015-11-17 15:36:51 +01:00
Duncan Overbruck
426859b619
Manual.md: fix typo
2015-11-10 22:04:32 +01:00
Juan RP
3e1154266f
xbps-src: support "alternatives" from xbps-0.48.
2015-10-30 12:39:59 +01:00
Juan RP
500404b39b
Manual.md: document `lib32symlinks` and improve `lib32mode` descr.
2015-10-19 13:00:33 +02:00
Jürgen Buchmüller
c2c10c1e8e
manual: descriptions for -data and -doc pkgs
2015-09-28 09:17:59 +02:00
Christian Neukirchen
45e4ace1f6
Manual.md: document haskell-stack build_style.
2015-09-14 17:06:38 +02:00
Steve Prybylski
80d0f5ff2c
Manual.md: add note about supplying licenses
2015-08-28 20:16:50 -04:00
Jürgen Buchmüller
43de55d0df
Manual.md: Add descriptions of conflicts variable
...
Closes #2212
2015-08-21 16:15:41 +02:00
jbu
1fdd815143
xbps-src: New build-style qmake
2015-08-21 09:29:44 +02:00
beefcurtains
e30ccdc3ea
build-style/cmake.sh: allow build subdirectory
2015-06-29 14:29:46 +00:00
beefcurtains
b7b4d35617
Manual.md: correkt engrish speling 😋
2015-06-28 09:14:05 +00:00
Andrea Brancaleoni
f3a9488802
Manual.md: /usr/sbin -> /usr/bin
2015-06-04 13:30:44 +02:00
jbu
6bf4be3b6b
Manual.md: Fix build_style desc for gnu-makefile
2015-05-31 23:19:34 +02:00
Dominik Honnef
3b617119c7
build-style/go: support building multiple packages
2015-05-04 13:40:44 +02:00
Dominik Honnef
382449cb6e
build-style/go: support building subdirectories
2015-04-17 18:27:08 +02:00
Andrea Brancaleoni
2226eb6331
Manual.md: updated documentation
2015-04-09 12:29:20 +02:00
Juan RP
1c5f4690e6
xbps-src: always require current srcpkgs version in build dependencies.
...
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.
This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00
Juan RP
9b50f002d3
Manual.md: typo ( close #1146 )
2015-03-16 06:45:04 +01:00
necrophcodr
f27fa78751
Update Manual.md with Table of Contents.
2015-03-16 06:44:12 +01:00
Juan RP
4e4a7b07e8
Manual.md: improve `slashpackage` build_style descr.
...
Close #1016
2015-02-25 16:19:38 +01:00
TJ Vanderpoel
0aafea17f6
daemontools: fix spelling in Manual
2015-02-25 16:16:31 +01:00
TJ Vanderpoel
4fff43cc4b
daemontools: add slashpackage build-style to Manual.md
2015-02-25 16:14:54 +01:00
Juan RP
7339b81b43
xbps-triggers: system-accounts: introduce <account>_pgroup to set primary group.
...
While here also change default home directory to /dev/null if unset.
2015-02-23 22:09:20 +01:00
Dominik Honnef
bd75088422
rename import_path to go_import_path
2015-02-21 14:49:02 +01:00
Dominik Honnef
77e8751a93
New build_style: go
2015-02-21 14:49:02 +01:00
Juan RP
df4c861f97
xbps-src: common/{,environment}/build_style -> common/${,environment}/build-style.
2015-02-21 12:13:07 +01:00
Juan RP
8c031993c0
Manual.md: document vsv() properly.
2015-02-17 16:23:39 +01:00
Lukas Braun
54e39b2b61
Fix vsv description in Manual.md.
2015-02-17 15:40:04 +01:00
Juan RP
5725a2e0ae
xbps-src: introduce "noshlibprovides" to skip shlib-provides detection.
2015-02-05 11:37:10 +01:00
Duncaen
e7058fda14
Manual.md: fix typo
2015-02-04 23:32:13 +01:00
Eivind Uggedal
3b7a76512d
update_check.sh: use external update file for overrides
2015-01-15 11:16:30 +00:00
Juan RP
99becc55bd
New build_style: ruby-module - for install.rb ruby modules.
2014-11-25 17:54:17 +01:00
Eivind Uggedal
154c5cd605
update_check.sh: support for update_version (upstream version).
2014-11-24 14:57:41 +00:00
Juan RP
8ade12549f
xbps-src: rename disable_debug to nodebug, to follow our naming convention.
2014-11-16 11:52:36 +01:00
Enno Boland
cb7c83f230
Manual.md: add documentation describing repositories and the repository variable.
2014-11-05 14:15:25 +01:00
Christian Neukirchen
e7c64b5da4
Manual.md: document update_pkgname.
2014-11-01 20:39:18 +01:00
Christian Neukirchen
60ac25fd1f
xbps-src: add update-check.
2014-10-31 20:43:35 +01:00
Christian Neukirchen
00abf5fbfc
Manual.md: document update_*
2014-10-31 15:50:38 +01:00
Juan RP
af6d6ea273
Manual: svs -> vsv.
2014-10-13 11:14:47 +02:00
Enno Boland
e4b64c459c
Manual.md: add description to vsv()
2014-10-13 11:12:05 +02:00
Juan RP
b2976da1c8
xbps-src: use "disable_debug" to disable -dbg subpkg creation.
2014-10-11 09:57:27 +02:00
Enno Boland
35acf3dc38
Manual.md: s/xbps-packages/void-packages/g
2014-10-09 17:24:27 +02:00
Enno Boland
1bd9913ab3
Manual.md: fix typo.
2014-09-30 00:14:01 +02:00
Enno Boland
26522e4dc4
Manual.md: mention that pkgver <= reverts[x]
2014-09-30 00:03:33 +02:00
Enno Boland
2e06757bc0
Manual.md: typofix.
2014-09-30 00:03:33 +02:00
Enno Boland
fcc668bc95
Manual.md: document reverts field.
2014-09-30 00:03:33 +02:00
Juan RP
5aca9bb6af
Manual: mention software bin stripping.
2014-09-18 10:38:09 +02:00
Juan RP
c2b011a98a
Implement support for {INSTALL,REMOVE}.msg files ( fix #454 ).
2014-09-15 16:20:25 +02:00
Juan RP
10cb7ff95e
Manual: describe <subpkg>.{INSTALL,REMOVE} files.
2014-09-15 16:20:25 +02:00
Alessio Sergi
6f171bcd2f
Add PyPI to master sites
2014-09-10 23:52:34 +02:00
Juan RP
289bc58776
xbps-src: added support to append additional shlibs to shlib-{provides,requires}.
2014-09-10 11:23:33 +02:00
Dominik Honnef
191c1eaf51
add vopt_conflict helper
...
vopt_conflict prints an error and exits if two options are set at the
same time.
2014-09-05 16:57:47 +02:00
Enno Boland
1b64ad1605
Update README.md
2014-09-04 16:45:57 +02:00
Enno Boland
07f58a3125
Manual.md: Small typo fix
2014-09-03 17:00:53 +02:00
Dominik Honnef
cdd2ce0da4
add helpers for working with options
...
Add the helpers vopt_if, vopt_with and vopt_enable that simplify common
option-based operations.
Instead of a bunch of
if [ "$build_option_foo" ]; then
configure_args+=" --with-foo"
makedepends+=" foo-devel"
else
configure_args+=" --without-foo"
fi
one can use
configure_args="... $(vopt_with foo)
makedepends="... $(vopt_if foo foo-devel)"
instead.
We're adding these functions to common/xbps-src/shutils/common.sh but
that might not be the ideal place. I would've preferred
common/helpers/options.sh, but helpers are only available in the
individual phases, not when the template itself gets parsed.
2014-08-30 00:39:46 +02:00
Juan RP
3c07a506b7
Manual: tyop in previous.
2014-08-25 22:43:06 +02:00
Juan RP
a657914696
Manual: subpkg order tweaks.
2014-08-25 22:41:19 +02:00
Juan RP
325acc6e9a
Manual: document subpkg order processing.
2014-08-25 17:58:46 +02:00
Dominik Honnef
71edea4755
mention *_SITE variables in Manual.md
2014-08-23 19:36:25 +02:00
Juan RP
12a3b16e42
Introduce "broken" var to skip building broken packages; make "nocross" not error out.
...
- broken var simply exits (without error) and skips building a pkg.
- nocross var now simply exits without an error, to make buildbot continue building pkgs.
2014-08-22 16:49:23 +02:00
Juan RP
108a6d3fac
xbps-src: introduce "nocross" to not allow cross compilation.
2014-08-21 12:07:44 +02:00
Juan RP
d7363394b8
Manual.md: tyop.
2014-08-20 11:48:00 +02:00
Juan RP
9b37c7107b
Manual: explain "virtual?vpkg" runtime deps.
2014-08-20 11:17:26 +02:00