diff options
author | Valery Kartel <valery.kartel@gmail.com> | 2017-01-28 14:14:00 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2017-01-30 06:21:11 +0000 |
commit | 7a2ada76f3edd46a16c049dac49180a5ae309710 (patch) | |
tree | c160aed8339a81651e060a53172841a3cc650c2b /main/ksymoops | |
parent | 977b4f4f13992628fda57b5a25c8b3a195854804 (diff) | |
download | aports-7a2ada76f3edd46a16c049dac49180a5ae309710.tar.bz2 aports-7a2ada76f3edd46a16c049dac49180a5ae309710.tar.xz |
main/ksymoops: change 'url' to http
Switch to http, because kernel.org
will shut down their ftp service at March 1st.
- fix source hostname
- cleanups in apkbuild
Diffstat (limited to 'main/ksymoops')
-rw-r--r-- | main/ksymoops/APKBUILD | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/main/ksymoops/APKBUILD b/main/ksymoops/APKBUILD index 6edb92c4f5..8e70620b45 100644 --- a/main/ksymoops/APKBUILD +++ b/main/ksymoops/APKBUILD @@ -3,31 +3,26 @@ pkgname=ksymoops pkgver=2.4.11 pkgrel=7 pkgdesc="A Linux kernel Oops file troubleshooting tool" -url="ftp://ftp.kernel.org/pub/linux/utils/kernel/ksymoops/v2.4" +url="https://kernel.org/pub/linux/utils/kernel/ksymoops/v2.4" arch="all" license="GPL2" depends="" makedepends="binutils-dev" -source="http://ftp.kernel.org/pub/linux/utils/kernel/ksymoops/v2.4/ksymoops-$pkgver.tar.gz - $pkgname-2.4.11-build.patch - " subpackages="$pkgname-doc" - -_builddir="$srcdir/$pkgname-$pkgver" -prepare() { - cd "$_builddir" - patch -p1 < "$srcdir"/$pkgname-2.4.11-build.patch || return 1 -} +source="https://kernel.org/pub/linux/utils/kernel/$pkgname/v${pkgver%.*}/$pkgname-$pkgver.tar.gz + $pkgname-$pkgver-build.patch + " +builddir="$srcdir/$pkgname-$pkgver" build() { - cd "$_builddir" + cd "$builddir" # see http://sourceware.org/bugzilla/show_bug.cgi?id=14243 # we abuse DEBUG variable which is added to CFLAGS make DEBUG="$CFLAGS -DPACKAGE -DPACKAGE_VERSION" || return 1 } package() { - cd "$_builddir" + cd "$builddir" make install \ INSTALL=install \ INSTALL_PREFIX="$pkgdir"/usr \ |