diff --git a/packages/c_ares.rb b/packages/c_ares.rb index 995ea7537..739ff77c2 100644 --- a/packages/c_ares.rb +++ b/packages/c_ares.rb @@ -4,6 +4,7 @@ class C_ares < Package description 'c-ares is a C library for asynchronous DNS requests (including name resolves).' homepage 'https://c-ares.haxx.se/' version '1.15.0' + license 'MIT' compatibility 'all' source_url 'https://c-ares.haxx.se/download/c-ares-1.15.0.tar.gz' source_sha256 '6cdb97871f2930530c97deb7cf5c8fa4be5a0b02c7cea6e7c7667672a39d6852' diff --git a/packages/ca_certificates.rb b/packages/ca_certificates.rb index ce1c1fd1f..aa2d260ef 100644 --- a/packages/ca_certificates.rb +++ b/packages/ca_certificates.rb @@ -5,6 +5,7 @@ class Ca_certificates < Package homepage 'https://salsa.debian.org/debian/ca-certificates' @_ver = '20210119' version "#{@_ver}-2" + license 'MPL-1.1' compatibility 'all' source_url "https://salsa.debian.org/debian/ca-certificates/-/archive/debian/#{@_ver}/ca-certificates-debian-#{@_ver}.tar.bz2" source_sha256 'af30b4d9a2c58e42134067d29f0ba6120e5960fd140393d5574d4bdcf5b824d6' diff --git a/packages/cabal.rb b/packages/cabal.rb index 75925cb44..14be60d75 100644 --- a/packages/cabal.rb +++ b/packages/cabal.rb @@ -4,6 +4,7 @@ class Cabal < Package description 'Common Architecture for Building Applications and Libraries' homepage 'https://www.haskell.org/cabal/' version '2.4.1.0-1' + license 'BSD' compatibility 'i686,x86_64' case ARCH when 'i686' diff --git a/packages/cabextract.rb b/packages/cabextract.rb index 9395bc8c9..baac76afe 100644 --- a/packages/cabextract.rb +++ b/packages/cabextract.rb @@ -4,6 +4,7 @@ class Cabextract < Package description 'cabextract is Free Software for extracting Microsoft cabinet files, also called .CAB files.' homepage 'https://www.cabextract.org.uk/' version '1.9.1' + license 'GPL-3' compatibility 'all' source_url 'https://www.cabextract.org.uk/cabextract-1.9.1.tar.gz' source_sha256 'afc253673c8ef316b4d5c29cc4aa8445844bee14afffbe092ee9469405851ca7' diff --git a/packages/cadaver.rb b/packages/cadaver.rb index e8f14d64f..8e05ca8d0 100644 --- a/packages/cadaver.rb +++ b/packages/cadaver.rb @@ -4,6 +4,7 @@ class Cadaver < Package description 'cadaver is a command-line WebDAV client for Unix. It supports file upload, download, on-screen display, namespace operations (move/copy), collection creation and deletion, and locking operations.' homepage 'http://www.webdav.org/cadaver/' version '0.23.3' + license 'GPL-2' compatibility 'all' source_url 'http://www.webdav.org/cadaver/cadaver-0.23.3.tar.gz' source_sha256 'fd4ce68a3230ba459a92bcb747fc6afa91e46d803c1d5ffe964b661793c13fca' diff --git a/packages/cairo.rb b/packages/cairo.rb index 066384dc7..204add819 100644 --- a/packages/cairo.rb +++ b/packages/cairo.rb @@ -4,6 +4,7 @@ class Cairo < Package description 'Cairo is a 2D graphics library with support for multiple output devices.' homepage 'https://www.cairographics.org' version '1.17.4' + license 'LGPL-2.1 or MPL-1.1' compatibility 'all' source_url 'https://cairographics.org/snapshots/cairo-1.17.4.tar.xz' source_sha256 '74b24c1ed436bbe87499179a3b27c43f4143b8676d8ad237a6fa787401959705' diff --git a/packages/cairomm.rb b/packages/cairomm.rb index 7e96be5fd..02bcc9adb 100644 --- a/packages/cairomm.rb +++ b/packages/cairomm.rb @@ -4,6 +4,7 @@ class Cairomm < Package description 'The Cairomm package provides a C++ interface to Cairo.' homepage 'https://www.cairographics.org/' version '1.16.0' + license 'LGPL-2+' compatibility 'all' source_url 'https://www.cairographics.org/releases/cairomm-1.16.0.tar.xz' source_sha256 '7e881492c5f9f546688c31160deb742c166fc4c68b6b8eb9920c00a0f0f144f9' diff --git a/packages/calcurse.rb b/packages/calcurse.rb index ccbdabcc1..baee33533 100644 --- a/packages/calcurse.rb +++ b/packages/calcurse.rb @@ -4,6 +4,7 @@ class Calcurse < Package description 'calcurse is a calendar and scheduling application for the command line.' homepage 'http://calcurse.org/' version '4.3.0' + license 'BSD-2' compatibility 'all' source_url 'http://calcurse.org/files/calcurse-4.3.0.tar.gz' source_sha256 '31ecc3dc09e1e561502b4c94f965ed6b167c03e9418438c4a7ad5bad2c785f9a' diff --git a/packages/camp.rb b/packages/camp.rb index 90eba602e..b66fa4b44 100644 --- a/packages/camp.rb +++ b/packages/camp.rb @@ -4,6 +4,7 @@ class Camp < Package description 'Server stack which includes httpd, percona_server and php' homepage '' version '1.0' + license 'GPL-3+' compatibility 'all' is_fake diff --git a/packages/cantarell_fonts.rb b/packages/cantarell_fonts.rb index 18982daf6..f990215f0 100644 --- a/packages/cantarell_fonts.rb +++ b/packages/cantarell_fonts.rb @@ -5,6 +5,7 @@ class Cantarell_fonts < Package homepage 'https://gitlab.gnome.org/GNOME/cantarell-fonts' @_ver = '0.301' version @_ver + license 'OFL-1.1' compatibility 'all' source_url "https://download.gnome.org/sources/cantarell-fonts/#{@_ver}/cantarell-fonts-#{@_ver}.tar.xz" source_sha256 '3d35db0ac03f9e6b0d5a53577591b714238985f4cfc31a0aa17f26cd74675e83' diff --git a/packages/cargo_c.rb b/packages/cargo_c.rb index 4bde0d06d..1367a81ad 100644 --- a/packages/cargo_c.rb +++ b/packages/cargo_c.rb @@ -7,6 +7,7 @@ class Cargo_c < Package description 'A cargo subcommand to build and install C-ABI compatibile dynamic and static libraries' homepage 'https://github.com/lu-zero/cargo-c/' version '0.7.3' + license 'LGPL-2.1 and MPL-1.1' compatibility 'all' source_url 'https://github.com/lu-zero/cargo-c/archive/v0.7.3/cargo-c-0.7.3.tar.gz' source_sha256 '533c65d555330e86b91415753efc140ffdb900abd59b5b6403352c4264941a99' diff --git a/packages/cbase.rb b/packages/cbase.rb index 417132e82..12b918831 100644 --- a/packages/cbase.rb +++ b/packages/cbase.rb @@ -2,10 +2,11 @@ require 'package' class Cbase < Package description 'cbase is a C library of useful functions that simplify systems software development on System V UNIX.' - homepage 'http://www.hyperrealm.com/oss_cbase.shtml' + homepage 'https://www.hyperrealm.com/oss_cbase.shtml' version '1.3.7-3' + license 'LGPL-2.1' compatibility 'all' - source_url 'http://www.hyperrealm.com/packages/cbase-1.3.7.tar.gz' + source_url 'https://www.hyperrealm.com/packages/cbase-1.3.7.tar.gz' source_sha256 'c4d155686ac2e9d1480319de311967fadad745a6ab6971d53d495d9a9e52dc47' binary_url ({ diff --git a/packages/ccache.rb b/packages/ccache.rb index 1f624aca1..d136d5e18 100644 --- a/packages/ccache.rb +++ b/packages/ccache.rb @@ -4,6 +4,7 @@ class Ccache < Package description 'Compiler cache that speeds up recompilation by caching previous compilations' homepage 'https://ccache.samba.org/' version '4.1' + license 'GPL-3 and LGPL-3' compatibility 'all' source_url 'https://github.com/ccache/ccache/releases/download/v4.1/ccache-4.1.tar.xz' source_sha256 '5fdc804056632d722a1182e15386696f0ea6c59cb4ab4d65a54f0b269ae86f99' diff --git a/packages/ccl.rb b/packages/ccl.rb index 7782a86d1..585261b10 100644 --- a/packages/ccl.rb +++ b/packages/ccl.rb @@ -4,6 +4,7 @@ class Ccl < Package description 'Clozure CL is a fast, mature, open source Common Lisp implementation.' homepage 'https://ccl.clozure.com' version '1.11.5' + license 'Apache-2.0' compatibility 'all' # arm only has a 32-bit build in the archive diff --git a/packages/cdargs.rb b/packages/cdargs.rb index b986d628f..1fb829143 100644 --- a/packages/cdargs.rb +++ b/packages/cdargs.rb @@ -2,10 +2,11 @@ require 'package' class Cdargs < Package description 'Directory bookmarking system - Enhanced cd utilities' - homepage 'http://www.skamphausen.de/cgi-bin/ska/CDargs' + homepage 'https://www.skamphausen.de/cgi-bin/ska/CDargs' version '1.35' + license 'GPL-2' compatibility 'all' - source_url 'http://www.skamphausen.de/downloads/cdargs/cdargs-1.35.tar.gz' + source_url 'https://www.skamphausen.de/downloads/cdargs/cdargs-1.35.tar.gz' source_sha256 'ee35a8887c2379c9664b277eaed9b353887d89480d5749c9ad957adf9c57ed2c' binary_url ({ diff --git a/packages/cdrkit.rb b/packages/cdrkit.rb index 3c50deb5b..49e7dd515 100644 --- a/packages/cdrkit.rb +++ b/packages/cdrkit.rb @@ -4,6 +4,7 @@ class Cdrkit < Package description 'cdrkit is a suite of programs for recording CDs and DVDs, blanking CD-RW media, creating ISO-9660 filesystem images, extracting audio CD data, and more.' homepage 'https://launchpad.net/cdrkit' version '1.1.11' + license 'GPL-2' compatibility 'all' source_url 'https://downloads.sourceforge.net/project/wodim/cdrkit/cdrkit_1.1.11.orig.tar.gz' source_sha256 'd1c030756ecc182defee9fe885638c1785d35a2c2a297b4604c0e0dcc78e47da' diff --git a/packages/cf.rb b/packages/cf.rb index ebdecbff0..943d9fbf1 100644 --- a/packages/cf.rb +++ b/packages/cf.rb @@ -4,6 +4,7 @@ class Cf < Package description 'The official command line client for Cloud Foundry' homepage 'https://docs.cloudfoundry.org/cf-cli' version '6.36.1' + license 'Apache-2.0' compatibility 'i686,x86_64' case ARCH when 'i686', 'x86_64' @@ -23,19 +24,19 @@ class Cf < Package def self.install case ARCH when 'i686' - system 'wget https://s3-us-west-1.amazonaws.com/cf-cli-releases/releases/v6.36.1/cf-cli_6.36.1_linux_i686.tgz' + system 'curl -#LO https://s3-us-west-1.amazonaws.com/cf-cli-releases/releases/v6.36.1/cf-cli_6.36.1_linux_i686.tgz' abort 'Checksum mismatch. :/ Try again.'.lightred unless Digest::SHA256.hexdigest( File.read('cf-cli_6.36.1_linux_i686.tgz') ) == '9e6383521345370e9a266d11ff4f827e853d2dfbf999bcb9e6a0f62ec69c3b0f' system 'tar xvf cf-cli_6.36.1_linux_i686.tgz' system "install -Dm755 cf #{CREW_DEST_PREFIX}/bin/cf" - system "curl -o cf.bash https://raw.githubusercontent.com/cloudfoundry/cli/v6.36.1/ci/installers/completion/cf" + system "curl -#L -o cf.bash https://raw.githubusercontent.com/cloudfoundry/cli/v6.36.1/ci/installers/completion/cf" abort 'Checksum mismatch. :/ Try again.'.lightred unless Digest::SHA256.hexdigest( File.read('cf.bash') ) == 'f3f05a2414075c00b101b05f73cf260b9eec9966659adf2957c1b2937bd4c48e' system "install -Dm644 cf.bash #{CREW_DEST_PREFIX}/share/cf/bash-completion/cf.bash" when 'x86_64' - system 'wget https://s3-us-west-1.amazonaws.com/cf-cli-releases/releases/v6.36.1/cf-cli_6.36.1_linux_x86-64.tgz' + system 'curl -#LO https://s3-us-west-1.amazonaws.com/cf-cli-releases/releases/v6.36.1/cf-cli_6.36.1_linux_x86-64.tgz' abort 'Checksum mismatch. :/ Try again.'.lightred unless Digest::SHA256.hexdigest( File.read('cf-cli_6.36.1_linux_x86-64.tgz') ) == 'd5e59258183939305f44c471dab41a000290446399cc9b206b107c7bdb8ce180' system 'tar xvf cf-cli_6.36.1_linux_x86-64.tgz' system "install -Dm755 cf #{CREW_DEST_PREFIX}/bin/cf" - system "curl -L -o cf.bash https://raw.githubusercontent.com/cloudfoundry/cli/v6.36.1/ci/installers/completion/cf" + system "curl -#L -o cf.bash https://raw.githubusercontent.com/cloudfoundry/cli/v6.36.1/ci/installers/completion/cf" abort 'Checksum mismatch. :/ Try again.'.lightred unless Digest::SHA256.hexdigest( File.read('cf.bash') ) == 'f3f05a2414075c00b101b05f73cf260b9eec9966659adf2957c1b2937bd4c48e' system "install -Dm644 cf.bash #{CREW_DEST_PREFIX}/share/cf/bash-completion/cf.bash" end diff --git a/packages/cfitsio.rb b/packages/cfitsio.rb index 0560aaf0f..418df421f 100644 --- a/packages/cfitsio.rb +++ b/packages/cfitsio.rb @@ -4,6 +4,7 @@ class Cfitsio < Package description 'A library of C and Fortran subroutines for reading and writing data files in FITS Flexible Image Transport System data format' homepage 'https://heasarc.gsfc.nasa.gov/fitsio/' version '3.49' + license 'ISC' compatibility 'all' source_url 'https://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/cfitsio-3.49.tar.gz' source_sha256 '5b65a20d5c53494ec8f638267fca4a629836b7ac8dd0ef0266834eab270ed4b3' @@ -24,7 +25,7 @@ class Cfitsio < Package def self.patch system "sed -e 's|LDFLAGS=.*|LDFLAGS=$LDFLAGS|g' -i configure.in # Fix LDFLAGS" end - + def self.build system 'autoreconf -vi' system "env CFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \ diff --git a/packages/cgroupfs_mount.rb b/packages/cgroupfs_mount.rb index 3cf53c895..9338cd1de 100644 --- a/packages/cgroupfs_mount.rb +++ b/packages/cgroupfs_mount.rb @@ -4,6 +4,7 @@ class Cgroupfs_mount < Package description 'Simple scripts to properly mount the cgroupfs hierarchy.' homepage 'https://github.com/tianon/cgroupfs-mount' version '1.4' + license 'GPL-3+' compatibility 'all' source_url 'https://github.com/tianon/cgroupfs-mount/archive/1.4.tar.gz' source_sha256 'd6c8aff7af59c7d0082ee3018c97f73b0421e81a49bb28ad9f66a36da5cd6ec7' diff --git a/packages/charm.rb b/packages/charm.rb index c0de34529..1c1a4ccee 100644 --- a/packages/charm.rb +++ b/packages/charm.rb @@ -4,6 +4,7 @@ class Charm < Package description 'Charm is a full-featured, cross-platfom blogging client for LiveJournal, Atom (Movable Type, Blogger), and MetaWeb (WordPress).' homepage 'http://ljcharm.sourceforge.net/' version '1.9.2' + license 'charm' compatibility 'all' source_url 'http://downloads.sourceforge.net/project/ljcharm/charm/charm-1.9.2/charm-1.9.2.tar.gz' source_sha256 'ae2d536303e770ceb002f69c1e71f6a8532c8d5dd075d2f5c1bf09ad02c3c015' diff --git a/packages/check.rb b/packages/check.rb index ca7060eb8..78119f07a 100644 --- a/packages/check.rb +++ b/packages/check.rb @@ -4,6 +4,7 @@ class Check < Package description 'A unit testing framework for C' homepage 'https://libcheck.github.io/check/' version '0.15.2' + license 'LGPL-2.1+' compatibility 'all' source_url 'https://github.com/libcheck/check/releases/download/0.15.2/check-0.15.2.tar.gz' source_sha256 'a8de4e0bacfb4d76dd1c618ded263523b53b85d92a146d8835eb1a52932fa20a' diff --git a/packages/chibi_scheme.rb b/packages/chibi_scheme.rb index 4b3eee770..4ca2e4fee 100644 --- a/packages/chibi_scheme.rb +++ b/packages/chibi_scheme.rb @@ -4,6 +4,7 @@ class Chibi_scheme < Package description 'Minimal Scheme Implementation for use as an Extension Language' homepage 'http://synthcode.com/wiki/chibi-scheme' version '0.8' + license 'BSD-3' compatibility 'all' source_url 'https://github.com/ashinn/chibi-scheme/archive/0.8.tar.gz' source_sha256 '8a077859b123216c123c243db391b0fe4c0cf73978c7cdd7b8ea853a48192756' diff --git a/packages/chicken.rb b/packages/chicken.rb index a4e7c6cab..e164c7e27 100644 --- a/packages/chicken.rb +++ b/packages/chicken.rb @@ -4,6 +4,7 @@ class Chicken < Package description 'CHICKEN is practical and portable scheme system.' homepage 'https://code.call-cc.org/' version '5.1.0' + license 'BSD' compatibility 'all' source_url 'https://code.call-cc.org/releases/5.1.0/chicken-5.1.0.tar.gz' source_sha256 '5c1101a8d8faabfd500ad69101e0c7c8bd826c68970f89c270640470e7b84b4b' diff --git a/packages/choose.rb b/packages/choose.rb index b28e9a0ec..22681b511 100644 --- a/packages/choose.rb +++ b/packages/choose.rb @@ -4,6 +4,7 @@ class Choose < Package description 'make choices on the command line' homepage 'https://github.com/geier/choose' version '0.1.0' + license 'MIT' compatibility 'all' source_url 'https://github.com/geier/choose/archive/v0.1.0.tar.gz' source_sha256 'd09a679920480e66bff36c76dd4d33e8ad739a53eace505d01051c114a829633' diff --git a/packages/chromaprint.rb b/packages/chromaprint.rb index 70e10d3d2..521d58312 100644 --- a/packages/chromaprint.rb +++ b/packages/chromaprint.rb @@ -4,6 +4,7 @@ class Chromaprint < Package description 'Chromaprint is a client-side library that implements a custom algorithm for extracting fingerprints from any audio source.' homepage 'https://acoustid.org/chromaprint' version '1.4.3' + license 'LGPL-2.1' compatibility 'all' source_url 'https://github.com/acoustid/chromaprint/releases/download/v1.4.3/chromaprint-1.4.3.tar.gz' source_sha256 'ea18608b76fb88e0203b7d3e1833fb125ce9bb61efe22c6e169a50c52c457f82' diff --git a/packages/chrome.rb b/packages/chrome.rb index a8776aa1b..248892589 100644 --- a/packages/chrome.rb +++ b/packages/chrome.rb @@ -3,10 +3,11 @@ require 'package' class Chrome < Package description 'Google Chrome is a fast, easy to use, and secure web browser.' homepage 'https://www.google.com/chrome' - compatibility 'x86_64' @_ver = '88.0.4324.182' @_deb = "google-chrome-stable_#{@_ver}-1_amd64.deb" version @_ver + license 'google-chrome' + compatibility 'x86_64' if ARCH == 'x86_64' then depends_on 'nspr' @@ -23,14 +24,14 @@ class Chrome < Package ENV['CREW_NOT_STRIP'] = '1' FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/share/" FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/bin" - + FileUtils.mv Dir.glob('usr/share/*'), './' FileUtils.mv Dir.glob('opt/google/chrome/*'), './' FileUtils.rm_rf ['usr', 'opt'] - + FileUtils.ln_s "#{CREW_PREFIX}/share/chrome/google-chrome", '#{CREW_DEST_PREFIX}/bin/google-chrome-stable' FileUtils.ln_s "#{CREW_PREFIX}/share/chrome/google-chrome", '#{CREW_DEST_PREFIX}/bin/google-chrome' - + FileUtils.mv Dir.glob('*'), "#{CREW_DEST_PREFIX}/share" end end diff --git a/packages/chromebeer.rb b/packages/chromebeer.rb index 57f3aa90b..6f4da6b7c 100644 --- a/packages/chromebeer.rb +++ b/packages/chromebeer.rb @@ -2,8 +2,9 @@ require 'package' class Chromebeer < Package description 'An opinionated bundle of "essential" Chromebrew packages.' - homepage '' + homepage 'https://github.com/skycocker/chromebrew' version '1.1' + license 'GPL-3+' compatibility 'all' is_fake diff --git a/packages/chromebrew_scripts.rb b/packages/chromebrew_scripts.rb index 156c3f621..7b727a329 100644 --- a/packages/chromebrew_scripts.rb +++ b/packages/chromebrew_scripts.rb @@ -4,6 +4,7 @@ class Chromebrew_scripts < Package description 'Useful bash utility scripts for Chrome/Chromium OS systems.' homepage 'https://github.com/uberhacker/chromebrew-scripts' version '1.1.0' + license 'LGPL-3' compatibility 'all' source_url 'https://github.com/uberhacker/chromebrew-scripts/archive/1.1.0.tar.gz' source_sha256 'acf8f89ef3b8a04fc33bb5a94188687d0fdd2dd7b05102ad442a91019cab20fb' diff --git a/packages/chrpath.rb b/packages/chrpath.rb index 98e28b4f3..593dcc43e 100644 --- a/packages/chrpath.rb +++ b/packages/chrpath.rb @@ -4,6 +4,7 @@ class Chrpath < Package description 'Change or delete the rpath or runpath in ELF files' homepage 'https://directory.fsf.org/project/chrpath/' version '0.16' + license 'GPL-2+' compatibility 'all' source_url 'http://ftp.debian.org/debian/pool/main/c/chrpath/chrpath_0.16.orig.tar.gz' source_sha256 'bb0d4c54bac2990e1bdf8132f2c9477ae752859d523e141e72b3b11a12c26e7b' diff --git a/packages/chruby.rb b/packages/chruby.rb index 97381c7da..ff21a3773 100644 --- a/packages/chruby.rb +++ b/packages/chruby.rb @@ -4,6 +4,7 @@ class Chruby < Package description 'Changes the current Ruby' homepage 'https://github.com/postmodern/chruby' version '0.3.9' + license 'MIT' compatibility 'all' source_url 'https://github.com/postmodern/chruby/archive/v0.3.9.tar.gz' source_sha256 '7220a96e355b8a613929881c091ca85ec809153988d7d691299e0a16806b42fd' diff --git a/packages/chrx.rb b/packages/chrx.rb index 5d5b09dde..4427fda48 100644 --- a/packages/chrx.rb +++ b/packages/chrx.rb @@ -4,6 +4,7 @@ class Chrx < Package description 'Install Linux onto your Chromebook. Dual-boot alongside ChromeOS for maximum flexibility.' homepage 'https://chrx.org/' version '3.0.2' + license 'unlicensed' compatibility 'all' source_url 'file:///dev/null' source_sha256 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855' diff --git a/packages/civetweb.rb b/packages/civetweb.rb index 670edb500..b128dd2b6 100644 --- a/packages/civetweb.rb +++ b/packages/civetweb.rb @@ -4,6 +4,7 @@ class Civetweb < Package description 'Embedded C/C++ web server' homepage 'https://github.com/civetweb/civetweb/' version '1.13' + license 'MIT' compatibility 'all' source_url 'https://github.com/civetweb/civetweb/archive/v1.13.tar.gz' source_sha256 'a7ccc76c2f1b5f4e8d855eb328ed542f8fe3b882a6da868781799a98f4acdedc' @@ -20,7 +21,7 @@ class Civetweb < Package i686: '856eeb6d5543fe03baec996f21324ad0bb14bc0a2e9c080d61cf33614697a36d', x86_64: 'a314284c9ea9b1f3190174645c5c13872387520dc1877a3fb7eb5397916b8bed', }) - + def self.build Dir.mkdir "builddir" Dir.chdir "builddir" do diff --git a/packages/ck4up.rb b/packages/ck4up.rb index 49d927b0b..3f12ceea6 100644 --- a/packages/ck4up.rb +++ b/packages/ck4up.rb @@ -4,6 +4,7 @@ class Ck4up < Package description 'Check for Updates, a utility to monitor web pages for updates' homepage 'http://jue.li/crux/ck4up' version '1.4' + license '' # Can't find license for project compatibility 'all' source_url 'http://jue.li/crux/ck4up/ck4up-1.4.tar.gz' source_sha256 '37f2f981cfdb6811a906e5520cb27203cb5ecb725d2180aaac59d377c1ac9fbf' diff --git a/packages/ckermit.rb b/packages/ckermit.rb index 2ca04d4e2..768d607c2 100644 --- a/packages/ckermit.rb +++ b/packages/ckermit.rb @@ -4,6 +4,7 @@ class Ckermit < Package description 'C-Kermit is a combined serial and network communication software package.' homepage 'http://www.kermitproject.org/ck90.html' version '8.0.211-1' + license 'Kermit' compatibility 'all' source_url 'https://fossies.org/linux/privat/old/cku211.tar.gz' source_sha256 '0503518ef8f225d06749f7923ae84521bc358daf353222c75c009cd040dc5e26' diff --git a/packages/clamav.rb b/packages/clamav.rb index 34705ed71..ce960076c 100644 --- a/packages/clamav.rb +++ b/packages/clamav.rb @@ -4,6 +4,7 @@ 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.103.0' + license 'GPL-2' compatibility 'all' source_url 'https://www.clamav.net/downloads/production/clamav-0.103.0.tar.gz' source_sha256 '32a9745277bfdda80e77ac9ca2f5990897418e9416880f3c31553ca673e80546' diff --git a/packages/clean.rb b/packages/clean.rb index dbffa0803..ea7568f17 100644 --- a/packages/clean.rb +++ b/packages/clean.rb @@ -4,8 +4,9 @@ class Clean < Package description 'Clean is a program that searches for files identified by regular expressions and deletes them' homepage 'https://sourceforge.net/projects/clean/' version '3.4' + license '' # Can't find license for project compatibility 'all' - source_url 'http://downloads.sourceforge.net/project/clean/clean/3.4/clean-3.4.tar.bz2' + source_url 'https://downloads.sourceforge.net/project/clean/clean/3.4/clean-3.4.tar.bz2' source_sha256 '761f3a9e1ed50747b6a62a8113fa362a7cc74d359ac6e8e30ba6b30d59115320' binary_url ({ diff --git a/packages/clear_cache.rb b/packages/clear_cache.rb index d3bd14fe1..986033888 100644 --- a/packages/clear_cache.rb +++ b/packages/clear_cache.rb @@ -4,6 +4,7 @@ class Clear_cache < Package description 'Script to remove system cache files' homepage 'https://github.com/skycocker/chromebrew/wiki/FAQ' version '1.0' + license 'GPL-3+' compatibility 'all' source_url 'file:///dev/null' source_sha256 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855' diff --git a/packages/clib.rb b/packages/clib.rb index 603d86617..829a28ebc 100644 --- a/packages/clib.rb +++ b/packages/clib.rb @@ -4,6 +4,7 @@ class Clib < Package description 'C package manager-ish' homepage 'https://github.com/clibs/clib' version '1.8.1' + license 'MIT' compatibility 'all' source_url 'https://github.com/clibs/clib/archive/1.8.1.tar.gz' source_sha256 'f5718e316771571971cb4e5a0142f91b47c6bfe32997fd869fc5a90ec091a066' diff --git a/packages/clisp.rb b/packages/clisp.rb index 6fcdc05a8..62d39ee9a 100644 --- a/packages/clisp.rb +++ b/packages/clisp.rb @@ -4,6 +4,7 @@ class Clisp < Package description 'ANSI Common Lisp compiler, interpreter and debugger.' homepage 'http://www.gnu.org/software/clisp/' version '2.49-3' + license 'GPL-2' compatibility 'i686,x86_64' case ARCH when 'i686', 'x86_64' diff --git a/packages/clmystery.rb b/packages/clmystery.rb index 381525aad..53643f13d 100644 --- a/packages/clmystery.rb +++ b/packages/clmystery.rb @@ -4,6 +4,7 @@ class Clmystery < Package description 'A command-line murder mystery' homepage 'https://github.com/veltman/clmystery' version '6dd30f' + license 'MIT' compatibility 'all' source_url 'https://github.com/veltman/clmystery/archive/6dd30f8762c9319a3613eadd05fdf783baa4d7d9.tar.gz' source_sha256 '911bc77225bcacc8fc1a7b17b21fbc4ede371513c729b4b663989ab627604d33' diff --git a/packages/clojure.rb b/packages/clojure.rb index d263a9eb4..f86d6b0e1 100644 --- a/packages/clojure.rb +++ b/packages/clojure.rb @@ -4,6 +4,7 @@ class Clojure < Package description 'Clojure is a robust, practical, and fast programming language with a set of useful features that together form a simple, coherent, and powerful tool.' homepage 'https://clojure.org/' version '1.10.1.469' + license 'EPL-1.0, Apache-2.0 and BSD' compatibility 'all' source_url 'https://raw.githubusercontent.com/clojure/clojure/clojure-1.10.1/readme.txt' source_sha256 '3487545874a31b2c568397be221eb5c9070e220cbf741f1eb4819937200d21a5' diff --git a/packages/cloog.rb b/packages/cloog.rb index 5447cb0cd..b3410889d 100644 --- a/packages/cloog.rb +++ b/packages/cloog.rb @@ -4,6 +4,7 @@ class Cloog < Package description 'The CLooG Code Generator in the Polytope Model' homepage 'https://github.com/periscop/cloog' version '0.20.0' + license 'LGPL-2.1' compatibility 'all' source_url 'https://github.com/periscop/cloog/releases/download/cloog-0.20.0/cloog-0.20.0.tar.gz' source_sha256 '835c49951ff57be71dcceb6234d19d2cc22a3a5df84aea0a9d9760d92166fc72' diff --git a/packages/clutter.rb b/packages/clutter.rb index 247e30409..6db08c00c 100644 --- a/packages/clutter.rb +++ b/packages/clutter.rb @@ -4,6 +4,7 @@ class Clutter < Package description 'OpenGL based interactive canvas library' homepage 'https://www.clutter-project.org' version '1.26.4' + license 'LGPL-2.1+ and FDL-1.1+' compatibility 'all' source_url 'https://ftp.gnome.org/pub/GNOME/sources/clutter/1.26/clutter-1.26.4.tar.xz' source_sha256 '8b48fac159843f556d0a6be3dbfc6b083fc6d9c58a20a49a6b4919ab4263c4e6' diff --git a/packages/clutter_gtk.rb b/packages/clutter_gtk.rb index a3d430127..c618b6bad 100644 --- a/packages/clutter_gtk.rb +++ b/packages/clutter_gtk.rb @@ -9,6 +9,7 @@ class Clutter_gtk < Package @_mainver = @_fullver.rpartition('.')[0] @_url = "https://download.gnome.org/sources/#{@_app}/#{@_mainver}/#{@_app}-#{@_fullver}" version @_fullver + license 'LGPL-2.1+' source_url "#{@_url}.tar.xz" source_sha256 `curl -Ls #{@_url}.sha256sum | tail -n1 | cut -d ' ' -f1`.chomp @@ -24,7 +25,7 @@ class Clutter_gtk < Package i686: '499108e196161dffd762aff54ffa8bbd338863c9d9cc8c2af54fd5728d11cb7d', x86_64: '3b5b60ce00a67815def67ff992aac8caf89fb4ee0ef68d7a51c857ce30a3461e' }) - + depends_on 'gtk3' depends_on 'libgee' depends_on 'clutter' diff --git a/packages/cmake.rb b/packages/cmake.rb index 320af1622..7ce995177 100644 --- a/packages/cmake.rb +++ b/packages/cmake.rb @@ -5,6 +5,7 @@ class Cmake < Package homepage 'https://cmake.org/' @_ver = '3.19.4' version @_ver + license 'CMake' compatibility 'all' source_url "https://github.com/Kitware/CMake/releases/download/v#{@_ver}/cmake-#{@_ver}.tar.gz" source_sha256 '7d0232b9f1c57e8de81f38071ef8203e6820fe7eec8ae46a1df125d88dbcc2e1' diff --git a/packages/cmatrix.rb b/packages/cmatrix.rb index 3e87f42fb..f528234d9 100644 --- a/packages/cmatrix.rb +++ b/packages/cmatrix.rb @@ -4,6 +4,7 @@ class Cmatrix < Package description "CMatrix is a program to see the cool scrolling lines from 'The Matrix' movie." homepage 'http://www.asty.org/cmatrix/' version '1.2' + license 'GPL-2' compatibility 'all' source_url 'https://github.com/abishekvashok/cmatrix/archive/1.2.tar.gz' source_sha256 '6b0b9aff4585147843c4cf8a8c9c6048500f66dc4887a38922197dfa326b57c8' diff --git a/packages/cmus.rb b/packages/cmus.rb index fd23eea08..a2aba85b1 100644 --- a/packages/cmus.rb +++ b/packages/cmus.rb @@ -4,6 +4,7 @@ class Cmus < Package description 'cmus is a small, fast and powerful console music player for Unix-like operating systems.' homepage 'https://cmus.github.io/' version '2.7.1' + license 'GPL-2' compatibility 'all' source_url 'https://github.com/cmus/cmus/archive/v2.7.1.tar.gz' source_sha256 '8179a7a843d257ddb585f4c65599844bc0e516fe85e97f6f87a7ceade4eb5165' diff --git a/packages/codelite.rb b/packages/codelite.rb index 6258d817a..e752bd2e5 100644 --- a/packages/codelite.rb +++ b/packages/codelite.rb @@ -4,6 +4,7 @@ class Codelite < Package description 'CodeLite is an open source, free, cross platform IDE specialized in C, C++, PHP and JavaScript' homepage 'https://codelite.org/' version '13.0-1' + license 'GPL-2' compatibility 'all' source_url 'https://github.com/eranif/codelite/archive/13.0.tar.gz' source_sha256 'f2653fa42d6214999718236998cb223e6de00a498c0cfde795e901be693fb9ac' diff --git a/packages/codium.rb b/packages/codium.rb index 6a9276789..29b8f31f2 100644 --- a/packages/codium.rb +++ b/packages/codium.rb @@ -4,6 +4,7 @@ class Codium < Package description 'VSCodium is Open Source Software Binaries of VSCode with a community-driven default configuration.' homepage 'https://vscodium.com/' version '1.53.2' + license 'MIT' compatibility 'aarch64,armv7l,x86_64' case ARCH when 'aarch64', 'armv7l' diff --git a/packages/cogl.rb b/packages/cogl.rb index 9381d3c2e..d4a4e879f 100644 --- a/packages/cogl.rb +++ b/packages/cogl.rb @@ -4,6 +4,7 @@ class Cogl < Package description 'Library for using 3D graphics hardware for rendering' homepage 'https://www.clutter-project.org' version '1.22.8' + license 'MIT and BSD' compatibility 'all' source_url 'https://ftp.gnome.org/pub/GNOME/sources/cogl/1.22/cogl-1.22.8.tar.xz' source_sha256 'a805b2b019184710ff53d0496f9f0ce6dcca420c141a0f4f6fcc02131581d759' diff --git a/packages/collectl.rb b/packages/collectl.rb index 5d7b65927..7ec3cc666 100644 --- a/packages/collectl.rb +++ b/packages/collectl.rb @@ -4,6 +4,7 @@ class Collectl < Package description 'Collectl is a light-weight performance monitoring tool capable of reporting interactively as well as logging to disk.' homepage 'http://collectl.sourceforge.net/' version '4.3.1' + license 'GPL-2 and Artistic' compatibility 'all' source_url 'https://downloads.sourceforge.net/project/collectl/collectl/collectl-4.3.1/collectl-4.3.1.src.tar.gz' source_sha256 '2187264d974b36a653c8a4b028ac6eeab23e1885f8b2563a33f06358f39889f1' diff --git a/packages/colordiff.rb b/packages/colordiff.rb index b7faee491..a95b8e46f 100644 --- a/packages/colordiff.rb +++ b/packages/colordiff.rb @@ -4,6 +4,7 @@ class Colordiff < Package description "The Perl script colordiff is a wrapper for 'diff' and produces the same output but with pretty 'syntax' highlighting." homepage 'https://www.colordiff.org/' version '1.0.18' + license 'GPL-2' compatibility 'all' source_url 'https://www.colordiff.org/colordiff-1.0.18.tar.gz' source_sha256 '29cfecd8854d6e19c96182ee13706b84622d7b256077df19fbd6a5452c30d6e0' diff --git a/packages/comgt.rb b/packages/comgt.rb index 6f645e6d0..21e1c5ab2 100644 --- a/packages/comgt.rb +++ b/packages/comgt.rb @@ -4,6 +4,7 @@ class Comgt < Package description 'Comgt is a command line tool for controlling, configuring and interacting with Option Wireless 3G and 2G (HSDPA, UMTS, EDGE, GPRS, GSM) data devices within the Linux environment.' homepage 'https://sourceforge.net/projects/comgt/' version '0.32' + license '' # Can't find license for project compatibility 'all' source_url 'https://downloads.sourceforge.net/project/comgt/comgt/0.32/comgt.0.32.tgz' source_sha256 '0cedb2a5aa608510da66a99aab74df3db363df495032e57e791a2ff55f1d7913' diff --git a/packages/commacd.rb b/packages/commacd.rb index e2f770f7c..66b5249b1 100644 --- a/packages/commacd.rb +++ b/packages/commacd.rb @@ -4,6 +4,7 @@ class Commacd < Package description 'A faster way to move around (Bash 3+)' homepage 'https://github.com/shyiko/commacd' version '0.4.0' + license 'MIT' compatibility 'all' source_url 'https://github.com/shyiko/commacd/archive/v0.4.0.tar.gz' source_sha256 'e2db36c6c8dcd4e65cd8d2d90101d5b7aee78872ae29d2d47ab7fc3b263897cd' diff --git a/packages/composer.rb b/packages/composer.rb index 11c679b66..a5dbbe8c5 100644 --- a/packages/composer.rb +++ b/packages/composer.rb @@ -4,6 +4,7 @@ class Composer < Package description 'Dependency Manager for PHP' homepage 'https://getcomposer.org/' version '2.0.11' + license 'MIT' compatibility 'all' source_url "https://github.com/composer/composer/archive/#{version}.tar.gz" source_sha256 '025d332242b696ec5d10dcc4d9ad9460321d9740b09e967849017f3e67d3fcb2' diff --git a/packages/compressdoc.rb b/packages/compressdoc.rb index 315e02d4b..d77f3706c 100644 --- a/packages/compressdoc.rb +++ b/packages/compressdoc.rb @@ -4,6 +4,7 @@ class Compressdoc < Package description 'Compress (with bzip2 or gzip) all man pages in a hierarchy and update symlinks' homepage 'https://github.com/ojab/BLFS/blob/master/auxfiles/compressdoc' version '20080421.1623' + license '' # Can't find license for project compatibility 'all' source_url 'https://raw.githubusercontent.com/ojab/BLFS/af6c11d985fe36c8828abaa9d5124c8725580b15/auxfiles/compressdoc' source_sha256 'f380473baaa8785b1c7a7a30f2dda4b748a9baed3b335655faedad49ebf8246b' diff --git a/packages/consolekit.rb b/packages/consolekit.rb index de842c449..40947c14a 100644 --- a/packages/consolekit.rb +++ b/packages/consolekit.rb @@ -5,6 +5,7 @@ class Consolekit < Package homepage 'https://github.com/ConsoleKit2/ConsoleKit2' @_ver = '1.2.2' version @_ver + license 'GPL-2+' compatibility 'all' source_url "https://github.com/ConsoleKit2/ConsoleKit2/archive/#{@_ver}.tar.gz" source_sha256 '104fd9f41c2d572ad62f4032de46c4c384c3522602b0ad953cf55759c6c64c1d' diff --git a/packages/coreutils.rb b/packages/coreutils.rb index a90682bff..8b26852aa 100644 --- a/packages/coreutils.rb +++ b/packages/coreutils.rb @@ -2,9 +2,10 @@ require 'package' class Coreutils < Package description 'The GNU Core Utilities are the basic file, shell and text manipulation utilities of the GNU operating system.' - homepage 'http://www.gnu.org/software/coreutils/coreutils.html' + homepage 'https://www.gnu.org/software/coreutils/coreutils.html' @_ver = '8.32' version @_ver + license 'GPL-3' compatibility 'all' source_url "https://ftpmirror.gnu.org/gnu/coreutils/coreutils-#{@_ver}.tar.xz" source_sha256 '4458d8de7849df44ccab15e16b1548b285224dbba5f08fac070c1c0e0bcc4cfa' diff --git a/packages/cowsay.rb b/packages/cowsay.rb index c0e40bf9d..fdbf31236 100644 --- a/packages/cowsay.rb +++ b/packages/cowsay.rb @@ -4,6 +4,7 @@ class Cowsay < Package description 'cowsay is a program that generates ASCII pictures of a cow with a message.' homepage 'https://github.com/tnalpgge/rank-amateur-cowsay/' version '3.04' + license 'GPL-3' compatibility 'all' source_url 'https://github.com/tnalpgge/rank-amateur-cowsay/archive/cowsay-3.04.tar.gz' source_sha256 'd8b871332cfc1f0b6c16832ecca413ca0ac14d58626491a6733829e3d655878b' diff --git a/packages/cpio.rb b/packages/cpio.rb index f30f335d9..b75879241 100644 --- a/packages/cpio.rb +++ b/packages/cpio.rb @@ -4,6 +4,7 @@ class Cpio < Package description 'GNU cpio copies files into or out of a cpio or tar archive. The archive can be another file on the disk, a magnetic tape, or a pipe.' homepage 'https://www.gnu.org/software/cpio/' version '2.12' + license 'GPL-3' compatibility 'all' source_url 'http://ftp.gnu.org/gnu/cpio/cpio-2.12.tar.gz' source_sha256 '08a35e92deb3c85d269a0059a27d4140a9667a6369459299d08c17f713a92e73' diff --git a/packages/cppunit.rb b/packages/cppunit.rb index 6cabe3742..8a6ad0848 100644 --- a/packages/cppunit.rb +++ b/packages/cppunit.rb @@ -4,6 +4,7 @@ class Cppunit < Package description 'CppUnit is the C++ port of the famous JUnit framework for unit testing.' homepage 'https://sourceforge.net/projects/cppunit/' version '1.12.1' + license 'LGPL-2.1' compatibility 'all' source_url 'http://downloads.sourceforge.net/project/cppunit/cppunit/1.12.1/cppunit-1.12.1.tar.gz' source_sha256 'ac28a04c8e6c9217d910b0ae7122832d28d9917fa668bcc9e0b8b09acb4ea44a' diff --git a/packages/cpputest.rb b/packages/cpputest.rb index 0b41eec62..8a38a77dc 100644 --- a/packages/cpputest.rb +++ b/packages/cpputest.rb @@ -4,6 +4,7 @@ class Cpputest < Package description 'Unit testing and mocking framework for C/C++.' homepage 'https://cpputest.github.io/' version '3.8' + license 'BSD' compatibility 'all' source_url 'https://github.com/cpputest/cpputest/archive/v3.8.tar.gz' source_sha256 '2b95bb4a568f680cdcca678345a2c41c028275471c2ed7bf0b6f6f1f689c3b76' @@ -35,4 +36,3 @@ class Cpputest < Package system "make", "check" end end - diff --git a/packages/cpustat.rb b/packages/cpustat.rb index 34e7a0a02..b60a6e2b9 100644 --- a/packages/cpustat.rb +++ b/packages/cpustat.rb @@ -4,6 +4,7 @@ class Cpustat < Package description 'cpustat periodically dumps out the current CPU utilisation statistics of running processes.' homepage 'https://kernel.ubuntu.com/~cking/cpustat/' version '0.02.10' + license 'GPL-2+' compatibility 'all' source_url 'https://kernel.ubuntu.com/~cking/tarballs/cpustat/cpustat-0.02.10.tar.xz' source_sha256 'ea9ab5a970ec657496c0127e3e5d58d49ce0fe07e750b4aafcfeb4896ccd74e9' diff --git a/packages/cracklib.rb b/packages/cracklib.rb index c987280f9..c42b384e7 100644 --- a/packages/cracklib.rb +++ b/packages/cracklib.rb @@ -4,6 +4,7 @@ class Cracklib < Package description 'The CrackLib package contains a library used to enforce strong passwords by comparing user selected passwords to words in chosen word lists.' homepage 'https://github.com/cracklib/cracklib' version '2.9.7' + license 'LGPL-2.1' compatibility 'all' source_url 'https://github.com/cracklib/cracklib/archive/v2.9.7.tar.gz' source_sha256 'ff4e6c3f86494c93719f5e4186e2c3ea9e265f41972ec21f7b87852aced704e6' diff --git a/packages/cras.rb b/packages/cras.rb index 298bbf518..daa012e5e 100644 --- a/packages/cras.rb +++ b/packages/cras.rb @@ -4,6 +4,7 @@ class Cras < Package description 'ChromeOS Audio Server' homepage 'https://www.chromium.org/chromium-os/chromiumos-design-docs/cras-chromeos-audio-server' version 'stabilize-13654.B' + license 'BSD-Google' compatibility 'all' source_url "https://chromium.googlesource.com/chromiumos/third_party/adhd/+/refs/heads/#{version}/cras/README.md" source_sha256 '355514e78ba4d1736f53c427c329bdfad327afc052a1b78d543cb4840d199b4e' @@ -28,8 +29,8 @@ class Cras < Package depends_on 'speexdsp' depends_on 'sbc' depends_on 'dbus' - depends_on 'rust' => ':build' - depends_on 'llvm' => ':build' + depends_on 'rust' => :build + depends_on 'llvm' => :build depends_on 'gtest' => :build depends_on 'eudev' diff --git a/packages/crew_profile.rb b/packages/crew_profile.rb index 316351557..096f989d9 100644 --- a/packages/crew_profile.rb +++ b/packages/crew_profile.rb @@ -3,7 +3,8 @@ require 'package' class Crew_profile < Package description 'A profile for Chromebrew, to be used instead of ~/.*rc' homepage 'https://github.com/skycocker/chromebrew' - version "1" + version '1' + license 'GPL-3+' compatibility 'all' source_url 'https://github.com/skycocker/chromebrew/raw/511ee9cb3138e113df74ddf0dee057ef5d9a46fd/README.md' source_sha256 '27b201cec82d903a1856972e6d7ff1ac58a67c761d729ecd7fd14f24fa9d9901' diff --git a/packages/cronie.rb b/packages/cronie.rb index d22d870bc..10a7b942f 100644 --- a/packages/cronie.rb +++ b/packages/cronie.rb @@ -4,6 +4,7 @@ class Cronie < Package description 'Cronie contains the standard UNIX daemon crond that runs specified programs at scheduled times and related tools.' homepage 'https://github.com/cronie-crond/cronie' version '1.5.2' + license 'ISC, BSD, BSD-2 and GPL-2' compatibility 'all' source_url 'https://github.com/cronie-crond/cronie/releases/download/cronie-1.5.2/cronie-1.5.2.tar.gz' source_sha256 '370bf34641691489330e708bd4cdbd779267296a030668a12f77b7e36872fd75' diff --git a/packages/cros_resize.rb b/packages/cros_resize.rb index a5e07d7c4..3486bde94 100644 --- a/packages/cros_resize.rb +++ b/packages/cros_resize.rb @@ -4,6 +4,7 @@ class Cros_resize < Package description 'A partition resizing tool for Chrome OS devices.' homepage 'https://github.com/ethanmad/chromeos-resize' version '6b01b7' + license 'GPL-3' compatibility 'all' source_url 'https://raw.githubusercontent.com/ethanmad/chromeos-resize/6b01b71f649dbf77b2e6ac932e8ad868e8272250/cros-resize.sh' source_sha256 '747ef80f29a94500304f23595c5edfa46edd4b4fa5a40d399b474984004e9ffe' @@ -14,7 +15,7 @@ class Cros_resize < Package }) def self.install - system 'wget https://raw.githubusercontent.com/ethanmad/chromeos-resize/6b01b71f649dbf77b2e6ac932e8ad868e8272250/cros-resize.sh' + system 'curl -#LO https://raw.githubusercontent.com/ethanmad/chromeos-resize/6b01b71f649dbf77b2e6ac932e8ad868e8272250/cros-resize.sh' abort 'Checksum mismatch. :/ Try again.'.lightred unless Digest::SHA256.hexdigest( File.read('cros-resize.sh') ) == '747ef80f29a94500304f23595c5edfa46edd4b4fa5a40d399b474984004e9ffe' system "install -Dm755 cros-resize.sh #{CREW_DEST_PREFIX}/bin/cros-resize" end diff --git a/packages/cryptsetup.rb b/packages/cryptsetup.rb index 263a4924d..c6248d110 100644 --- a/packages/cryptsetup.rb +++ b/packages/cryptsetup.rb @@ -4,6 +4,7 @@ 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.3' + license 'GPL-2+' compatibility 'all' source_url 'https://www.kernel.org/pub/linux/utils/cryptsetup/v2.0/cryptsetup-2.0.3.tar.xz' source_sha256 '4d6cca04c1f5ff4a68d045d190efb2623087eda0274ded92f92a4b6911e501d4' diff --git a/packages/cscope.rb b/packages/cscope.rb index 4fbda8f02..9774148a0 100644 --- a/packages/cscope.rb +++ b/packages/cscope.rb @@ -4,6 +4,7 @@ class Cscope < Package description 'Cscope is a developer\'s tool for browsing source code.' homepage 'http://cscope.sourceforge.net/' version '15.9' + license 'BSD and GPL-2+' compatibility 'all' source_url 'https://downloads.sourceforge.net/project/cscope/cscope/v15.9/cscope-15.9.tar.gz' source_sha256 'c5505ae075a871a9cd8d9801859b0ff1c09782075df281c72c23e72115d9f159' diff --git a/packages/csvkit.rb b/packages/csvkit.rb index 035d0370a..f42c8eaba 100644 --- a/packages/csvkit.rb +++ b/packages/csvkit.rb @@ -4,6 +4,7 @@ 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.4' + license 'MIT' compatibility 'all' source_url 'https://github.com/wireservice/csvkit/archive/1.0.4.tar.gz' source_sha256 'e19c609894c42e850c25af1ca9082753f76f231450f70a70c46344bec45c1a66' diff --git a/packages/ctags.rb b/packages/ctags.rb index eefc3f977..cc4ea0aef 100644 --- a/packages/ctags.rb +++ b/packages/ctags.rb @@ -4,6 +4,7 @@ class Ctags < Package description 'Exuberant Ctags is a multilanguage reimplementation of the Unix ctags utility.' homepage 'https://sourceforge.net/projects/ctags/' version '5.8-1' + license 'GPL-2+' compatibility 'all' source_url 'https://downloads.sourceforge.net/project/ctags/ctags/5.8/ctags-5.8.tar.gz' source_sha256 '0e44b45dcabe969e0bbbb11e30c246f81abe5d32012db37395eb57d66e9e99c7' diff --git a/packages/ctorrent.rb b/packages/ctorrent.rb index 8c2064136..5ed4b5b91 100644 --- a/packages/ctorrent.rb +++ b/packages/ctorrent.rb @@ -4,6 +4,7 @@ class Ctorrent < Package description 'CTorrent is a BitTorrent client implemented in C++ to be lightweight and quick.' homepage 'http://www.rahul.net/dholmes/ctorrent/' version '3.3.2' + license 'GPL-2' compatibility 'all' source_url 'http://www.rahul.net/dholmes/ctorrent/ctorrent-dnh3.3.2.tar.gz' source_sha256 'c87366c91475931f75b924119580abd06a7b3cb3f00fef47346552cab1e24863' diff --git a/packages/cups.rb b/packages/cups.rb index 991a86a86..697bf2e32 100644 --- a/packages/cups.rb +++ b/packages/cups.rb @@ -5,6 +5,7 @@ class Cups < Package homepage 'https://github.com/OpenPrinting/cups' @_ver = '2.3.3op2' version @_ver + license 'Apache-2.0' compatibility 'all' source_url "https://github.com/OpenPrinting/cups/releases/download/v#{@_ver}/cups-#{@_ver}-source.tar.gz" source_sha256 'deb3575bbe79c0ae963402787f265bfcf8d804a71fc2c94318a74efec86f96df' diff --git a/packages/curl.rb b/packages/curl.rb index d26243905..1c45ae169 100644 --- a/packages/curl.rb +++ b/packages/curl.rb @@ -5,6 +5,7 @@ class Curl < Package homepage 'https://curl.se/' @_ver = '7.75.0' version "#{@_ver}-1" + license 'curl' compatibility 'all' source_url "https://curl.se/download/curl-#{@_ver}.tar.xz" source_sha256 'fe0c49d8468249000bda75bcfdf9e30ff7e9a86d35f1a21f428d79c389d55675' @@ -34,7 +35,7 @@ class Curl < Package depends_on 'zstd' depends_on 'rtmpdump' depends_on 'ca_certificates' - + def self.build raise StandardError, 'Please remove libiconv before building.' if File.exist?("#{CREW_LIB_PREFIX}/libcharset.so") diff --git a/packages/cvs.rb b/packages/cvs.rb index e04ab152e..c765445e6 100644 --- a/packages/cvs.rb +++ b/packages/cvs.rb @@ -4,6 +4,7 @@ class Cvs < Package description "CVS is a version control system, an important component of Source Configuration Management (SCM). Using it, you can record the history of sources files, and documents. It fills a similar role to the free software RCS, PRCS, and Aegis packages." homepage "http://www.nongnu.org/cvs/" version "1.11.23-1" + license 'GPL-2 LGPL-2' compatibility 'all' source_url "https://ftp.gnu.org/non-gnu/cvs/source/stable/1.11.23/cvs-1.11.23.tar.bz2" source_sha256 "400f51b59d85116e79b844f2d5dbbad4759442a789b401a94aa5052c3d7a4aa9"