• R/O
  • SSH

contrib-spec-files: Commit

日本OpenSolaris Users Group有志による、レポジトリサーバ作成のためのspecファイル群です。


Commit MetaInfo

Revisione049683d8a9699391c19b0d618166409011d2ec4 (tree)
Time2014-06-12 23:30:15
AuthorYAMAMOTO Takashi <yamachan@self...>
CommiterYAMAMOTO Takashi

Log Message

SFEphp54: ready for postgres

Change Summary

Incremental Difference

diff -r 82d33e9a9744 -r e049683d8a96 specs/SFEphp54.spec
--- a/specs/SFEphp54.spec Wed Jun 11 23:31:08 2014 +0900
+++ b/specs/SFEphp54.spec Thu Jun 12 23:30:15 2014 +0900
@@ -8,7 +8,7 @@
88 %include base.inc
99 #
1010 %define with_imap 1
11-%define with_pgsql 0
11+%define with_pgsql 1
1212 %define with_unixodbc 0
1313 %define with_pspell 0
1414 %define with_recode 0
@@ -579,7 +579,7 @@
579579 %package pgsql
580580 Summary: A PostgreSQL database module for PHP
581581 Group: Development/Languages
582-IPS_package_name: web/php-54/extension/php-pgsql
582+IPS_package_name: web/php-54/extension/php-postgres
583583 # All files licensed under PHP version 3.01
584584 License: PHP
585585 #Requires: %{?scl_prefix}php-pdo%{?_isa} = %{version}-%{release}
@@ -589,7 +589,9 @@
589589 #Provides: %{?scl_prefix}php_database
590590 #Provides: %{?scl_prefix}php-pdo_pgsql, %{?scl_prefix}php-pdo_pgsql%{?_isa}
591591 #%{!?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}
593595 BuildRequires: database/postgres-92/library
594596 BuildRequires: database/postgres-92/developer
595597 BuildRequires: %{pnm_buildrequires_text_gnu_sed}
@@ -971,10 +973,6 @@
971973 %patch8 -p1 -b .libdb
972974
973975 %patch21 -p1 -b .odbctimer
974-#%patch22 -p1 -b .pdopgsql
975-#%patch23 -p1 -b .gc
976-#%patch24 -p1 -b .fpm
977-#%patch25 -p1 -b .manpages
978976
979977 %patch40 -p1 -b .dlopen
980978 %patch41 -p1 -b .easter
@@ -989,11 +987,6 @@
989987 %patch46 -p1 -b .fixheader
990988 %patch47 -p1 -b .phpinfo
991989
992-#%patch60 -p1 -b .pdotests
993-
994-#%patch100 -p1 -b .cve4113
995-#%patch101 -p1 -b .cve4248
996-
997990 %patch200 -p1 -b .mempcpy
998991 %patch201 -p1 -b .orig
999992 %patch202 -p1 -b .orig
@@ -1590,7 +1583,7 @@
15901583 install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/
15911584 install -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
15921585 #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
15941587 /bin/rm -rf php.gif
15951588
15961589 # For third-party packaging:
@@ -1880,9 +1873,9 @@
18801873 popd
18811874 %endif
18821875 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"
18841877 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"
18861879
18871880 %clean
18881881 %if %{skip_prep}
@@ -2000,7 +1993,7 @@
20001993 #%if "%{_httpd_modconfdir}" != "%{_httpd_confdir}"
20011994 #%config(noreplace) %{_httpd_modconfdir}/10-php.conf
20021995 #%endif
2003-#%{_httpd_contentdir}/icons/php5.gif
1996+#%{_httpd_contentdir}/icons/php.gif
20041997 %if %{with_mediator_in_directory_usr_php_bin}
20051998 %attr (0555, root, bin) %ips_tag (mediator=php mediator-version=%{major_version}) /usr/php/bin
20061999 %attr (0555, root, bin) %ips_tag (mediator=php mediator-version=%{major_version}) /usr/php/include
@@ -2078,11 +2071,11 @@
20782071 %dir %attr (0755, root, sys) %{_localstatedir}/svc
20792072 %dir %attr (0755, root, sys) %{_localstatedir}/svc/manifest
20802073 %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
20822075 %dir %attr (0755, root, bin) /lib
20832076 %dir %attr (0755, root, bin) /lib/svc
20842077 %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
20862079 %endif
20872080
20882081 %files devel
@@ -2169,6 +2162,9 @@
21692162 %endif
21702163
21712164 %changelog
2165+* Thr Jun 12 2014 YAMAMOTO Takashi <yamachan@selfnavi.com> - 5.4.29
2166+- Ready for postgres
2167+
21722168 * Tue June 10 2014 YAMAMOTO Takashi <yamachan@selfnavi.com> - 5.4.29
21732169 - Bump up to 5.4.29
21742170 - Fixed problem:
Show on old repository browser