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
437b0b33
Commit
437b0b33
authored
Mar 23, 2021
by
saltedcoffii
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove need for wget
parent
257d1a65
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
5 deletions
+5
-5
packages/buildessential.rb
packages/buildessential.rb
+1
-1
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
No files found.
packages/buildessential.rb
View file @
437b0b33
...
...
@@ -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 @
437b0b33
...
...
@@ -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 -#L
O 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 @
437b0b33
...
...
@@ -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 @
437b0b33
...
...
@@ -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 @
437b0b33
...
...
@@ -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'
...
...
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