43 Commits

Author SHA1 Message Date
CvH
843051d0f7 spdx: scripts/ 2018-07-17 23:58:49 +02:00
MilhouseVH
fa74600e14 buildsystem: use single = not == 2018-04-02 06:45:10 +01:00
MilhouseVH
d246e986d2 scripts/get_file: add file:// support - exists only for logging 2018-04-02 06:43:04 +01:00
MilhouseVH
3d1713527c scripts/get: support get handlers, starting with get_archive 2018-04-02 06:43:04 +01:00
MilhouseVH
54c3be9f91 squash: belt & braces 2017-11-25 03:02:53 +00:00
MilhouseVH
dc61719ae4 scripts/get: avoid flip-flopping downloads 2017-11-24 11:42:41 +00:00
MilhouseVH
8f2e61c928 scripts/get: fix logic error when download is successful, but checksum is invalid
A download might succeed from, say, github, but have an invalid checksum. In this
case it would not attempt the alternative download from the mirror (which might
have the correct checksum), but instead it would repeatedly download from github
until the download limit is exceeded, and then fail completely.
2017-09-14 04:39:51 +01:00
MilhouseVH
976e9de27d buildsystem: enable custom colours (or none at all) 2017-08-11 06:42:42 +01:00
Peter Vicman
8c2e4efb69 scripts/get: cosmetic change when reporting the calculated checksum
as described in https://github.com/LibreELEC/LibreELEC.tv/pull/1806#issuecomment-315903858

from
```
          GET      gettext
INFO Calculated checksum is: ff942af0e438ced4a8b0ea4b0b6e0d6d657157c5e2364de57baa279c1c125c43
          UNPACK   gettext
```
to
```
          GET      gettext
              INFO Calculated checksum: ff942af0e438ced4a8b0ea4b0b6e0d6d657157c5e2364de57baa279c1c125c43
          UNPACK   gettext
```
2017-07-18 08:57:39 +02:00
MilhouseVH
32cb753e93 build system: verify package downloads using sha256 checksum 2017-05-05 18:34:35 +01:00
MilhouseVH
03363dc5cd get: silence libssl.so/libcrypto.so messages 2017-02-12 22:37:35 +00:00
MilhouseVH
ac57520d9d get: cleanup - optimise and remove redundant code 2017-02-12 22:37:35 +00:00
Lukas Rusak
9737e400d0 scripts/get: only try 3 times before giving up 2016-03-15 10:39:14 -07:00
MilhouseVH
875806cdac Add PKG_SOURCE_NAME for non-standard package tarballs 2016-03-13 23:47:12 -07:00
MilhouseVH
dc12bbd8a6 build: Take a lock on the package download directory 2016-02-04 09:51:00 +00:00
MilhouseVH
fbfc4705b2 [get]: Avoid concurrent downloads of the same package 2016-01-03 07:23:06 +00:00
Stephan Raue
6481621d97 scripts: update license headers
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2016-01-02 17:26:58 +01:00
Stefan Saraev
fd31d5d958 buildsys: clean up checkdeps 2015-10-05 00:38:40 +02:00
Stefan Saraev
e32ef16312 scripts/get: 900s is too much 2015-08-26 00:17:00 +03:00
Arne Morten Kvarving
520dacb3b4 fixed: add missing quotes
terminal output might be blank
2015-04-06 00:31:17 +02:00
Stephan Raue
88640c54e6 scripts: minor cosmetics 2014-08-31 21:35:29 +02:00
Stephan Raue
5fa79809df scripts/get: cleanup
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-02-04 22:50:08 +01:00
Stephan Raue
7139ce0d21 scripts: remove packageformat v1 and v2 support, major buildsystem cleanup. now every package needs a 'package.mk' script
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-01-30 14:47:17 +01:00
Stephan Raue
0f3e2d4ffa update license headers
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-12-21 21:51:48 +01:00
Stephan Raue
70944b24e2 scripts/*: make development more colorfull :-)
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-12-20 15:51:09 +01:00
Stephan Raue
9ea8fa2b43 scripts: depends now on bash, bye bye dash i dont like you. This should fix #2481
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-07-19 02:35:52 +02:00
Stephan Raue
713277af9c scripts: implement new packageformat (v3) support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-07-17 06:12:14 +02:00
Stephan Raue
62b661caa5 scripts/*: rename 'INDENT' variable to not interference with upcoming Mesa's 'INDENT' variable
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2012-10-22 02:00:23 +02:00
Stephan Raue
3869d0fb6a scripts/get: move mirror url to projects/*/options
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2012-07-25 02:08:14 +02:00
strolch
71c0db4008 Buildsystem patches:
- allow symlink for sources and .work
- add missing char in printf statements in scripts directory
2012-07-19 10:17:42 +02:00
Stephan Raue
4eae00b707 scripts/get: add mirror support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2012-05-05 16:37:13 +02:00
Domin6
543c89c24b Change copyright and FSF address, this fixes #252 2012-02-29 13:36:32 +01:00
Stephan Raue
87f76ddd29 scripts: cosmetics
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-01-09 23:32:01 +01:00
Wintemrute
2d3ad4c2da Adding Headers...... 2011-01-09 22:06:11 +01:00
Stephan Raue
8ef2da565d scripts/get: quote tests and some more variables
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2010-12-18 22:51:08 +01:00
Stephan Raue
2c5650dba4 scripts/get: dont check for certificate
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2010-12-05 10:35:18 +01:00
Stephan Raue
d691d2b8f6 buildsystem: big rework & cleanup - PART-1: split functions from 'config/path' to an seperate file 'config/functions', rework and cleanup some build scripts, remove references to $TARGET_PLATFORM, add support for more then one downloadurl for $PKG_URL (partially done), remove support for: $PKG_DIR/arch, $PKG_DIR/platform, $PKG_DIR/url files, remove support for *.diff patches, create download-stampfiles in sources/$PKG_NAME, create md5 files after download, add support to download all sources at once with './scripts/get'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2010-11-19 22:01:08 +01:00
Stephan Raue
add47814c3 scripts/get: remove unneeded code
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2010-11-19 13:35:01 +01:00
Stephan Raue
da9aee4100 scripts/get: fix creation of stamp files (add multiversion support)
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2010-11-19 00:18:50 +01:00
Stephan Raue
7c6a5bc446 scripts/*: add metafile download url support, remove autoupdate config option (not really needed)
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2010-07-22 05:07:09 +02:00
Stephan Raue
c7cf1f753b packages/*, scripts/*, config/options: remove $PKG_DIR declaration (now in config/path), include config/options with package name
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2010-07-21 18:54:45 +02:00
Stephan Raue
29c0fe87a9 various fixes 2009-07-20 00:19:09 +02:00
Stephan Raue
de71016fb4 initial import 2009-03-18 13:02:53 +01:00