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
Łukasz Nowak
chromebrew
Commits
3e076029
Commit
3e076029
authored
Oct 20, 2017
by
Ed Reel
Committed by
GitHub
Oct 20, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1313 from cstrouse/update-nginx
Update nginx from 1.13.5 to 1.13.6
parents
f0d1be4a
b8e5a415
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
packages/nginx.rb
packages/nginx.rb
+9
-8
No files found.
packages/nginx.rb
View file @
3e076029
...
...
@@ -3,9 +3,9 @@ require 'package'
class
Nginx
<
Package
description
'nginx [engine x] is an HTTP and reverse proxy server, a mail proxy server, and a generic TCP/UDP proxy server, originally written by Igor Sysoev.'
homepage
'http://nginx.org/'
version
'1.13.
5
'
source_url
'https://nginx.org/download/nginx-1.13.
5
.tar.gz'
source_sha256
'
0e75b94429b3f745377aeba3aff97da77bf2b03fcb9ff15b3bad9b038db29f2e
'
version
'1.13.
6
'
source_url
'https://nginx.org/download/nginx-1.13.
6
.tar.gz'
source_sha256
'
8512fc6f986a20af293b61f33b0e72f64a72ea5b1acbcc790c4c4e2d6f63f8f8
'
binary_url
({
})
...
...
@@ -15,14 +15,15 @@ class Nginx < Package
depends_on
'pcre'
def
self
.
build
system
"./configure"
system
"make"
system
'./configure'
,
"--prefix=
#{
CREW_PREFIX
}
"
system
'make'
end
def
self
.
install
system
"make"
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
"install"
system
"mkdir -p
#{
CREW_DEST_
DIR
}#{
CREW_
PREFIX
}
/bin"
FileUtils
.
cd
(
"
#{
CREW_DEST_
DIR
}#{
CREW_
PREFIX
}
/bin"
)
do
system
'make'
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
'install'
system
"mkdir -p
#{
CREW_DEST_PREFIX
}
/bin"
FileUtils
.
cd
(
"
#{
CREW_DEST_PREFIX
}
/bin"
)
do
system
"ln -s
#{
CREW_PREFIX
}
/nginx/sbin/nginx nginx"
system
"echo '#!/bin/bash' > startnginx"
system
"echo 'sudo nginx' >> startnginx"
...
...
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