Browse Source

upgrading package: apache-suphp 0.7.1 -> 0.7.2

master
parent
commit
392df8f81a
  1. 19
      apache-suphp/apache-suphp.spec

19
apache-suphp/apache-suphp.spec

@ -31,8 +31,8 @@ Distribution: OpenPKG Community
Class: EVAL Class: EVAL
Group: Web Group: Web
License: GPL License: GPL
Version: 0.7.1 Version: 0.7.2
Release: 20100402 Release: 20150117
# package options # package options
%option with_suphp_caller %{l_nusr} %option with_suphp_caller %{l_nusr}
@ -46,8 +46,8 @@ Source2: suphp.conf
Patch0: apache-suphp.patch Patch0: apache-suphp.patch
# build information # build information
BuildPreReq: OpenPKG, openpkg >= 20100101, gcc, gcc::with_cxx = yes BuildPreReq: OpenPKG, openpkg >= 20140101, gcc, gcc::with_cxx = yes, autoconf, automake, libtool
PreReq: OpenPKG, openpkg >= 20100101 PreReq: OpenPKG, openpkg >= 20140101
BuildPreReq: apache, apr, php BuildPreReq: apache, apr, php
PreReq: apache, apr, php PreReq: apache, apr, php
@ -70,26 +70,23 @@ PreReq: apache, apr, php
%prep %prep
%setup -q -n suphp-%{version} %setup -q -n suphp-%{version}
%{l_sed} <%{PATCH0} -e 's;@l_prefix@;%{l_prefix};g' | %{l_patch} -p0 -b %{l_sed} <%{PATCH0} -e 's;@l_prefix@;%{l_prefix};g' | %{l_patch} -p0 -b
chmod a+x config/install-sh
%build %build
aclocal
automake --add-missing
libtoolize
autoconf
CC="%{l_cc}" \ CC="%{l_cc}" \
CFLAGS="%{l_cflags -O}" \ CFLAGS="%{l_cflags -O}" \
AUTOCONF="true" \
AUTOHEADER="true" \
AUTOMAKE="true" \
ACLOCAL="true" \
./configure \ ./configure \
--prefix=%{l_prefix} \ --prefix=%{l_prefix} \
--sysconfdir=%{l_prefix}/etc/apache \ --sysconfdir=%{l_prefix}/etc/apache \
--with-apr="%{l_prefix}/bin/apr-1-config" \ --with-apr="%{l_prefix}/bin/apr-1-config" \
--with-apxs="%{l_prefix}/sbin/apxs" \ --with-apxs="%{l_prefix}/sbin/apxs" \
--with-apache-user=%{with_suphp_caller} \ --with-apache-user=%{with_suphp_caller} \
--with-php=%{with_suphp_phpcgi} \
--with-logfile=%{l_prefix}/var/apache/log/apache-suphp.log \ --with-logfile=%{l_prefix}/var/apache/log/apache-suphp.log \
--with-setid-mode=%{with_suphp_ugid_mode} \ --with-setid-mode=%{with_suphp_ugid_mode} \
--enable-shared --enable-shared
%{l_make} %{l_mflags -O} %{l_make} %{l_mflags -O}
%install %install

Loading…
Cancel
Save