Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
chromebrew
Commits
272b5579
Commit
272b5579
authored
Mar 23, 2021
by
Ed Reel
Committed by
GitHub
Mar 23, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5470 from saltedcoffii/remove-wget
Remove need for wget
parents
716b8ae8
7d20a68b
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
7 additions
and
8 deletions
+7
-8
packages/buildessential.rb
packages/buildessential.rb
+2
-2
packages/dr.rb
packages/dr.rb
+1
-1
packages/iniparser.rb
packages/iniparser.rb
+1
-1
packages/js78.rb
packages/js78.rb
+1
-1
packages/nmon.rb
packages/nmon.rb
+1
-1
packages/wp_cli.rb
packages/wp_cli.rb
+1
-1
tools/core_packages.txt
tools/core_packages.txt
+0
-1
No files found.
packages/buildessential.rb
View file @
272b5579
...
...
@@ -3,7 +3,7 @@ require 'package'
class
Buildessential
<
Package
description
'A collection of tools essential to compile and build software.'
homepage
''
version
'1.
9
'
version
'1.
10
'
license
'GPL-3+'
compatibility
'all'
...
...
@@ -45,7 +45,7 @@ class Buildessential < Package
depends_on
'flex'
depends_on
'util_macros'
depends_on
'gettext'
depends_on
'wget'
# in some cases, patches might be required and can be downloaded using wget
# depends_on 'wget' # use 'curl -#LO' instead
depends_on
'mawk'
# compression utilities
...
...
packages/dr.rb
View file @
272b5579
...
...
@@ -14,7 +14,7 @@ class Dr < Package
depends_on
'setuptools'
def
self
.
install
system
'
wget -O
dr/dr https://github.com/Ewpratten/dr/releases/download/2.0-cros/dr'
system
'
curl -#Lo
dr/dr https://github.com/Ewpratten/dr/releases/download/2.0-cros/dr'
abort
'Checksum mismatch. :/ Try again.'
.
lightred
unless
Digest
::
SHA256
.
hexdigest
(
File
.
read
(
'dr/dr'
)
)
==
'4e39a28f947ac044e28349fb10ffb423100fb00acb0ab819e931d931e3f0b02f'
system
"install -Dm755 dr/dr
#{
CREW_DEST_PREFIX
}
/bin/dr"
system
"pip3 install . --prefix
#{
CREW_PREFIX
}
--root
#{
CREW_DEST_DIR
}
--upgrade --no-cache-dir -r requirements.txt"
...
...
packages/iniparser.rb
View file @
272b5579
...
...
@@ -24,7 +24,7 @@ class Iniparser < Package
def
self
.
patch
# Fix buffer overflow vulnerabilities
system
'
wget'
,
'
https://github.com/ndevilla/iniparser/commit/a249509544972d60f5077bfde554af480bd82594.patch'
system
'
curl -#LO
https://github.com/ndevilla/iniparser/commit/a249509544972d60f5077bfde554af480bd82594.patch'
abort
'Checksum mismatch. :/ Try again.'
.
lightred
unless
Digest
::
SHA256
.
hexdigest
(
File
.
read
(
'a249509544972d60f5077bfde554af480bd82594.patch'
)
)
==
'1b1fe5d2faf6eb5bed51b80b046d4699c09b14b3e5e5277aed790a8741fcad8b'
system
'patch'
,
'-Np1'
,
'-i'
,
'a249509544972d60f5077bfde554af480bd82594.patch'
# Fix libdir
...
...
packages/js78.rb
View file @
272b5579
...
...
@@ -40,7 +40,7 @@ class Js78 < Package
patch_url
=
'http://archive.ubuntu.com/ubuntu/pool/main/m/mozjs78/mozjs78_78.4.0-2.debian.tar.xz'
patch_sha256
=
'dcf2eec86c275448656cf18b3c142c3a2067dc8fdeff029211b66182b9179d21'
system
(
'
wget'
,
'--continue'
,
'--no-check-certificate'
,
patch_url
,
'-O
'
,
'unzippatches.tar.xz'
)
system
(
'
curl -#L'
,
patch_url
,
'-o
'
,
'unzippatches.tar.xz'
)
unless
Digest
::
SHA256
.
hexdigest
(
File
.
read
(
'./unzippatches.tar.xz'
))
==
patch_sha256
abort
'Checksum mismatch :/ try again'
end
...
...
packages/nmon.rb
View file @
272b5579
...
...
@@ -25,7 +25,7 @@ class Nmon < Package
depends_on
'ncurses'
def
self
.
build
system
'
wget
http://downloads.sourceforge.net/project/nmon/lmon16g.c'
system
'
curl -#LO
http://downloads.sourceforge.net/project/nmon/lmon16g.c'
abort
'Checksum mismatch. :/ Try again.'
.
lightred
unless
Digest
::
SHA256
.
hexdigest
(
File
.
read
(
'lmon16g.c'
)
)
==
'da82dd693b503b062854dfe7dbb5d36b347872ab44a4aa05b97e9d577747f688'
system
"sed -i 's,<ncurses.h>,<
#{
CREW_PREFIX
}
/include/ncurses/ncurses.h>,' lmon16g.c"
system
'cc -o nmon lmon16g.c -g -O3 -Wall -D JFS -D GETUSER -D LARGEMEM -lncurses -lm -g -D POWER'
...
...
packages/wp_cli.rb
View file @
272b5579
...
...
@@ -12,7 +12,7 @@ class Wp_cli < Package
depends_on
'php74'
unless
File
.
exists?
"
#{
CREW_PREFIX
}
/bin/php"
def
self
.
build
system
"
wget
https://github.com/wp-cli/wp-cli/releases/download/v
#{
version
}
/wp-cli-
#{
version
}
.phar"
system
"
curl -#LO
https://github.com/wp-cli/wp-cli/releases/download/v
#{
version
}
/wp-cli-
#{
version
}
.phar"
abort
'Checksum mismatch. :/ Try again.'
.
lightred
unless
Digest
::
SHA256
.
hexdigest
(
File
.
read
(
"wp-cli-
#{
version
}
.phar"
)
)
==
'139dcc86ed39ef751679efbdaf57a53528f1afda972c4e3622667cc27397b540'
end
...
...
tools/core_packages.txt
View file @
272b5579
...
...
@@ -85,7 +85,6 @@ trousers
uchardet
unzip
util_macros
wget
xorg_proto
xzutils
zip
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment