diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-23 18:24:11 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-23 18:24:11 +0000 |
commit | 2d2ddf507bf1ae2f4cc595b23b8e018398cbe8dd (patch) | |
tree | a63d3b3b1c89018b5419358eed5c2bb0acf1cd92 /main/syslinux | |
parent | e374901731eb35599bd6735de4dd38560e3a79b8 (diff) | |
download | aports-2d2ddf507bf1ae2f4cc595b23b8e018398cbe8dd.tar.bz2 aports-2d2ddf507bf1ae2f4cc595b23b8e018398cbe8dd.tar.xz |
move core/* to main/
added maintainer to several packages as well
Diffstat (limited to 'main/syslinux')
-rw-r--r-- | main/syslinux/APKBUILD | 25 | ||||
-rw-r--r-- | main/syslinux/syslinux-3.72-nopie.patch | 12 |
2 files changed, 37 insertions, 0 deletions
diff --git a/main/syslinux/APKBUILD b/main/syslinux/APKBUILD new file mode 100644 index 0000000000..e7036c0f87 --- /dev/null +++ b/main/syslinux/APKBUILD @@ -0,0 +1,25 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=syslinux +pkgver=3.81 +pkgrel=0 +pkgdesc="a boot loader for the Linux operating system which operates off an MS-DOS/Windows FAT filesystem." +url="http://syslinux.org" +license="GPL" +makedepends="nasm perl" +depends="mtools uclibc" +source="http://www.kernel.org/pub/linux/utils/boot/$pkgname/$pkgname-$pkgver.tar.bz2 + $pkgname-3.72-nopie.patch + " +subpackages="$pkgname-doc" + +build () +{ + cd "$srcdir/$pkgname-$pkgver" + patch -p1 < ../$pkgname-3.72-nopie.patch || return 1 + unset LDFLAGS + make installer || return 1 + make INSTALLROOT="$pkgdir" MANDIR=/usr/share/man local-install +} + +md5sums="9be7f19e65aa8ffad325ccff1b6175a4 syslinux-3.81.tar.bz2 +c08398d165d29e48711e55058e2897de syslinux-3.72-nopie.patch" diff --git a/main/syslinux/syslinux-3.72-nopie.patch b/main/syslinux/syslinux-3.72-nopie.patch new file mode 100644 index 0000000000..2662d17b43 --- /dev/null +++ b/main/syslinux/syslinux-3.72-nopie.patch @@ -0,0 +1,12 @@ +diff -ur a/com32/MCONFIG b/com32/MCONFIG +--- a/com32/MCONFIG 2008-09-26 01:46:02.000000000 +0200 ++++ b/com32/MCONFIG 2008-10-28 16:10:16.107964907 +0100 +@@ -19,6 +19,8 @@ + GCCOPT := $(call gcc_ok,-std=gnu99,) \ + $(call gcc_ok,-m32,) \ + $(call gcc_ok,-fno-stack-protector,) \ ++ $(call gcc_ok,-nopie,) \ ++ $(call gcc_ok,-fno-pie,) \ + -mregparm=3 -DREGPARM=3 -march=i386 -Os + + com32 = $(topdir)/com32 |