]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
bricklayer: New package
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 22 Feb 2023 10:25:42 +0000 (10:25 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 22 Feb 2023 10:25:42 +0000 (10:25 +0000)
Our new shiny installer package...

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
bricklayer/bricklayer.nm [new file with mode: 0644]

diff --git a/bricklayer/bricklayer.nm b/bricklayer/bricklayer.nm
new file mode 100644 (file)
index 0000000..2e0f6e9
--- /dev/null
@@ -0,0 +1,89 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+
+name       = bricklayer
+version    = 0.0.1
+release    = 0.1
+
+groups     = Installer
+url        = https://git.ipfire.org/?p=people/ms/bricklayer.git;a=summary
+license    = GPLv2
+summary    = Installer for IPFire
+
+description
+       Bricklayer is the installer program for IPFire.
+
+       It can create bootable images, ISO images and conduct the first
+       steps of setting up the system.
+end
+
+source_dl  = https://source.ipfire.org/releases/bricklayer/
+
+build
+       requires
+               asciidoc
+               autoconf
+               automake
+               gettext
+               intltool
+               pakfire >= 0.9.27-2
+               python3
+               python3-devel
+               python3-parted
+               python3-pytz
+               python3-snack >= 0.52.21-1
+               python3-systemd
+               systemd-devel
+       end
+
+       prepare_cmds
+               # Generate the build system, if this was not a release
+               # tarball.
+               [ -x "configure" ] || sh ./autogen.sh
+       end
+end
+
+packages
+       package %{name}
+               requires
+                       pakfire
+                       python3
+                       python3-parted
+                       python3-pytz
+                       python3-snack
+                       python3-systemd
+
+                       # Filesystem Tools
+                       btrfs-progs
+                       dosfstools
+                       util-linux
+
+                       # User Management
+                       shadow-utils
+               end
+       end
+
+       package %{name}-master
+               summary = Tools to master a bootable CD image
+
+               description
+                       %{name} contains tools to master a bootable
+                       CD image which can be used to install IPFire.
+               end
+
+               files
+                       %{bindir}/bricklayer-master
+               end
+
+               requires
+                       bricklayer = %{thisver}
+                       coreutils
+                       grub
+                       pakfire
+                       squashfs-tools
+                       xorriso
+               end
+       end
+end