Commit Graph

2124 Commits

Author SHA1 Message Date
Michael Tremer
5c865ab9d8 make.sh: Remove TARGET_ARCH compatibility
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-22 15:21:17 +00:00
Michael Tremer
a0aefbd53f make.sh: Remove option to make /usr/src a ramdisk
I am not sure this is helping in any way these days that we have SSDs
everywhere...

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-22 15:21:17 +00:00
Michael Tremer
bcf9d74b59 make.sh: Remove docker stuff
This is basically unused for years. I even forgot we had this.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-22 15:21:17 +00:00
Michael Tremer
49714ec428 make.sh: Tidy up LOGFILE
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-22 15:21:17 +00:00
Michael Tremer
510dd732ea make.sh: Refactor determining BASEDIR
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-22 15:21:17 +00:00
Michael Tremer
8eeaf1ab7e make.sh: Group variables and initialization together
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-22 15:21:17 +00:00
Michael Tremer
814360a348 make.sh: Set the CCACHE_DIR with the ccache to use
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-22 15:21:17 +00:00
Michael Tremer
b0c45169f2 make.sh: Refactor the root user check
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-22 15:21:17 +00:00
Michael Tremer
86565d7f7a make.sh: Tidy up the environment creation function
NFC

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-22 15:21:17 +00:00
Michael Tremer
f8b5e93d94 make.sh: Refactor the space check
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-22 15:21:17 +00:00
Michael Tremer
37081a7a1d make.sh: No longer export LFS as it is not being used
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-22 15:21:16 +00:00
Michael Tremer
4fd413a1a8 make.sh: Replace LFS with BUILD_DIR
This is probably a more specific name for this.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-22 15:21:16 +00:00
Michael Tremer
3a5d7b880b make.sh: Always mount a separate /tmp
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-22 15:21:16 +00:00
Michael Tremer
d4e9fc7fc5 make.sh: Make BUILD_DIR a mountpoint
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-22 15:21:16 +00:00
Michael Tremer
e940d23cf8 make.sh: Create a new, minimal /dev in the build environment
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-22 15:21:16 +00:00
Michael Tremer
4c92e5d852 make.sh: Don't bind-mount the host's /proc
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-22 15:21:16 +00:00
Michael Tremer
6a644a5d30 make.sh: Create the second mount namespace as slave
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-22 15:21:16 +00:00
Michael Tremer
738704d76c make.sh: Don't create a new IPC namespace
If we do this, we no longer can interrupt the build process on the
console.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-22 15:21:16 +00:00
Michael Tremer
98ce3c7688 make.sh: Create lots more namespaces when we enter the chroot
This allows us to protect the host system a little bit more from the
host system by decoupling all namespaces.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-22 15:21:16 +00:00
Michael Tremer
99ce7cd2ce make.sh: Ensure that we enter the chroot only in our own NS
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-22 15:21:16 +00:00
Michael Tremer
d630cfec5b make.sh: Remove the fragile cleanup code
Since we now mount everything in a new namespace, there is no need to
clean up ourselves. This will be done when the last process leaves the
namespace.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-22 15:21:16 +00:00
Michael Tremer
6dcd193170 make.sh: Launch build and shell commands in a new mount namespace
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-22 15:21:16 +00:00
Michael Tremer
3517868827 make.sh: Remove superfluous image check
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-22 15:21:16 +00:00
Adolf Belka
5b24b5559a speexdsp: New package required for build of tshark-4.2.5
- tshark in the past had its own version of speexdsp used only for some "arbitrary
   resampling code" used for the build of tshark.
- speexdsp has been removed from tshark so it is now a build requirement.
- It is only used for the build of tshark so the rootfile has all entries commented out.

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-02 09:17:00 +00:00
Adolf Belka
da19d30078 asciidoctor: New package required for build of tshark-4.2.5
- Only used for build of tshark so rootfile has all entries commented out.

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-02 09:17:00 +00:00
Adolf Belka
d6cb864e1c ruby: New package required for build of asciidoctor required for tshark-4.2.5
- Only used for build of asciidoctor so rootfile has all entries commented out.

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-02 09:17:00 +00:00
Adolf Belka
5e19137801 utfcpp: Required for build of latest version of taglib
- lfs copies the required headers to the /usr/include directory.
- rootfile has all entries commented out as utfcpp is only required for the build.
- Added utfcpp into make.sh prior to taglib.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-02 09:14:10 +00:00
Adolf Belka
71421e6c17 vectorscan: Install vectorscan to replace hypersan
- It has been announced that from hyperscan-5.5 onwards the licence for this package
   will change from BSD tp proprietarty paid for version
- This patch submission installs vectorscan whihc was created as a fork from hyperscan
   andf that is being maintained and has indicated it will suay Open Source
