Commit f9f509b7 authored by satmandu's avatar satmandu Committed by GitHub

Add krb5 to EARLY_PACKAGES (#5130)

* Add krb5 to EARLY_PACKAGES

* krb5 to 1.19,  with localstatedir set
parent b23e7dac
......@@ -17,7 +17,7 @@ CREW_PACKAGES_PATH="${CREW_LIB_PATH}/packages"
EARLY_PACKAGES="gcc10 llvm brotli c_ares libcyrussasl libiconv libidn2 \
libmetalink libnghttp2 libpsl libssh2 libtirpc libunistring openldap \
rtmpdump zstd ncurses ca_certificates ruby libffi openssl nettle curl \
rtmpdump zstd ncurses ca_certificates ruby libffi openssl nettle krb5 curl \
git icu4c libedit"
ARCH="$(uname -m)"
......
......@@ -3,38 +3,38 @@ require 'package'
class Krb5 < Package
description 'Kerberos is a network authentication protocol.'
homepage 'https://web.mit.edu/kerberos'
version '1.18.3'
version '1.19'
compatibility 'all'
source_url 'http://web.mit.edu/kerberos/dist/krb5/1.18/krb5-1.18.3.tar.gz'
source_sha256 'e61783c292b5efd9afb45c555a80dd267ac67eebabca42185362bee6c4fbd719'
source_url 'https://web.mit.edu/kerberos/dist/krb5/1.19/krb5-1.19.tar.gz'
source_sha256 'bc7862dd1342c04e1c17c984a268d50f29c0a658a59a22bd308ffa007d532a2e'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/krb5-1.18.3-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/krb5-1.18.3-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/krb5-1.18.3-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/krb5-1.18.3-chromeos-x86_64.tar.xz',
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/krb5-1.19-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/krb5-1.19-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/krb5-1.19-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/krb5-1.19-chromeos-x86_64.tar.xz'
})
binary_sha256 ({
aarch64: '3e67fe4422bf86829978f6a1b3ceb2dc62975d1a7eb9a3c6158f6f6deb09cbf1',
armv7l: '3e67fe4422bf86829978f6a1b3ceb2dc62975d1a7eb9a3c6158f6f6deb09cbf1',
i686: '60cb4f6e17bac1ce4b92c2c4c5e010101e6855db6b5cb8f5da7368cf793b12fe',
x86_64: 'f1d105384743a241f172c4d267a35e1ffb49159f4bc76c3ca5e5dbc27f69cc28',
binary_sha256({
aarch64: '69f5fdec7c6c2c409b2d328c325954fdc8f8cf21024f84059968f052437c160a',
armv7l: '69f5fdec7c6c2c409b2d328c325954fdc8f8cf21024f84059968f052437c160a',
i686: '09f43b2cb5ba53b6699f9db04b7886c4d1a1ffbb6d4510aa3f79b67f77187434',
x86_64: '1a3963a507e42b7b2d9faa21724c2945d028b6a1f717a4ba0d48dee206698f33'
})
depends_on 'gawk'
def self.build
Dir.chdir "src" do
system "env CFLAGS='-pipe -flto=auto' CXXFLAGS='-pipe -flto=auto' LDFLAGS='-flto=auto' \
Dir.chdir 'src' do
system "env CFLAGS='-pipe -flto=auto' CXXFLAGS='-pipe -flto=auto' \
LDFLAGS='-flto=auto' \
./configure #{CREW_OPTIONS} \
--localstatedir=#{CREW_PREFIX}/var/krb5kdc \
--without-system-verto"
system "make"
system 'make'
end
end
def self.install
Dir.chdir "src" do
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
Dir.chdir 'src' do
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
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