Browse Source

Use more source checksums

android-5
Fredrik Fornwall 8 years ago
parent
commit
80f24036a0
  1. 1
      packages/abook/build.sh
  2. 5
      packages/apr-util/build.sh
  3. 22
      packages/bash/build.sh
  4. 1
      packages/cmake/build.sh
  5. 1
      packages/dnsutils/build.sh
  6. 1
      packages/gnugo/build.sh
  7. 1
      packages/libmesode/build.sh
  8. 1
      packages/libmpc/build.sh
  9. 1
      packages/lynx/build.sh
  10. 5
      packages/sox/build.sh
  11. 1
      packages/toilet/build.sh

1
packages/abook/build.sh

@ -3,5 +3,6 @@ TERMUX_PKG_DESCRIPTION="Abook is a text-based addressbook program designed to us
TERMUX_PKG_VERSION=0.6.0pre2
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=http://abook.sourceforge.net/devel/abook-$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=59d444504109dd96816e003b3023175981ae179af479349c34fa70bc12f6d385
TERMUX_PKG_DEPENDS="libandroid-support, ncurses, readline"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--mandir=$TERMUX_PREFIX/share/man"

5
packages/apr-util/build.sh

@ -1,8 +1,9 @@
TERMUX_PKG_HOMEPAGE=https://apr.apache.org/
TERMUX_PKG_DESCRIPTION="Apache Portable Runtime Utility Library"
TERMUX_PKG_VERSION=1.5.4
TERMUX_PKG_REVISION=1
TERMUX_PKG_DEPENDS="apr, libexpat"
TERMUX_PKG_HOMEPAGE=https://apr.apache.org/
TERMUX_PKG_DESCRIPTION="Apache Portable Runtime - library providing a predictable and consistent interface to underlying platform-specific implementations"
TERMUX_PKG_SRCURL=http://apache.mirrors.spacedump.net/apr/apr-util-${TERMUX_PKG_VERSION}.tar.bz2
TERMUX_PKG_SHA256=a6cf327189ca0df2fb9d5633d7326c460fe2b61684745fd7963e79a6dd0dc82e
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-apr=$TERMUX_PREFIX --without-sqlite3"
TERMUX_PKG_RM_AFTER_INSTALL="bin/apu-1-config lib/aprutil.exp"

22
packages/bash/build.sh

@ -24,12 +24,28 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" bash_cv_getcwd_malloc=yes"
TERMUX_PKG_RM_AFTER_INSTALL="share/man/man1/bashbug.1 bin/bashbug"
termux_step_pre_configure () {
cd $TERMUX_PKG_SRCDIR
cd $TERMUX_PKG_SRCDIR
declare -A PATCH_CHECKSUMS
PATCH_CHECKSUMS[001]=3e28d91531752df9a8cb167ad07cc542abaf944de9353fe8c6a535c9f1f17f0f
PATCH_CHECKSUMS[002]=7020a0183e17a7233e665b979c78c184ea369cfaf3e8b4b11f5547ecb7c13c53
PATCH_CHECKSUMS[003]=51df5a9192fdefe0ddca4bdf290932f74be03ffd0503a3d112e4199905e718b2
PATCH_CHECKSUMS[004]=ad080a30a4ac6c1273373617f29628cc320a35c8cd06913894794293dc52c8b3
PATCH_CHECKSUMS[005]=221e4b725b770ad0bb6924df3f8d04f89eeca4558f6e4c777dfa93e967090529
PATCH_CHECKSUMS[006]=6a8e2e2a6180d0f1ce39dcd651622fb6d2fd05db7c459f64ae42d667f1e344b8
PATCH_CHECKSUMS[007]=de1ccc07b7bfc9e25243ad854f3bbb5d3ebf9155b0477df16aaf00a7b0d5edaf
PATCH_CHECKSUMS[008]=86144700465933636d7b945e89b77df95d3620034725be161ca0ca5a42e239ba
PATCH_CHECKSUMS[009]=0b6bdd1a18a0d20e330cc3bc71e048864e4a13652e29dc0ebf3918bea729343c
PATCH_CHECKSUMS[010]=8465c6f2c56afe559402265b39d9e94368954930f9aa7f3dfa6d36dd66868e06
PATCH_CHECKSUMS[011]=dd56426ef7d7295e1107c0b3d06c192eb9298f4023c202ca2ba6266c613d170d
PATCH_CHECKSUMS[012]=fac271d2bf6372c9903e3b353cb9eda044d7fe36b5aab52f21f3f21cd6a2063e
for patch_number in `seq -f '%03g' ${_PATCH_VERSION}`; do
PATCHFILE=$TERMUX_PKG_CACHEDIR/bash_patch_${patch_number}.patch
test ! -f $PATCHFILE && termux_download \
termux_download \
"https://mirrors.kernel.org/gnu/bash/bash-4.4-patches/bash44-$patch_number" \
$PATCHFILE
$PATCHFILE \
${PATCH_CHECKSUMS[$patch_number]}
patch -p0 -i $PATCHFILE
done
}

1
packages/cmake/build.sh

@ -2,6 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://cmake.org/
TERMUX_PKG_DESCRIPTION="Family of tools designed to build, test and package software"
_MAJOR_VERSION=3.7
TERMUX_PKG_VERSION=${_MAJOR_VERSION}.2
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://www.cmake.org/files/v${_MAJOR_VERSION}/cmake-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=dc1246c4e6d168ea4d6e042cfba577c1acd65feea27e56f5ff37df920c30cae0
TERMUX_PKG_DEPENDS="libarchive, libcurl, libexpat, jsoncpp, libuv"