- Created new lfs file
- Created nbew rootfile. This looks to match the hyperscan rootfile closely
- Added vector scan to the make.sh file and removed hyperscan from it.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-05-25 11:02:01 +02:00
Michael Tremer
541883dd36 make.sh: Bump the toolchain version
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-05-24 07:14:36 +02:00
Arne Fitzenreiter
d5c817b5cb core187: start updater
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-05-24 07:13:57 +02:00
Adolf Belka
ea7dd6822c icinga: Removal of icinga addon
- As discussed in the Dev conf call on 2024-Jan-08
- The 1.x version of Icinga has been EOL since 2018
- The 2.x version would require a complete new configuration approach as the settings
   and options are completely different to 1.x and so would be a start from scratch.
- removal of icinga from make.sh file
- removal of lfs file
- removal of rootfile
- removal of configuration file
- removal of backup includes file

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Acked-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-04-19 06:07:02 +00:00
Adolf Belka
4ed125ae66 sslh: Removal of sslh addon
- As discussed in the Dev conf call on 2024-Apr-08
- sslh has not been functioning since last update ion Sep 2021. Configuration syntax
   was radically changed somewhere in the update from 1.7a(2013) to 1.22c in Sep 2021
- removal of sslh from make file
- removal of lfs file
- removal of rootfile
- removal of paks files
- removal of initscript

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-04-19 06:06:37 +00:00
Arne Fitzenreiter
2d4f4ebfa2 Merge remote-tracking branch 'origin/master' into next
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-03-31 13:36:08 +02:00
Stefan Schantl
2ef62acc01 perl-Archive-Peek-Libarchive: New package
As very simple XS based perl binding for libarchive
to get header data and extract files.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-03-30 12:09:14 +00:00
Stefan Schantl
d33b29e2b1 perl-Object-Tiny: New package
This is a runtime dependency of perl-Archive-Peek-Libarchive

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-03-30 12:09:14 +00:00
Stefan Schantl
c854076155 perl-Config-AutoConf: New package
This is only a build dependency for perl-Arhive-Peek-Libarchive and
will not be installed on a system

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-03-30 12:09:14 +00:00
Stefan Schantl
cf94463c4c perl-Capture-Tiny: New package
This is only a build dependency for perl-Config-AutoConf and
will not be installed on a system

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-03-30 12:09:14 +00:00
Stefan Schantl
a6d5b71f2c grub-btrfs: New package
This kind of grub addon will extend the grub boot menu by a additional
submenu where a BTRFS snapshot can be selected to directly use as root
volume and boot into it.

The grub-btrfsd daemon is using inotify(tools) to watch the snapshot directory for
new or deleted snapshots and calls grub-mkconfig to adjust the snapshot grub submenu

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-03-26 07:36:17 +00:00
Stefan Schantl
32d81fdc2e inotify-tools: New package
This package is required for the grub-btrfs daemon

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-03-26 07:36:02 +00:00
Stefan Schantl
09bb459edb btrfs-progs: New package
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-03-26 07:33:12 +00:00
Arne Fitzenreiter
790c04a6ea core186: start update
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-03-22 06:39:34 +01:00
Michael Tremer
bed265cc5a Merge remote-tracking branch 'ms/wsdd' into next 2024-02-28 16:44:06 +00:00
Michael Tremer
b6d47f727a make.sh: Bump toolchain version
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-02-14 11:51:33 +00:00
Michael Tremer
1b57f838f1 make.sh: Compile with minimal debug information
In IPFire 2, we don't make any use out of the debug information.
Therefore we can tell the compiler to generate as minimal debug
information as possible in order to have a faster compilation process.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-02-10 14:23:59 +00:00
Michael Tremer
cecad543cb make.sh: Build with _FORTIFY_SOURCE=3
This will require that we re-ship everything.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-02-10 14:23:48 +00:00
Michael Tremer
24dbe4eaf2 Start Core Update 185
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-02-10 11:47:13 +00:00
Michael Tremer
e2dce81ca3 make.sh: Build dependencies for frr
These have accidentially been removed in ec01213dcf.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-01-30 14:56:11 +00:00
Adolf Belka
6c7e8760f7 python3-calver: New build dependency for python3-trove-classifiers
- lfs and rootfile created.
- rootfile put into common as it is only used as a build dependency.
- Used setup.py build approach as the pyproject.toml approach failed to build successfully

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-01-29 16:03:31 +00:00
Adolf Belka
6d7c67de3f python3-trove-classifiers: New build dependency for python3-hatchling
- lfs and rootfile created.
- rootfile put into common as it is only used as a build dependency.
- Used setup.py build approach as the pyproject.toml approach failed to build successfully.

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-01-29 16:03:31 +00:00
Adolf Belka
cffababa46 python3-pluggy: New build dependency for python3-hatchling
- lfs and rootfile created.
- rootfile put into common as it is only used as a build dependency.
- Used setup.py build approach  as pyproject.toml approach kept failing to build

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-01-29 16:03:31 +00:00