mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-07 22:54:11 -05:00
freetds — freetds: 1.2.18 → 1.5.10 (#13678)
* freetds 1.2.18 -> 1.5.10 * freetds: Package File Update Run on linux/386 container. * freetds: Package File Update Run on linux/amd64 container. * freetds: Package File Update Run on linux/arm/v7 container. --------- Co-authored-by: Zopolis4 <creatorsmithmdt@gmail.com> Co-authored-by: chromebrew-actions[bot] <chromebrew-actions[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
3a961f2cd1
commit
4c57b15305
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,41 +1,35 @@
|
||||
require 'package'
|
||||
require 'buildsystems/autotools'
|
||||
|
||||
class Freetds < Package
|
||||
class Freetds < Autotools
|
||||
description 'FreeTDS is a set of libraries for Unix and Linux that allows your programs to natively talk to Microsoft SQL Server and Sybase databases.'
|
||||
homepage 'https://www.freetds.org/'
|
||||
version '1.2.18'
|
||||
version '1.5.10'
|
||||
license 'GPL-2'
|
||||
compatibility 'all'
|
||||
source_url "ftp://ftp.freetds.org/pub/freetds/stable/freetds-#{version}.tar.gz"
|
||||
source_sha256 'a02c27802da15a3ade85bbaab6197713cd286f036409af9bba2ab4c63bdf57c3'
|
||||
binary_compression 'tar.xz'
|
||||
source_url 'https://github.com/FreeTDS/freetds.git'
|
||||
git_hashtag "v#{version}"
|
||||
binary_compression 'tar.zst'
|
||||
|
||||
binary_sha256({
|
||||
aarch64: 'a31c467c683a3b574fb59cd45d8511e1a5824d5ea9ab93b3fe4816b42447d041',
|
||||
armv7l: 'a31c467c683a3b574fb59cd45d8511e1a5824d5ea9ab93b3fe4816b42447d041',
|
||||
i686: '2e908be34fae3b20fdbb9b1b947576a14496f8b48b57c095511f50e12f84240d',
|
||||
x86_64: '1ecd9180df531b7c85b28719d9685820f2427e516f26787b51cab750e4ce8bf9'
|
||||
aarch64: 'd70536c5683c9cc2d7f07220f6278c01648dda440e464dec9fd5d409bb03347d',
|
||||
armv7l: 'd70536c5683c9cc2d7f07220f6278c01648dda440e464dec9fd5d409bb03347d',
|
||||
i686: 'be60393833e99d33e80048b11f6199474dd6813f45951499debdf255bf9d2778',
|
||||
x86_64: 'eaf110473d348b8ef7a23db910f63c011a56252c0f6b42f3b4adac470062710b'
|
||||
})
|
||||
|
||||
depends_on 'glibc' # R
|
||||
depends_on 'gperf' => :build
|
||||
depends_on 'libtool' # R
|
||||
depends_on 'ncurses' # R
|
||||
depends_on 'openssl' # R
|
||||
depends_on 'readline' # R
|
||||
depends_on 'unixodbc'
|
||||
|
||||
def self.build
|
||||
system "env CFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
|
||||
CXXFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
|
||||
LDFLAGS='-fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
|
||||
./configure #{CREW_CONFIGURE_OPTIONS}"
|
||||
system 'make'
|
||||
end
|
||||
|
||||
def self.install
|
||||
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
|
||||
end
|
||||
|
||||
def self.postinstall
|
||||
puts
|
||||
puts "Edit the #{CREW_PREFIX}/etc/freetds.conf file to add servers.".lightblue
|
||||
puts
|
||||
puts "Test the connection with #{CREW_PREFIX}/bin/tsql.".lightblue
|
||||
puts
|
||||
ExitMessage.add <<~EOM
|
||||
Edit the #{CREW_PREFIX}/etc/freetds.conf file to add servers.
|
||||
|
||||
Test the connection with #{CREW_PREFIX}/bin/tsql.
|
||||
EOM
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user