summaryrefslogtreecommitdiffstats
path: root/lilo
diff options
context:
space:
mode:
Diffstat (limited to 'lilo')
-rw-r--r--lilo/.footprint14
-rw-r--r--lilo/.md5sum3
-rw-r--r--lilo/Pkgfile18
-rw-r--r--lilo/Pkgfile.old18
-rw-r--r--lilo/lilo-config.patch74
-rw-r--r--lilo/lilo.conf14
6 files changed, 141 insertions, 0 deletions
diff --git a/lilo/.footprint b/lilo/.footprint
new file mode 100644
index 0000000..deda6c4
--- /dev/null
+++ b/lilo/.footprint
@@ -0,0 +1,14 @@
+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/man/
+drwxr-xr-x root/root usr/man/man5/
+-rw-r--r-- root/root usr/man/man5/lilo.conf.5.gz
+drwxr-xr-x root/root usr/man/man8/
+-rw-r--r-- root/root usr/man/man8/keytab-lilo.8.gz
+-rw-r--r-- root/root usr/man/man8/lilo.8.gz
+drwxr-xr-x root/root usr/sbin/
+-rwxr-xr-x root/root usr/sbin/keytab-lilo
diff --git a/lilo/.md5sum b/lilo/.md5sum
new file mode 100644
index 0000000..69d6344
--- /dev/null
+++ b/lilo/.md5sum
@@ -0,0 +1,3 @@
+36139c1b8f4dc835fc7775e59ee4b20c lilo-23.1.tar.gz
+e26c42ca72fc87f645a7e2d7852c1ec8 lilo-config.patch
+33ffc1bb0b8ff0b67236cd074f14fcf9 lilo.conf
diff --git a/lilo/Pkgfile b/lilo/Pkgfile
new file mode 100644
index 0000000..f632813
--- /dev/null
+++ b/lilo/Pkgfile
@@ -0,0 +1,18 @@
+description="LInux boot LOader"
+packager=""
+maintainer="CRUX System Team, core-ports at crux dot nu"
+url="http://lilo.alioth.debian.org/"
+depends=(libdevmapper)
+
+name=lilo
+version=23.1
+release=1
+source=(http://lilo.alioth.debian.org/ftp/upstream/sources/lilo-23.1.tar.gz lilo-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/Pkgfile.old b/lilo/Pkgfile.old
new file mode 100644
index 0000000..60b01d5
--- /dev/null
+++ b/lilo/Pkgfile.old
@@ -0,0 +1,18 @@
+# Description: LInux boot LOader
+# URL: http://lilo.alioth.debian.org/
+# Maintainer: CRUX System Team, core-ports at crux dot nu
+# Depends on: libdevmapper
+
+name=lilo
+version=23.1
+release=1
+source=(http://lilo.alioth.debian.org/ftp/upstream/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 0000000..82c9929
--- /dev/null
+++ b/lilo/lilo-config.patch
@@ -0,0 +1,74 @@
+diff -Nru lilo-23.1.orig/Makefile lilo-23.1/Makefile
+--- lilo-23.1.orig/Makefile 2010-11-04 22:09:25.719135864 +0100
++++ lilo-23.1/Makefile 2010-11-04 22:22:16.818249883 +0100
+@@ -31,7 +31,6 @@
+ #
+ all: test
+ make -C src all
+- make -C images all
+
+ #
+ # everything above plus the statically linked version
+@@ -98,11 +97,7 @@
+ #
+ install: all
+ make -C src install
+- make -C images install
+- make -C hooks install
+- make -C sample install
+ make -C man install
+- make -C dos install
+
+ tidy:
+ make -C src tidy
+diff -Nru lilo-23.1.orig/make.vars lilo-23.1/make.vars
+--- lilo-23.1.orig/make.vars 2010-11-04 22:09:25.729135204 +0100
++++ lilo-23.1/make.vars 2010-11-04 22:09:42.238043855 +0100
+@@ -64,14 +64,14 @@
+ # 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
+ DOS_DIR=/dosC/boot
+
+ # select place for man pages
+-MAN_DIR=/usr/share/man
++MAN_DIR=/usr/man
+
+ # set the compiler optimization level
+ OPT=-Os
+diff -Nru lilo-23.1.orig/man/Makefile lilo-23.1/man/Makefile
+--- lilo-23.1.orig/man/Makefile 2010-11-04 22:09:25.729135204 +0100
++++ lilo-23.1/man/Makefile 2010-11-04 22:11:03.362700117 +0100
+@@ -10,7 +10,6 @@
+ mkdir -p $$DESTDIR$(MAN_DIR)/man8
+
+ install -m 0644 lilo.8 $$DESTDIR$(MAN_DIR)/man8
+- install -m 0644 mkrescue.8 $$DESTDIR$(MAN_DIR)/man8
+ install -m 0644 lilo.conf.5 $$DESTDIR$(MAN_DIR)/man5
+ install -m 0644 keytab-lilo.8 $$DESTDIR$(MAN_DIR)/man8
+
+diff -Nru lilo-23.1.orig/src/Makefile lilo-23.1/src/Makefile
+--- lilo-23.1.orig/src/Makefile 2010-11-04 22:09:25.729135204 +0100
++++ lilo-23.1/src/Makefile 2010-11-04 22:12:14.048027820 +0100
+@@ -41,7 +41,7 @@
+ #
+ # everything needed to run, just short of installation
+ #
+-all: lilo bootsect.b
++all: lilo
+
+ #
+ # everything above plus the statically linked version
+@@ -245,7 +245,6 @@
+
+ cp lilo $$DESTDIR$(SBIN_DIR)/lilo
+ strip $$DESTDIR$(SBIN_DIR)/lilo
+- 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 0000000..518abad
--- /dev/null
+++ b/lilo/lilo.conf
@@ -0,0 +1,14 @@
+#
+# /etc/lilo.conf: lilo(8) configuration, see lilo.conf(5)
+#
+
+lba32
+install=text
+boot=/dev/#DEVICE#
+image=/boot/vmlinuz
+ label=CRUX
+ root=/dev/#ROOT_DEVICE#
+ read-only
+ append="quiet"
+
+# End of file