Commit f6e9c3f2 authored by Ed Reel's avatar Ed Reel

Update c packages

Add pre-built binaries

Add patch section to clamav.rb

Remove new crontutils package
parent 2723e21f
......@@ -3,16 +3,14 @@ require 'package'
class Cabal < Package
description 'Common Architecture for Building Applications and Libraries'
homepage 'https://www.haskell.org/cabal/'
version '2.0.0.1'
version '2.2.0.0'
case ARCH
when 'i686'
source_url 'https://www.haskell.org/cabal/release/cabal-install-2.0.0.1/cabal-install-2.0.0.1-i386-unknown-linux.tar.gz'
source_sha256 '3198c04aeddc38847e4b25ad4590f17a9e5e41eba0b6f1c6fba997d7e73388d8'
source_url 'https://www.haskell.org/cabal/release/cabal-install-2.2.0.0/cabal-install-2.2.0.0-i386-unknown-linux.tar.gz'
source_sha256 '20cc07bc7c813fac3e88bb308c972e3a28ade30dd32783d7a74cdadc74c5079e'
when 'x86_64'
source_url 'https://www.haskell.org/cabal/release/cabal-install-2.0.0.1/cabal-install-2.0.0.1-x86_64-unknown-linux.tar.gz'
source_sha256 '915f9bc9944a6854ed9255c2a38cb18366fa94e5c7f584ebf139e829bda98764'
else
puts "#{ARCH} architecture not supported.".lightred
source_url 'https://www.haskell.org/cabal/release/cabal-install-2.2.0.0/cabal-install-2.2.0.0-x86_64-unknown-linux.tar.gz'
source_sha256 '35c14663496cd18bf33cdcf4441a77eb169b0a93cfd0b79081c6816ada53f05c'
end
depends_on 'ghc'
......
......@@ -3,33 +3,37 @@ require 'package'
class Clamav < Package
description 'ClamAV is an open source antivirus engine for detecting trojans, viruses, malware & other malicious threats.'
homepage 'https://www.clamav.net/'
version '0.99.2-1'
source_url 'https://www.clamav.net/downloads/production/clamav-0.99.2.tar.gz'
source_sha256 '167bd6a13e05ece326b968fdb539b05c2ffcfef6018a274a10aeda85c2c0027a'
version '0.100.0'
source_url 'https://www.clamav.net/downloads/production/clamav-0.100.0.tar.gz'
source_sha256 'c5c5edaf75a3c53ac0f271148fd6447310bce53f448ec7e6205124a25918f65c'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/clamav-0.99.2-1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/clamav-0.99.2-1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/clamav-0.99.2-1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/clamav-0.99.2-1-chromeos-x86_64.tar.xz',
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/clamav-0.100.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/clamav-0.100.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/clamav-0.100.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/clamav-0.100.0-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'bf8518c18e78b07483648ebd3e281ae3b49725e20b440dd56d896e92b8b29d7e',
armv7l: 'bf8518c18e78b07483648ebd3e281ae3b49725e20b440dd56d896e92b8b29d7e',
i686: 'c938db5fb8bd558dd96411073dc7dd552e1397fb40d6c4eef674bef36495e696',
x86_64: 'e5e1f2fe2dabc34cccd029e3918fb44d4d5f2f1efcdf1dfe217d7d8199ec688a',
aarch64: '917bc074de1a0079c37155fad1869c0251c600f80baac8eb48d7569fc7261979',
armv7l: '917bc074de1a0079c37155fad1869c0251c600f80baac8eb48d7569fc7261979',
i686: 'b625060b120c70f0003dfa5d08f1e0b7ad8c39a8d78656db0453e5ed2541789d',
x86_64: '21bc01b195bcfac0d6b678bf0fa9b2fa37698352e373c883ff5b31603a94e622',
})
depends_on 'patch'
depends_on 'autoconf'
def self.build
def self.patch
# Apply patch available at https://bugzilla.clamav.net/show_bug.cgi?id=11711.
# This will be fixed in next release.
system "curl -L 'https://bugzilla.clamav.net/attachment.cgi?id=7207' | patch -p0"
system "autoconf"
system "./configure"
system "make"
end
def self.build
system 'autoconf'
system './configure',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
'--disable-maintainer-mode',
'--disable-zlib-vcheck'
system 'make'
end
def self.install
......
......@@ -3,27 +3,23 @@ require 'package'
class Cmake < Package
description 'CMake is an open-source, cross-platform family of tools designed to build, test and package software.'
homepage 'https://cmake.org/'
version '3.11.0'
source_url 'https://cmake.org/files/v3.11/cmake-3.11.0.tar.gz'
source_sha256 'c313bee371d4d255be2b4e96fd59b11d58bc550a7c78c021444ae565709a656b'
version '3.11.1'
source_url 'https://cmake.org/files/v3.11/cmake-3.11.1.tar.gz'
source_sha256 '57bebc6ca4d1d42c6385249d148d9216087e0fda57a47dc5c858790a70217d0c'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/cmake-3.11.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/cmake-3.11.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/cmake-3.11.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/cmake-3.11.0-chromeos-x86_64.tar.xz',
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/cmake-3.11.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/cmake-3.11.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/cmake-3.11.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/cmake-3.11.1-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '003e4e09cc4dc61adb047cd66c88040db1603648ca7e61acb913f4a0a33c317f',
armv7l: '003e4e09cc4dc61adb047cd66c88040db1603648ca7e61acb913f4a0a33c317f',
i686: '0848647b3c55242f53c6a0d932e3946f4f8aee7402e0b9568bce6522e836b75d',
x86_64: 'a43c913c2b564d7ab54e75fe1e631a75d01c312ca3e211022942aaa47b7f766e',
aarch64: '0a225df6e0d34cfd7b04f346f1a196af2067f2119ac00b4258ae329436337412',
armv7l: '0a225df6e0d34cfd7b04f346f1a196af2067f2119ac00b4258ae329436337412',
i686: '8ce6a201ffc9deead5b6e31a98c7fa4ee3d5dc149516aad95ae4ab2b2d3b2276',
x86_64: '34fc8e28f407c16ad18952183f9f26daa9a4bb9a1872c043fbdd670eb2795015',
})
depends_on 'libuv'
depends_on 'openssl'
depends_on 'ncurses'
def self.build
if Dir.exist? "#{CREW_PREFIX}/include/ncursesw"
system 'sed -i "51s,$,\n set(CURSES_INCLUDE_PATH ' + "#{CREW_PREFIX}/include/ncursesw" + ')," Modules/FindCurses.cmake'
......
......@@ -3,21 +3,21 @@ require 'package'
class Commacd < Package
description 'A faster way to move around (Bash 3+)'
homepage 'https://github.com/shyiko/commacd'
version '0.3.4'
source_url 'https://github.com/shyiko/commacd/archive/v0.3.4.tar.gz'
source_sha256 'e27401c5455eb0b89f8e5a3c1e69165d3b73c90a4cb37f439ed27bf120411de0'
version '0.4.0'
source_url 'https://github.com/shyiko/commacd/archive/v0.4.0.tar.gz'
source_sha256 'e2db36c6c8dcd4e65cd8d2d90101d5b7aee78872ae29d2d47ab7fc3b263897cd'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/commacd-0.3.4-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/commacd-0.3.4-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/commacd-0.3.4-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/commacd-0.3.4-chromeos-x86_64.tar.xz',
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/commacd-0.4.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/commacd-0.4.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/commacd-0.4.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/commacd-0.4.0-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'bb80d9e7c3582ac072e8fb1bcac6776965eb47de2436a0b66179e42ba6a41aa5',
armv7l: 'bb80d9e7c3582ac072e8fb1bcac6776965eb47de2436a0b66179e42ba6a41aa5',
i686: 'ea9b6580c9ab76779aba693fbbc2b7558e55699c7084ba9d2e20357bf343d688',
x86_64: '9eb55570e99619a29c92f177074f685f9ecc92c5511d41f3c96c0640bd51154d',
aarch64: '2c4ee0774eb845fc807861bfd9cb08637a1b75b14b7b7c9e9b9c9b9a906b1de4',
armv7l: '2c4ee0774eb845fc807861bfd9cb08637a1b75b14b7b7c9e9b9c9b9a906b1de4',
i686: 'cd3d5341bc1bf38ec7a9080c815a948aac3e662a86e76854cf502aa2bde55b7b',
x86_64: '33610884cc935710e12a5b3c7fff1b918549c3dc3fd1b61f604adca6ac751dd8',
})
def self.install
......
......@@ -3,21 +3,21 @@ require 'package'
class Composer < Package
description 'Dependency Manager for PHP'
homepage 'https://getcomposer.org/'
version '1.6.4'
source_url 'https://github.com/composer/composer/archive/1.6.4.tar.gz'
source_sha256 '8142ddd90845f75a0f4b04f3bef9f73bf2d2e19d86d700e68d01aaab6634320e'
version '1.6.5'
source_url 'https://github.com/composer/composer/archive/1.6.5.tar.gz'
source_sha256 'da4f81a53f845ed0ac4d77fb6d57e3644002b660f4c31cdd14a5a9c340db9776'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/composer-1.6.4-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/composer-1.6.4-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/composer-1.6.4-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/composer-1.6.4-chromeos-x86_64.tar.xz',
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/composer-1.6.5-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/composer-1.6.5-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/composer-1.6.5-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/composer-1.6.5-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '7d71030f8bfae28cd0bdb4af045c7c6d18be5b315fd99ba6eef40254d322d57c',
armv7l: '7d71030f8bfae28cd0bdb4af045c7c6d18be5b315fd99ba6eef40254d322d57c',
i686: '9651c87e0393ccb411944e9612f5f492f46a854d0a2befce2aa6c94dc6ed3355',
x86_64: '23f43ed5ac044e6f992ef3c002e3fbc2dfa9d9af9bde9cf91e33e3066ad2fc2d',
aarch64: '13b02d5d54d773cc03d6f94392151d5957364b76350a8e991a1a3e5762a45c16',
armv7l: '13b02d5d54d773cc03d6f94392151d5957364b76350a8e991a1a3e5762a45c16',
i686: '0451a78d65547a48f3056ae78ffb8d6452f05ca6acaaf91f75462ee91949e640',
x86_64: 'd010d91133dd3097ed323f79a3314d110ce04791c3f3c9e31660b7306aa38c31',
})
depends_on 'php7' unless File.exists? "#{CREW_PREFIX}/bin/php"
......@@ -26,6 +26,6 @@ class Composer < Package
system "php -r \"copy('https://getcomposer.org/installer', 'composer-setup.php');\""
abort 'Checksum mismatch. :/ Try again.'.lightred unless Digest::SHA384.hexdigest( File.read('composer-setup.php') ) == '544e09ee996cdf60ece3804abc52599c22b1f40f4323403c44d44fdfdd586475ca9813a858088ffbc1f233e9b180f061'
system "mkdir -p #{CREW_DEST_PREFIX}/bin"
system "php composer-setup.php --install-dir=#{CREW_DEST_PREFIX}/bin --filename=composer --version=1.6.4"
system "php composer-setup.php --install-dir=#{CREW_DEST_PREFIX}/bin --filename=composer --version=1.6.5"
end
end
......@@ -3,29 +3,28 @@ require 'package'
class Cpustat < Package
description 'cpustat periodically dumps out the current CPU utilisation statistics of running processes.'
homepage 'http://kernel.ubuntu.com/~cking/cpustat/'
version '0.02.03'
source_url 'http://kernel.ubuntu.com/~cking/tarballs/cpustat/cpustat-0.02.03.tar.gz'
source_sha256 '8e48cbd6927b9060a59cd278bb855f6fcdb773ff5ff919a1f75c086c94b4c1d0'
version '0.02.04'
source_url 'http://kernel.ubuntu.com/~cking/tarballs/cpustat/cpustat-0.02.04.tar.gz'
source_sha256 '10fbe56a17161094818be779127f635dc65262b305e5a5614d9e46536a9d92c7'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/cpustat-0.02.03-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/cpustat-0.02.03-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/cpustat-0.02.03-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/cpustat-0.02.03-chromeos-x86_64.tar.xz',
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/cpustat-0.02.04-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/cpustat-0.02.04-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/cpustat-0.02.04-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/cpustat-0.02.04-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '3512fe1d54b69cc47830c99ea89fa6851dc14a936c942c1087d49bd9c4a1643c',
armv7l: '3512fe1d54b69cc47830c99ea89fa6851dc14a936c942c1087d49bd9c4a1643c',
i686: 'e108e8981bcfa369dbeb450ef2fe5f60adf752ba7bd6b45e3670778fd871089a',
x86_64: 'fd4dc76c596c68617c9ef91cefc17ce5394e52227754968a6f699548439c08e7',
aarch64: '20a5e9e09f2e3bd704f17c14b7f260ccbeac1111418cc837e904c05a700dae67',
armv7l: '20a5e9e09f2e3bd704f17c14b7f260ccbeac1111418cc837e904c05a700dae67',
i686: '21670c81a422830e149287936be6c10e58bcbb39fe9c94810677ba8f93949f5d',
x86_64: 'b505ca257198a54ee256f85fee63fb14d2275572b37af287aad8a47d1ba2b6b8',
})
depends_on 'ncurses'
def self.build
system "sed -i 's,/usr,/usr/local,g' Makefile"
system "sed -i '/^CFLAGS += -Wall/s/$/ -I\\/usr\\/local\\/include\\/ncurses/' Makefile"
system "make"
system "sed -i 's,sbin,bin,' Makefile"
system "sed -i 's,/usr,#{CREW_PREFIX},g' Makefile"
system "sed -i '/^CFLAGS += -Wall/s,$, -I#{CREW_PREFIX}/include/ncurses,' Makefile"
system 'make'
end
def self.install
......
......@@ -3,21 +3,21 @@ require 'package'
class Cryptsetup < Package
description 'The cryptsetup utility is used to conveniently setup disk en-/decryption based on DMCrypt kernel module.'
homepage 'https://gitlab.com/cryptsetup/cryptsetup'
version '2.0.1'
source_url 'https://www.kernel.org/pub/linux/utils/cryptsetup/v2.0/cryptsetup-2.0.1.tar.xz'
source_sha256 '41d188092c52e23d576af41cf0cfe0555d8f7efa21598d4c57c56ea1b6d9c975'
version '2.0.3'
source_url 'https://www.kernel.org/pub/linux/utils/cryptsetup/v2.0/cryptsetup-2.0.3.tar.xz'
source_sha256 '4d6cca04c1f5ff4a68d045d190efb2623087eda0274ded92f92a4b6911e501d4'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/cryptsetup-2.0.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/cryptsetup-2.0.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/cryptsetup-2.0.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/cryptsetup-2.0.1-chromeos-x86_64.tar.xz',
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/cryptsetup-2.0.3-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/cryptsetup-2.0.3-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/cryptsetup-2.0.3-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/cryptsetup-2.0.3-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'cfe406001f6f010a655a9b2a55ff3be03e29d5e2ee79a757a46bba3809b4ba01',
armv7l: 'cfe406001f6f010a655a9b2a55ff3be03e29d5e2ee79a757a46bba3809b4ba01',
i686: '8cd48aa7e01d5e6854e78a888f97478c530c18ee450809c9cc7867801a6cf3fa',
x86_64: 'fd33e4276dad999973373c75c802a0561b32a2472cc02c99b6b7bca07eb61eff',
aarch64: '336db165a18055d522037b89e90dc97a2c967e3c4c14a84b77a2effb2b6f8618',
armv7l: '336db165a18055d522037b89e90dc97a2c967e3c4c14a84b77a2effb2b6f8618',
i686: 'ba83377debf5b8716b568b594d60546fa6fd0987241409592cc2a4e8bb659503',
x86_64: '38500360185a743c7421c19863b902917445da3e7fb5cff2001fbffc16d58e70',
})
depends_on 'util_linux'
......@@ -27,8 +27,11 @@ class Cryptsetup < Package
depends_on 'popt'
def self.build
system "./configure", "--prefix=#{CREW_PREFIX}", "--libdir=#{CREW_LIB_PREFIX}"
system "make"
system './configure',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
'--disable-static'
system 'make'
end
def self.install
......
......@@ -3,21 +3,21 @@ require 'package'
class Csvkit < Package
description 'A suite of utilities for converting to and working with CSV, the king of tabular file formats.'
homepage 'http://csvkit.rtfd.org/'
version '1.0.2'
source_url 'https://github.com/wireservice/csvkit/archive/1.0.2.tar.gz'
source_sha256 '35c8c7c699573bec47cbd3576240cc9b444d35f309386f8030340bc50315cdec'
version '1.0.3'
source_url 'https://github.com/wireservice/csvkit/archive/1.0.3.tar.gz'
source_sha256 '4ca64988a648c845ad2f02a19d5736c3a2650a44b1dd8952b97b528c7f3e2a97'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/csvkit-1.0.2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/csvkit-1.0.2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/csvkit-1.0.2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/csvkit-1.0.2-chromeos-x86_64.tar.xz',
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/csvkit-1.0.3-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/csvkit-1.0.3-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/csvkit-1.0.3-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/csvkit-1.0.3-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '206f49dd91cb59644fdde836b8db80fb87dd0d3520ea649ef8dfee987866979c',
armv7l: '206f49dd91cb59644fdde836b8db80fb87dd0d3520ea649ef8dfee987866979c',
i686: '66168c87db16a7495df6199d80e2903e0a101f5e8078ffa5d396a91e6df3016e',
x86_64: '3160e34cf8c24f7c3d6e68a8220071f327fa446e7669d90c9d76f24e515fdcb2',
aarch64: 'e3e61392820e84a80d27937030e7e9edc05a18e6e71811316ff1ac5c44c60efa',
armv7l: 'e3e61392820e84a80d27937030e7e9edc05a18e6e71811316ff1ac5c44c60efa',
i686: 'b6d7d691c2e3c26f596e640db541ac9b34d4a6530b88e0125e582037e958e91e',
x86_64: '0f56661e9e4d3d9bc7c72b1bc12d8558f8ec622e9310f18a155ac7601e2ba9e0',
})
depends_on 'python27'
......
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