Commit e6e348f6 authored by Ed Reel's avatar Ed Reel

Change packages m-p from sha1 to sha256

parent 53da19cb
...@@ -5,7 +5,7 @@ class M4 < Package ...@@ -5,7 +5,7 @@ class M4 < Package
homepage 'https://www.gnu.org/software/m4/' homepage 'https://www.gnu.org/software/m4/'
version '1.4.18' version '1.4.18'
source_url 'https://ftp.gnu.org/gnu/m4/m4-1.4.18.tar.xz' source_url 'https://ftp.gnu.org/gnu/m4/m4-1.4.18.tar.xz'
source_sha1 '228604686ca23f42e48b98930babeb5d217f1899' source_sha256 'f2c1e86ca0a404ff281631bdc8377638992744b175afb806e25871a24a934e07'
depends_on 'libsigsegv' depends_on 'libsigsegv'
......
...@@ -5,7 +5,7 @@ class Make < Package ...@@ -5,7 +5,7 @@ class Make < Package
homepage 'https://www.gnu.org/software/make/' homepage 'https://www.gnu.org/software/make/'
version '4.2' version '4.2'
source_url 'ftp://ftp.gnu.org/gnu/make/make-4.2.tar.bz2' 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 'gcc' => :build
depends_on 'linuxheaders' => :build depends_on 'linuxheaders' => :build
......
...@@ -5,7 +5,7 @@ class Mandb < Package ...@@ -5,7 +5,7 @@ class Mandb < Package
homepage 'http://savannah.nongnu.org/projects/man-db' homepage 'http://savannah.nongnu.org/projects/man-db'
version '2.7.6.1' version '2.7.6.1'
source_url 'http://download.savannah.gnu.org/releases/man-db/man-db-2.7.6.1.tar.xz' 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 'less'
depends_on 'libpipeline' depends_on 'libpipeline'
......
...@@ -5,8 +5,8 @@ class Mapserver < Package ...@@ -5,8 +5,8 @@ class Mapserver < Package
homepage 'http://mapserver.org/' homepage 'http://mapserver.org/'
version '7.0.4' version '7.0.4'
source_url 'http://download.osgeo.org/mapserver/mapserver-7.0.4.tar.gz' source_url 'http://download.osgeo.org/mapserver/mapserver-7.0.4.tar.gz'
source_sha1 '8fb13c27da5902e6d9ad50f3eba550bd90750607' source_sha256 'c91d40da5cc242b20ca7e29c41bd9eb23097b98a77908b1d708e9708f6f6cf69'
depends_on 'cmake' depends_on 'cmake'
depends_on 'freetype' depends_on 'freetype'
depends_on 'cairo' depends_on 'cairo'
......
...@@ -5,7 +5,7 @@ class Memcached < Package ...@@ -5,7 +5,7 @@ class Memcached < Package
homepage 'https://memcached.org/' homepage 'https://memcached.org/'
version '1.4.34' version '1.4.34'
source_url 'https://memcached.org/files/memcached-1.4.34.tar.gz' source_url 'https://memcached.org/files/memcached-1.4.34.tar.gz'
source_sha1 '7c7214f5183c6e20c22b243e21ed1ffddb91497e' source_sha256 '5064c87f91a37d822dfeab8768490c55fe686a742f07f67c7121101e48d87c79'
depends_on 'libevent' depends_on 'libevent'
......
...@@ -5,13 +5,13 @@ class Mercurial < Package ...@@ -5,13 +5,13 @@ class Mercurial < Package
homepage 'https://www.mercurial-scm.org/' homepage 'https://www.mercurial-scm.org/'
version '4.1' version '4.1'
source_url 'https://www.mercurial-scm.org/release/mercurial-4.1.tar.gz' 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? # what's the best route for adding a minimum version symbol as a constraint?
depends_on "python27" depends_on "python27"
def self.build 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 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' 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" if !%x[pip list | grep docutils].include? "docutils"
...@@ -22,7 +22,7 @@ class Mercurial < Package ...@@ -22,7 +22,7 @@ class Mercurial < Package
end end
def self.install def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
puts "------------------" puts "------------------"
puts "Installation success!" puts "Installation success!"
puts "Cleaning up dependencies only required for build..." puts "Cleaning up dependencies only required for build..."
......
...@@ -5,12 +5,12 @@ class Mlocate < Package ...@@ -5,12 +5,12 @@ class Mlocate < Package
homepage 'https://pagure.io/mlocate' homepage 'https://pagure.io/mlocate'
version '0.26-1' version '0.26-1'
source_url 'https://releases.pagure.org/mlocate/mlocate-0.26.tar.xz' source_url 'https://releases.pagure.org/mlocate/mlocate-0.26.tar.xz'
source_sha1 'c6e6d81b25359c51c545f4b8ba0f3b469227fcbc' source_sha256 '3063df79fe198fb9618e180c54baf3105b33d88fe602ff2d8570aaf944f1263e'
def self.build def self.build
system "mkdir -p /usr/local/db/mlocate" system "mkdir -p /usr/local/db/mlocate"
system "sed -i 's,\$(localstatedir)/,/usr/local/db/,g' Makefile.*" 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 "./configure"
system "make" system "make"
end end
......
...@@ -5,11 +5,11 @@ class Mongodb < Package ...@@ -5,11 +5,11 @@ class Mongodb < Package
homepage 'https://www.mongodb.com/' homepage 'https://www.mongodb.com/'
version '3.0.8' version '3.0.8'
binary_url ({ binary_url ({
i686: "https://www.dropbox.com/s/n32v3h34jswxhg7/mongodb-linux-i686-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" x86_64: 'https://www.dropbox.com/s/two0chqyim5eo4a/mongodb-linux-x86_64-3.0.8.tar.gz?dl=0'
}) })
binary_sha1 ({ binary_sha256 ({
i686: "71fd4324ce91352416eea83149432b953928306e", i686: 'e4b837c7213d08b528c675710dbd3fb3d5cf761929d0d89d27232fe7609549a3',
x86_64: "fdbf8ad9207dc5fd31af0113e9c00e02521e9101" x86_64: '0cacc59ab09d7031ebafc3ff008ff2e9305d9fafc590f1a0e52848342033197a'
}) })
end end
\ No newline at end of file
...@@ -5,7 +5,7 @@ class Mono < Package ...@@ -5,7 +5,7 @@ class Mono < Package
homepage 'http://www.mono-project.com/' homepage 'http://www.mono-project.com/'
version '4.4.0.148-1' version '4.4.0.148-1'
source_url 'http://download.mono-project.com/sources/mono/mono-4.4.0.148.tar.bz2' 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 def self.build
system "./configure","--disable-dependency-tracking","--disable-silent-rules","--enable-nls=no","--prefix=/usr/local" system "./configure","--disable-dependency-tracking","--disable-silent-rules","--enable-nls=no","--prefix=/usr/local"
......
...@@ -5,7 +5,7 @@ class Moonbuggy < Package ...@@ -5,7 +5,7 @@ class Moonbuggy < Package
homepage 'http://www.seehuhn.de/pages/moon-buggy' homepage 'http://www.seehuhn.de/pages/moon-buggy'
version '1.0.51' version '1.0.51'
source_url 'http://m.seehuhn.de/programs/moon-buggy-1.0.51.tar.gz' source_url 'http://m.seehuhn.de/programs/moon-buggy-1.0.51.tar.gz'
source_sha1 '7f1c5df99944acfe98eeb5f8d5ab6f28ef61ee7e' source_sha256 '352dc16ccae4c66f1e87ab071e6a4ebeb94ff4e4f744ce1b12a769d02fe5d23f'
depends_on 'ncurses' depends_on 'ncurses'
......
...@@ -5,7 +5,7 @@ class Moreutils < Package ...@@ -5,7 +5,7 @@ class Moreutils < Package
homepage 'https://joeyh.name/code/moreutils/' homepage 'https://joeyh.name/code/moreutils/'
version '0.60' version '0.60'
source_url 'http://http.debian.net/debian/pool/main/m/moreutils/moreutils_0.60.orig.tar.xz' 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 'docbook'
depends_on 'libxslt' depends_on 'libxslt'
......
...@@ -5,7 +5,7 @@ class Mosh < Package ...@@ -5,7 +5,7 @@ class Mosh < Package
homepage 'https://mosh.org/' homepage 'https://mosh.org/'
version '1.3.0' version '1.3.0'
source_url 'https://mosh.org/mosh-1.3.0.tar.gz' source_url 'https://mosh.org/mosh-1.3.0.tar.gz'
source_sha1 '846698806d940c84028c04f68e289e31d9540d5f' source_sha256 '320e12f461e55d71566597976bd9440ba6c5265fa68fbf614c6f1c8401f93376'
depends_on 'protobuf' depends_on 'protobuf'
......
...@@ -10,10 +10,10 @@ class Mpc < Package ...@@ -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', 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', x86_64: 'https://github.com/jam7/chrome-cross/releases/download/v1.7/mpc-1.0.3-chromeos-x86_64.tar.xz',
}) })
binary_sha1 ({ binary_sha256 ({
aarch64: '275fdba883722c3a0c8dbc92e3fc7d7a5a88bc57', aarch64: '58518e1b1a26d4c48e101bea2d42c640b9dccdd0300fbda9cce9635dbdbfa4ba',
armv7l: '275fdba883722c3a0c8dbc92e3fc7d7a5a88bc57', armv7l: '58518e1b1a26d4c48e101bea2d42c640b9dccdd0300fbda9cce9635dbdbfa4ba',
i686: '19ac6cf905c86c71a4be7773882f742e9786ead9', i686: 'ac2789b514e0b581c619a197d8e7cecae1bfc3c5251a9a9bb857d4a78d03ca1e',
x86_64: '25586540bc6be6bfa9814ac65b3ee633c452c1b0', x86_64: '6c39fe899b348b693736a662bd19168ffea70718533942b35491d7df0a4a2d35',
}) })
end end
...@@ -10,10 +10,10 @@ class Mpfr < Package ...@@ -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', 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', x86_64: 'https://github.com/jam7/chrome-cross/releases/download/v1.7/mpfr-3.1.5-chromeos-x86_64.tar.xz',
}) })
binary_sha1 ({ binary_sha256 ({
aarch64: 'e388055aa9652e2c0c580f0e0cc26509d8c17f39', aarch64: '8a2f8a0059ae27778c51bb949f07b7920bc1e3a5942889c9809558a021296329',
armv7l: 'e388055aa9652e2c0c580f0e0cc26509d8c17f39', armv7l: '8a2f8a0059ae27778c51bb949f07b7920bc1e3a5942889c9809558a021296329',
i686: '87630dd77fbdad79f0382e64a9ddb82453d21a46', i686: 'c30a5f8c45262529953de89309ac6d65546ef3fa57e79a03aaa98f037d18db75',
x86_64: '6e137ee58ceca44fbc9bd0f35a2039993f7a0cc1', x86_64: '60ce5bb3d89a917aae7fe1e753e221687eb7f7eb28ea2bf05c5cd4a766a510c8',
}) })
end end
...@@ -5,7 +5,7 @@ class Mutt < Package ...@@ -5,7 +5,7 @@ class Mutt < Package
homepage 'http://mutt.org/' homepage 'http://mutt.org/'
version '1.8.2' version '1.8.2'
source_url 'ftp://ftp.mutt.org/pub/mutt/mutt-1.8.2.tar.gz' source_url 'ftp://ftp.mutt.org/pub/mutt/mutt-1.8.2.tar.gz'
source_sha1 'bdac1201de464d63f61a663f3dcf1ee4484dbbb3' source_sha256 '1d057bf1b565f2c38ee50c9a661654cbbe4165f98e25bfa361ebbd707d96f235'
def self.build def self.build
system 'mkdir /usr/local/mail' system 'mkdir /usr/local/mail'
......
...@@ -5,7 +5,7 @@ class Mywanip < Package ...@@ -5,7 +5,7 @@ class Mywanip < Package
homepage 'https://gist.github.com/DennisLfromGA/ab40940d37be84ae3a88' homepage 'https://gist.github.com/DennisLfromGA/ab40940d37be84ae3a88'
version 'ab4094' version 'ab4094'
source_url 'https://gist.github.com/DennisLfromGA/ab40940d37be84ae3a88/archive/b583835e8b2cb7edefc7ccbb911cb8eaf172d341.zip' source_url 'https://gist.github.com/DennisLfromGA/ab40940d37be84ae3a88/archive/b583835e8b2cb7edefc7ccbb911cb8eaf172d341.zip'
source_sha1 '1c26e5ed07283dbecb5a7cbaae0d9e408bedff89' source_sha256 '789d22cfa60a40cf60d59e561500cd27e39ac03ecff2e948111a2a07f830fd67'
def self.install def self.install
system "chmod +x mywanip" system "chmod +x mywanip"
......
...@@ -5,17 +5,17 @@ class Nano < Package ...@@ -5,17 +5,17 @@ class Nano < Package
homepage 'https://www.nano-editor.org/' homepage 'https://www.nano-editor.org/'
version '2.8.4' version '2.8.4'
source_url 'https://nano-editor.org/dist/v2.8/nano-2.8.4.tar.xz' 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 'buildessential'
depends_on 'ncurses' depends_on 'ncurses'
def self.build def self.build
system "./configure CPPFLAGS=\"-I/usr/local/include/ncurses\"" system "./configure CPPFLAGS=\"-I/usr/local/include/ncurses\""
system "make" system "make"
end end
def self.install def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end end
end end
...@@ -5,7 +5,7 @@ class Nanomsg < Package ...@@ -5,7 +5,7 @@ class Nanomsg < Package
homepage 'http://nanomsg.org/' homepage 'http://nanomsg.org/'
version '1.0,0' version '1.0,0'
source_url 'https://github.com/nanomsg/nanomsg/archive/1.0.0.tar.gz' source_url 'https://github.com/nanomsg/nanomsg/archive/1.0.0.tar.gz'
source_sha1 '57f90778a9bb7b95a7fd73910fd41894f3ee9cab' source_sha256 '24afdeb71b2e362e8a003a7ecc906e1b84fd9f56ce15ec567481d1bb33132cc7'
depends_on 'cmake' depends_on 'cmake'
...@@ -15,6 +15,6 @@ class Nanomsg < Package ...@@ -15,6 +15,6 @@ class Nanomsg < Package
end end
def self.install def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end end
end end
...@@ -5,9 +5,9 @@ class Ncdu < Package ...@@ -5,9 +5,9 @@ class Ncdu < Package
homepage 'https://dev.yorhel.nl/ncdu' homepage 'https://dev.yorhel.nl/ncdu'
version '1.12' version '1.12'
source_url 'https://dev.yorhel.nl/download/ncdu-1.12.tar.gz' 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 def self.build
system "./configure --prefix=/usr/local CPPFLAGS=-I/usr/local/include/ncurses" system "./configure --prefix=/usr/local CPPFLAGS=-I/usr/local/include/ncurses"
...@@ -15,6 +15,6 @@ class Ncdu < Package ...@@ -15,6 +15,6 @@ class Ncdu < Package
end end
def self.install def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end end
end end
...@@ -5,7 +5,7 @@ class Ncftp < Package ...@@ -5,7 +5,7 @@ class Ncftp < Package
homepage 'http://ncftp.com/ncftp/' homepage 'http://ncftp.com/ncftp/'
version '3.2.6' version '3.2.6'
source_url 'ftp://ftp.ncftp.com/ncftp/ncftp-3.2.6-src.tar.gz' source_url 'ftp://ftp.ncftp.com/ncftp/ncftp-3.2.6-src.tar.gz'
source_sha1 'e2351802b40db18d6cbab2537a9644cd858b934d' source_sha256 '129e5954850290da98af012559e6743de193de0012e972ff939df9b604f81c23'
depends_on 'buildessential' depends_on 'buildessential'
...@@ -13,8 +13,8 @@ class Ncftp < Package ...@@ -13,8 +13,8 @@ class Ncftp < Package
system "./configure" system "./configure"
system "make" system "make"
end end
def self.install def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end end
end end
...@@ -5,20 +5,20 @@ class Ncurses < Package ...@@ -5,20 +5,20 @@ class Ncurses < Package
homepage 'https://www.gnu.org/software/ncurses/' homepage 'https://www.gnu.org/software/ncurses/'
version '6.0-2' version '6.0-2'
source_url 'ftp://ftp.gnu.org/pub/gnu/ncurses/ncurses-6.0.tar.gz' 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
depends_on "ncursesw" depends_on 'ncursesw'
def self.build def self.build
system './configure', system './configure',
'--prefix=/usr/local', '--prefix=/usr/local',
"--libdir=#{CREW_LIB_PREFIX}", "--libdir=#{CREW_LIB_PREFIX}",
'--without-normal', '--without-normal',
'--with-shared', '--with-shared',
'--with-cxx-shared', '--with-cxx-shared',
'--without-debug' '--without-debug'
system "make" system 'make'
end end
def self.install def self.install
......
...@@ -5,30 +5,30 @@ class Ncursesw < Package ...@@ -5,30 +5,30 @@ class Ncursesw < Package
homepage 'http://www.gnu.org/software/ncurses/' homepage 'http://www.gnu.org/software/ncurses/'
version '6.0-2' version '6.0-2'
source_url 'ftp://ftp.gnu.org/pub/gnu/ncurses/ncurses-6.0.tar.gz' 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 def self.build
# Check ncurses doesn't conflict with ncrusesw # Check ncurses doesn't conflict with ncrusesw
if File.exist? CREW_CONFIG_PATH + "meta/ncurses.filelist" if File.exist? CREW_CONFIG_PATH + "meta/ncurses.filelist"
if `grep include/ncursesw #{CREW_CONFIG_PATH}meta/ncurses.filelist` != '' if `grep include/ncursesw #{CREW_CONFIG_PATH}meta/ncurses.filelist` != ''
puts puts
puts "PLEASE PERFORMS `crew upgrade ncurses` OR `sudo crew remove ncurses` FIRST" puts "PLEASE PERFORM `crew upgrade ncurses` OR `crew remove ncurses` FIRST"
puts puts
exit 1 exit 1
end end
end end
# Build ncursesw # Build ncursesw
system './configure', system './configure',
'--prefix=/usr/local', '--prefix=/usr/local',
"--libdir=#{CREW_LIB_PREFIX}", "--libdir=#{CREW_LIB_PREFIX}",
'--without-normal', '--without-normal',
'--with-shared', '--with-shared',
'--with-cxx-shared', '--with-cxx-shared',
'--without-debug', '--without-debug',
'--enable-widec' '--enable-widec'
system "make" system 'make'
end end
def self.install def self.install
......
...@@ -5,7 +5,7 @@ class Neovim < Package ...@@ -5,7 +5,7 @@ class Neovim < Package
homepage 'https://neovim.io/' homepage 'https://neovim.io/'
version '0.1.7' version '0.1.7'
source_url 'https://github.com/neovim/neovim/archive/v0.1.7.tar.gz' source_url 'https://github.com/neovim/neovim/archive/v0.1.7.tar.gz'
source_sha1 '00e67f981105f1acbe06df1dbea21b6f7fa6d9b8' source_sha256 'd8f885d019b1ad608f36ae23b8f1b15b7e33585e16f7514666ab6c9809bb4b7e'
depends_on 'libtool' depends_on 'libtool'
depends_on 'autoconf' depends_on 'autoconf'
......
...@@ -5,8 +5,8 @@ class Netcat < Package ...@@ -5,8 +5,8 @@ class Netcat < Package
homepage 'http://netcat.sourceforge.net/' homepage 'http://netcat.sourceforge.net/'
version '0.7.1' version '0.7.1'
source_url 'http://downloads.sourceforge.net/project/netcat/netcat/0.7.1/netcat-0.7.1.tar.gz' 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 def self.build
system "./configure --prefix=/usr/local" system "./configure --prefix=/usr/local"
system "make" system "make"
......
...@@ -6,7 +6,7 @@ class Nethack4 < Package ...@@ -6,7 +6,7 @@ class Nethack4 < Package
# "nethack4" fork of nethack with a few patches and a modern build system # "nethack4" fork of nethack with a few patches and a modern build system
version '4.3.0-beta2' version '4.3.0-beta2'
source_url 'http://nethack4.org/media/releases/nethack4-4.3-beta2.tar.gz' source_url 'http://nethack4.org/media/releases/nethack4-4.3-beta2.tar.gz'
source_sha1 'e261c0ac618589a47e63525ed56eb17e72b14754' source_sha256 'b143a86b5e1baf55c663ae09c2663b169d265e95ac43154982296a1887d05f15'
depends_on 'buildessential' depends_on 'buildessential'
depends_on 'ncurses' depends_on 'ncurses'
...@@ -14,22 +14,21 @@ class Nethack4 < Package ...@@ -14,22 +14,21 @@ class Nethack4 < Package
depends_on 'flex' depends_on 'flex'
depends_on 'perl' depends_on 'perl'
def self.build def self.build
target="build" target="build"
system "mkdir -p " + target system "mkdir -p " + target
Dir.chdir target do Dir.chdir target do
#build with rpath pointing at /usr/local #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" system "/usr/local/bin/perl ../aimake"
end end
end end
def self.install def self.install
target="build" target="build"
Dir.chdir target do Dir.chdir target do
#install in destdir so package manager can keep track #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 end
end end
...@@ -5,7 +5,7 @@ class Nettle < Package ...@@ -5,7 +5,7 @@ class Nettle < Package
homepage 'http://www.lysator.liu.se/~nisse/nettle/' homepage 'http://www.lysator.liu.se/~nisse/nettle/'
version '3.3' version '3.3'
source_url 'https://ftp.gnu.org/gnu/nettle/nettle-3.3.tar.gz' source_url 'https://ftp.gnu.org/gnu/nettle/nettle-3.3.tar.gz'
source_sha1 'bf2b4d3a41192ff6177936d7bc3bee4cebeb86c4' source_sha256 '46942627d5d0ca11720fec18d81fc38f7ef837ea4197c1f630e71ce0d470b11e'
depends_on 'buildessential' depends_on 'buildessential'
depends_on 'm4' depends_on 'm4'
......
...@@ -5,7 +5,7 @@ class Newlisp < Package ...@@ -5,7 +5,7 @@ class Newlisp < Package
homepage 'http://www.newlisp.org/' homepage 'http://www.newlisp.org/'
version '10.7.1' version '10.7.1'
source_url 'https://github.com/kosh04/newlisp/archive/10.7.1.tar.gz' source_url 'https://github.com/kosh04/newlisp/archive/10.7.1.tar.gz'
source_sha1 '258d88a6c52ecea73da1a7774fa4f53a265da073' source_sha256 '87e3ea4bd2d42118af44f2f881302af32a990164fb47088bcad0be6dc88c5c48'
#depends_on 'readline' #depends_on 'readline'
#depends_on 'libffi' #depends_on 'libffi'
......
...@@ -5,10 +5,10 @@ class Nginx < Package ...@@ -5,10 +5,10 @@ class Nginx < Package
homepage 'http://nginx.org/' homepage 'http://nginx.org/'
version '1.11.6-1' version '1.11.6-1'
source_url 'http://nginx.org/download/nginx-1.11.6.tar.gz' source_url 'http://nginx.org/download/nginx-1.11.6.tar.gz'
source_sha1 '51903b721a5ee721568fc59f0a243df5356a98de' source_sha256 '3153abbb518e2d9c032e1b127da3dc0028ad36cd4679e5f3be0b8afa33bc85bd'
depends_on 'pcre' depends_on 'pcre'
def self.build def self.build
system "./configure" system "./configure"
system "make" system "make"
......
...@@ -5,16 +5,16 @@ class Nmap < Package ...@@ -5,16 +5,16 @@ class Nmap < Package
homepage 'https://nmap.org/' homepage 'https://nmap.org/'
version '7.50' version '7.50'
source_url 'https://nmap.org/dist/nmap-7.50.tgz' source_url 'https://nmap.org/dist/nmap-7.50.tgz'
source_sha1 '9e77da9079489e86db9634e87efbd88500de9c65' source_sha256 '40febe4a4e4b583aabcdd8cfceb6ae0f366dbb2fede96e4a529340bdb6d24776'
depends_on 'buildessential' depends_on 'buildessential'
def self.build def self.build
system "./configure --with-pcap=linux --without-zenmap" system "./configure --with-pcap=linux --without-zenmap"
system "make" system "make"
end end
def self.install def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end end
end end
...@@ -5,7 +5,7 @@ class Node < Package ...@@ -5,7 +5,7 @@ class Node < Package
homepage 'https://nodejs.org/en/' homepage 'https://nodejs.org/en/'
version '6.11.0' version '6.11.0'
source_url 'https://nodejs.org/dist/v6.11.0/node-v6.11.0.tar.xz' 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 'buildessential'
depends_on 'python27' depends_on 'python27'
...@@ -17,7 +17,7 @@ class Node < Package ...@@ -17,7 +17,7 @@ class Node < Package
def self.install def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
# Fix Permissiongs for -g installs of node packages # Fix Permissiongs for -g installs of node packages
system "sudo chown -R chronos /usr/local/bin" system "sudo chown -R chronos /usr/local/bin"
system "sudo chown -R chronos /usr/local/share" system "sudo chown -R chronos /usr/local/share"
......
...@@ -5,7 +5,7 @@ class Node_current < Package ...@@ -5,7 +5,7 @@ class Node_current < Package
homepage 'https://nodejs.org/en/' homepage 'https://nodejs.org/en/'
version '8.1.2' version '8.1.2'
source_url 'https://nodejs.org/dist/v8.1.2/node-v8.1.2.tar.gz' 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 'buildessential'
depends_on 'python27' depends_on 'python27'
...@@ -27,7 +27,7 @@ class Node_current < Package ...@@ -27,7 +27,7 @@ class Node_current < Package
system "sudo chown -R chronos /usr/local/bin" system "sudo chown -R chronos /usr/local/bin"
system "sudo chown -R chronos /usr/local/share" system "sudo chown -R chronos /usr/local/share"
if Dir.exists?('/usr/local/lib/node_modules') 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 end
end end
...@@ -5,7 +5,7 @@ class Npth < Package ...@@ -5,7 +5,7 @@ class Npth < Package
homepage 'https://www.gnupg.org/related_software/npth/index.html' homepage 'https://www.gnupg.org/related_software/npth/index.html'
version '1.3' version '1.3'
source_url 'https://www.gnupg.org/ftp/gcrypt/npth/npth-1.3.tar.bz2' source_url 'https://www.gnupg.org/ftp/gcrypt/npth/npth-1.3.tar.bz2'
source_sha1 '1b21507cfa3f58bdd19ef2f6800ab4cb67729972' source_sha256 'bca81940436aed0734eb8d0ff8b179e04cc8c087f5625204419f5f45d736a82a'
def self.build def self.build
system "./configure --prefix=/usr/local" system "./configure --prefix=/usr/local"
...@@ -13,6 +13,6 @@ class Npth < Package ...@@ -13,6 +13,6 @@ class Npth < Package
end end
def self.install def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end end
end end
...@@ -31,7 +31,7 @@ class Openconnect < Package ...@@ -31,7 +31,7 @@ class Openconnect < Package
description 'OpenConnect is an SSL VPN client initially created to support Cisco\'s AnyConnect SSL VPN.' description 'OpenConnect is an SSL VPN client initially created to support Cisco\'s AnyConnect SSL VPN.'
homepage 'http://www.infradead.org/openconnect/' homepage 'http://www.infradead.org/openconnect/'
source_url 'ftp://ftp.infradead.org/pub/openconnect/openconnect-7.06.tar.gz' source_url 'ftp://ftp.infradead.org/pub/openconnect/openconnect-7.06.tar.gz'
source_sha1 '2351408693aab0c6bc97d37e68b4a869fbb217ed' source_sha256 'facf695368dc4537a6a30e2147be90b1d77ee3cb2d269eaef070b6d9ddab70f2'
depends_on 'buildessential' depends_on 'buildessential'
depends_on 'libxml2' depends_on 'libxml2'
......
...@@ -5,7 +5,7 @@ class Openjpeg < Package ...@@ -5,7 +5,7 @@ class Openjpeg < Package
homepage 'https://github.com/uclouvain/openjpeg/' homepage 'https://github.com/uclouvain/openjpeg/'
version '2.1.2' version '2.1.2'
source_url 'https://github.com/uclouvain/openjpeg/archive/v2.1.2.tar.gz' source_url 'https://github.com/uclouvain/openjpeg/archive/v2.1.2.tar.gz'
source_sha1 'c8671e7f577fdc58abde1e1f32b10d372e6f9b07' source_sha256 '4ce77b6ef538ef090d9bde1d5eeff8b3069ab56c4906f083475517c2c023dfa7'
depends_on 'cmake' depends_on 'cmake'
......
...@@ -5,7 +5,7 @@ class Openldap < Package ...@@ -5,7 +5,7 @@ class Openldap < Package
homepage 'http://www.openldap.org/' homepage 'http://www.openldap.org/'
version '2.4.44' version '2.4.44'
source_url 'ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/openldap-2.4.44.tgz' source_url 'ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/openldap-2.4.44.tgz'
source_sha1 '016a738d050a68d388602a74b5e991035cdba149' source_sha256 'd7de6bf3c67009c95525dde3a0212cc110d0a70b92af2af8e3ee800e81b88400'
def self.build def self.build
system "./configure --disable-slapd --prefix=/usr/local" system "./configure --disable-slapd --prefix=/usr/local"
......
...@@ -5,7 +5,7 @@ class Openssh < Package ...@@ -5,7 +5,7 @@ class Openssh < Package
homepage 'https://www.openssh.com/' homepage 'https://www.openssh.com/'
version '7.5' version '7.5'
source_url 'https://github.com/openssh/openssh-portable/archive/V_7_5_P1.tar.gz' 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 'buildessential'
depends_on 'autoconf' depends_on 'autoconf'
......
...@@ -6,14 +6,14 @@ class Openssl < Package ...@@ -6,14 +6,14 @@ class Openssl < Package
version '1.0.2l' version '1.0.2l'
source_url 'https://github.com/openssl/openssl/archive/OpenSSL_1_0_2l.tar.gz' source_url 'https://github.com/openssl/openssl/archive/OpenSSL_1_0_2l.tar.gz'
source_sha1 '5bea0957b371627e8ebbee5bef221519e94d547c' source_sha256 'a3d3a7c03c90ba370405b2d12791598addfcafb1a77ef483c02a317a56c08485'
binary_url ({ binary_url ({
aarch64: 'https://github.com/jam7/chromebrew/releases/download/binaries/openssl-1.0.2l-chromeos-armv7l.tar.xz', 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', armv7l: 'https://github.com/jam7/chromebrew/releases/download/binaries/openssl-1.0.2l-chromeos-armv7l.tar.xz',
}) })
binary_sha1 ({ binary_sha256 ({
aarch64: '4c9eb37df898e9495a8f53e3aa7f6058063fa8ce', aarch64: '4af16174aa6a9f565a5895fedea89daf0c8fb66b8f26b0c8416f5456aa440ea5',
armv7l: '4c9eb37df898e9495a8f53e3aa7f6058063fa8ce', armv7l: '4af16174aa6a9f565a5895fedea89daf0c8fb66b8f26b0c8416f5456aa440ea5',
}) })
depends_on 'perl' => :build depends_on 'perl' => :build
......
...@@ -5,8 +5,8 @@ class Optipng < Package ...@@ -5,8 +5,8 @@ class Optipng < Package
homepage 'http://optipng.sourceforge.net/' homepage 'http://optipng.sourceforge.net/'
version '0.7.6-1' version '0.7.6-1'
source_url 'http://prdownloads.sourceforge.net/optipng/optipng-0.7.6.tar.gz' source_url 'http://prdownloads.sourceforge.net/optipng/optipng-0.7.6.tar.gz'
source_sha1 '3b3e31430e735589470c4af204354d38823f4989' source_sha256 '4870631fcbd3825605f00a168b8debf44ea1cda8ef98a73e5411eee97199be80'
depends_on 'libpng' depends_on 'libpng'
depends_on 'zlibpkg' depends_on 'zlibpkg'
...@@ -16,6 +16,6 @@ class Optipng < Package ...@@ -16,6 +16,6 @@ class Optipng < Package
end end
def self.install def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end end
end end
...@@ -5,7 +5,7 @@ class P11kit < Package ...@@ -5,7 +5,7 @@ class P11kit < Package
homepage 'https://p11-glue.freedesktop.org/p11-kit.html' homepage 'https://p11-glue.freedesktop.org/p11-kit.html'
version '0.23.2-1' version '0.23.2-1'
source_url 'https://p11-glue.freedesktop.org/releases/p11-kit-0.23.2.tar.gz' 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 'diffutils' => :build
depends_on 'libffi' depends_on 'libffi'
......
...@@ -5,7 +5,7 @@ class P7zip < Package ...@@ -5,7 +5,7 @@ class P7zip < Package
homepage 'http://p7zip.sourceforge.net/' homepage 'http://p7zip.sourceforge.net/'
version '16.02' version '16.02'
source_url 'http://downloads.sourceforge.net/p7zip/p7zip_16.02_src_all.tar.bz2' source_url 'http://downloads.sourceforge.net/p7zip/p7zip_16.02_src_all.tar.bz2'
source_sha1 'e8819907132811aa1afe5ef296181d3a15cc8f22' source_sha256 '5eb20ac0e2944f6cb9c2d51dd6c4518941c185347d4089ea89087ffdd6e2341f'
def self.build def self.build
system "cp", "makefile.linux_any_cpu", "makefile.machine" system "cp", "makefile.linux_any_cpu", "makefile.machine"
...@@ -13,6 +13,6 @@ class P7zip < Package ...@@ -13,6 +13,6 @@ class P7zip < Package
end end
def self.install def self.install
system "make", "DEST_DIR=#{CREW_DEST_DIR}", "install" system "make", "DEST_DIR=#{CREW_DEST_DIR}", "install"
end end
end end
...@@ -5,7 +5,7 @@ class Pacparser < Package ...@@ -5,7 +5,7 @@ class Pacparser < Package
homepage 'http://pacparser.manugarg.com/' homepage 'http://pacparser.manugarg.com/'
version '1.3.7' version '1.3.7'
source_url 'https://github.com/pacparser/pacparser/archive/1.3.7.tar.gz' source_url 'https://github.com/pacparser/pacparser/archive/1.3.7.tar.gz'
source_sha1 'bb06b1a0eaeb882877c5afa45cb00b540ee57f5f' source_sha256 '575c5d8096b4c842b2af852bbb8bcfde96170b28b49f33249dbe2057a8beea13'
def self.build def self.build
system "make -C src" system "make -C src"
......
...@@ -5,9 +5,9 @@ class Pagemon < Package ...@@ -5,9 +5,9 @@ class Pagemon < Package
homepage 'http://kernel.ubuntu.com/~cking/pagemon/' homepage 'http://kernel.ubuntu.com/~cking/pagemon/'
version '0.01.10' version '0.01.10'
source_url 'http://kernel.ubuntu.com/~cking/tarballs/pagemon/pagemon-0.01.10.tar.gz' 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 def self.build
system "sed -i 's,/usr,/usr/local,g' Makefile" system "sed -i 's,/usr,/usr/local,g' Makefile"
......
...@@ -5,7 +5,7 @@ class Pango < Package ...@@ -5,7 +5,7 @@ class Pango < Package
homepage 'http://www.pango.org/' homepage 'http://www.pango.org/'
version '1.40.0' version '1.40.0'
source_url 'https://ftp.gnome.org/pub/gnome/sources/pango/1.40/pango-1.40.0.tar.xz' 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 'freetype'
depends_on 'fontconfig' depends_on 'fontconfig'
......
...@@ -5,7 +5,7 @@ class Patch < Package ...@@ -5,7 +5,7 @@ class Patch < Package
homepage 'http://savannah.gnu.org/projects/patch/' homepage 'http://savannah.gnu.org/projects/patch/'
version '2.7.5' version '2.7.5'
source_url 'https://ftp.gnu.org/gnu/patch/patch-2.7.5.tar.xz' source_url 'https://ftp.gnu.org/gnu/patch/patch-2.7.5.tar.xz'
source_sha1 '8fd8f8f8ba640d871bce1bd33c7fd5e2ebe03a1e' source_sha256 'fd95153655d6b95567e623843a0e77b81612d502ecf78a489a4aed7867caa299'
def self.build def self.build
system './configure --prefix=/usr/local' system './configure --prefix=/usr/local'
......
...@@ -5,7 +5,7 @@ class Patchelf < Package ...@@ -5,7 +5,7 @@ class Patchelf < Package
homepage 'http://nixos.org/patchelf.html' homepage 'http://nixos.org/patchelf.html'
version '0.8-2' version '0.8-2'
source_url 'http://nixos.org/releases/patchelf/patchelf-0.8/patchelf-0.8.tar.bz2' source_url 'http://nixos.org/releases/patchelf/patchelf-0.8/patchelf-0.8.tar.bz2'
source_sha1 'd0645e9cee6f8e583ae927311c7ce88d29f416fc' source_sha256 'c99f84d124347340c36707089ec8f70530abd56e7827c54d506eb4cc097a17e7'
def self.build def self.build
system "./configure", "prefix=/usr/local" system "./configure", "prefix=/usr/local"
......
...@@ -5,7 +5,7 @@ class Patchutils < Package ...@@ -5,7 +5,7 @@ class Patchutils < Package
homepage 'http://cyberelk.net/tim/patchutils/' homepage 'http://cyberelk.net/tim/patchutils/'
version '0.3.4' version '0.3.4'
source_url 'http://cyberelk.net/tim/data/patchutils/stable/patchutils-0.3.4.tar.xz' source_url 'http://cyberelk.net/tim/data/patchutils/stable/patchutils-0.3.4.tar.xz'
source_sha1 'b1d91eb1e2213450eae666a4701b3f917625dea3' source_sha256 'cf55d4db83ead41188f5b6be16f60f6b76a87d5db1c42f5459d596e81dabe876'
def self.build def self.build
system './configure --prefix=/usr/local' system './configure --prefix=/usr/local'
......
...@@ -5,7 +5,7 @@ class Pciutils < Package ...@@ -5,7 +5,7 @@ class Pciutils < Package
homepage 'http://mj.ucw.cz/sw/pciutils/' homepage 'http://mj.ucw.cz/sw/pciutils/'
version '3.5.2' version '3.5.2'
source_url 'https://www.kernel.org/pub/software/utils/pciutils/pciutils-3.5.2.tar.xz' 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 def self.build
system "make", "PREFIX=/usr/local", "SHARED=yes" system "make", "PREFIX=/usr/local", "SHARED=yes"
......
...@@ -5,8 +5,8 @@ class Pcre < Package ...@@ -5,8 +5,8 @@ class Pcre < Package
homepage 'http://pcre.org/' homepage 'http://pcre.org/'
version '8.40' version '8.40'
source_url 'https://ftp.pcre.org/pub/pcre/pcre-8.40.tar.bz2' source_url 'https://ftp.pcre.org/pub/pcre/pcre-8.40.tar.bz2'
source_sha1 '12f338719b8b028a2eecbf9192fcc00a13fc04f6' source_sha256 '00e27a29ead4267e3de8111fcaa59b132d0533cdfdbdddf4b0604279acbcf4f4'
def self.build def self.build
system "./configure", "--libdir=#{CREW_LIB_PREFIX}", "--enable-shared", "--disable-static", "--with-pic", "--enable-utf" system "./configure", "--libdir=#{CREW_LIB_PREFIX}", "--enable-shared", "--disable-static", "--with-pic", "--enable-utf"
system "make" system "make"
......
...@@ -5,7 +5,7 @@ class Perl < Package ...@@ -5,7 +5,7 @@ class Perl < Package
homepage 'https://www.perl.org/' homepage 'https://www.perl.org/'
version '5.24.1-1' version '5.24.1-1'
source_url 'http://www.cpan.org/src/5.0/perl-5.24.1.tar.gz' 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 depends_on 'patch' => :build
......
...@@ -5,7 +5,7 @@ class Php5 < Package ...@@ -5,7 +5,7 @@ class Php5 < Package
homepage 'http://www.php.net/' homepage 'http://www.php.net/'
version '5.6.30' version '5.6.30'
source_url 'http://php.net/distributions/php-5.6.30.tar.xz' source_url 'http://php.net/distributions/php-5.6.30.tar.xz'
source_sha1 '1bca4a340e6aaf82a3e940b0f2de3f36518238e4' source_sha256 'a363185c786432f75e3c7ff956b49c3369c3f6906a6b10459f8d1ddc22f70805'
depends_on 'pkgconfig' depends_on 'pkgconfig'
depends_on 'zlibpkg' depends_on 'zlibpkg'
......
...@@ -5,7 +5,7 @@ class Php7 < Package ...@@ -5,7 +5,7 @@ class Php7 < Package
homepage 'http://www.php.net/' homepage 'http://www.php.net/'
version '7.1.6' version '7.1.6'
source_url 'http://php.net/distributions/php-7.1.6.tar.xz' source_url 'http://php.net/distributions/php-7.1.6.tar.xz'
source_sha1 '0e4a6825d2d75d3deec99d247d04a7bbaf69bf0e' source_sha256 '01584dc521ab7ec84b502b61952f573652fe6aa00c18d6d844fb9209f14b245b'
depends_on 'pkgconfig' depends_on 'pkgconfig'
depends_on 'zlibpkg' depends_on 'zlibpkg'
......
...@@ -5,7 +5,7 @@ class Pixman < Package ...@@ -5,7 +5,7 @@ class Pixman < Package
homepage 'http://www.pixman.org/' homepage 'http://www.pixman.org/'
version '0.34.0' version '0.34.0'
source_url 'https://www.cairographics.org/releases/pixman-0.34.0.tar.gz' source_url 'https://www.cairographics.org/releases/pixman-0.34.0.tar.gz'
source_sha1 'a1b1683c1a55acce9d928fea1ab6ceb79142ddc7' source_sha256 '21b6b249b51c6800dc9553b65106e1e37d0e25df942c90531d4c3997aa20a88e'
def self.build def self.build
system "./configure" system "./configure"
......
...@@ -5,7 +5,7 @@ class Pkgconfig < Package ...@@ -5,7 +5,7 @@ class Pkgconfig < Package
homepage 'https://www.freedesktop.org/wiki/Software/pkg-config/' homepage 'https://www.freedesktop.org/wiki/Software/pkg-config/'
version '0.29.2' version '0.29.2'
source_url 'http://pkgconfig.freedesktop.org/releases/pkg-config-0.29.2.tar.gz' 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. # It is not possible to write buildessential here since it causes dependency loop.
# depends_on 'buildessential' # depends_on 'buildessential'
......
...@@ -5,7 +5,7 @@ class Postgres < Package ...@@ -5,7 +5,7 @@ class Postgres < Package
homepage 'https://www.postgresql.org/' homepage 'https://www.postgresql.org/'
version '9.5.0' version '9.5.0'
source_url 'https://ftp.postgresql.org/pub/source/v9.5.0/postgresql-9.5.0.tar.bz2' 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' depends_on 'buildessential'
......
...@@ -5,13 +5,13 @@ class Powerline_fonts < Package ...@@ -5,13 +5,13 @@ class Powerline_fonts < Package
homepage 'https://github.com/powerline/fonts' homepage 'https://github.com/powerline/fonts'
version '1.1' version '1.1'
source_url 'https://codeload.github.com/powerline/fonts/tar.gz/2015-12-04?dummy=/' source_url 'https://codeload.github.com/powerline/fonts/tar.gz/2015-12-04?dummy=/'
source_sha1 '4ffe9a28b842ba4ef052b3ffa8cc58db1dbecc64' source_sha256 '3a0b73abca6334b5e6bddefab67f6eb1b2fac1231817d95fc79126c8998c4844'
def self.install def self.install
fonts = "#{CREW_DEST_DIR}/usr/local/share/fonts" fonts = "#{CREW_DEST_DIR}/usr/local/share/fonts"
FileUtils.mkdir_p(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 FileUtils.mv(f, fonts) unless ["README.rst", "install.sh"].include? f
end end
...@@ -28,7 +28,7 @@ class Powerline_fonts < Package ...@@ -28,7 +28,7 @@ class Powerline_fonts < Package
puts "\nFonts will be available after restart or chrome:inducebrowsercrashforrealz" 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 "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" puts "in the Javascript Console to change the font to DejaVu Sans Mono, for example\n\n"
end end
end end
......
...@@ -5,7 +5,7 @@ class Powerstat < Package ...@@ -5,7 +5,7 @@ class Powerstat < Package
homepage 'http://kernel.ubuntu.com/~cking/powerstat/' homepage 'http://kernel.ubuntu.com/~cking/powerstat/'
version '0.02.11' version '0.02.11'
source_url 'http://kernel.ubuntu.com/~cking/tarballs/powerstat/powerstat-0.02.11.tar.gz' source_url 'http://kernel.ubuntu.com/~cking/tarballs/powerstat/powerstat-0.02.11.tar.gz'
source_sha1 '729c5f8f4509ab13134278c8afe04cf2244d928c' source_sha256 'a274a7762c44695129434bab2ff10a23575ecb0c1199eb6e424e1324c61a2d46'
def self.build def self.build
system "sed -i 's,/usr,/usr/local,g' Makefile" system "sed -i 's,/usr,/usr/local,g' Makefile"
......
...@@ -5,7 +5,7 @@ class Proj4 < Package ...@@ -5,7 +5,7 @@ class Proj4 < Package
homepage 'http://proj4.org/' homepage 'http://proj4.org/'
version '4.9.1-1' version '4.9.1-1'
source_url 'http://download.osgeo.org/proj/proj-4.9.1.tar.gz' source_url 'http://download.osgeo.org/proj/proj-4.9.1.tar.gz'
source_sha1 '0bc63a41f1bdcff600d076c056f796007abf3f2f' source_sha256 'fca0388f3f8bc5a1a803d2f6ff30017532367992b30cf144f2d39be88f36c319'
def self.build def self.build
system "./configure CFLAGS=\" -fPIC\"" system "./configure CFLAGS=\" -fPIC\""
......
...@@ -5,7 +5,7 @@ class Protobuf < Package ...@@ -5,7 +5,7 @@ class Protobuf < Package
homepage 'https://developers.google.com/protocol-buffers/' homepage 'https://developers.google.com/protocol-buffers/'
version '3.3.0' version '3.3.0'
source_url 'https://github.com/google/protobuf/archive/v3.3.0.tar.gz' source_url 'https://github.com/google/protobuf/archive/v3.3.0.tar.gz'
source_sha1 '34bcb26fe1eff098224c93b9176fb2400f1f2a84' source_sha256 '94c414775f275d876e5e0e4a276527d155ab2d0da45eed6b7734301c330be36e'
depends_on 'automake' depends_on 'automake'
depends_on 'libtool' depends_on 'libtool'
......
...@@ -5,7 +5,7 @@ class Pv < Package ...@@ -5,7 +5,7 @@ class Pv < Package
homepage 'http://www.ivarch.com/programs/pv.shtml' homepage 'http://www.ivarch.com/programs/pv.shtml'
version '1.6.0' version '1.6.0'
source_url 'http://www.ivarch.com/programs/sources/pv-1.6.0.tar.gz' source_url 'http://www.ivarch.com/programs/sources/pv-1.6.0.tar.gz'
source_sha1 '395ce62f4f3e035b86c77038f04b96c5aa233595' source_sha256 '9dd45391806b0ed215abee4c5ac1597d018c386fe9c1f5afd2f6bc3b07fd82c3'
def self.build def self.build
system "./configure" system "./configure"
......
...@@ -5,7 +5,7 @@ class Pwgen < Package ...@@ -5,7 +5,7 @@ class Pwgen < Package
homepage 'https://sourceforge.net/projects/pwgen/' homepage 'https://sourceforge.net/projects/pwgen/'
version '2.07' version '2.07'
source_url 'https://pilotfiber.dl.sourceforge.net/project/pwgen/pwgen/2.07/pwgen-2.07.tar.gz' 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 def self.build
system "./configure --prefix=/usr/local" system "./configure --prefix=/usr/local"
...@@ -13,6 +13,6 @@ class Pwgen < Package ...@@ -13,6 +13,6 @@ class Pwgen < Package
end end
def self.install def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end end
end end
...@@ -7,13 +7,13 @@ class Python < Package ...@@ -7,13 +7,13 @@ class Python < Package
binary_url ({ binary_url ({
aarch64: 'https://dl.dropboxusercontent.com/s/xsu18iggr51ewqh/python-3.3.2-chromeos-armv7l.tar.xz', 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', 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', 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?token_hash=AAHIdz6pWcOrfty7C8ACuRcLDq0d0ERYs0jCgOPLn5USUQ&dl=1', x86_64: 'https://dl.dropboxusercontent.com/s/r1zvmza51hrr87q/python-3.3.2-chromeos-x86_64.tar.gz',
}) })
binary_sha1 ({ binary_sha256 ({
aarch64: 'b32ee2db9c14d7e2d1df6d43836312521a3ece91', aarch64: '0a89003a282daeea2a9232d98135582dbe3a620b600036cdc2ce71409f18fbe3',
armv7l: 'b32ee2db9c14d7e2d1df6d43836312521a3ece91', armv7l: '0a89003a282daeea2a9232d98135582dbe3a620b600036cdc2ce71409f18fbe3',
i686: 'a985a4bba243b4fa701db302dc2fa554aef76f1c', i686: 'dff30c6671aa3f378424f75eb704c6ef0fb806155a6e205246a06c9d347932df',
x86_64: 'fbfe0946c2f9191bd6110705994d459e373a8b09', x86_64: '2a6f2786a82e1600abf795387ff80eb7407be9c2db94a10e58f59060b832388d',
}) })
end end
...@@ -5,7 +5,7 @@ class Python27 < Package ...@@ -5,7 +5,7 @@ class Python27 < Package
homepage 'https://www.python.org/' homepage 'https://www.python.org/'
version '2.7.13-2' version '2.7.13-2'
source_url 'https://www.python.org/ftp/python/2.7.13/Python-2.7.13.tar.xz' 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 'bz2' => :build
depends_on 'ncurses' depends_on 'ncurses'
......
...@@ -5,7 +5,7 @@ class Python3 < Package ...@@ -5,7 +5,7 @@ class Python3 < Package
homepage 'https://www.python.org/' homepage 'https://www.python.org/'
version '3.6.0' version '3.6.0'
source_url 'https://www.python.org/ftp/python/3.6.0/Python-3.6.0.tgz' 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 'bz2' => :build
depends_on 'xzutils' => :build depends_on 'xzutils' => :build
......
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