diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-02-13 02:24:35 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-02-13 02:27:53 +0100 |
commit | 8d285f51152716f01fb0f17beb019047a37cf544 (patch) | |
tree | c80f26cd50f882349dea52952be2157763714ab1 /main/ruby/APKBUILD | |
parent | fb67d875a5ed4df01a2470a748c80837d4136826 (diff) | |
download | aports-8d285f51152716f01fb0f17beb019047a37cf544.tar.bz2 aports-8d285f51152716f01fb0f17beb019047a37cf544.tar.xz |
main/ruby: remove bundled CA certs, add ca-certificates to depends
Diffstat (limited to 'main/ruby/APKBUILD')
-rw-r--r-- | main/ruby/APKBUILD | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/main/ruby/APKBUILD b/main/ruby/APKBUILD index 97a04568e7..5fc15ca46b 100644 --- a/main/ruby/APKBUILD +++ b/main/ruby/APKBUILD @@ -4,12 +4,12 @@ pkgname=ruby pkgver=2.3.3 _abiver=2.3.0 -pkgrel=2 +pkgrel=3 pkgdesc="An object-oriented language for quick and easy programming" url="http://www.ruby-lang.org/en/" arch="all" license="Ruby" -depends="" +depends="ca-certificates" depends_dev="gmp-dev" makedepends="$depends_dev zlib-dev libressl-dev gdbm-dev db-dev readline-dev libffi-dev coreutils yaml-dev linux-headers autoconf" @@ -93,6 +93,9 @@ package() { rm -R "$pkgdir"$_gemdir/cache/* + # Remove bundled CA certificates. + rm -R "$pkgdir"$_rubydir/rubygems/ssl_certs/*.pem + if [ -d "$pkgdir"/usr/local ]; then local f=$(cd "$pkgdir" ; find usr/local -type f) if [ -n "$f" ]; then |