日本OpenSolaris Users Group有志による、レポジトリサーバ作成のためのspecファイル群です。
Revision | e049683d8a9699391c19b0d618166409011d2ec4 (tree) |
---|---|
Time | 2014-06-12 23:30:15 |
Author | YAMAMOTO Takashi <yamachan@self...> |
Commiter | YAMAMOTO Takashi |
SFEphp54: ready for postgres
@@ -8,7 +8,7 @@ | ||
8 | 8 | %include base.inc |
9 | 9 | # |
10 | 10 | %define with_imap 1 |
11 | -%define with_pgsql 0 | |
11 | +%define with_pgsql 1 | |
12 | 12 | %define with_unixodbc 0 |
13 | 13 | %define with_pspell 0 |
14 | 14 | %define with_recode 0 |
@@ -579,7 +579,7 @@ | ||
579 | 579 | %package pgsql |
580 | 580 | Summary: A PostgreSQL database module for PHP |
581 | 581 | Group: Development/Languages |
582 | -IPS_package_name: web/php-54/extension/php-pgsql | |
582 | +IPS_package_name: web/php-54/extension/php-postgres | |
583 | 583 | # All files licensed under PHP version 3.01 |
584 | 584 | License: PHP |
585 | 585 | #Requires: %{?scl_prefix}php-pdo%{?_isa} = %{version}-%{release} |
@@ -589,7 +589,9 @@ | ||
589 | 589 | #Provides: %{?scl_prefix}php_database |
590 | 590 | #Provides: %{?scl_prefix}php-pdo_pgsql, %{?scl_prefix}php-pdo_pgsql%{?_isa} |
591 | 591 | #%{!?scl:Obsoletes: mod_php3-pgsql, stronghold-php-pgsql} |
592 | -BuildRequires: krb5-devel, openssl-devel, postgresql-devel | |
592 | +#BuildRequires: krb5-devel, openssl-devel, postgresql-devel | |
593 | +BuildRequires: %{pnm_buildrequires_service_security_kerberos_5} | |
594 | +BuildRequires: %{pnm_buildrequires_SUNWopenssl} | |
593 | 595 | BuildRequires: database/postgres-92/library |
594 | 596 | BuildRequires: database/postgres-92/developer |
595 | 597 | BuildRequires: %{pnm_buildrequires_text_gnu_sed} |
@@ -971,10 +973,6 @@ | ||
971 | 973 | %patch8 -p1 -b .libdb |
972 | 974 | |
973 | 975 | %patch21 -p1 -b .odbctimer |
974 | -#%patch22 -p1 -b .pdopgsql | |
975 | -#%patch23 -p1 -b .gc | |
976 | -#%patch24 -p1 -b .fpm | |
977 | -#%patch25 -p1 -b .manpages | |
978 | 976 | |
979 | 977 | %patch40 -p1 -b .dlopen |
980 | 978 | %patch41 -p1 -b .easter |
@@ -989,11 +987,6 @@ | ||
989 | 987 | %patch46 -p1 -b .fixheader |
990 | 988 | %patch47 -p1 -b .phpinfo |
991 | 989 | |
992 | -#%patch60 -p1 -b .pdotests | |
993 | - | |
994 | -#%patch100 -p1 -b .cve4113 | |
995 | -#%patch101 -p1 -b .cve4248 | |
996 | - | |
997 | 990 | %patch200 -p1 -b .mempcpy |
998 | 991 | %patch201 -p1 -b .orig |
999 | 992 | %patch202 -p1 -b .orig |
@@ -1590,7 +1583,7 @@ | ||
1590 | 1583 | install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/ |
1591 | 1584 | install -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/php.ini |
1592 | 1585 | #install -m 755 -d $RPM_BUILD_ROOT%{_httpd_contentdir}/icons |
1593 | -#install -m 644 php.gif $RPM_BUILD_ROOT%{_httpd_contentdir}/icons/php5.gif | |
1586 | +#install -m 644 php.gif $RPM_BUILD_ROOT%{_httpd_contentdir}/icons/php.gif | |
1594 | 1587 | /bin/rm -rf php.gif |
1595 | 1588 | |
1596 | 1589 | # For third-party packaging: |
@@ -1880,9 +1873,9 @@ | ||
1880 | 1873 | popd |
1881 | 1874 | %endif |
1882 | 1875 | mkdir -p "${RPM_BUILD_ROOT}/lib/svc/method" |
1883 | -cp "%{SOURCE200}" "${RPM_BUILD_ROOT}/lib/svc/method/php5-fpm" | |
1876 | +cp "%{SOURCE200}" "${RPM_BUILD_ROOT}/lib/svc/method/php54-fpm" | |
1884 | 1877 | mkdir -p "${RPM_BUILD_ROOT}%{svcdir}" |
1885 | -cp "%{SOURCE201}" "${RPM_BUILD_ROOT}%{svcdir}/php5-fpm.xml" | |
1878 | +cp "%{SOURCE201}" "${RPM_BUILD_ROOT}%{svcdir}/php54-fpm.xml" | |
1886 | 1879 | |
1887 | 1880 | %clean |
1888 | 1881 | %if %{skip_prep} |
@@ -2000,7 +1993,7 @@ | ||
2000 | 1993 | #%if "%{_httpd_modconfdir}" != "%{_httpd_confdir}" |
2001 | 1994 | #%config(noreplace) %{_httpd_modconfdir}/10-php.conf |
2002 | 1995 | #%endif |
2003 | -#%{_httpd_contentdir}/icons/php5.gif | |
1996 | +#%{_httpd_contentdir}/icons/php.gif | |
2004 | 1997 | %if %{with_mediator_in_directory_usr_php_bin} |
2005 | 1998 | %attr (0555, root, bin) %ips_tag (mediator=php mediator-version=%{major_version}) /usr/php/bin |
2006 | 1999 | %attr (0555, root, bin) %ips_tag (mediator=php mediator-version=%{major_version}) /usr/php/include |
@@ -2078,11 +2071,11 @@ | ||
2078 | 2071 | %dir %attr (0755, root, sys) %{_localstatedir}/svc |
2079 | 2072 | %dir %attr (0755, root, sys) %{_localstatedir}/svc/manifest |
2080 | 2073 | %dir %attr (0755, root, sys) %{_localstatedir}/svc/manifest/site |
2081 | -%class(manifest) %attr (0444, root, sys) %{_localstatedir}/svc/manifest/site/php5-fpm.xml | |
2074 | +%class(manifest) %attr (0444, root, sys) %{_localstatedir}/svc/manifest/site/php54-fpm.xml | |
2082 | 2075 | %dir %attr (0755, root, bin) /lib |
2083 | 2076 | %dir %attr (0755, root, bin) /lib/svc |
2084 | 2077 | %dir %attr (0755, root, bin) /lib/svc/method |
2085 | -%attr (0555, root, bin) /lib/svc/method/php5-fpm | |
2078 | +%attr (0555, root, bin) /lib/svc/method/php54-fpm | |
2086 | 2079 | %endif |
2087 | 2080 | |
2088 | 2081 | %files devel |
@@ -2169,6 +2162,9 @@ | ||
2169 | 2162 | %endif |
2170 | 2163 | |
2171 | 2164 | %changelog |
2165 | +* Thr Jun 12 2014 YAMAMOTO Takashi <yamachan@selfnavi.com> - 5.4.29 | |
2166 | +- Ready for postgres | |
2167 | + | |
2172 | 2168 | * Tue June 10 2014 YAMAMOTO Takashi <yamachan@selfnavi.com> - 5.4.29 |
2173 | 2169 | - Bump up to 5.4.29 |
2174 | 2170 | - Fixed problem: |