Commit Graph

60 Commits

Author SHA1 Message Date
mid-kid
0ce5b27385 maintainer/manage-packages.sh: Fix typo
Signed-off-by: mid-kid <esteve.varela@gmail.com>
2023-02-01 21:58:43 +13:00
Hans-Christian Noren Egtvedt
1dd4a4fd28 Create unified diff when refreshing patch files in manage-packages.sh
The unified diff patch format will contain slightly more information,
which is helpful when rebasing patches to new releases.

Signed-off-by: Hans-Christian Noren Egtvedt <hegtvedt@cisco.com>
2022-05-15 11:19:11 +12:00
Chris Packham
f17fba6080 Move SRC_CUSTOM inside choice
Prior to commit 30bffa96 SRC_CUSTOM was inside the choice with
SRC_RELEASE and SRC_DEVEL making the 3 options mutually exclusive.
Restore this behaviour keeping the "fix" to keep kconfig happy.

Fixes #1151
Fixes: 30bffa96 ("don't nest choices")
Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-06-09 20:35:53 +12:00
Chris Packham
30bffa96b2 don't nest choices
New versions of Kconfig won't allow choices to be nested. Update the
kconfig template accordingly.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-02-02 21:58:52 +13:00
Chris Packham
2340fa2912 Don't generate empty help
Kconfig now complains when we have a help section with no text. If there
is nothing in @@help@@ don't output a `help` section.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-02-01 21:13:17 +13:00
Egeyar
7fdb7665f7 Support released versions from Git branches
* Do not assume a release has a tarball if src_release is set to "n".
 * Do not assume versions in repositories are all experimental.
 * Allow versions to define their default repository_branch,
   repository_cset, repository_subdir and bootstrap.
 * Do not expect mirrors, archive_filename, archive_dirname,
   archive_formats and signature_format from a version if src_release
   is set to "n".
 * Add version_number to allow version names to be different than the
   version number. When given, use version_number to compare against
   the milestones.

Signed-off-by: Egeyar Bagcioglu <egeyar.bagcioglu@oracle.com>
2020-11-23 19:47:13 +13:00
Alexey Neyman
682f9aac7b Make rpmbuild happy with our unreleased versions
Signed-off-by: Alexey Neyman <stilor@att.net>
2020-03-17 12:44:44 -07:00
Alexey Neyman
cd2e3276b6 Slide the checked out tag of elf2flt
Also, add an ability to download rolling releases to manage-packages.sh.

Signed-off-by: Alexey Neyman <stilor@att.net>
2020-02-26 11:05:19 -08:00
Alexey Neyman
b4f317a4a5 Pretend lzip is always there
... so that we can download .tar.lz archives.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-10-01 21:22:22 -07:00
Alexey Neyman
d4fd69d5f1 Change the "no viable version" check
... to make it easier to trace from `ct-ng menuconfig`.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-04-04 18:57:42 -07:00
Alexey Neyman
31002a0c0a Add an ability to mark a configuration as invalid
... so that the build will fail early and predictably.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-04-04 18:57:42 -07:00
Alexey Neyman
40d5bf6440 Add moxiebox as a choice for libc
This required some rework of the libc selection, as moxiebox is a layer on
top of another libc - newlib.

Also, moxiebox'es host VM (`sandbox`) needs a libcrypto on the host. We will
not have it if we're cross-compiling a canadian cross. Fortunately, all moxiebox
needs from libcrypto is SHA256, and it already includes a standalone implementation
of SHA256 in its runtime. Provide a little wrapper that allows moxiebox use
that implementation for the host binary, too.

Also, automate collecting/printing the list of all packages in a given category
(e.g. LIBC or COMP_TOOLS), generate a list of all Kconfig symbols for a given
category.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-01 10:10:51 -08:00
Alexey Neyman
ca7edf2fa3 Abbreviate to 7 characters when building out of git
Otherwise, release tarballs look weird with strings varying in length.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-11-27 15:39:53 -08:00
Alexey Neyman
71d85c9e16 Include testing/ into the release.
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-11-26 23:50:47 -08:00
Alexey Neyman
2d6ecbda6b Move the last bits of release creation into Makefile.am
Fixes #938.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-09-29 10:24:18 -07:00
Alexey Neyman
d14adeb1d9 Use git-version-gen to generate version info
Suggested-by: Chris Packham <judge.packham@gmail.com>
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-06-06 17:52:17 -07:00
Alexey Neyman
d7ee16cb28 Make patch order overridable by individual packages
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-06-06 00:50:36 -07:00
Alexey Neyman
3f1532713e Update packages: automake, isl, linux, mpfr, musl, newlib, strace, uClibc-ng
Also, fix manage-packages.sh after autotoolization.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-12 08:17:05 -07:00
Alexey Neyman
bb6c97551f User manual installation
... when running from a release tarball.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
56d785bd00 Docs installation
- Move downloading the pages from a website to a separate script, invoke
  as dist hook
- Install manpage

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
66ad1ff514 Upgrade to new releases
android-ndk, binutils, gcc, linux, mpfr, ncurses, newlib, uclibc-ng