1
packages/dnsutils/build.sh

@ -2,6 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://www.isc.org/downloads/bind/
TERMUX_PKG_DESCRIPTION="Clients provided with BIND"
TERMUX_PKG_VERSION=9.11.0-P1
TERMUX_PKG_SRCURL="ftp://ftp.isc.org/isc/bind9/${TERMUX_PKG_VERSION}/bind-${TERMUX_PKG_VERSION}.tar.gz"
TERMUX_PKG_SHA256=094cd3134ba1b44f0910de1334f05a7dca68d583da038de40a8ad7a0cb1592c6
TERMUX_PKG_FOLDERNAME="bind-$TERMUX_PKG_VERSION"
TERMUX_PKG_DEPENDS="openssl, readline, resolv-conf"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" --with-gssapi=no --with-randomdev=/dev/random -with-ecdsa=no --with-gost=no --with-libxml2=no --with-libtool"

1
packages/gnugo/build.sh

@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="Program that plays the game of Go"
TERMUX_PKG_VERSION=3.8
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/gnugo/gnugo-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=da68d7a65f44dcf6ce6e4e630b6f6dd9897249d34425920bfdd4e07ff1866a72
TERMUX_PKG_DEPENDS="ncurses, readline"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-readline"
TERMUX_PKG_HOSTBUILD=yes

1
packages/libmesode/build.sh

@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="libmesode is a minimal XMPP library written in C. Fork o
TERMUX_PKG_VERSION=0.9.1
TERMUX_PKG_MAINTAINER="Oliver Schmidhauser @Neo-Oli"
TERMUX_PKG_SRCURL=https://github.com/boothj5/libmesode/archive/${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=e693ea1577f0d9e6e58dd8ada9825c359784a225620cbc2fde7295369d295245
TERMUX_PKG_FOLDERNAME=libmesode-$TERMUX_PKG_VERSION
TERMUX_PKG_DEPENDS="openssl,libexpat"
TERMUX_PKG_BUILD_IN_SRC=yes

1
packages/libmpc/build.sh

@ -4,3 +4,4 @@ TERMUX_PKG_DEPENDS="libgmp, libmpfr"
TERMUX_PKG_VERSION=1.0.3
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=http://www.multiprecision.org/mpc/download/mpc-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=617decc6ea09889fb08ede330917a00b16809b8db88c29c31bfbb49cbf88ecc3

1
packages/lynx/build.sh

@ -2,6 +2,7 @@ TERMUX_PKG_HOMEPAGE=http://lynx.isc.org/
TERMUX_PKG_DESCRIPTION="The text web browser"
TERMUX_PKG_VERSION=2.8.9dev.11
TERMUX_PKG_SRCURL=ftp://invisible-island.net/lynx/tarballs/lynx${TERMUX_PKG_VERSION}.tar.bz2
TERMUX_PKG_SHA256=2a1092f2cde76f109e4f1df1760c1d2a8792ba7018ab7ff3cc2b01d14e0c15b3
TERMUX_PKG_DEPENDS="ncurses, openssl, libbz2, libidn"
TERMUX_PKG_FOLDERNAME="lynx$TERMUX_PKG_VERSION"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-screen=ncursesw --enable-widec --enable-scrollbar --enable-nested-tables --enable-htmlized-cfg --with-ssl --with-zlib --with-bzlib --enable-cjk --enable-japanese-utf8 --enable-progressbar --enable-prettysrc --enable-forms-options --enable-8bit-toupper --enable-ascii-ctypes --disable-font-switch"

5
packages/sox/build.sh

@ -1,8 +1,9 @@
TERMUX_PKG_VERSION=14.4.2
TERMUX_PKG_REVISION=2
TERMUX_PKG_HOMEPAGE=http://sox.sourceforge.net/
TERMUX_PKG_DESCRIPTION="Command line utility for converting between and applying effects to various audio files formats"
TERMUX_PKG_VERSION=14.4.2
TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL=http://downloads.sourceforge.net/project/sox/sox/${TERMUX_PKG_VERSION}/sox-${TERMUX_PKG_VERSION}.tar.bz2
TERMUX_PKG_SHA256=81a6956d4330e75b5827316e44ae381e6f1e8928003c6aa45896da9041ea149c
TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" --with-oggvorbis --without-libltdl"
TERMUX_PKG_RM_AFTER_INSTALL="bin/play bin/rec share/man/man1/play.1 share/man/man1/rec.1"
# Depend on file for libmagic.so linking:

1
packages/toilet/build.sh

@ -4,5 +4,6 @@ TERMUX_PKG_VERSION=0.3
# Switched to mirror since original source is down sometimes:
# TERMUX_PKG_SRCURL=http://caca.zoy.org/raw-attachment/wiki/toilet/toilet-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SRCURL=http://fossies.org/linux/privat/toilet-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=89d4b530c394313cc3f3a4e07a7394fa82a6091f44df44dfcd0ebcb3300a81de
TERMUX_PKG_DEPENDS="libcaca"
TERMUX_PKG_BUILD_IN_SRC=yes

Loading…
Cancel
Save