summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
Diffstat (limited to 'base')
-rw-r--r--base/grub/.footprint44
-rw-r--r--base/grub/.md5sum17
-rwxr-xr-xbase/grub/Pkgfile59
-rw-r--r--base/grub/messagebin0 -> 455680 bytes
4 files changed, 120 insertions, 0 deletions
diff --git a/base/grub/.footprint b/base/grub/.footprint
new file mode 100644
index 000000000..6ccb28ba8
--- /dev/null
+++ b/base/grub/.footprint
@@ -0,0 +1,44 @@
+drwxr-xr-x root/root boot/
+drwxr-xr-x root/root boot/grub/
+-rw-r--r-- root/root boot/grub/e2fs_stage1_5
+-rw-r--r-- root/root boot/grub/reiserfs_stage1_5
+-rw-r--r-- root/root boot/grub/stage1
+-rw-r--r-- root/root boot/grub/stage2
+-rw-r--r-- root/root boot/message
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/mbchk
+drwxr-xr-x root/root usr/lib/
+drwxr-xr-x root/root usr/lib/grub/
+drwxr-xr-x root/root usr/lib/grub/i386-pc/
+-rw-r--r-- root/root usr/lib/grub/i386-pc/e2fs_stage1_5
+-rw-r--r-- root/root usr/lib/grub/i386-pc/fat_stage1_5
+-rw-r--r-- root/root usr/lib/grub/i386-pc/ffs_stage1_5
+-rw-r--r-- root/root usr/lib/grub/i386-pc/iso9660_stage1_5
+-rw-r--r-- root/root usr/lib/grub/i386-pc/jfs_stage1_5
+-rw-r--r-- root/root usr/lib/grub/i386-pc/minix_stage1_5
+-rw-r--r-- root/root usr/lib/grub/i386-pc/reiserfs_stage1_5
+-rw-r--r-- root/root usr/lib/grub/i386-pc/stage1
+-rw-r--r-- root/root usr/lib/grub/i386-pc/stage2
+-rw-r--r-- root/root usr/lib/grub/i386-pc/stage2_eltorito
+-rw-r--r-- root/root usr/lib/grub/i386-pc/ufs2_stage1_5
+-rw-r--r-- root/root usr/lib/grub/i386-pc/vstafs_stage1_5
+-rw-r--r-- root/root usr/lib/grub/i386-pc/xfs_stage1_5
+drwxr-xr-x root/root usr/sbin/
+-rwxr-xr-x root/root usr/sbin/grub
+-rwxr-xr-x root/root usr/sbin/grub-install
+-rwxr-xr-x root/root usr/sbin/grub-md5-crypt
+-rwxr-xr-x root/root usr/sbin/grub-set-default
+-rwxr-xr-x root/root usr/sbin/grub-terminfo
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/info/
+-rw-r--r-- root/root usr/share/info/grub.info.gz
+-rw-r--r-- root/root usr/share/info/multiboot.info.gz
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+-rw-r--r-- root/root usr/share/man/man1/mbchk.1.gz
+drwxr-xr-x root/root usr/share/man/man8/
+-rw-r--r-- root/root usr/share/man/man8/grub-install.8.gz
+-rw-r--r-- root/root usr/share/man/man8/grub-md5-crypt.8.gz
+-rw-r--r-- root/root usr/share/man/man8/grub-terminfo.8.gz
+-rw-r--r-- root/root usr/share/man/man8/grub.8.gz
diff --git a/base/grub/.md5sum b/base/grub/.md5sum
new file mode 100644
index 000000000..73f276c56
--- /dev/null
+++ b/base/grub/.md5sum
@@ -0,0 +1,17 @@
+5456f021968f2feaeb9acfb825537a93 00-grub-0.97-gfxboot.patch
+d9485c909b462785fa5afb23006456de 02-grub-0.97-debugcdboot.patch
+f44bc6572e7af2e488e46d9b174caa4d bad-assert-sideeffect
+6ebd162bfe44a8bd5b404ae85a3175e6 chainloader-devicefix
+39e0f9a05b7e04aceb24fc7bc4893e3d ext4.patch
+2482bef9c1866b4045767a56268ba673 grub-0.97-256byte_inode-1.patch
+40ddcc8caaef7e86b9dcb5c3799e0808 grub-0.97-devicemap.diff
+bf1594e82940e25d089feca74c6f1879 grub-0.97-disk_geometry-1.patch
+12f043616b51ce2ba82e46c9186a528d grub-0.97-graphics.patch
+a9e2f5a2e49fec19b638c5acdf651ec7 grub-0.97-path-patch
+cd3f3eb54446be6003156158d51f4884 grub-0.97.tar.gz
+bc609feede67ffcf3f4f9d00fa2995df grub-R
+6547de447a98c12ff245f175f23a01a7 grub-a20.patch
+e48ca6cdec7811a6d4566c0c1b0d7883 grub-gfxmenu-v8.diff
+7973ed80308b25eb95cadac1753a95c2 message
+37558faaba7e32929f767ef64f4248ac reiser-unpack
+b8b550b08b9e9eafd7031a1849fb7d02 use_ferror.diff
diff --git a/base/grub/Pkgfile b/base/grub/Pkgfile
new file mode 100755
index 000000000..1bb3f6634
--- /dev/null
+++ b/base/grub/Pkgfile
@@ -0,0 +1,59 @@
+# Description: GRand Unified Bootloader, le programme de chargement du noyau en mémoire vive
+# URL: http://www.gnu.org/software/grub/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on:
+
+name=grub
+version=0.97
+release=2
+source=(ftp://alpha.gnu.org/gnu/$name/$name-$version.tar.gz\
+ http://www.linuxfromscratch.org/patches/lfs/development/grub-0.97-disk_geometry-1.patch \
+ http://www.linuxfromscratch.org/patches/lfs/development/grub-0.97-256byte_inode-1.patch \
+ http://aur.archlinux.org/packages/grub-gfxboot/grub-gfxboot/00-grub-0.97-gfxboot.patch \
+ http://www.nutyx.org/files/patchs/grub/use_ferror.diff \
+ http://www.nutyx.org/files/patchs/grub/$name-$version-path-patch
+ http://www.nutyx.org/files/patchs/grub/grub-R \
+ http://www.nutyx.org/files/patchs/grub/bad-assert-sideeffect \
+ http://www.nutyx.org/files/patchs/grub/chainloader-devicefix \
+ http://www.nutyx.org/files/patchs/grub/$name-$version-devicemap.diff \
+ http://www.nutyx.org/files/patchs/grub/reiser-unpack \
+ http://www.nutyx.org/files/patchs/grub/grub-gfxmenu-v8.diff \
+ http://www.nutyx.org/files/patchs/grub/grub-a20.patch \
+ http://www.nutyx.org/files/patchs/grub/ext4.patch \
+ http://aur.archlinux.org/packages/grub-gfxboot/grub-gfxboot/02-grub-$version-debugcdboot.patch\
+ http://aur.archlinux.org/packages/grub-gfx/grub-gfx/grub-0.97-graphics.patch \
+
+ message )
+build() {
+ cd $name-$version
+ patch -Np1 -i ../$name-$version-path-patch
+ patch -Np0 -i ../use_ferror.diff
+ patch -Np1 -i ../grub-R
+ patch -Np1 -i ../bad-assert-sideeffect
+ patch -Np0 -i ../grub-gfxmenu-v8.diff
+ patch -Np1 -i ../reiser-unpack
+
+ patch -Np1 -i ../grub-a20.patch
+ patch -Np1 -i ../02-grub-$version-debugcdboot.patch
+ patch -Np1 -i ../$name-$version-disk_geometry-1.patch
+ patch -Np1 -i ../$name-$version-256byte_inode-1.patch
+
+ patch -Np1 -i ../ext4.patch
+ unset CXXFLAGS
+ unset CFLAGS
+ ./configure --prefix=/usr \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info
+ make
+ make DESTDIR=$PKG install
+ install -d $PKG/boot/grub
+ install -d $PKG/usr/share
+ cp -v ../message $PKG/boot/
+ cp -v $PKG/usr/lib/grub/i386-pc/stage{1,2} $PKG/boot/grub
+ cp -v $PKG/usr/lib/grub/i386-pc/e2fs_stage1_5 $PKG/boot/grub
+ cp -v $PKG/usr/lib/grub/i386-pc/reiserfs_stage1_5 $PKG/boot/grub
+ if [ -f $PKG/usr/share/info/dir ]; then
+ rm $PKG/usr/share/info/dir
+ fi
+}
diff --git a/base/grub/message b/base/grub/message
new file mode 100644
index 000000000..eefd01fd5
--- /dev/null
+++ b/base/grub/message
Binary files differ