diff --git a/packages/m4.rb b/packages/m4.rb index 7eb264ef1..bbc386d34 100644 --- a/packages/m4.rb +++ b/packages/m4.rb @@ -5,7 +5,7 @@ class M4 < Package homepage 'https://www.gnu.org/software/m4/' version '1.4.18' source_url 'https://ftp.gnu.org/gnu/m4/m4-1.4.18.tar.xz' - source_sha1 '228604686ca23f42e48b98930babeb5d217f1899' + source_sha256 'f2c1e86ca0a404ff281631bdc8377638992744b175afb806e25871a24a934e07' depends_on 'libsigsegv' diff --git a/packages/make.rb b/packages/make.rb index 13e7125f8..58ddb92f5 100644 --- a/packages/make.rb +++ b/packages/make.rb @@ -5,7 +5,7 @@ class Make < Package homepage 'https://www.gnu.org/software/make/' version '4.2' source_url 'ftp://ftp.gnu.org/gnu/make/make-4.2.tar.bz2' - source_sha1 'd78b84a219b4c16593544f541dff7eb765ce3d74' + source_sha256 '4e5ce3b62fe5d75ff8db92b7f6df91e476d10c3aceebf1639796dc5bfece655f' depends_on 'gcc' => :build depends_on 'linuxheaders' => :build diff --git a/packages/mandb.rb b/packages/mandb.rb index 9cc7bf2a6..be6ee8912 100644 --- a/packages/mandb.rb +++ b/packages/mandb.rb @@ -5,7 +5,7 @@ class Mandb < Package homepage 'http://savannah.nongnu.org/projects/man-db' version '2.7.6.1' source_url 'http://download.savannah.gnu.org/releases/man-db/man-db-2.7.6.1.tar.xz' - source_sha1 '919dcb34d604faac9b18a38ead07f457d0dab501' + source_sha256 '08edbc52f24aca3eebac429b5444efd48b9b90b9b84ca0ed5507e5c13ed10f3f' depends_on 'less' depends_on 'libpipeline' diff --git a/packages/mapserver.rb b/packages/mapserver.rb index b48d4bf72..19252d003 100644 --- a/packages/mapserver.rb +++ b/packages/mapserver.rb @@ -5,8 +5,8 @@ class Mapserver < Package homepage 'http://mapserver.org/' version '7.0.4' source_url 'http://download.osgeo.org/mapserver/mapserver-7.0.4.tar.gz' - source_sha1 '8fb13c27da5902e6d9ad50f3eba550bd90750607' - + source_sha256 'c91d40da5cc242b20ca7e29c41bd9eb23097b98a77908b1d708e9708f6f6cf69' + depends_on 'cmake' depends_on 'freetype' depends_on 'cairo' diff --git a/packages/memcached.rb b/packages/memcached.rb index bfbe5a7c7..ed826fa8f 100644 --- a/packages/memcached.rb +++ b/packages/memcached.rb @@ -5,7 +5,7 @@ class Memcached < Package homepage 'https://memcached.org/' version '1.4.34' source_url 'https://memcached.org/files/memcached-1.4.34.tar.gz' - source_sha1 '7c7214f5183c6e20c22b243e21ed1ffddb91497e' + source_sha256 '5064c87f91a37d822dfeab8768490c55fe686a742f07f67c7121101e48d87c79' depends_on 'libevent' diff --git a/packages/mercurial.rb b/packages/mercurial.rb index a86323980..0e9c81628 100644 --- a/packages/mercurial.rb +++ b/packages/mercurial.rb @@ -5,13 +5,13 @@ class Mercurial < Package homepage 'https://www.mercurial-scm.org/' version '4.1' source_url 'https://www.mercurial-scm.org/release/mercurial-4.1.tar.gz' - source_sha1 'd5f88e05cbbd8f13dd5fc4004433f54435fc27c8' + source_sha256 '7b33c32cdd1d518bc2e2ae223e6ef63c486cf52e9d01a45b99cf8eab7bea5274' # what's the best route for adding a minimum version symbol as a constraint? depends_on "python27" def self.build - # would be great to avoid even downloading the source tarball if this dependency wasn't met + # would be great to avoid even downloading the source tarball if this dependency wasn't met py_ver = %x[python -V 2>&1 | awk '{ print $2 }'].strip abort '[!] python 2.7.13 or higher is required for tig, please run `crew upgrade python27` first.' unless py_ver > '2.7.12' if !%x[pip list | grep docutils].include? "docutils" @@ -22,7 +22,7 @@ class Mercurial < Package end def self.install - system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" + system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" puts "------------------" puts "Installation success!" puts "Cleaning up dependencies only required for build..." diff --git a/packages/mlocate.rb b/packages/mlocate.rb index 9bcd4109d..cb27166c3 100644 --- a/packages/mlocate.rb +++ b/packages/mlocate.rb @@ -5,12 +5,12 @@ class Mlocate < Package homepage 'https://pagure.io/mlocate' version '0.26-1' source_url 'https://releases.pagure.org/mlocate/mlocate-0.26.tar.xz' - source_sha1 'c6e6d81b25359c51c545f4b8ba0f3b469227fcbc' + source_sha256 '3063df79fe198fb9618e180c54baf3105b33d88fe602ff2d8570aaf944f1263e' def self.build system "mkdir -p /usr/local/db/mlocate" system "sed -i 's,\$(localstatedir)/,/usr/local/db/,g' Makefile.*" - system "sed -i \"s/groupname = mlocate/groupname = $(whoami)/g\" Makefile.*" + system "sed -i \"s/groupname = mlocate/groupname = #{USER}/g\" Makefile.*" system "./configure" system "make" end diff --git a/packages/mongodb.rb b/packages/mongodb.rb index 61fc1144e..bf28ba481 100644 --- a/packages/mongodb.rb +++ b/packages/mongodb.rb @@ -5,11 +5,11 @@ class Mongodb < Package homepage 'https://www.mongodb.com/' version '3.0.8' binary_url ({ - i686: "https://www.dropbox.com/s/n32v3h34jswxhg7/mongodb-linux-i686-3.0.8.tar.gz?dl=0", - x86_64: "https://www.dropbox.com/s/two0chqyim5eo4a/mongodb-linux-x86_64-3.0.8.tar.gz?dl=0" + i686: 'https://www.dropbox.com/s/n32v3h34jswxhg7/mongodb-linux-i686-3.0.8.tar.gz?dl=0', + x86_64: 'https://www.dropbox.com/s/two0chqyim5eo4a/mongodb-linux-x86_64-3.0.8.tar.gz?dl=0' }) - binary_sha1 ({ - i686: "71fd4324ce91352416eea83149432b953928306e", - x86_64: "fdbf8ad9207dc5fd31af0113e9c00e02521e9101" + binary_sha256 ({ + i686: 'e4b837c7213d08b528c675710dbd3fb3d5cf761929d0d89d27232fe7609549a3', + x86_64: '0cacc59ab09d7031ebafc3ff008ff2e9305d9fafc590f1a0e52848342033197a' }) -end \ No newline at end of file +end diff --git a/packages/mono.rb b/packages/mono.rb index d5be1cc58..0aad4c0e8 100644 --- a/packages/mono.rb +++ b/packages/mono.rb @@ -5,7 +5,7 @@ class Mono < Package homepage 'http://www.mono-project.com/' version '4.4.0.148-1' source_url 'http://download.mono-project.com/sources/mono/mono-4.4.0.148.tar.bz2' - source_sha1 '8da7726b7c09df97856b55eda062356666928d35' + source_sha256 '38ad527608c26b2637472602d91d6af203dc4202be915e583fdc9e3a9252a5f3' def self.build system "./configure","--disable-dependency-tracking","--disable-silent-rules","--enable-nls=no","--prefix=/usr/local" diff --git a/packages/moonbuggy.rb b/packages/moonbuggy.rb index f23946093..d0d36f718 100644 --- a/packages/moonbuggy.rb +++ b/packages/moonbuggy.rb @@ -5,7 +5,7 @@ class Moonbuggy < Package homepage 'http://www.seehuhn.de/pages/moon-buggy' version '1.0.51' source_url 'http://m.seehuhn.de/programs/moon-buggy-1.0.51.tar.gz' - source_sha1 '7f1c5df99944acfe98eeb5f8d5ab6f28ef61ee7e' + source_sha256 '352dc16ccae4c66f1e87ab071e6a4ebeb94ff4e4f744ce1b12a769d02fe5d23f' depends_on 'ncurses' diff --git a/packages/moreutils.rb b/packages/moreutils.rb index c75481dd5..fa4698226 100644 --- a/packages/moreutils.rb +++ b/packages/moreutils.rb @@ -5,7 +5,7 @@ class Moreutils < Package homepage 'https://joeyh.name/code/moreutils/' version '0.60' source_url 'http://http.debian.net/debian/pool/main/m/moreutils/moreutils_0.60.orig.tar.xz' - source_sha1 '3af60490f763ece48b2fcba968903673c3e63495' + source_sha256 'e42d18bacbd2d003779a55fb3542befa5d1d217ee37c1874e8c497581ebc17c5' depends_on 'docbook' depends_on 'libxslt' diff --git a/packages/mosh.rb b/packages/mosh.rb index 08e2213d9..b8d75f374 100644 --- a/packages/mosh.rb +++ b/packages/mosh.rb @@ -5,7 +5,7 @@ class Mosh < Package homepage 'https://mosh.org/' version '1.3.0' source_url 'https://mosh.org/mosh-1.3.0.tar.gz' - source_sha1 '846698806d940c84028c04f68e289e31d9540d5f' + source_sha256 '320e12f461e55d71566597976bd9440ba6c5265fa68fbf614c6f1c8401f93376' depends_on 'protobuf' diff --git a/packages/mpc.rb b/packages/mpc.rb index e1a73940a..fde72bb28 100644 --- a/packages/mpc.rb +++ b/packages/mpc.rb @@ -10,10 +10,10 @@ class Mpc < Package i686: 'https://github.com/jam7/chrome-cross/releases/download/v1.7/mpc-1.0.3-chromeos-i686.tar.xz', x86_64: 'https://github.com/jam7/chrome-cross/releases/download/v1.7/mpc-1.0.3-chromeos-x86_64.tar.xz', }) - binary_sha1 ({ - aarch64: '275fdba883722c3a0c8dbc92e3fc7d7a5a88bc57', - armv7l: '275fdba883722c3a0c8dbc92e3fc7d7a5a88bc57', - i686: '19ac6cf905c86c71a4be7773882f742e9786ead9', - x86_64: '25586540bc6be6bfa9814ac65b3ee633c452c1b0', + binary_sha256 ({ + aarch64: '58518e1b1a26d4c48e101bea2d42c640b9dccdd0300fbda9cce9635dbdbfa4ba', + armv7l: '58518e1b1a26d4c48e101bea2d42c640b9dccdd0300fbda9cce9635dbdbfa4ba', + i686: 'ac2789b514e0b581c619a197d8e7cecae1bfc3c5251a9a9bb857d4a78d03ca1e', + x86_64: '6c39fe899b348b693736a662bd19168ffea70718533942b35491d7df0a4a2d35', }) end diff --git a/packages/mpfr.rb b/packages/mpfr.rb index cad81d995..93041a755 100644 --- a/packages/mpfr.rb +++ b/packages/mpfr.rb @@ -10,10 +10,10 @@ class Mpfr < Package i686: 'https://github.com/jam7/chrome-cross/releases/download/v1.7/mpfr-3.1.5-chromeos-i686.tar.xz', x86_64: 'https://github.com/jam7/chrome-cross/releases/download/v1.7/mpfr-3.1.5-chromeos-x86_64.tar.xz', }) - binary_sha1 ({ - aarch64: 'e388055aa9652e2c0c580f0e0cc26509d8c17f39', - armv7l: 'e388055aa9652e2c0c580f0e0cc26509d8c17f39', - i686: '87630dd77fbdad79f0382e64a9ddb82453d21a46', - x86_64: '6e137ee58ceca44fbc9bd0f35a2039993f7a0cc1', + binary_sha256 ({ + aarch64: '8a2f8a0059ae27778c51bb949f07b7920bc1e3a5942889c9809558a021296329', + armv7l: '8a2f8a0059ae27778c51bb949f07b7920bc1e3a5942889c9809558a021296329', + i686: 'c30a5f8c45262529953de89309ac6d65546ef3fa57e79a03aaa98f037d18db75', + x86_64: '60ce5bb3d89a917aae7fe1e753e221687eb7f7eb28ea2bf05c5cd4a766a510c8', }) end diff --git a/packages/mutt.rb b/packages/mutt.rb index b13e878fa..73a346309 100644 --- a/packages/mutt.rb +++ b/packages/mutt.rb @@ -5,7 +5,7 @@ class Mutt < Package homepage 'http://mutt.org/' version '1.8.2' source_url 'ftp://ftp.mutt.org/pub/mutt/mutt-1.8.2.tar.gz' - source_sha1 'bdac1201de464d63f61a663f3dcf1ee4484dbbb3' + source_sha256 '1d057bf1b565f2c38ee50c9a661654cbbe4165f98e25bfa361ebbd707d96f235' def self.build system 'mkdir /usr/local/mail' diff --git a/packages/mywanip.rb b/packages/mywanip.rb index bf99f1e2f..7293f0dde 100644 --- a/packages/mywanip.rb +++ b/packages/mywanip.rb @@ -5,7 +5,7 @@ class Mywanip < Package homepage 'https://gist.github.com/DennisLfromGA/ab40940d37be84ae3a88' version 'ab4094' source_url 'https://gist.github.com/DennisLfromGA/ab40940d37be84ae3a88/archive/b583835e8b2cb7edefc7ccbb911cb8eaf172d341.zip' - source_sha1 '1c26e5ed07283dbecb5a7cbaae0d9e408bedff89' + source_sha256 '789d22cfa60a40cf60d59e561500cd27e39ac03ecff2e948111a2a07f830fd67' def self.install system "chmod +x mywanip" diff --git a/packages/nano.rb b/packages/nano.rb index 6d3b56b05..d04cd764b 100644 --- a/packages/nano.rb +++ b/packages/nano.rb @@ -5,17 +5,17 @@ class Nano < Package homepage 'https://www.nano-editor.org/' version '2.8.4' source_url 'https://nano-editor.org/dist/v2.8/nano-2.8.4.tar.xz' - source_sha1 '83ac3285e50690205011a822eadb42709c0fb2f3' + source_sha256 'c7cf264f0f3e4af43ecdbc4ec72c3b1e831c69a1a5f6512d5b0c109e6bac7b11' depends_on 'buildessential' - depends_on 'ncurses' - + depends_on 'ncurses' + def self.build system "./configure CPPFLAGS=\"-I/usr/local/include/ncurses\"" system "make" end - + def self.install system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" - end + end end diff --git a/packages/nanomsg.rb b/packages/nanomsg.rb index 80ca0e0c7..d2045dcf1 100644 --- a/packages/nanomsg.rb +++ b/packages/nanomsg.rb @@ -5,7 +5,7 @@ class Nanomsg < Package homepage 'http://nanomsg.org/' version '1.0,0' source_url 'https://github.com/nanomsg/nanomsg/archive/1.0.0.tar.gz' - source_sha1 '57f90778a9bb7b95a7fd73910fd41894f3ee9cab' + source_sha256 '24afdeb71b2e362e8a003a7ecc906e1b84fd9f56ce15ec567481d1bb33132cc7' depends_on 'cmake' @@ -15,6 +15,6 @@ class Nanomsg < Package end def self.install - system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" + system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" end end diff --git a/packages/ncdu.rb b/packages/ncdu.rb index 483339f6f..0fdb5bb1a 100644 --- a/packages/ncdu.rb +++ b/packages/ncdu.rb @@ -5,9 +5,9 @@ class Ncdu < Package homepage 'https://dev.yorhel.nl/ncdu' version '1.12' source_url 'https://dev.yorhel.nl/download/ncdu-1.12.tar.gz' - source_sha1 'b79b1c44784f334dca74d89a49f49274f14cfeef' + source_sha256 '820e4e4747a2a2ec7a2e9f06d2f5a353516362c22496a10a9834f871b877499a' - depends_on "ncurses" + depends_on 'ncurses' def self.build system "./configure --prefix=/usr/local CPPFLAGS=-I/usr/local/include/ncurses" @@ -15,6 +15,6 @@ class Ncdu < Package end def self.install - system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" + system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" end end diff --git a/packages/ncftp.rb b/packages/ncftp.rb index 32aefa110..81ef2b737 100644 --- a/packages/ncftp.rb +++ b/packages/ncftp.rb @@ -5,7 +5,7 @@ class Ncftp < Package homepage 'http://ncftp.com/ncftp/' version '3.2.6' source_url 'ftp://ftp.ncftp.com/ncftp/ncftp-3.2.6-src.tar.gz' - source_sha1 'e2351802b40db18d6cbab2537a9644cd858b934d' + source_sha256 '129e5954850290da98af012559e6743de193de0012e972ff939df9b604f81c23' depends_on 'buildessential' @@ -13,8 +13,8 @@ class Ncftp < Package system "./configure" system "make" end - + def self.install system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" - end + end end diff --git a/packages/ncurses.rb b/packages/ncurses.rb index 772399c71..9de04ae53 100644 --- a/packages/ncurses.rb +++ b/packages/ncurses.rb @@ -5,20 +5,20 @@ class Ncurses < Package homepage 'https://www.gnu.org/software/ncurses/' version '6.0-2' source_url 'ftp://ftp.gnu.org/pub/gnu/ncurses/ncurses-6.0.tar.gz' - source_sha1 'acd606135a5124905da770803c05f1f20dd3b21c' + source_sha256 'f551c24b30ce8bfb6e96d9f59b42fbea30fa3a6123384172f9e7284bcf647260' - depends_on "diffutils" => :build - depends_on "ncursesw" + depends_on 'diffutils' => :build + depends_on 'ncursesw' def self.build system './configure', - '--prefix=/usr/local', - "--libdir=#{CREW_LIB_PREFIX}", - '--without-normal', - '--with-shared', - '--with-cxx-shared', - '--without-debug' - system "make" + '--prefix=/usr/local', + "--libdir=#{CREW_LIB_PREFIX}", + '--without-normal', + '--with-shared', + '--with-cxx-shared', + '--without-debug' + system 'make' end def self.install diff --git a/packages/ncursesw.rb b/packages/ncursesw.rb index 2c3f199c8..794c73520 100644 --- a/packages/ncursesw.rb +++ b/packages/ncursesw.rb @@ -5,30 +5,30 @@ class Ncursesw < Package homepage 'http://www.gnu.org/software/ncurses/' version '6.0-2' source_url 'ftp://ftp.gnu.org/pub/gnu/ncurses/ncurses-6.0.tar.gz' - source_sha1 'acd606135a5124905da770803c05f1f20dd3b21c' + source_sha256 'f551c24b30ce8bfb6e96d9f59b42fbea30fa3a6123384172f9e7284bcf647260' - depends_on "diffutils" => :build + depends_on 'diffutils' => :build def self.build # Check ncurses doesn't conflict with ncrusesw if File.exist? CREW_CONFIG_PATH + "meta/ncurses.filelist" if `grep include/ncursesw #{CREW_CONFIG_PATH}meta/ncurses.filelist` != '' - puts - puts "PLEASE PERFORMS `crew upgrade ncurses` OR `sudo crew remove ncurses` FIRST" - puts - exit 1 + puts + puts "PLEASE PERFORM `crew upgrade ncurses` OR `crew remove ncurses` FIRST" + puts + exit 1 end end # Build ncursesw system './configure', - '--prefix=/usr/local', - "--libdir=#{CREW_LIB_PREFIX}", - '--without-normal', - '--with-shared', - '--with-cxx-shared', - '--without-debug', - '--enable-widec' - system "make" + '--prefix=/usr/local', + "--libdir=#{CREW_LIB_PREFIX}", + '--without-normal', + '--with-shared', + '--with-cxx-shared', + '--without-debug', + '--enable-widec' + system 'make' end def self.install diff --git a/packages/neovim.rb b/packages/neovim.rb index 8a339c583..c0a7a5457 100644 --- a/packages/neovim.rb +++ b/packages/neovim.rb @@ -5,7 +5,7 @@ class Neovim < Package homepage 'https://neovim.io/' version '0.1.7' source_url 'https://github.com/neovim/neovim/archive/v0.1.7.tar.gz' - source_sha1 '00e67f981105f1acbe06df1dbea21b6f7fa6d9b8' + source_sha256 'd8f885d019b1ad608f36ae23b8f1b15b7e33585e16f7514666ab6c9809bb4b7e' depends_on 'libtool' depends_on 'autoconf' diff --git a/packages/netcat.rb b/packages/netcat.rb index 05eeb0c0f..339923a96 100644 --- a/packages/netcat.rb +++ b/packages/netcat.rb @@ -5,8 +5,8 @@ class Netcat < Package homepage 'http://netcat.sourceforge.net/' version '0.7.1' source_url 'http://downloads.sourceforge.net/project/netcat/netcat/0.7.1/netcat-0.7.1.tar.gz' - source_sha1 'b5cbc52a7ceed2fd5c4f5081f5747130b2d0fe01' - + source_sha256 '30719c9a4ffbcf15676b8f528233ccc54ee6cba96cb4590975f5fd60c68a066f' + def self.build system "./configure --prefix=/usr/local" system "make" diff --git a/packages/nethack4.rb b/packages/nethack4.rb index d5c1bdae3..6855c3192 100644 --- a/packages/nethack4.rb +++ b/packages/nethack4.rb @@ -6,7 +6,7 @@ class Nethack4 < Package # "nethack4" fork of nethack with a few patches and a modern build system version '4.3.0-beta2' source_url 'http://nethack4.org/media/releases/nethack4-4.3-beta2.tar.gz' - source_sha1 'e261c0ac618589a47e63525ed56eb17e72b14754' + source_sha256 'b143a86b5e1baf55c663ae09c2663b169d265e95ac43154982296a1887d05f15' depends_on 'buildessential' depends_on 'ncurses' @@ -14,22 +14,21 @@ class Nethack4 < Package depends_on 'flex' depends_on 'perl' - def self.build target="build" system "mkdir -p " + target Dir.chdir target do #build with rpath pointing at /usr/local - system "/usr/local/bin/perl ../aimake --config-only -i /usr/local/ --directory-layout=prefix --without=gui" + system "/usr/local/bin/perl ../aimake --config-only -i /usr/local/ --directory-layout=prefix --without=gui" system "/usr/local/bin/perl ../aimake" end end - + def self.install target="build" Dir.chdir target do #install in destdir so package manager can keep track - system "/usr/local/bin/perl ../aimake --install-only -i #{CREW_DEST_DIR}/usr/local/ --directory-layout=prefix --without=gui" + system "/usr/local/bin/perl ../aimake --install-only -i #{CREW_DEST_DIR}/usr/local/ --directory-layout=prefix --without=gui" end end end diff --git a/packages/nettle.rb b/packages/nettle.rb index b8d40f09f..34d3983e7 100644 --- a/packages/nettle.rb +++ b/packages/nettle.rb @@ -5,7 +5,7 @@ class Nettle < Package homepage 'http://www.lysator.liu.se/~nisse/nettle/' version '3.3' source_url 'https://ftp.gnu.org/gnu/nettle/nettle-3.3.tar.gz' - source_sha1 'bf2b4d3a41192ff6177936d7bc3bee4cebeb86c4' + source_sha256 '46942627d5d0ca11720fec18d81fc38f7ef837ea4197c1f630e71ce0d470b11e' depends_on 'buildessential' depends_on 'm4' diff --git a/packages/newlisp.rb b/packages/newlisp.rb index 8794e7aad..73bb5dd0d 100644 --- a/packages/newlisp.rb +++ b/packages/newlisp.rb @@ -5,7 +5,7 @@ class Newlisp < Package homepage 'http://www.newlisp.org/' version '10.7.1' source_url 'https://github.com/kosh04/newlisp/archive/10.7.1.tar.gz' - source_sha1 '258d88a6c52ecea73da1a7774fa4f53a265da073' + source_sha256 '87e3ea4bd2d42118af44f2f881302af32a990164fb47088bcad0be6dc88c5c48' #depends_on 'readline' #depends_on 'libffi' diff --git a/packages/nginx.rb b/packages/nginx.rb index f197d2c2d..1f0c62f5c 100644 --- a/packages/nginx.rb +++ b/packages/nginx.rb @@ -5,10 +5,10 @@ class Nginx < Package homepage 'http://nginx.org/' version '1.11.6-1' source_url 'http://nginx.org/download/nginx-1.11.6.tar.gz' - source_sha1 '51903b721a5ee721568fc59f0a243df5356a98de' - + source_sha256 '3153abbb518e2d9c032e1b127da3dc0028ad36cd4679e5f3be0b8afa33bc85bd' + depends_on 'pcre' - + def self.build system "./configure" system "make" diff --git a/packages/nmap.rb b/packages/nmap.rb index 528907ca2..736b64016 100644 --- a/packages/nmap.rb +++ b/packages/nmap.rb @@ -5,16 +5,16 @@ class Nmap < Package homepage 'https://nmap.org/' version '7.50' source_url 'https://nmap.org/dist/nmap-7.50.tgz' - source_sha1 '9e77da9079489e86db9634e87efbd88500de9c65' + source_sha256 '40febe4a4e4b583aabcdd8cfceb6ae0f366dbb2fede96e4a529340bdb6d24776' depends_on 'buildessential' - + def self.build system "./configure --with-pcap=linux --without-zenmap" system "make" end - + def self.install system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" - end + end end diff --git a/packages/node.rb b/packages/node.rb index 1b66d57f1..e31eb027a 100644 --- a/packages/node.rb +++ b/packages/node.rb @@ -5,7 +5,7 @@ class Node < Package homepage 'https://nodejs.org/en/' version '6.11.0' source_url 'https://nodejs.org/dist/v6.11.0/node-v6.11.0.tar.xz' - source_sha1 '1e408d9981606c5a01f46b4b6c93c0b30fa49d8c' + source_sha256 '02ba35391edea2b294c736489af01954ce6e6c39d318f4423ae6617c69ef0a51' depends_on 'buildessential' depends_on 'python27' @@ -17,7 +17,7 @@ class Node < Package def self.install system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" - + # Fix Permissiongs for -g installs of node packages system "sudo chown -R chronos /usr/local/bin" system "sudo chown -R chronos /usr/local/share" diff --git a/packages/node_current.rb b/packages/node_current.rb index 35cefd17d..dfd80e8a8 100644 --- a/packages/node_current.rb +++ b/packages/node_current.rb @@ -5,7 +5,7 @@ class Node_current < Package homepage 'https://nodejs.org/en/' version '8.1.2' source_url 'https://nodejs.org/dist/v8.1.2/node-v8.1.2.tar.gz' - source_sha1 'e80d3e6ae766349a925911f0a8e5533827c58673' + source_sha256 'd717b364868956e0b775145e57a84e63962a9cf83146e778547fc71bb27a2251' depends_on 'buildessential' depends_on 'python27' @@ -27,7 +27,7 @@ class Node_current < Package system "sudo chown -R chronos /usr/local/bin" system "sudo chown -R chronos /usr/local/share" if Dir.exists?('/usr/local/lib/node_modules') - system "sudo chown -R chronos /usr/local/lib/node_modules" + system "sudo chown -R chronos /usr/local/lib/node_modules" end end end diff --git a/packages/npth.rb b/packages/npth.rb index 17aad2045..a00ecc7a7 100644 --- a/packages/npth.rb +++ b/packages/npth.rb @@ -5,7 +5,7 @@ class Npth < Package homepage 'https://www.gnupg.org/related_software/npth/index.html' version '1.3' source_url 'https://www.gnupg.org/ftp/gcrypt/npth/npth-1.3.tar.bz2' - source_sha1 '1b21507cfa3f58bdd19ef2f6800ab4cb67729972' + source_sha256 'bca81940436aed0734eb8d0ff8b179e04cc8c087f5625204419f5f45d736a82a' def self.build system "./configure --prefix=/usr/local" @@ -13,6 +13,6 @@ class Npth < Package end def self.install - system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" + system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" end end diff --git a/packages/openconnect.rb b/packages/openconnect.rb index 057fd419e..bea122273 100644 --- a/packages/openconnect.rb +++ b/packages/openconnect.rb @@ -31,7 +31,7 @@ class Openconnect < Package description 'OpenConnect is an SSL VPN client initially created to support Cisco\'s AnyConnect SSL VPN.' homepage 'http://www.infradead.org/openconnect/' source_url 'ftp://ftp.infradead.org/pub/openconnect/openconnect-7.06.tar.gz' - source_sha1 '2351408693aab0c6bc97d37e68b4a869fbb217ed' + source_sha256 'facf695368dc4537a6a30e2147be90b1d77ee3cb2d269eaef070b6d9ddab70f2' depends_on 'buildessential' depends_on 'libxml2' diff --git a/packages/openjpeg.rb b/packages/openjpeg.rb index 78d777620..b977858a2 100644 --- a/packages/openjpeg.rb +++ b/packages/openjpeg.rb @@ -5,7 +5,7 @@ class Openjpeg < Package homepage 'https://github.com/uclouvain/openjpeg/' version '2.1.2' source_url 'https://github.com/uclouvain/openjpeg/archive/v2.1.2.tar.gz' - source_sha1 'c8671e7f577fdc58abde1e1f32b10d372e6f9b07' + source_sha256 '4ce77b6ef538ef090d9bde1d5eeff8b3069ab56c4906f083475517c2c023dfa7' depends_on 'cmake' diff --git a/packages/openldap.rb b/packages/openldap.rb index 260da6d1b..6272cf51a 100644 --- a/packages/openldap.rb +++ b/packages/openldap.rb @@ -5,7 +5,7 @@ class Openldap < Package homepage 'http://www.openldap.org/' version '2.4.44' source_url 'ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/openldap-2.4.44.tgz' - source_sha1 '016a738d050a68d388602a74b5e991035cdba149' + source_sha256 'd7de6bf3c67009c95525dde3a0212cc110d0a70b92af2af8e3ee800e81b88400' def self.build system "./configure --disable-slapd --prefix=/usr/local" diff --git a/packages/openssh.rb b/packages/openssh.rb index ad9ffc122..0ab340bfb 100644 --- a/packages/openssh.rb +++ b/packages/openssh.rb @@ -5,7 +5,7 @@ class Openssh < Package homepage 'https://www.openssh.com/' version '7.5' source_url 'https://github.com/openssh/openssh-portable/archive/V_7_5_P1.tar.gz' - source_sha1 '3c5d829be2d30ed80feef708231ec223cd37b264' + source_sha256 '00bfc71a4b8f58554892bae561ea0d7f4a462c6940c16c6c943822baa6ba4f84' depends_on 'buildessential' depends_on 'autoconf' diff --git a/packages/openssl.rb b/packages/openssl.rb index 17676b0c1..797a9b1df 100644 --- a/packages/openssl.rb +++ b/packages/openssl.rb @@ -6,14 +6,14 @@ class Openssl < Package version '1.0.2l' source_url 'https://github.com/openssl/openssl/archive/OpenSSL_1_0_2l.tar.gz' - source_sha1 '5bea0957b371627e8ebbee5bef221519e94d547c' + source_sha256 'a3d3a7c03c90ba370405b2d12791598addfcafb1a77ef483c02a317a56c08485' binary_url ({ aarch64: 'https://github.com/jam7/chromebrew/releases/download/binaries/openssl-1.0.2l-chromeos-armv7l.tar.xz', armv7l: 'https://github.com/jam7/chromebrew/releases/download/binaries/openssl-1.0.2l-chromeos-armv7l.tar.xz', }) - binary_sha1 ({ - aarch64: '4c9eb37df898e9495a8f53e3aa7f6058063fa8ce', - armv7l: '4c9eb37df898e9495a8f53e3aa7f6058063fa8ce', + binary_sha256 ({ + aarch64: '4af16174aa6a9f565a5895fedea89daf0c8fb66b8f26b0c8416f5456aa440ea5', + armv7l: '4af16174aa6a9f565a5895fedea89daf0c8fb66b8f26b0c8416f5456aa440ea5', }) depends_on 'perl' => :build diff --git a/packages/optipng.rb b/packages/optipng.rb index d80b55f99..e3443ca31 100644 --- a/packages/optipng.rb +++ b/packages/optipng.rb @@ -5,8 +5,8 @@ class Optipng < Package homepage 'http://optipng.sourceforge.net/' version '0.7.6-1' source_url 'http://prdownloads.sourceforge.net/optipng/optipng-0.7.6.tar.gz' - source_sha1 '3b3e31430e735589470c4af204354d38823f4989' - + source_sha256 '4870631fcbd3825605f00a168b8debf44ea1cda8ef98a73e5411eee97199be80' + depends_on 'libpng' depends_on 'zlibpkg' @@ -16,6 +16,6 @@ class Optipng < Package end def self.install - system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" + system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" end end diff --git a/packages/p11kit.rb b/packages/p11kit.rb index 1eb1ef0b6..dd16f3d49 100644 --- a/packages/p11kit.rb +++ b/packages/p11kit.rb @@ -5,7 +5,7 @@ class P11kit < Package homepage 'https://p11-glue.freedesktop.org/p11-kit.html' version '0.23.2-1' source_url 'https://p11-glue.freedesktop.org/releases/p11-kit-0.23.2.tar.gz' - source_sha1 '4da0d7b47935b6cb0f321dd00358b063ae42df71' + source_sha256 'ba726ea8303c97467a33fca50ee79b7b35212964be808ecf9b145e9042fdfaf0' depends_on 'diffutils' => :build depends_on 'libffi' diff --git a/packages/p7zip.rb b/packages/p7zip.rb index e742e72f9..b4c674987 100644 --- a/packages/p7zip.rb +++ b/packages/p7zip.rb @@ -5,7 +5,7 @@ class P7zip < Package homepage 'http://p7zip.sourceforge.net/' version '16.02' source_url 'http://downloads.sourceforge.net/p7zip/p7zip_16.02_src_all.tar.bz2' - source_sha1 'e8819907132811aa1afe5ef296181d3a15cc8f22' + source_sha256 '5eb20ac0e2944f6cb9c2d51dd6c4518941c185347d4089ea89087ffdd6e2341f' def self.build system "cp", "makefile.linux_any_cpu", "makefile.machine" @@ -13,6 +13,6 @@ class P7zip < Package end def self.install - system "make", "DEST_DIR=#{CREW_DEST_DIR}", "install" + system "make", "DEST_DIR=#{CREW_DEST_DIR}", "install" end end diff --git a/packages/pacparser.rb b/packages/pacparser.rb index 74c6ccc1a..b98cbed99 100644 --- a/packages/pacparser.rb +++ b/packages/pacparser.rb @@ -5,7 +5,7 @@ class Pacparser < Package homepage 'http://pacparser.manugarg.com/' version '1.3.7' source_url 'https://github.com/pacparser/pacparser/archive/1.3.7.tar.gz' - source_sha1 'bb06b1a0eaeb882877c5afa45cb00b540ee57f5f' + source_sha256 '575c5d8096b4c842b2af852bbb8bcfde96170b28b49f33249dbe2057a8beea13' def self.build system "make -C src" diff --git a/packages/pagemon.rb b/packages/pagemon.rb index cfb2228d1..b4812064f 100644 --- a/packages/pagemon.rb +++ b/packages/pagemon.rb @@ -5,9 +5,9 @@ class Pagemon < Package homepage 'http://kernel.ubuntu.com/~cking/pagemon/' version '0.01.10' source_url 'http://kernel.ubuntu.com/~cking/tarballs/pagemon/pagemon-0.01.10.tar.gz' - source_sha1 'bc0b4c6db0e1551711e90ffa99162cbbe6217056' + source_sha256 '82c240b44b7000fc57355b366bfe28a47a4da857ddaea0ee0ade9d3eae037f54' - depends_on "ncurses" + depends_on 'ncurses' def self.build system "sed -i 's,/usr,/usr/local,g' Makefile" diff --git a/packages/pango.rb b/packages/pango.rb index c945d06b4..6e50c4926 100644 --- a/packages/pango.rb +++ b/packages/pango.rb @@ -5,7 +5,7 @@ class Pango < Package homepage 'http://www.pango.org/' version '1.40.0' source_url 'https://ftp.gnome.org/pub/gnome/sources/pango/1.40/pango-1.40.0.tar.xz' - source_sha1 '5e1394f2c063747593cb8157ebd953103b8000d2' + source_sha256 'da17985df314cb07d066ab5424f59c21ce973ece05b7de4df04d798ec8511c8b' depends_on 'freetype' depends_on 'fontconfig' diff --git a/packages/patch.rb b/packages/patch.rb index 8a58e5dca..0b11e338c 100644 --- a/packages/patch.rb +++ b/packages/patch.rb @@ -5,7 +5,7 @@ class Patch < Package homepage 'http://savannah.gnu.org/projects/patch/' version '2.7.5' source_url 'https://ftp.gnu.org/gnu/patch/patch-2.7.5.tar.xz' - source_sha1 '8fd8f8f8ba640d871bce1bd33c7fd5e2ebe03a1e' + source_sha256 'fd95153655d6b95567e623843a0e77b81612d502ecf78a489a4aed7867caa299' def self.build system './configure --prefix=/usr/local' diff --git a/packages/patchelf.rb b/packages/patchelf.rb index 5a81ca3c2..22ce07785 100644 --- a/packages/patchelf.rb +++ b/packages/patchelf.rb @@ -5,7 +5,7 @@ class Patchelf < Package homepage 'http://nixos.org/patchelf.html' version '0.8-2' source_url 'http://nixos.org/releases/patchelf/patchelf-0.8/patchelf-0.8.tar.bz2' - source_sha1 'd0645e9cee6f8e583ae927311c7ce88d29f416fc' + source_sha256 'c99f84d124347340c36707089ec8f70530abd56e7827c54d506eb4cc097a17e7' def self.build system "./configure", "prefix=/usr/local" diff --git a/packages/patchutils.rb b/packages/patchutils.rb index a5d25f6fa..4e840b4cc 100644 --- a/packages/patchutils.rb +++ b/packages/patchutils.rb @@ -5,7 +5,7 @@ class Patchutils < Package homepage 'http://cyberelk.net/tim/patchutils/' version '0.3.4' source_url 'http://cyberelk.net/tim/data/patchutils/stable/patchutils-0.3.4.tar.xz' - source_sha1 'b1d91eb1e2213450eae666a4701b3f917625dea3' + source_sha256 'cf55d4db83ead41188f5b6be16f60f6b76a87d5db1c42f5459d596e81dabe876' def self.build system './configure --prefix=/usr/local' diff --git a/packages/pciutils.rb b/packages/pciutils.rb index 227938e7d..b8011b0c0 100644 --- a/packages/pciutils.rb +++ b/packages/pciutils.rb @@ -5,7 +5,7 @@ class Pciutils < Package homepage 'http://mj.ucw.cz/sw/pciutils/' version '3.5.2' source_url 'https://www.kernel.org/pub/software/utils/pciutils/pciutils-3.5.2.tar.xz' - source_sha1 '29d9a75ce2a2d92721b6e92c7c89236b4c91041f' + source_sha256 '3a99141a9f40528d0a0035665a06dc37ddb1ae341658e51b50a76ecf86235efc' def self.build system "make", "PREFIX=/usr/local", "SHARED=yes" diff --git a/packages/pcre.rb b/packages/pcre.rb index 99de76960..6d1edd6b6 100644 --- a/packages/pcre.rb +++ b/packages/pcre.rb @@ -5,8 +5,8 @@ class Pcre < Package homepage 'http://pcre.org/' version '8.40' source_url 'https://ftp.pcre.org/pub/pcre/pcre-8.40.tar.bz2' - source_sha1 '12f338719b8b028a2eecbf9192fcc00a13fc04f6' - + source_sha256 '00e27a29ead4267e3de8111fcaa59b132d0533cdfdbdddf4b0604279acbcf4f4' + def self.build system "./configure", "--libdir=#{CREW_LIB_PREFIX}", "--enable-shared", "--disable-static", "--with-pic", "--enable-utf" system "make" diff --git a/packages/perl.rb b/packages/perl.rb index c8ff9c46a..c00ec2239 100644 --- a/packages/perl.rb +++ b/packages/perl.rb @@ -5,7 +5,7 @@ class Perl < Package homepage 'https://www.perl.org/' version '5.24.1-1' source_url 'http://www.cpan.org/src/5.0/perl-5.24.1.tar.gz' - source_sha1 '19b218bbc3a63a8408ed56b93928fd9a4c1b5c83' + source_sha256 'e6c185c9b09bdb3f1b13f678999050c639859a7ef39c8cad418448075f5918af' depends_on 'patch' => :build diff --git a/packages/php5.rb b/packages/php5.rb index b600444d9..00e9a085a 100644 --- a/packages/php5.rb +++ b/packages/php5.rb @@ -5,7 +5,7 @@ class Php5 < Package homepage 'http://www.php.net/' version '5.6.30' source_url 'http://php.net/distributions/php-5.6.30.tar.xz' - source_sha1 '1bca4a340e6aaf82a3e940b0f2de3f36518238e4' + source_sha256 'a363185c786432f75e3c7ff956b49c3369c3f6906a6b10459f8d1ddc22f70805' depends_on 'pkgconfig' depends_on 'zlibpkg' diff --git a/packages/php7.rb b/packages/php7.rb index 5c2044c6a..15f4a45c7 100644 --- a/packages/php7.rb +++ b/packages/php7.rb @@ -5,7 +5,7 @@ class Php7 < Package homepage 'http://www.php.net/' version '7.1.6' source_url 'http://php.net/distributions/php-7.1.6.tar.xz' - source_sha1 '0e4a6825d2d75d3deec99d247d04a7bbaf69bf0e' + source_sha256 '01584dc521ab7ec84b502b61952f573652fe6aa00c18d6d844fb9209f14b245b' depends_on 'pkgconfig' depends_on 'zlibpkg' diff --git a/packages/pixman.rb b/packages/pixman.rb index f47c15b51..87d5e41aa 100644 --- a/packages/pixman.rb +++ b/packages/pixman.rb @@ -5,7 +5,7 @@ class Pixman < Package homepage 'http://www.pixman.org/' version '0.34.0' source_url 'https://www.cairographics.org/releases/pixman-0.34.0.tar.gz' - source_sha1 'a1b1683c1a55acce9d928fea1ab6ceb79142ddc7' + source_sha256 '21b6b249b51c6800dc9553b65106e1e37d0e25df942c90531d4c3997aa20a88e' def self.build system "./configure" diff --git a/packages/pkgconfig.rb b/packages/pkgconfig.rb index 836b2f9bf..c06df9843 100644 --- a/packages/pkgconfig.rb +++ b/packages/pkgconfig.rb @@ -5,7 +5,7 @@ class Pkgconfig < Package homepage 'https://www.freedesktop.org/wiki/Software/pkg-config/' version '0.29.2' source_url 'http://pkgconfig.freedesktop.org/releases/pkg-config-0.29.2.tar.gz' - source_sha1 '76e501663b29cb7580245720edfb6106164fad2b' + source_sha256 '6fc69c01688c9458a57eb9a1664c9aba372ccda420a02bf4429fe610e7e7d591' # It is not possible to write buildessential here since it causes dependency loop. # depends_on 'buildessential' diff --git a/packages/postgres.rb b/packages/postgres.rb index 7d915a5dd..4e49d1c5d 100644 --- a/packages/postgres.rb +++ b/packages/postgres.rb @@ -5,7 +5,7 @@ class Postgres < Package homepage 'https://www.postgresql.org/' version '9.5.0' source_url 'https://ftp.postgresql.org/pub/source/v9.5.0/postgresql-9.5.0.tar.bz2' - source_sha1 '930afeb713b81778f29d32e7bf18fd08ce2aa8f9' + source_sha256 'f1c0d3a1a8aa8c92738cab0153fbfffcc4d4158b3fee84f7aa6bfea8283978bc' depends_on 'buildessential' diff --git a/packages/powerline_fonts.rb b/packages/powerline_fonts.rb index 115f1af8e..2191c562f 100644 --- a/packages/powerline_fonts.rb +++ b/packages/powerline_fonts.rb @@ -5,13 +5,13 @@ class Powerline_fonts < Package homepage 'https://github.com/powerline/fonts' version '1.1' source_url 'https://codeload.github.com/powerline/fonts/tar.gz/2015-12-04?dummy=/' - source_sha1 '4ffe9a28b842ba4ef052b3ffa8cc58db1dbecc64' + source_sha256 '3a0b73abca6334b5e6bddefab67f6eb1b2fac1231817d95fc79126c8998c4844' def self.install fonts = "#{CREW_DEST_DIR}/usr/local/share/fonts" FileUtils.mkdir_p(fonts) - Dir.glob('*').each do |f| + Dir.glob('*').each do |f| FileUtils.mv(f, fonts) unless ["README.rst", "install.sh"].include? f end @@ -28,7 +28,7 @@ class Powerline_fonts < Package puts "\nFonts will be available after restart or chrome:inducebrowsercrashforrealz" puts "To change the font in crosh, enable developer tools in extensions and execute:" - puts "\tterm_.prefs_.set(\"font-family\", \"DejaVu Sans Mono for Powerline\")" + puts "\tterm_.prefs_.set(\"font-family\", \"DejaVu Sans Mono for Powerline\")" puts "in the Javascript Console to change the font to DejaVu Sans Mono, for example\n\n" end end diff --git a/packages/powerstat.rb b/packages/powerstat.rb index bbfbf8b18..9595243a9 100644 --- a/packages/powerstat.rb +++ b/packages/powerstat.rb @@ -5,7 +5,7 @@ class Powerstat < Package homepage 'http://kernel.ubuntu.com/~cking/powerstat/' version '0.02.11' source_url 'http://kernel.ubuntu.com/~cking/tarballs/powerstat/powerstat-0.02.11.tar.gz' - source_sha1 '729c5f8f4509ab13134278c8afe04cf2244d928c' + source_sha256 'a274a7762c44695129434bab2ff10a23575ecb0c1199eb6e424e1324c61a2d46' def self.build system "sed -i 's,/usr,/usr/local,g' Makefile" diff --git a/packages/proj4.rb b/packages/proj4.rb index 953f91f29..b3744e86b 100644 --- a/packages/proj4.rb +++ b/packages/proj4.rb @@ -5,7 +5,7 @@ class Proj4 < Package homepage 'http://proj4.org/' version '4.9.1-1' source_url 'http://download.osgeo.org/proj/proj-4.9.1.tar.gz' - source_sha1 '0bc63a41f1bdcff600d076c056f796007abf3f2f' + source_sha256 'fca0388f3f8bc5a1a803d2f6ff30017532367992b30cf144f2d39be88f36c319' def self.build system "./configure CFLAGS=\" -fPIC\"" diff --git a/packages/protobuf.rb b/packages/protobuf.rb index bb646824f..d95e85699 100644 --- a/packages/protobuf.rb +++ b/packages/protobuf.rb @@ -5,7 +5,7 @@ class Protobuf < Package homepage 'https://developers.google.com/protocol-buffers/' version '3.3.0' source_url 'https://github.com/google/protobuf/archive/v3.3.0.tar.gz' - source_sha1 '34bcb26fe1eff098224c93b9176fb2400f1f2a84' + source_sha256 '94c414775f275d876e5e0e4a276527d155ab2d0da45eed6b7734301c330be36e' depends_on 'automake' depends_on 'libtool' diff --git a/packages/pv.rb b/packages/pv.rb index 3291dfe2b..36e029637 100644 --- a/packages/pv.rb +++ b/packages/pv.rb @@ -5,7 +5,7 @@ class Pv < Package homepage 'http://www.ivarch.com/programs/pv.shtml' version '1.6.0' source_url 'http://www.ivarch.com/programs/sources/pv-1.6.0.tar.gz' - source_sha1 '395ce62f4f3e035b86c77038f04b96c5aa233595' + source_sha256 '9dd45391806b0ed215abee4c5ac1597d018c386fe9c1f5afd2f6bc3b07fd82c3' def self.build system "./configure" diff --git a/packages/pwgen.rb b/packages/pwgen.rb index 3463c409f..455c92ad1 100644 --- a/packages/pwgen.rb +++ b/packages/pwgen.rb @@ -5,7 +5,7 @@ class Pwgen < Package homepage 'https://sourceforge.net/projects/pwgen/' version '2.07' source_url 'https://pilotfiber.dl.sourceforge.net/project/pwgen/pwgen/2.07/pwgen-2.07.tar.gz' - source_sha1 '51180f9cd5530d79eea18b2443780dec4ec5ea43' + source_sha256 'eb74593f58296c21c71cd07933e070492e9222b79cedf81d1a02ce09c0e11556' def self.build system "./configure --prefix=/usr/local" @@ -13,6 +13,6 @@ class Pwgen < Package end def self.install - system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" + system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" end end diff --git a/packages/python.rb b/packages/python.rb index fccbc84f3..8fc11f41b 100644 --- a/packages/python.rb +++ b/packages/python.rb @@ -7,13 +7,13 @@ class Python < Package binary_url ({ aarch64: 'https://dl.dropboxusercontent.com/s/xsu18iggr51ewqh/python-3.3.2-chromeos-armv7l.tar.xz', armv7l: 'https://dl.dropboxusercontent.com/s/xsu18iggr51ewqh/python-3.3.2-chromeos-armv7l.tar.xz', - i686: 'https://dl.dropboxusercontent.com/s/mxgfmq992hhiawk/python-3.3.2-chromeos-i686.tar.gz?token_hash=AAFA2YzFp293uyV3zYfP70iwCk8oH9HCLKMTrK0dtMU8GQ&dl=1', - x86_64: 'https://dl.dropboxusercontent.com/s/r1zvmza51hrr87q/python-3.3.2-chromeos-x86_64.tar.gz?token_hash=AAHIdz6pWcOrfty7C8ACuRcLDq0d0ERYs0jCgOPLn5USUQ&dl=1', + i686: 'https://dl.dropboxusercontent.com/s/mxgfmq992hhiawk/python-3.3.2-chromeos-i686.tar.gz', + x86_64: 'https://dl.dropboxusercontent.com/s/r1zvmza51hrr87q/python-3.3.2-chromeos-x86_64.tar.gz', }) - binary_sha1 ({ - aarch64: 'b32ee2db9c14d7e2d1df6d43836312521a3ece91', - armv7l: 'b32ee2db9c14d7e2d1df6d43836312521a3ece91', - i686: 'a985a4bba243b4fa701db302dc2fa554aef76f1c', - x86_64: 'fbfe0946c2f9191bd6110705994d459e373a8b09', + binary_sha256 ({ + aarch64: '0a89003a282daeea2a9232d98135582dbe3a620b600036cdc2ce71409f18fbe3', + armv7l: '0a89003a282daeea2a9232d98135582dbe3a620b600036cdc2ce71409f18fbe3', + i686: 'dff30c6671aa3f378424f75eb704c6ef0fb806155a6e205246a06c9d347932df', + x86_64: '2a6f2786a82e1600abf795387ff80eb7407be9c2db94a10e58f59060b832388d', }) end diff --git a/packages/python27.rb b/packages/python27.rb index 8c902bc8a..e0f7c8e4e 100644 --- a/packages/python27.rb +++ b/packages/python27.rb @@ -5,7 +5,7 @@ class Python27 < Package homepage 'https://www.python.org/' version '2.7.13-2' source_url 'https://www.python.org/ftp/python/2.7.13/Python-2.7.13.tar.xz' - source_sha1 '18a8f30a0356c751b8d0ea6f76e764cab13ee046' + source_sha256 '35d543986882f78261f97787fd3e06274bfa6df29fac9b4a94f73930ff98f731' depends_on 'bz2' => :build depends_on 'ncurses' diff --git a/packages/python3.rb b/packages/python3.rb index 1a6f20960..b84fb8e6a 100644 --- a/packages/python3.rb +++ b/packages/python3.rb @@ -5,7 +5,7 @@ class Python3 < Package homepage 'https://www.python.org/' version '3.6.0' source_url 'https://www.python.org/ftp/python/3.6.0/Python-3.6.0.tgz' - source_sha1 '120d536ee14a3153fc2435838c0f27c2e25cd29c' + source_sha256 'aa472515800d25a3739833f76ca3735d9f4b2fe77c3cb21f69275e0cce30cb2b' depends_on 'bz2' => :build depends_on 'xzutils' => :build