Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
passenger
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
certo
passenger
Commits
d553d365
Commit
d553d365
authored
Apr 03, 2019
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initial commit
parents
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
38 additions
and
0 deletions
+38
-0
Makefile
Makefile
+26
-0
passenger-6.0.0-apache_modules.patch
passenger-6.0.0-apache_modules.patch
+12
-0
passenger-6.0.0.tar.gz
passenger-6.0.0.tar.gz
+0
-0
No files found.
Makefile
0 → 100644
View file @
d553d365
all
:
httpd-conf
dd
if
=
/dev/zero
of
=
swap
bs
=
1048576
count
=
1024
chmod
600 swap
mkswap swap
swapon swap
tar
xf
passenger-6.0.0.tar.gz
patch
-Np1
-d
passenger-6.0.0
<
passenger-6.0.0-apache_modules.patch
cd
passenger-6.0.0
&&
rake
fakeroot
cp
-rdfp
passenger-6.0.0/pkg/fakeroot/usr
/
/usr/bin/passenger-install-apache2-module
@echo
"$$HTTPD_CONF"
>
/etc/httpd/conf/passenger.conf
rm
-rf
passenger-6.0.0
swapoff
swap
rm
-rf
swap
httpd-conf
:
define
HTTPD_CONF
LoadModule
passenger_module
/usr/lib/httpd/modules/mod_passenger.so
<IfModule
mod_passenger.c>
PassengerRoot
/usr/lib/ruby/vendor_ruby/phusion_passenger/locations.ini
PassengerDefaultRuby
/usr/bin/ruby
</IfModule>
endef
export
HTTPD_CONF
passenger-6.0.0-apache_modules.patch
0 → 100644
View file @
d553d365
diff -uNr passenger-6.0.0/build/packaging.rb passenger-6.0.0-apache_modules/build/packaging.rb
--- passenger-6.0.0/build/packaging.rb 2013-10-27 10:30:00.000000000 +1030
+++ passenger-6.0.0-apache_modules/build/packaging.rb 2018-12-23 03:34:46.199339890 +1030
@@ -140,7 +140,7 @@
psg_docdir = "#{fs_docdir}/#{GLOBAL_NAMESPACE_DIRNAME}"
psg_bindir = "#{fs_bindir}"
psg_sbindir = "#{fs_sbindir}"
- psg_apache2_module_path = ENV['APACHE2_MODULE_PATH'] || "#{fs_libdir}/apache2/modules/mod_passenger.so"
+ psg_apache2_module_path = ENV['APACHE2_MODULE_PATH'] || "#{fs_libdir}/httpd/modules/mod_passenger.so"
psg_ruby_extension_source_dir = "#{fs_datadir}/#{GLOBAL_NAMESPACE_DIRNAME}/ruby_extension_source"
psg_nginx_module_source_dir = "#{fs_datadir}/#{GLOBAL_NAMESPACE_DIRNAME}/ngx_http_passenger_module"
psg_ruby = ENV['RUBY'] || "#{fs_bindir}/ruby"
passenger-6.0.0.tar.gz
0 → 100644
View file @
d553d365
File added
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