Commit 8ccf3536 authored by satmandu's avatar satmandu Committed by GitHub

inetutils -> 2.0 (#5083)

parent c45e1153
...@@ -3,42 +3,42 @@ require 'package' ...@@ -3,42 +3,42 @@ require 'package'
class Inetutils < Package class Inetutils < Package
description 'The Inetutils package contains programs for basic networking. Such as dnsdomainname, ftp, hostname, ifconfig, ping, ping6, talk, telnet, tftp, traceroute' description 'The Inetutils package contains programs for basic networking. Such as dnsdomainname, ftp, hostname, ifconfig, ping, ping6, talk, telnet, tftp, traceroute'
homepage 'https://www.gnu.org/software/inetutils/' homepage 'https://www.gnu.org/software/inetutils/'
version '1.9.4' @_ver = '2.0'
version @_ver
compatibility 'all' compatibility 'all'
source_url 'https://ftp.gnu.org/gnu/inetutils/inetutils-1.9.4.tar.xz' source_url "https://ftp.gnu.org/gnu/inetutils/inetutils-#{@_ver}.tar.xz"
source_sha256 '849d96f136effdef69548a940e3e0ec0624fc0c81265296987986a0dd36ded37' source_sha256 'e573d566e55393940099862e7f8994164a0ed12f5a86c3345380842bdc124722'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/inetutils-1.9.4-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/inetutils-2.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/inetutils-1.9.4-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/inetutils-2.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/inetutils-1.9.4-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/inetutils-2.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/inetutils-1.9.4-chromeos-x86_64.tar.xz', x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/inetutils-2.0-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: '1e73a23be24567bea04d3edbf7181abdd4cb587b3464b80ca60326031fb439d4', aarch64: '7446162e65febe771bc8c88efc9d27865e7ef0d35d03c8ca90ffd4046e7eb925',
armv7l: '1e73a23be24567bea04d3edbf7181abdd4cb587b3464b80ca60326031fb439d4', armv7l: '7446162e65febe771bc8c88efc9d27865e7ef0d35d03c8ca90ffd4046e7eb925',
i686: 'd48d51bd0cfe7ff943280655446981d6ad97edc75038eb507f3d74ebb38fc7d0', i686: 'ed0cd237ca49f613d3398704c9cde04f78af14113458cef775bc4908db9b3f38',
x86_64: '58c0f0a5e7d25b7b2b1c527cb38eeaa337894fab4b4151dc2e0605c9f87d2ed5', x86_64: 'cef8fbdd17ac33c31587420b5291dd9738d5fa4849140c046bb1cce9d0861d70',
}) })
depends_on 'buildessential' depends_on 'linux_pam'
depends_on 'ncurses'
def self.build def self.build
system "./configure --prefix=#{CREW_PREFIX} \ system "env CFLAGS='-flto=auto -ltinfo' CXXFLAGS='-flto=auto' LDFLAGS='-flto=auto' \
--localstatedir=/usr/var \ ./configure #{CREW_OPTIONS} \
--disable-logger \ --with-krb5=#{CREW_PREFIX} \
--disable-traceroute \ --with-wrap \
--disable-whois \ --with-pam \
--disable-rcp \ --disable-rexec \
--disable-rexec \ --disable-rsh \
--disable-rlogin \ --enable-encryption \
--disable-rsh \ --enable-authentication \
--disable-servers" --disable-servers"
system "make" system 'make'
end end
def self.install def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment