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
Guillaume Hervier
chromebrew
Commits
05977c7d
Commit
05977c7d
authored
Nov 11, 2017
by
Casey Strouse
Committed by
GitHub
Nov 11, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1398 from uberhacker/update-httpd-package
Update httpd from 2.4.27 to 2.4.29
parents
1ea4a05c
6b1a0e09
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
12 deletions
+32
-12
packages/httpd.rb
packages/httpd.rb
+32
-12
No files found.
packages/httpd.rb
View file @
05977c7d
...
...
@@ -3,21 +3,13 @@ require 'package'
class
Httpd
<
Package
description
'The Apache HTTP Server Project is an effort to develop and maintain an open-source HTTP server for modern operating systems including UNIX and Windows.'
homepage
'http://httpd.apache.org/'
version
'2.4.2
7
'
source_url
'http
://www-us.apache.org/dist/httpd/httpd-2.4.27
.tar.gz'
source_sha256
'
346dd3d016ae5d7101016e68805150bdce9040a8d246c289aa70e68a7cd86b66
'
version
'2.4.2
9
'
source_url
'http
s://www-us.apache.org/dist/httpd/httpd-2.4.29
.tar.gz'
source_sha256
'
948e4a11278a5954698b880b30f401b1e9ab743713ee2c7280a54dd4ddd87085
'
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/httpd-2.4.27-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/httpd-2.4.27-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/httpd-2.4.27-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/httpd-2.4.27-chromeos-x86_64.tar.xz'
,
})
binary_sha256
({
aarch64:
'a1a143e339089ed712e7c5c85eebf7af2d21001e51931a6ce9d4508f27598bb9'
,
armv7l:
'a1a143e339089ed712e7c5c85eebf7af2d21001e51931a6ce9d4508f27598bb9'
,
i686:
'3d462f9c3704fb7b58b5c3e57a0c8307669e26b85103612a132674fc35c3b9c0'
,
x86_64:
'50a7f5187edb55a4d7ec9f47ad8d6972b3d28bb659bbb2bb96e2804ffe9733ef'
,
})
depends_on
'apr'
...
...
@@ -27,11 +19,39 @@ class Httpd < Package
depends_on
'expat'
def
self
.
build
system
'./configure'
system
'./configure'
,
"--prefix=
#{
CREW_PREFIX
}
/share/httpd"
,
"--libdir=
#{
CREW_LIB_PREFIX
}
"
,
"--bindir=
#{
CREW_PREFIX
}
/bin"
,
"--sbindir=
#{
CREW_PREFIX
}
/bin"
,
'--disable-maintainer-mode'
,
'--disable-debugger-mode'
system
'make'
end
def
self
.
install
system
"make"
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
"install"
end
def
self
.
postinstall
puts
puts
"All things HTTPD are in
#{
CREW_PREFIX
}
/share/httpd."
.
lightblue
puts
puts
"Pages are stored in
#{
CREW_PREFIX
}
/share/httpd/htdocs."
.
lightblue
puts
puts
"To start/stop httpd, execute the following:"
.
lightblue
puts
"sudo apachectl start - starts httpd"
.
lightblue
puts
"sudo apachectl stop - stops httpd"
.
lightblue
puts
puts
"To start httpd on login, execute the following:"
.
lightblue
puts
"echo 'if [ -f
#{
CREW_PREFIX
}
/bin/apachectl ]; then' >> ~/.bashrc"
.
lightblue
puts
"echo ' sudo
#{
CREW_PREFIX
}
/bin/apachectl start' >> ~/.bashrc"
.
lightblue
puts
"echo 'fi' >> ~/.bashrc"
.
lightblue
puts
"source ~/.bashrc"
.
lightblue
puts
puts
"To completely remove httpd, perform the following:"
.
lightblue
puts
"crew remove httpd"
.
lightblue
puts
"sudo rm -rf
#{
CREW_PREFIX
}
/share/httpd"
.
lightblue
puts
end
end
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