ports/opt (3.5): lilo: moved from core
![](https://secure.gravatar.com/avatar/df8330968b6df8cd1c1942c5fb4b720c.jpg?s=120&d=mm&r=g)
commit 293c609ce476fc19903f6396742cdb751c8b57ef Author: Juergen Daubert <jue@jue.li> Date: Wed Feb 13 17:39:48 2019 +0100 lilo: moved from core diff --git a/lilo/.footprint b/lilo/.footprint new file mode 100644 index 000000000..3fc06e92e --- /dev/null +++ b/lilo/.footprint @@ -0,0 +1,17 @@ +drwxr-xr-x root/root boot/ +drwxr-xr-x root/root etc/ +-rw-r--r-- root/root etc/lilo.conf +drwxr-xr-x root/root sbin/ +-rwxr-xr-x root/root sbin/lilo +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/sbin/ +-rwxr-xr-x root/root usr/sbin/keytab-lilo +-rwxr-xr-x root/root usr/sbin/lilo-uuid-diskid +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man5/ +-rw-r--r-- root/root usr/share/man/man5/lilo.conf.5.gz +drwxr-xr-x root/root usr/share/man/man8/ +-rw-r--r-- root/root usr/share/man/man8/keytab-lilo.8.gz +-rw-r--r-- root/root usr/share/man/man8/lilo-uuid-diskid.8.gz +-rw-r--r-- root/root usr/share/man/man8/lilo.8.gz diff --git a/lilo/.signature b/lilo/.signature new file mode 100644 index 000000000..a0c291392 --- /dev/null +++ b/lilo/.signature @@ -0,0 +1,7 @@ +untrusted comment: verify with /etc/ports/core.pub +RWRJc1FUaeVeqvOwwV86dPrA49RFYdZ/oDCdq9U7ML9+xqTBpGwl1LTpeLCuqaM+5NA+ax6xiRjk6670vNsm6QJO7T4M36KVkAw= +SHA256 (Pkgfile) = db51a463197e0149e3eb3a3c2615e045b7d4e1cfca5ac4e4ad4ea7f5cea017e1 +SHA256 (.footprint) = 0ec118c0155abdcd2374fbf1454e52ff9619bd8e4017e0268345b82a95c3173c +SHA256 (lilo-24.2.tar.gz) = e158f19de4560c935ebe0507c21b79bff17618b9230d8076fe8c5fff9fdbd5b1 +SHA256 (lilo-config.patch) = ad7d556831938a9d4441b2cd4f3ad9c06210cd1c9f1b27356b2b19c5b042996b +SHA256 (lilo.conf) = 2b9b399a3318920a45208e98bdcd521e7a7c2cdfc7e398d628295c3c93ebecb7 diff --git a/lilo/Pkgfile b/lilo/Pkgfile new file mode 100644 index 000000000..c339530d6 --- /dev/null +++ b/lilo/Pkgfile @@ -0,0 +1,18 @@ +# Description: LInux boot LOader +# URL: https://www.joonet.de/lilo/ +# Maintainer: CRUX System Team, core-ports at crux dot nu +# Depends on: libdevmapper + +name=lilo +version=24.2 +release=1 +source=(https://www.joonet.de/lilo/ftp/sources/$name-$version.tar.gz \ + $name-config.patch lilo.conf) + +build() { + cd $name-$version + patch -p1 -i $SRC/$name-config.patch + make all + make DESTDIR=$PKG install + install -m 644 $SRC/lilo.conf $PKG/etc +} diff --git a/lilo/lilo-config.patch b/lilo/lilo-config.patch new file mode 100644 index 000000000..d22b8fdb8 --- /dev/null +++ b/lilo/lilo-config.patch @@ -0,0 +1,87 @@ +diff -Nru lilo-24.1.orig/Makefile lilo-24.1/Makefile +--- lilo-24.1.orig/Makefile 2014-10-19 09:31:10.871906282 +0200 ++++ lilo-24.1/Makefile 2014-10-19 09:33:40.570016027 +0200 +@@ -12,7 +12,6 @@ + # + all: test + make -C src all +- make -C images all + + # + # make help +@@ -45,7 +44,6 @@ + # + alles: test + $(MAKE) -C src alles +- $(MAKE) -C images all + + # + # documentation files +@@ -104,12 +102,8 @@ + # + install: all + $(MAKE) -C src install +- $(MAKE) -C images install +- $(MAKE) -C hooks install +- $(MAKE) -C sample install + $(MAKE) -C scripts install + $(MAKE) -C man install +- $(MAKE) -C dos install + + tidy: + $(MAKE) -C src tidy +diff -Nru lilo-24.1.orig/make.vars lilo-24.1/make.vars +--- lilo-24.1.orig/make.vars 2015-07-26 16:42:59.144497363 +0200 ++++ lilo-24.1/make.vars 2015-07-26 16:43:49.518277641 +0200 +@@ -70,7 +70,7 @@ + # XL_SECS=n Support for extra large (non-standard) floppies. + + CONFIG=-DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DNOKEYBOARD -DONE_SHOT \ +- -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL \ ++ -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVIRTUAL \ + -DMDPRAID -DDEVMAPPER + + # set the following if you wish LILO.COM to be installed +diff -Nru lilo-24.1.orig/man/Makefile lilo-24.1/man/Makefile +--- lilo-24.1.orig/man/Makefile 2014-10-19 09:31:10.868573065 +0200 ++++ lilo-24.1/man/Makefile 2014-10-19 09:31:38.537607503 +0200 +@@ -12,7 +12,7 @@ + + PODFILES := lilo-uuid-diskid lilo liloconfig + MANFILES5 := lilo.conf +-MANFILES8 := keytab-lilo lilo-uuid-diskid lilo liloconfig mkrescue ++MANFILES8 := keytab-lilo lilo-uuid-diskid lilo + + all: + +diff -Nru lilo-24.1.orig/scripts/Makefile lilo-24.1/scripts/Makefile +--- lilo-24.1.orig/scripts/Makefile 2014-10-19 09:31:10.871906282 +0200 ++++ lilo-24.1/scripts/Makefile 2014-10-19 09:31:38.537607503 +0200 +@@ -15,7 +15,6 @@ + install: + mkdir -p $$DESTDIR$(USRSBIN_DIR) + +- install -m 0755 liloconfig $$DESTDIR$(USRSBIN_DIR) + install -m 0755 lilo-uuid-diskid $$DESTDIR$(USRSBIN_DIR) + + clean: +diff -Nru lilo-24.1.orig/src/Makefile lilo-24.1/src/Makefile +--- lilo-24.1.orig/src/Makefile 2014-10-19 09:31:10.868573065 +0200 ++++ lilo-24.1/src/Makefile 2014-10-19 09:34:59.340601665 +0200 +@@ -47,7 +47,7 @@ + # + # everything needed to run, just short of installation + # +-all: lilo bootsect.b ++all: lilo + + # + # everything above plus the statically linked version +@@ -248,7 +248,6 @@ + strip lilo.static; \ + cp lilo.static $$DESTDIR$(SBIN_DIR)/lilo.static; \ + fi +- cp ../mkrescue $$DESTDIR$(USRSBIN_DIR)/mkrescue + cp ../keytab-lilo.pl $$DESTDIR$(USRSBIN_DIR)/keytab-lilo + + dep: diff --git a/lilo/lilo.conf b/lilo/lilo.conf new file mode 100644 index 000000000..05682dd31 --- /dev/null +++ b/lilo/lilo.conf @@ -0,0 +1,13 @@ +# +# /etc/lilo.conf: lilo(8) configuration, see lilo.conf(5) +# + +lba32 +install=text +boot=/dev/#DEVICE# +image=/boot/vmlinuz + label=CRUX + read-only + append="root=/dev/#ROOT_DEVICE#" + +# End of file
participants (1)
-
crux@crux.nu