public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Adolf Belka <adolf.belka@ipfire.org>
To: development@lists.ipfire.org
Cc: Adolf Belka <adolf.belka@ipfire.org>
Subject: [PATCH 4/9] xorriso: Package to replace cdrkit
Date: Sun, 11 May 2025 12:12:59 +0200	[thread overview]
Message-ID: <20250511101311.7315-4-adolf.belka@ipfire.org> (raw)
In-Reply-To: <20250511101311.7315-1-adolf.belka@ipfire.org>

- This package is the command line standalong package from the libburnia project.
- Build successfully created an iso package and this was used to install IPFire onto
   a vm on my testbed system. This worked successfully so xorriso successfully
   craeted a bootable iso image.
- The build was also tested on a Core Update 193 repo and installed and it successfully
   created a bootable iso image with the backupiso process.

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/common/xorriso | 17 +++++++
 lfs/xorriso                     | 83 +++++++++++++++++++++++++++++++++
 make.sh                         |  2 +-
 3 files changed, 101 insertions(+), 1 deletion(-)
 create mode 100644 config/rootfiles/common/xorriso
 create mode 100644 lfs/xorriso

diff --git a/config/rootfiles/common/xorriso b/config/rootfiles/common/xorriso
new file mode 100644
index 000000000..23bbd47ad
--- /dev/null
+++ b/config/rootfiles/common/xorriso
@@ -0,0 +1,17 @@
+usr/bin/mkisofs
+#usr/bin/osirrox
+#usr/bin/xorrecord
+usr/bin/xorriso
+#usr/bin/xorriso-dd-target
+#usr/bin/xorriso-tcltk
+usr/bin/xorrisofs
+#usr/share/info/xorrecord.info
+#usr/share/info/xorriso-dd-target.info
+#usr/share/info/xorriso-tcltk.info
+#usr/share/info/xorriso.info
+#usr/share/info/xorrisofs.info
+#usr/share/man/man1/xorrecord.1
+#usr/share/man/man1/xorriso-dd-target.1
+#usr/share/man/man1/xorriso-tcltk.1
+#usr/share/man/man1/xorriso.1
+#usr/share/man/man1/xorrisofs.1
diff --git a/lfs/xorriso b/lfs/xorriso
new file mode 100644
index 000000000..8b33765f0
--- /dev/null
+++ b/lfs/xorriso
@@ -0,0 +1,83 @@
+###############################################################################
+#                                                                             #
+# IPFire.org - A linux based firewall                                         #
+# Copyright (C) 2025-2025  IPFire Team  <info@ipfire.org>                     #
+#                                                                             #
+# This program is free software: you can redistribute it and/or modify        #
+# it under the terms of the GNU General Public License as published by        #
+# the Free Software Foundation, either version 3 of the License, or           #
+# (at your option) any later version.                                         #
+#                                                                             #
+# This program is distributed in the hope that it will be useful,             #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of              #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               #
+# GNU General Public License for more details.                                #
+#                                                                             #
+# You should have received a copy of the GNU General Public License           #
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.       #
+#                                                                             #
+###############################################################################
+
+###############################################################################
+# Definitions
+###############################################################################
+
+include Config
+
+VER        = 1.5.6
+
+THISAPP    = xorriso-$(VER)
+DL_FILE    = $(THISAPP).pl02.tar.gz
+DL_FROM    = $(URL_IPFIRE)
+DIR_APP    = $(DIR_SRC)/$(THISAPP)
+TARGET     = $(DIR_INFO)/$(THISAPP)
+
+CFLAGS    += -fcommon
+
+###############################################################################
+# Top-level Rules
+###############################################################################
+
+objects = $(DL_FILE)
+
+$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
+
+$(DL_FILE)_BLAKE2 = 5f453cb3b1583865c71947c3ce95d87ea138b87605429fa756e34f0ddedb34037381ef81893bb69ecac9a2bd4302648f22f4cc930bf5567d509d1e26e6530f6b
+
+install : $(TARGET)
+
+check : $(patsubst %,$(DIR_CHK)/%,$(objects))
+
+download :$(patsubst %,$(DIR_DL)/%,$(objects))
+
+b2 : $(subst %,%_BLAKE2,$(objects))
+
+###############################################################################
+# Downloading, checking, b2sum
+###############################################################################
+
+$(patsubst %,$(DIR_CHK)/%,$(objects)) :
+	@$(CHECK)
+
+$(patsubst %,$(DIR_DL)/%,$(objects)) :
+	@$(LOAD)
+
+$(subst %,%_BLAKE2,$(objects)) :
+	@$(B2SUM)
+
+###############################################################################
+# Installation Details
+###############################################################################
+
+$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
+	@$(PREBUILD)
+	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
+	cd $(DIR_APP) && ./configure \
+					--prefix=/usr \
+					--disable-static \
+					--disable-external-filters
+	cd $(DIR_APP) && make $(MAKETUNING)
+	cd $(DIR_APP) && make install
+	ln -svf /usr/bin/xorrisofs /usr/bin/mkisofs
+	@rm -rf $(DIR_APP)
+	@$(POSTBUILD)
diff --git a/make.sh b/make.sh
index 61921fee6..29fd44b17 100755
--- a/make.sh
+++ b/make.sh
@@ -1696,7 +1696,7 @@ build_system() {
 	lfsmake2 beep
 	lfsmake2 libssh
 	lfsmake2 libinih
-	lfsmake2 cdrkit
+	lfsmake2 xorriso
 	lfsmake2 dosfstools
 	lfsmake2 exfatprogs
 	lfsmake2 reiserfsprogs
-- 
2.49.0



  parent reply	other threads:[~2025-05-11 10:13 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-11 10:12 [PATCH 1/9] curl: Update to version 8.13.0 Adolf Belka
2025-05-11 10:12 ` [PATCH 2/9] cmake: Update to version 4.0.2 Adolf Belka
2025-05-11 10:12 ` [PATCH 3/9] cdrkit: Remove packge as it cannot be built with cmake-4.0.x Adolf Belka
2025-05-11 10:12 ` Adolf Belka [this message]
2025-05-12 15:17   ` [PATCH 4/9] xorriso: Package to replace cdrkit Michael Tremer
2025-05-12 16:07     ` Adolf Belka
2025-05-12 16:08       ` Michael Tremer
2025-05-12 16:39         ` Adolf Belka
2025-05-11 10:13 ` [PATCH 5/9] json-c: Update to CMakeLists.txt min cmake version Adolf Belka
2025-05-11 10:13 ` [PATCH 6/9] libid3tag: Update CMakeLists.txt with " Adolf Belka
2025-05-11 10:13 ` [PATCH 7/9] libssh: Update to version 0.11.1 - fixes " Adolf Belka
2025-05-11 10:13 ` [PATCH 8/9] soxr: Update CMakeLists.txt with cmake min version Adolf Belka
2025-05-11 10:13 ` [PATCH 9/9] transmission: Update to CMakeLists.txt of min cmake version Adolf Belka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250511101311.7315-4-adolf.belka@ipfire.org \
    --to=adolf.belka@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox