summaryrefslogtreecommitdiff
path: root/README.rst
blob: c67574356e0c57a47ba70a20516600dbd54f03b0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
========================================
 README for Adélie Linux Build Software
========================================
:Authors:
  * **A. Wilcox**, overall project lead
  * **Max Rees**, considerable feature development and improvements
  * **Adélie Linux Developers and Users**, contributions
:Status:
  Production
:Copyright:
  © 2019-2020 Adélie Linux Team.  Mix of MIT and GPL 2 open source licences.




Introduction
============

This repository contains the software used to build the Adélie Linux package
set.  It is used by Adélie Linux for package building to create the repository
used by Adélie's APK package manager.

This is a *hard fork* of Alpine's ``abuild`` package, with notable and
significant improvements:

* Recursive mode is retained.

* Forced secure mode for ``abuild-fetch``, preventing MITM attacks during
  source fetch.

* More CPU architectures are supported.

* Better (though still incomplete) support for non-Bash shells.

More improvements are forthcoming.


Licenses
`````````
Most of the code in this repository is licensed GPL-2.0-only.  The
``abuild-fetch`` applet is licensed under the MIT license.


Changes
```````
Any changes to this repository - additions, removal, or version bumps - must
be reviewed before being pushed to the master branch.  There are no exceptions
to this rule.  For security-sensitive updates, contact the Security Team at
sec-bugs@adelielinux.org.




Contents
========

This section contains a high-level view of the contents of this repository.


``abuild-fetch``: Download package sources
``````````````````````````````````````````
The ``abuild-fetch`` applet is used to download package sources from the
Internet.


``abuild-tar``: Archive manipulation
````````````````````````````````````
The ``abuild-tar`` applet is used to manipulate ``tar`` files into ``APK``
files.  More on the APK file format is discussed on our wiki_.

.. _wiki: https://wiki.adelielinux.org/wiki/APK_internals


``abuild``: Package building
````````````````````````````
The ``abuild`` script is the script responsible for building packages.


``newapkbuild``: Package recipe creation
````````````````````````````````````````
The ``newapkbuild`` script is used to create new package recipes, called
``APKBUILD`` files.  More information can be found in the Handbook_ or the
man page installed with the ``abuild-doc`` package (``man 5 APKBUILD``).

.. _Handbook: https://help.adelielinux.org/html/devel/