1 |
graaff 14/05/30 06:50:15 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: passenger-4.0.44.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!) |
9 |
|
10 |
Revision Changes Path |
11 |
1.93 www-apache/passenger/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apache/passenger/ChangeLog?rev=1.93&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apache/passenger/ChangeLog?rev=1.93&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apache/passenger/ChangeLog?r1=1.92&r2=1.93 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/www-apache/passenger/ChangeLog,v |
20 |
retrieving revision 1.92 |
21 |
retrieving revision 1.93 |
22 |
diff -u -r1.92 -r1.93 |
23 |
--- ChangeLog 10 May 2014 07:20:55 -0000 1.92 |
24 |
+++ ChangeLog 30 May 2014 06:50:15 -0000 1.93 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for www-apache/passenger |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/www-apache/passenger/ChangeLog,v 1.92 2014/05/10 07:20:55 graaff Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/www-apache/passenger/ChangeLog,v 1.93 2014/05/30 06:50:15 graaff Exp $ |
30 |
+ |
31 |
+*passenger-4.0.44 (30 May 2014) |
32 |
+ |
33 |
+ 30 May 2014; Hans de Graaff <graaff@g.o> +passenger-4.0.44.ebuild: |
34 |
+ Version bump. |
35 |
|
36 |
*passenger-4.0.42 (10 May 2014) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 www-apache/passenger/passenger-4.0.44.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apache/passenger/passenger-4.0.44.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apache/passenger/passenger-4.0.44.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: passenger-4.0.44.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2014 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/www-apache/passenger/passenger-4.0.44.ebuild,v 1.1 2014/05/30 06:50:15 graaff Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
USE_RUBY="ruby19 ruby20 ruby21" |
54 |
|
55 |
inherit apache-module flag-o-matic multilib ruby-ng toolchain-funcs |
56 |
|
57 |
DESCRIPTION="Passenger (a.k.a. mod_rails) makes deployment of Ruby on Rails applications a breeze" |
58 |
HOMEPAGE="http://modrails.com/" |
59 |
SRC_URI="http://s3.amazonaws.com/phusion-passenger/releases/${P}.tar.gz" |
60 |
|
61 |
LICENSE="GPL-2" |
62 |
SLOT="0" |
63 |
KEYWORDS="~amd64 ~x86" |
64 |
IUSE="debug" |
65 |
|
66 |
ruby_add_bdepend "dev-ruby/rake" |
67 |
|
68 |
ruby_add_rdepend " |
69 |
>=dev-ruby/daemon_controller-1.2.0 |
70 |
>=dev-ruby/rack-1.0.0 |
71 |
>=dev-ruby/rake-0.8.1" |
72 |
|
73 |
CDEPEND=">=dev-libs/libev-4.15 net-misc/curl[ssl] |
74 |
www-servers/apache[apache2_modules_unixd(+)]" |
75 |
|
76 |
RDEPEND="${RDEPEND} ${CDEPEND}" |
77 |
DEPEND="${DEPEND} ${CDEPEND}" |
78 |
|
79 |
APACHE2_MOD_CONF="30_mod_${PN}-4.0.0 30_mod_${PN}" |
80 |
APACHE2_MOD_DEFINE="PASSENGER" |
81 |
|
82 |
need_apache2 |
83 |
|
84 |
pkg_setup() { |
85 |
use debug && append-flags -DPASSENGER_DEBUG |
86 |
} |
87 |
|
88 |
all_ruby_prepare() { |
89 |
epatch "${FILESDIR}"/${PN}-4.0.33-gentoo.patch |
90 |
|
91 |
# Change these with sed instead of a patch so that we can easily use |
92 |
# the toolchain-funcs methods. |
93 |
sed -i -e "s/gcc/$(tc-getCC)/" \ |
94 |
-e "s/g++/$(tc-getCXX)/" \ |
95 |
-e 's/PlatformInfo.debugging_cflags//' build/basics.rb || die |
96 |
|
97 |
# Use sed here so that we can dynamically set the documentation directory. |
98 |
sed -i -e "s:/usr/share/doc/passenger:/usr/share/doc/${P}:" \ |
99 |
-e "s:/usr/lib/apache2/modules/mod_passenger.so:${APACHE_MODULESDIR}/mod_passenger.so:" \ |
100 |
-e "s:/usr/lib/phusion-passenger/agents:/usr/libexec/phusion-passenger/agents:" \ |
101 |
lib/phusion_passenger.rb || die |
102 |
sed -i -e "s:/usr/lib/phusion-passenger/agents:/usr/libexec/phusion-passenger/agents:" ext/common/ResourceLocator.h || die |
103 |
|
104 |
# Don't install a tool that won't work in our setup. |
105 |
sed -i -e '/passenger-install-apache2-module/d' lib/phusion_passenger/packaging.rb || die |
106 |
rm -f bin/passenger-install-apache2-module || die "Unable to remove unneeded install script." |
107 |
|
108 |
# Make sure we use the system-provided version. |
109 |
rm -rf ext/libev || die "Unable to remove vendored libev." |
110 |
|
111 |
# Avoid building documentation to avoid a dependency on mizuho. |
112 |
#sed -i -e 's/, :doc//' build/packaging.rb || die |
113 |
touch doc/*.html || die |
114 |
|
115 |
# Use the correct arch-specific lib directory |
116 |
sed -i -e 's:/usr/lib/:/usr/'$(get_libdir)'/:' build/packaging.rb || die |
117 |
|
118 |
# Fix hard-coded use of AR |
119 |
sed -i -e "s/ar cru/"$(tc-getAR)" cru/" build/cplusplus_support.rb || die |
120 |
} |
121 |
|
122 |
all_ruby_compile() { |
123 |
V=1 EXTRA_LDFLAGS="${LDFLAGS}" \ |
124 |
APXS2="${APXS}" \ |
125 |
HTTPD="${APACHE_BIN}" \ |
126 |
USE_VENDORED_LIBEV="no" LIBEV_LIBS="-lev" \ |
127 |
ruby -S rake apache2 || die "rake failed" |
128 |
} |
129 |
|
130 |
each_ruby_compile() { |
131 |
append-flags -fno-strict-aliasing |
132 |
|
133 |
V=1 EXTRA_LDFLAGS="${LDFLAGS}" \ |
134 |
APXS2="${APXS}" \ |
135 |
HTTPD="${APACHE_BIN}" \ |
136 |
USE_VENDORED_LIBEV="no" LIBEV_LIBS="-lev" \ |
137 |
${RUBY} -S rake native_support || die "rake failed" |
138 |
} |
139 |
|
140 |
all_ruby_install() { |
141 |
APACHE2_MOD_FILE="${S}/buildout/apache2/mod_${PN}.so" |
142 |
apache-module_src_install |
143 |
|
144 |
# Patch in the correct libdir |
145 |
sed -i -e 's:/usr/lib/:/usr/'$(get_libdir)'/:' "${D}${APACHE_MODULES_CONFDIR}/30_mod_${PN}.conf" || die |
146 |
} |
147 |
|
148 |
each_ruby_install() { |
149 |
DISTDIR="${D}" \ |
150 |
RUBYLIBDIR="$(ruby_rbconfig_value vendordir)" \ |
151 |
RUBYARCHDIR="$(ruby_rbconfig_value archdir)" \ |
152 |
APXS2="${APXS}" \ |
153 |
HTTPD="${APACHE_BIN}" \ |
154 |
EXTRA_LDFLAGS="${LDFLAGS}" \ |
155 |
USE_VENDORED_LIBEV="no" LIBEV_LIBS="-lev" \ |
156 |
${RUBY} -S rake fakeroot || die "rake failed" |
157 |
} |
158 |
|
159 |
pkg_postint() { |
160 |
einfo "The apache module is compiled for the currently eselected ruby." |
161 |
einfo" If you eselect another ruby you must recompile passenger as well." |
162 |
} |