MPC vs MPFR dependencies required modifications in auto-generated templates
to also provide non-inclusive older-than/newer-than specifications.

Also correct MPC URLs, the website seems to have adjusted its directory
layout.

Currently, newlib 3.0.0 doesn't build for arm-nano-eabi.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-01-28 19:25:47 -08:00
Alexey Neyman
bfd5a9b6ba Add a summary of the operations
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-12-05 01:09:56 -08:00
Alexey Neyman
2a1935f3ad Retire old scripts for handling patches
Also rename test-packages -> manage-packages, it is no longer just testing.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-12-02 12:23:31 -08:00
Alexey Neyman
723a97fdd3 Add an ability to refresh/renumber patches
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-12-02 12:21:27 -08:00
Alexey Neyman
9fdb93cce0 Make comp.libs use generated templates, too
This allows us to include the component-to-package relation in the
generated kconfig files and make use of that information in the
show-config.sh script.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-11-29 23:44:49 -08:00
Alexey Neyman
63e91f4eba A few fixes for showSamples
- Use fork's name, not the master package name
- Allow to use a choice selector when printing a package
- Consider complibs always present (they are, gcc does require gmp/...)

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-11-19 21:50:28 -08:00
Alexey Neyman
b3038a0a41 Add digests for all packages
Also fix test-packages: it was saving the output from CT_DoLog into
the checksum file. Also use one file per version.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-09-29 17:05:22 -07:00
Alexey Neyman
e29091ec06 Add an ability to download signatures from test-packages.sh
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-09-27 23:10:46 -07:00
Alexey Neyman
48a949cf60 Add an ability to verify the digest/signature
Fixes #611.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-09-27 22:40:21 -07:00
Alexey Neyman
ff4485ad30 Update gcc-linaro to 2017.08
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-09-16 13:05:34 -07:00
Alexey Neyman
a5c16ae304 Allow test-package.sh to be used in a clean tree
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-09-04 16:22:52 -07:00
Alexey Neyman
1e4eeb5c3b Workaround for static uClibc-ng issue with -lpthread
Also, preserve .config when running test-package.sh.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-09-03 12:12:14 -07:00
Alexey Neyman
961ea19382 Allow loops to skip entries if certain variable is kept
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-24 15:29:55 -07:00
Alexey Neyman
4c1a12f5dd Add "postprocessing" to substituted variables
... and reduce the number of variables defined explicitly.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-24 14:58:14 -07:00
Alexey Neyman
b2e2771f85 MPC: older releases are only on master site
Also, Linux stopped making .bz2 tarballs on recent 3.x branches.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-24 00:24:30 -07:00
Alexey Neyman
373f22648f Skip ftp:// URLs, wget cannot verify them
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-23 23:56:40 -07:00
Alexey Neyman
f8d4ce3d0e Implement a script for checking packages
Then use this script to check that all packages can be extracted and patched.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-23 16:05:40 -07:00
Alexey Neyman
d26dc5d5f5 Use per-package list of formats to determine downloads
Fixes #789

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-19 00:18:25 -07:00
Alexey Neyman
9d91f44bc8 Separate the notions of package name/label
Also, remove resolved TBDs.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08 10:57:57 -07:00
Alexey Neyman
ae71ce4106 Kconfigize choice/menu items
Also, add a poor man's upgrade script.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08 10:57:56 -07:00
Alexey Neyman
ff0a1a3da6 Switch gen-kconfig to new framework
Also:
- Move companion_* to comp_* to match the kconfig symbols
- Replace bootstrap with former gen-versions.sh
- Fold *.in.2 into their respective first parts; this moves common
  options to the end - if it is undesirable, inclusion of *.in
  can be moved where *.in.2 used to be (but that will also move
  version selection after common options).
- Retire addToolVersion.sh (may later replace with a more
  comprehensive script that tries to download the added tarballs,
  copy the patches and try to apply them, and create a version.desc).

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08 10:57:56 -07:00
Alexey Neyman
f63fbd356f Allow for custom archive names
... and directories therein.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08 10:57:56 -07:00
Alexey Neyman
d0ff020e23 Fixes for building
- Need GDB8.0 milestone
- Make uClibc "master" package
- Rename bionic -> android-ndk to match the package name and
  support suffixes for archives

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08 10:57:56 -07:00
Alexey Neyman
b155ce6ab8 Encode GCC/ISL/CLooG requirements
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08 10:57:56 -07:00
Alexey Neyman
bec14208a7 Builds comp.libs from VCS
... fails on DUMA because it cannot be compiled by newer C++, and patches
are not applied to checkouts from VCS.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08 10:57:56 -07:00
Alexey Neyman
ee983f5f92 Downloading packages using new framework
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08 10:57:56 -07:00
Alexey Neyman
567277099a Fix the references to old config variables
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08 10:57:56 -07:00
Alexey Neyman
57426168ad Convert the rest of packages to new framework
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08 10:57:56 -07:00
Alexey Neyman
e7deac3aad Switch comp.libs/tools and debug to new framework.
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08 10:57:56 -07:00
Alexey Neyman
b9af225f58 Implement "milestones" for packages
Also get rid of dependency on GNU sort.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08 10:56:29 -07:00