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/gmp | |
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/gmp')
-rw-r--r-- | main/gmp/APKBUILD | 35 | ||||
-rw-r--r-- | main/gmp/gmp-4.1.4-noexecstack.patch | 20 |
2 files changed, 55 insertions, 0 deletions
diff --git a/main/gmp/APKBUILD b/main/gmp/APKBUILD new file mode 100644 index 0000000000..82651e897d --- /dev/null +++ b/main/gmp/APKBUILD @@ -0,0 +1,35 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=gmp +pkgver=4.3.1 +pkgrel=0 +pkgdesc="A free library for arbitrary precision arithmetic" +url="http://gmplib.org/" +license="LGPL3" +makedepends="m4 texinfo" +depends= +subpackages="$pkgname-doc $pkgname-dev" +source="ftp://ftp.gnu.org/gnu/gmp/gmp-$pkgver.tar.bz2 + gmp-4.1.4-noexecstack.patch + " + +build () +{ + cd "${srcdir}/${pkgname}-${pkgver}" + patch -p1 < ../gmp-4.1.4-noexecstack.patch || return 1 + + ABI="32" ./configure --prefix=/usr \ + --build=${CHOST} \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + --localstatedir=/var/state/gmp \ + --disable-mpfr \ + --disable-mpbsd \ + --disable-cxx \ + --with-pic \ + || return 1 + + make || return 1 + make -j1 DESTDIR="${pkgdir}" install || return 1 +} +md5sums="26cec15a90885042dd4a15c4003b08ae gmp-4.3.1.tar.bz2 +13c34f00e77ded6673270cfea06c35c3 gmp-4.1.4-noexecstack.patch" diff --git a/main/gmp/gmp-4.1.4-noexecstack.patch b/main/gmp/gmp-4.1.4-noexecstack.patch new file mode 100644 index 0000000000..093bec1a5d --- /dev/null +++ b/main/gmp/gmp-4.1.4-noexecstack.patch @@ -0,0 +1,20 @@ +fixed executable stack + +http://bugs.gentoo.org/115038 + +--- gmp-4.1.4/configure ++++ gmp-4.1.4/configure +@@ -21689,6 +21689,13 @@ + fi + echo "')" >> $gmp_configm4 + echo "define(\`__CONFIG_M4_INCLUDED__')" >> $gmp_configm4 ++# Gentoo hack ++case $host_os in ++ *linux*) ++ echo '.section .note.GNU-stack,"",%progbits' >> $gmp_configm4 ++ echo '.previous' >> $gmp_configm4 ++ ;; ++esac + + # Create Makefiles + # FIXME: Upcoming version of autoconf/automake may not like broken lines. |