libpq-vl.spec 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808
  1. #%define rel 0
  2. %define beta 0
  3. %{?beta:%define __os_install_post /usr/lib/rpm/brp-compress}
  4. %define ssl 1
  5. %define kerberos 0
  6. %define nls 1
  7. %define pam 1
  8. %define pgver 13
  9. %define pq_soname 5
  10. %define ecpg_soname 6
  11. Summary: The shared libraries required for any PostgreSQL clients.
  12. Summary(ja): PostgreSQL クライアントに必要な共有ライブラリ
  13. Name: libpq
  14. Version: %{pgver}.4
  15. Release: 1%{?_dist_release}
  16. Group: system
  17. Vendor: Project Vine
  18. Distribution: Vine Linux
  19. License: BSD
  20. URL: https://www.postgresql.org/
  21. Source0: https://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2
  22. Source5: https://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2.sha256
  23. Source6: README.rpm-dist
  24. Patch2: postgresql-8.3.3-nls.patch
  25. Patch3: postgresql-7.4-ecpg-patch
  26. Buildroot: %{_tmppath}/%{name}-%{version}-root
  27. Buildrequires: perl build-essential
  28. Buildrequires: libedit-devel
  29. Buildrequires: zlib-devel >= 1.0.4
  30. BuildRequires: bison, flex, pam-devel
  31. %if %ssl
  32. Buildrequires: openssl-devel
  33. %endif
  34. %if %kerberos
  35. Buildrequires: krb5-devel
  36. %endif
  37. %if %nls
  38. Buildrequires: gettext >= 0.10.35
  39. %endif
  40. %if %pam
  41. Buildrequires: pam-devel
  42. %endif
  43. %description
  44. The %{name} package provides the essential shared libraries for any
  45. PostgreSQL client program or interface. You will need to install this package
  46. to use any other PostgreSQL package or any clients that need to connect to a
  47. PostgreSQL server.
  48. %description -l ja
  49. %{name} パッケージは、すべての PostgreSQL クライアントプログラ
  50. ムやインターフェースのための中核的な共有ライブラリを提供します。
  51. PostgreSQL サーバに接続する必要のある、PostgreSQL パッケージやクライア
  52. ントを使う場合には、このパッケージをインストールする必要があります。
  53. %package -n libpq%{pq_soname}
  54. Summary: The shared libraries required for any PostgreSQL clients.
  55. Summary(ja): PostgreSQL クライアントに必要な共有ライブラリ
  56. Group: system
  57. Requires(post): /sbin/ldconfig
  58. Requires(postun): /sbin/ldconfig
  59. Obsoletes: postgresql7-libs
  60. Obsoletes: postgresql8-libs
  61. Obsoletes: postgresql-libs < 9.3.0
  62. Conflicts: postgresql-libs >= 9.3.0
  63. %description -n libpq%{pq_soname}
  64. The %{name} package provides the essential shared libraries for any
  65. PostgreSQL client program or interface. You will need to install this package
  66. to use any other PostgreSQL package or any clients that need to connect to a
  67. PostgreSQL server.
  68. %description -n libpq%{pq_soname} -l ja
  69. %{name} パッケージは、すべての PostgreSQL クライアントプログラ
  70. ムやインターフェースのための中核的な共有ライブラリを提供します。
  71. PostgreSQL サーバに接続する必要のある、PostgreSQL パッケージやクライア
  72. ントを使う場合には、このパッケージをインストールする必要があります。
  73. %package devel
  74. Summary: PostgreSQL development header files and libraries.
  75. Summary(ja): PostgreSQL の開発用ヘッダファイルとライブラリ群
  76. Group: programming
  77. Requires: libpq%{pq_soname} = %{version}
  78. Obsoletes: postgresql7-devel
  79. Obsoletes: postgresql8-devel
  80. Obsoletes: postgresql-devel < 9.3.0
  81. %description devel
  82. The %{name}-devel package contains the header files and libraries
  83. needed to compile C or C++ applications which will directly interact
  84. with a PostgreSQL database management server and the ecpg Embedded C
  85. Postgres preprocessor. You need to install this package if you want to
  86. develop applications which will interact with a PostgreSQL server.
  87. %description -l ja devel
  88. %{name}-devel パッケージには、PostgreSQL データベースと直接に会話
  89. するための C / C++ アプリケーションをコンパイルするのに必要なヘッダフ
  90. ァイルとライブラリ、および C 言語埋め込み型の PostgreSQL プリプロセサ
  91. が含まれています。PostgreSQL サーバと会話するアプリケーションを開発
  92. したい場合にはこのパッケージをインストールしてください。
  93. %debug_package
  94. %prep
  95. %setup -q -n postgresql-%{version}
  96. %build
  97. CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS
  98. CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS
  99. # Strip out -ffast-math from CFLAGS....
  100. CFLAGS=`echo $CFLAGS|xargs -n 1|grep -v ffast-math|xargs -n 100`
  101. ./configure \
  102. --prefix=%{_prefix} \
  103. --libdir=%{_libdir} \
  104. --disable-rpath \
  105. %if %beta
  106. --enable-debug \
  107. --enable-cassert \
  108. %endif
  109. %if %ssl
  110. --with-openssl \
  111. %endif
  112. %if %pam
  113. --with-pam \
  114. %endif
  115. %if %kerberos
  116. --with-krb5=/usr/kerberos \
  117. %endif
  118. %if %nls
  119. --enable-nls \
  120. %endif
  121. --sysconfdir=%{_sysconfdir}/sysconfig/pgsql \
  122. --mandir=%{_mandir} \
  123. --with-docdir=%{_docdir} \
  124. --includedir=%{_includedir}/pgsql \
  125. --datadir=%{_datadir}/pgsql
  126. # workaround for bug with parallel build
  127. make %{?_smp_mflags} -C ./src/interfaces all ||:
  128. make %{?_smp_mflags} -C ./src/interfaces all
  129. make %{?_smp_mflags} -C ./src/bin/pg_config all
  130. make %{?_smp_mflags} -C ./src/backend utils/errcodes.h
  131. make %{?_smp_mflags} -C ./src/backend utils/fmgroids.h
  132. %install
  133. rm -rf $RPM_BUILD_ROOT
  134. make DESTDIR=$RPM_BUILD_ROOT -C ./src/interfaces install
  135. make DESTDIR=$RPM_BUILD_ROOT -C ./src/bin/pg_config install
  136. make DESTDIR=$RPM_BUILD_ROOT -C ./src/include install
  137. # copy over Makefile.global to the include dir....
  138. install -m644 src/Makefile.global $RPM_BUILD_ROOT%{_includedir}/pgsql
  139. install -m644 src/Makefile.shlib $RPM_BUILD_ROOT%{_includedir}/pgsql
  140. # install missing header
  141. mkdir -p $RPM_BUILD_ROOT%{_includedir}/pgsql/libpq
  142. install -m644 src/include/libpq/libpq-fs.h $RPM_BUILD_ROOT%{_includedir}/pgsql/libpq
  143. install -m644 src/include/libpq/pqcomm.h $RPM_BUILD_ROOT%{_includedir}/pgsql/libpq
  144. install -m644 src/include/postgres_ext.h $RPM_BUILD_ROOT%{_includedir}/pgsql
  145. install -m644 src/include/pg_config*.h $RPM_BUILD_ROOT%{_includedir}/pgsql
  146. install -m644 src/include/c.h $RPM_BUILD_ROOT%{_includedir}/pgsql
  147. install -m644 src/include/port.h $RPM_BUILD_ROOT%{_includedir}/pgsql
  148. install -m644 src/include/postgres_fe.h $RPM_BUILD_ROOT%{_includedir}/pgsql
  149. # Fix some more documentation
  150. ##gzip doc/internals.ps
  151. cp %{SOURCE6} README.rpm-dist
  152. ##cp -pr $RPM_BUILD_ROOT%{_docdir}/postgresql/html doc
  153. ##rm -rf $RPM_BUILD_ROOT%{_docdir}/postgresql/html
  154. mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1
  155. install -m 644 ./doc/src/sgml/man1/* $RPM_BUILD_ROOT/%{_mandir}/man1
  156. %find_lang libpq5-%{pgver}
  157. %find_lang ecpg-%{pgver}
  158. %find_lang ecpglib%{ecpg_soname}-%{pgver}
  159. #%find_lang pg_config-%{pgver}
  160. cat libpq5-%{pgver}.lang > libpq.lst
  161. cat ecpg-%{pgver}.lang >> libpq.lst
  162. cat ecpglib%{ecpg_soname}-%{pgver}.lang >> libpq.lst
  163. #cat pg_config-%{pgver}.lang > devel.lst
  164. rm -rf %{buildroot}%{_libdir}/lib*.a
  165. rm -rf %{buildroot}%{_datadir}/pgsql
  166. find %{buildroot}%{_mandir}/man1 -type f | grep -v ecpg.1 | xargs rm -f
  167. rm -f %{buildroot}%{_includedir}/pgsql/Makefile*
  168. find %{buildroot}%{_includedir}/pgsql -type f | perl -pi -e 's|^%{buildroot}||g'> devel.lst
  169. %clean
  170. rm -rf $RPM_BUILD_ROOT
  171. %files -n libpq%{pq_soname} -f libpq.lst
  172. %defattr(-,root,root)
  173. %license COPYRIGHT
  174. %doc HISTORY INSTALL README*
  175. %{_libdir}/libecpg.so.*
  176. %{_libdir}/libecpg_compat.so.*
  177. %{_libdir}/libpgtypes.so.*
  178. %{_libdir}/libpq.so.*
  179. %files devel -f devel.lst
  180. %defattr(-,root,root)
  181. %{_bindir}/ecpg
  182. %{_bindir}/pg_config
  183. %{_libdir}/libecpg.so
  184. %{_libdir}/libecpg_compat.so
  185. %{_libdir}/libpgtypes.so
  186. %{_libdir}/libpq.so
  187. %{_libdir}/pkgconfig/*
  188. %dir %{_includedir}/pgsql
  189. %{_datadir}/locale/*/LC_MESSAGES/*.mo
  190. %{_mandir}/man1/ecpg.*
  191. #%{_mandir}/man1/pg_config.*
  192. %changelog
  193. * Tue Oct 05 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 13.4-1
  194. - new upstream release.
  195. * Sun May 09 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 13.2-1
  196. - new upstream release.
  197. - dropped ldconfig scriptlets.
  198. * Mon Oct 05 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 13.0-1
  199. - new upstream release.
  200. * Fri Feb 14 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 12.2-1
  201. - new upstream release.
  202. * Sat Oct 05 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 12.0-1
  203. - new upstream release.
  204. * Tue Nov 06 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.5-1
  205. - new upstream release.
  206. * Fri Mar 02 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.3-1
  207. - new upstream release.
  208. * Fri Apr 1 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 9.5.2-1
  209. - new upstream release.
  210. * Tue Mar 15 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 9.5.1-1
  211. - new upstream release.
  212. * Sat Jan 9 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 9.5.0-1
  213. - new upstream release.
  214. * Fri Oct 9 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 9.4.5-1
  215. - new upstream release.
  216. * Sat Jun 13 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 9.4.4-1
  217. - new upstream release.
  218. * Fri Jun 12 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 9.4.3-1
  219. - new upstream release.
  220. * Thu Jul 10 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 9.3.4-4
  221. - added all headers for a strange client.
  222. * Wed Jun 25 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 9.3.4-3
  223. - add pgconfig
  224. - add pg_config*.h and libpq/libpq-fs.h
  225. * Sun Jun 15 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 9.3.4-2
  226. - add postgres_ext.h and pg_config_ext.h
  227. * Mon Mar 31 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 9.3.4-1
  228. - new upstream release
  229. * Sat Nov 30 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 9.3.1-1
  230. - made to build client libraries only.
  231. * Thu Feb 21 2013 IWAI, Masaharu <iwai@alib.jp> 9.0.12-1
  232. - new upstream release
  233. * Thu Feb 7 2013 IWAI, Masaharu <iwai@alib.jp> 9.0.11-1
  234. - new upstream release
  235. - add Vendor and Distribution tags
  236. * Mon Jan 7 2013 IWAI, Masaharu <iwai@alib.jp> 9.0.7-2vl7
  237. - build with Tcl/Tk 8.5.7-1
  238. - fix init script (Source3): fix su(1) paramaters.
  239. * Tue Mar 06 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 9.0.7-1
  240. - new upstream release
  241. - move euc2004_sjis2004.so from -contrib to -server (BTS:1266)
  242. - remove *_and_*.so from -contrib (included in -server)
  243. * Sat Apr 23 2011 Shu KONNO <owa@bg.wakwak.com> 9.0.4-1
  244. - updated postgresql to 9.0.4
  245. * Tue Apr 12 2011 Shu KONNO <owa@bg.wakwak.com> 9.0.3-1
  246. - updated postgresql to 9.0.3
  247. - separated postgresql-jdbc package
  248. * Thu Feb 03 2011 Shu KONNO <owa@bg.wakwak.com> 8.4.7-1
  249. - updated postgresql to 8.4.7 (contains a variety of fixes)
  250. * Sat Jan 29 2011 Shu KONNO <owa@bg.wakwak.com> 8.4.6-1
  251. - updated postgresql to 8.4.6
  252. - updated JDBC2 driver to postgresql-8.3-606.{jdbc2,jdbc2ee}.jar
  253. - updated JDBC3 driver to postgresql-8.4-702.jdbc3.jar
  254. - updated JDBC4 driver to postgresql-8.4-702.jdbc4.jar
  255. * Thu Jan 13 2011 Shu KONNO <owa@bg.wakwak.com> 8.4.5-2
  256. - rebuilt with openssl-1.0.0c
  257. * Thu Oct 07 2010 Shu KONNO <owa@bg.wakwak.com> 8.4.5-1
  258. - updated postgresql to 8.4.5
  259. * Sun May 16 2010 Shu KONNO <owa@bg.wakwak.com> 8.4.4-1
  260. - updated postgresql to 8.4.4
  261. * Thu Apr 15 2010 Shu KONNO <owa@bg.wakwak.com> 8.4.3-1
  262. - updated postgresql to 8.4.3
  263. - s/BuildPrereq/Buildrequires/
  264. * Wed Feb 17 2010 Shu KONNO <owa@bg.wakwak.com> 8.4.2-1
  265. - updated postgresql to 8.4.2
  266. - rebuilt with new environment
  267. * Thu Sep 10 2009 Shu KONNO <owa@bg.wakwak.com> 8.4.1-1
  268. - updated postgresql to 8.4.1
  269. * Fri Aug 21 2009 Shu KONNO <owa@bg.wakwak.com> 8.4.0-2
  270. - moved dict_snowball.so from conrib to server
  271. * Tue Jul 07 2009 Shu KONNO <owa@bg.wakwak.com> 8.4.0-1
  272. - updated postgresql to 8.4.0
  273. - updated jdbc3,4 to 701
  274. - dropt postgresql-8.3.3-nls.patch (fixed)
  275. - dropt postgresql-7.4-ecpg-patch (no effect)
  276. * Sat Apr 18 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 8.3.7-2
  277. - changed libs Group to System Environment/Libraries
  278. * Sun Apr 12 2009 Shu KONNO <owa@bg.wakwak.com> 8.3.7-1
  279. - updated postgresql to 8.3.7
  280. * Sun Jan 25 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 8.3.5-2
  281. - remove "-E EUC_JP --no-locale" option from initdb in postgresql.init
  282. * Thu Jan 22 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 8.3.5-1
  283. - new upstream release (postgresql to 8.3.5, jdbc to 604)
  284. * Sat Jul 05 2008 Shu KONNO <owa@bg.wakwak.com> 8.3.3-1vl5
  285. - applied new versioning policy, and spec in utf-8
  286. - updated postgresql to 8.3.3
  287. - updated jdbcver to 603
  288. - added postgresql-8.3.3-nls.patch instead of postgresql-8.2.0-nls.patch.gz
  289. - added a script to replace PGVERSION in postgresql.init
  290. * Sun Feb 17 2008 Shu KONNO <owa@bg.wakwak.com> 8.2.6-0vl2
  291. - rebuild with tcl/tk-8.4.18
  292. * Tue Jan 08 2008 Shu KONNO <owa@bg.wakwak.com> 8.2.6-0vl1
  293. - updated postgresql to 8.2.6
  294. - included security fixes: CVE-{2007-6600, 2007-4772, 2007-6067, 2007-4769, 2007-6601}
  295. * Tue Oct 16 2007 Shu KONNO <owa@bg.wakwak.com> 8.2.5-0vl3
  296. - updated PGVERSION to 8.2 in postgresql.init (sorry;)
  297. * Tue Oct 09 2007 Shu KONNO <owa@bg.wakwak.com> 8.2.5-0vl2
  298. - rebuild with tcl/tk-8.4.16
  299. * Wed Sep 19 2007 Shu KONNO <owa@bg.wakwak.com> 8.2.5-0vl1
  300. - updated postgresql to 8.2.5
  301. - updated jdbc driver to 8.2-506, and added 8.2-506.jdbc4.jar
  302. - updated nls-patch to 8-2-0
  303. - dropt postgresql-8.1.4-Pg.patch.gz
  304. * Wed Sep 19 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 8.1.10-0vl1
  305. - for VineSeed
  306. - updated to 8.1.10 (8.1.9 and up has fixes for CVE-2007-2138)
  307. - JDBC driver updated to 410
  308. * Sun Jul 1 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 8.1.5-0vl1
  309. - rebuilt for VineSeed
  310. - fixed install script
  311. * Thu Nov 23 2006 HOTTA Michihide <hotta@net-newbie.com> 8.1.5-0vl0
  312. - upstream release
  313. - fix missing %defattr in %files server
  314. * Fri Sep 15 2006 HOTTA Michihide <hotta@net-newbie.com> 8.1.4-0vl2
  315. - fix version number in postgresql.init
  316. * Tue Sep 12 2006 HOTTA Michihide <hotta@net-newbie.com> 8.1.4-0vl1
  317. - upstream release
  318. - drop rpm-pgsql-8.0.0.patch
  319. - add Requires: perl-DBD-Pg for contrib
  320. - add postgresql-8.1.4-Pg.patch.gz
  321. - update nls patches
  322. - new JDBC driver
  323. * Sat Mar 18 2006 Shu KONNO <owa@bg.wakwak.com> 8.0.3-0vl4
  324. - added build options --without perl, --without python
  325. - rebuilt for x86_64 architecture support
  326. * Tue May 31 2005 HOTTA Michihide <hotta@net-newbie.com> 8.0.3-0vl3
  327. - drop Provides: on postgresql-libs
  328. - drop Requires: libpq.so on postgresql-server
  329. * Tue May 31 2005 HOTTA Michihide <hotta@net-newbie.com> 8.0.3-0vl2
  330. - change SONAME -- Provides: libpq.so.4 libpq.so.4.0 libpq.so
  331. * Thu May 26 2005 HOTTA Michihide <hotta@net-newbie.com> 8.0.3-0vl1
  332. - upstream release
  333. - update nls patches
  334. * Fri Apr 22 2005 HOTTA Michihide <hotta@net-newbie.com> 8.0.2-0vl1
  335. - upstream release
  336. - update nls patches
  337. * Sun Apr 03 2005 Shu KONNO <owa@bg.wakwak.com> 8.0.1-0vl3
  338. - rebuilded with python-2.4.1-0vl1
  339. * Sat Mar 26 2005 Shu KONNO <owa@bg.wakwak.com> 8.0.1-0vl2
  340. - Dropped PyGreSQL-3.4.tgz.
  341. - Dropped PyGreSQL-3.4-setup-2.patch.
  342. - Dropped plpython.so in postgresql-server, because it's exist in postgresql-pl.
  343. - Dropped pyver and pynextver macros.
  344. - Changed macro name "python" to "plpython" like plperl.
  345. - Added "Obsoletes: postgresql-python"
  346. * Fri Feb 18 2005 HOTTA Michihide <hotta@net-newbie.com> 8.0.1-0vl1
  347. - Major version up
  348. - Obsoletes: postgresql7
  349. - update nls patch(es)
  350. - modify %postun not to delete postgres account on upgrade
  351. * Thu Jan 27 2005 HOTTA Michihide <hotta@net-newbie.com> 8.0.0-0vl1
  352. - upstream release (release as a new package)
  353. - Conflicts: postgresql
  354. - update nls patch(es)
  355. - (this package revision was rejected by Vine Project)
  356. * Sat Dec 04 2004 HOTTA Michihide <hotta@net-newbie.com> 7.4.6-0vl2
  357. - upstream release
  358. - new JDBC driver
  359. - add BuildRequires: bison, flex, pam-devel
  360. - drop postgresql-7.4.5-tempfile.patch (repaired)
  361. * Thu Nov 18 2004 IKEDA Katsumi <ikeda@webmasters.gr.jp> 7.4.5-0vl2
  362. - Added a security fix patch postgresql-7.4.5-tempfile.patch
  363. from Gentoo Linux (CAN-2004-0977).
  364. - Changed Patch4:
  365. from PyGreSQL-3.4-setup-2.patch into PyGreSQL-3.4-setup-2.patch
  366. It is possible to compile this package without pre-installed postgresql.
  367. - Removed Patch5 because Patch4 was changed.
  368. * Tue Aug 24 2004 HOTTA Michihide <hotta@net-newbie.com> 7.4.5-0vl1
  369. - upstream release
  370. * Mon Jun 21 2004 HOTTA Michihide <hotta@net-newbie.com> 7.4.3-0vl1
  371. - upstream release
  372. - new jdbc driver
  373. * Sat Apr 17 2004 Shu KONNO <owa@bg.wakwak.com> 7.4.2-0vl3
  374. - rebuild with python-2.3.3-0vl1
  375. * Tue Apr 13 2004 Shu KONNO <owa@bg.wakwak.com> 7.4.2-0vl2.3
  376. - changed mode to 644 at Makefile.global, Makefile.shlib
  377. * Mon Apr 12 2004 Shu KONNO <owa@bg.wakwak.com> 7.4.2-0vl2.2
  378. - updated python install section
  379. * Sat Apr 10 2004 Shu KONNO <owa@bg.wakwak.com> 7.4.2-0vl2.1
  380. - added PyGreSQL-3.4.tgz and set python flag
  381. - added PyGreSQL-3.4-setup.patch
  382. - added PyGreSQL-3.4-pgmodule.patch
  383. - rebuilded with python-2.3.3-0vl0.3 (for TestPkg)
  384. * Sun Mar 28 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 7.4.2-0vl2
  385. - rebuild with new openssl
  386. * Wed Mar 17 2004 HOTTA Michihide <hotta@net-newbie.com> 7.4.2-0vl1
  387. - upstream release
  388. - change all of %{?foo:%define foo 0} -like descriptions to simple
  389. %define format for latest rpm to build.
  390. * Sat Feb 14 2004 HOTTA Michihide <hotta@net-newbie.com> 7.4.1-0vl3
  391. - rebuild on latest tcl package environment.
  392. * Wed Feb 11 2004 HOTTA Michihide <hotta@net-newbie.com> 7.4.1-0vl2
  393. - fixed lacking files at server's %files
  394. * Fri Dec 05 2003 HOTTA Michihide <hotta@net-newbie.com> 7.4-0vl2
  395. - include JDBC driver for 7.4
  396. - fix typo in postgresql-7.4-psql-patch
  397. * Thu Nov 20 2003 HOTTA Michihide <hotta@net-newbie.com> 7.4-0vl1
  398. - upstream release
  399. - change '--includedir=' option to avoid conflicting with unixODBC
  400. - add postgresql-7.4-ecpg-patch
  401. * Wed Sep 10 2003 HOTTA Michihide <hotta@net-newbie.com> 7.3.4-0vl1
  402. - upstream release
  403. * Wed Jul 23 2003 HOTTA Michihide <hotta@net-newbie.com> 7.3.3-0vl2
  404. - drop previous version of libpq's trash
  405. * Wed May 28 2003 HOTTA Michihide <hotta@net-newbie.com> 7.3.3-0vl1
  406. - upstream release with new nls patch
  407. - fix postgresql-bashprofile (value of PGDATA)
  408. - fix postgresql-init for Japanese-specific use (-E EUC_JP --no-locale)
  409. * Wed Apr 02 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 7.3.2-0vl2
  410. - rebuild with tcltk8.4 and readline-4.3
  411. * Fri Mar 07 2003 HOTTA Michihide <hotta@net-newbie.com> 7.3.2-0vl1
  412. - upstream release
  413. * Wed Dec 25 2002 HOTTA Michihide <hotta@net-newbie.com> 7.3.1-0vl1
  414. - upstream release
  415. - remove garbage changelog
  416. * Mon Dec 23 2002 HOTTA Michihide <hotta@net-newbie.com> 7.3-0vl1
  417. - upstream release based on 7.3-2PGDG
  418. - add nls patch
  419. * Thu Dec 05 2002 Lamar Owen <lamar.owen@ramifordistat.net>
  420. - 7.3-2PGDG
  421. - Fix typo in initscript. Argh!!
  422. * Wed Dec 04 2002 Lamar Owen <lamar.owen@ramifordistat.net>
  423. - 7.3-0.5PGDG
  424. - Jerk out all perl client stuff and kludgage
  425. - Rename plperl subpackage to a pl subpackage containing all but PL/Pgsql PL's
  426. - Eliminate locale and multibyte explicit enables -- they are both defaults now
  427. - Eliminate pgaccess code; it's not a part of the main tarball anymore
  428. - Eliminate ODBC stuff -- it's also separate now. Use unixODBC instead.
  429. - Eliminated separate tk client package -- rolled the tk client into the tcl client.
  430. - Moved pltcl into the pl subpackage.
  431. - Added plpython to the pl subpackage.
  432. - /etc/sysconfig/pgsql is sysconfdir for multiple postmaster startup.
  433. * Mon Dec 02 2002 Lamar Owen <lamar.owen@ramifordistat.net>
  434. - 7.3-0.1PGDG (not released)
  435. - Integrate 7.3 jar's courtesy Joe Conway
  436. - Integrate multi-postmaster initscript courtesy Karl DeBisschop
  437. - Some renames and restructures.
  438. - Stripped out the last dregs of the postgresql-dump migration script.
  439. - Conflicts with less than 7.3.
  440. - (See below for old changelogs from VineSeed)
  441. * Fri Oct 04 2002 HOTTA Michihide <hotta@net-newbie.com> 7.2.3-0vl1
  442. - updated to 7.2.3.
  443. * Tue Sep 10 2002 HOTTA Michihide <hotta@net-newbie.com> 7.2.2-0vl3
  444. - absorbed previous patch8 into original nlspatch
  445. - fixed configure options (--enable-nls and --enable-locale to be antinomy)
  446. * Fri Aug 30 2002 Shoji Matsumoto <shom@vinelinux.org> 7.2.2-0vl2
  447. - add patch8 (ja.po for psql was invalid)
  448. * Thu Aug 29 2002 HOTTA Michihide <hotta@net-newbie.com> 7.2.2-0vl1
  449. - updated to 7.2.2.
  450. - improved nlspatch to enable japanese SQL help in psql.
  451. * Sat Jul 06 2002 HOTTA Michihide <hotta@net-newbie.com> 7.2.1-5vl3
  452. - fixed garbage chars in description(ja).
  453. * Wed Jul 03 2002 HOTTA Michihide <hotta@net-newbie.com> 7.2.1-5vl2
  454. - imported & replaced changelog (following VineSeed's).
  455. add some stuff to '%%files'.
  456. * Wed Jul 03 2002 HOTTA Michihide <hotta@net-newbie.com> 7.2.1-5vl1
  457. - Modified for Vine Linux 2.5. Originaly from RHL 7.2.1-5, adding
  458. nls patch, pg_dump patch, date_part patch by Jun Kuwamura
  459. * Thu May 23 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  460. - replace nls patch.
  461. - add *.mo to '%%files'.
  462. * Mon Mar 04 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  463. - fix initscript
  464. * Sun Mar 03 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  465. - add /usr/bin/pg_id to the package (fix)
  466. * Fri Mar 01 2002 Satoshi MACHINO <machino@vinelinux.org> 7.2-0vl1
  467. - updated 7.2
  468. - added nls.patch
  469. - fixed spec file
  470. - added New JDBC
  471. -- pgjdbc1.jar(for JDK1.1.x), pgjdbc2(for Java2)
  472. * Sat Sep 22 2001 Satoshi MACHINO <machino@vinelinux.org> 7.1.3-4vl1
  473. - updated 7.1.3
  474. * Tue Aug 21 2001 Hisao SHIBUYA <shibuya@alpha.or.jp>
  475. - 7.1.2-7vl3
  476. - merge 7.1.2-7vl2 and 7.1.2-7
  477. * Sun Aug 19 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
  478. - 7.1.2-7vl2
  479. - fixed spec typo (%%{_includesir} -> %%{_includedir})
  480. * Tue Aug 14 2001 Satoshi MACHINO <machino@vinelinux.org> 7.1.2-7vl1
  481. - updated 7.1.2 (used postgresql-7.1.2-7)
  482. - used psqlj patch for 7.1.2
  483. - used jumbo-20010801.patch.gz
  484. * Mon Aug 6 2001 Trond Eivind Glomsr <teg@redhat.com> 7.1.2-7
  485. - Add patches from 7.1-stable branch. This should fix #50799 and #50797
  486. - Enable kerberos authentication (#50644)
  487. - handle stop with stale pid file (#50499)
  488. - make the test subpackage (not built by default) own /usr/lib/pgsql/test
  489. * Mon Jul 9 2001 Trond Eivind Glomsr <teg@redhat.com>
  490. - Make the -devel subpackage depend on -libs, not the main package
  491. * Tue Jun 19 2001 Trond Eivind Glomsr <teg@redhat.com>
  492. - Make sure the python subpackage depends on mx - otherwise, you'd get an error when importing
  493. * Mon Jun 18 2001 Florian La Roche <Florian.LaRoche@redhat.de>
  494. - add changes for s390x
  495. * Fri Jun 15 2001 Trond Eivind Glomsr <teg@redhat.com>
  496. - Many path fixes for contrib packages
  497. - Newer intarray
  498. - Don't use nested ifs for tkpkg/pgaccess
  499. - Turn off test package for Red Hat Linux - it makes most sense just to use
  500. this during development
  501. - One "pgacess" -> "pgaccess"
  502. * Wed Jun 13 2001 Lamar Owen <lamar.owen@wgcr.org> <lamar@postgresql.org>
  503. - -4PGDG
  504. - patchset update for pg_regress.sh
  505. - can the dot in the release -- confused too many people and some programs.
  506. - -3.PGDG
  507. - updated README.rpm-dist
  508. - updated patch to 7.1.2, fixing some places where /usr/share/pgsql
  509. was still being used where /usr/lib/pgsql was intended.
  510. - PGLIB now set to /usr/lib/pgsql -- initdb doesn't use it to find the bki's.
  511. * Tue Jun 12 2001 Trond Eivind Glomsr <teg@redhat.com>
  512. - sync
  513. - Run chkconfig --add on server install
  514. - Move the prereqs on useradd on chkconfig to the server package
  515. - don't disable the %%clean section
  516. * Sat Jun 09 2001 Lamar Owen <lamar.owen@wgcr.org>
  517. - Sync up with Trond Eivind's set.
  518. * Thu Jun 7 2001 Trond Eivind Glomsr <teg@redhat.com>
  519. - Don't create postgres' .bashrc from the server post script: include it instead
  520. - Move the test packages from /usr/share/pgsql to /usr/lib/pgsql
  521. - Move the symlinks libpq.so, libecpg.so, libpq++.so and libpgeasy.so to the devel subpackage from
  522. libs
  523. - Source the i18n data from the .bashrc instead of in the initscript
  524. * Mon May 28 2001 Trond Eivind Glomsr <teg@redhat.com>
  525. - Handle i18n for database startup - backend needs to have the same locale everytime,
  526. but this certainly can't be hardcoded to C either
  527. - Fix stop, restart in initscript (#42217)
  528. - Make database init _much_ less verbose
  529. - other minor fixes to the initscript
  530. * Fri May 25 2001 Trond Eivind Glomsr <teg@redhat.com>
  531. - 7.1.2
  532. * Thu May 24 2001 Lamar Owen <lamar@postgresql.org> <lamar.owen@wgcr.org>
  533. - 7.1.2-0.1.1.PGDG PRERELEASE
  534. - Changed versioning and release numbering a little for better flexibility,
  535. -- particularly for distribution packagers.
  536. - Release numbering comment at top of spec, where it's more useful.
  537. - Trimmed changelog to 7.1.x. See the last 7.0.3's specfile for the 7.0
  538. changlog, and the last 6.5.3's specfile for the changelog prior to
  539. 7.0.
  540. * Sun May 20 2001 Lamar Owen <lamar@postgresql.org> <lamar.owen@wgcr.org>
  541. - 7.1.1-4.PGDG
  542. - _really_ got Python version agnosticism working.
  543. * Sat May 19 2001 Lamar Owen <lamar@postgresql.org> <lamar.owen@wgcr.org>
  544. - 7.1.1-3.PGDG Release
  545. - Python version agnosticism.....
  546. * Tue May 15 2001 Trond Eivind Glomsr <teg@redhat.com>
  547. - Use openssl
  548. - Make it obsolete subpackages if they aren't built
  549. * Mon May 14 2001 Lamar Owen <lamar@postgresql.org> <lamar.owen@wgcr.org>
  550. - 7.1.1-2.PGDG Release.
  551. - Appended .PGDG to release string to differentiate our RPM set from the others.
  552. - /bin/sh fix in initscript
  553. - README.rpm-dist updates.
  554. * Mon May 14 2001 Bernhard Rosenkraenzer <bero@redhat.com> 7.1.1-0.7
  555. - Rebuild with new readline
  556. * Thu May 10 2001 Trond Eivind Glomsr <teg@redhat.com>
  557. - Initial 7.1.1
  558. * Mon May 7 2001 Trond Eivind Glomsr <teg@redhat.com>
  559. - Specify shell when running commands through su in the initscript, to avoid problems
  560. when people switch the postgres user to use tcsh
  561. * Thu Apr 19 2001 Trond Eivind Glomsr <teg@redhat.com>
  562. - JDBC driver for Postgresql 7.1
  563. * Sun Apr 15 2001 Trond Eivind Glomsr <teg@redhat.com>
  564. - slightly different versioning scheming, will go back to the official
  565. later when I'm sure the package is ready to use
  566. * Fri Apr 13 2001 Lamar Owen <lamar@postgresql.org> <lamar.owen@wgcr.org>
  567. - 7.1 RELEASE
  568. - 7.1-1 RPM RELEASE
  569. - Change to COPTS -- strip out -ffastmath -- Considered Harmful.
  570. - Back to old versioning scheme, kept teg's other fixes.
  571. - README.rpm-dist updated.
  572. - PGVERSION updated all-around (hopefully!)
  573. - Couple of fixes from Peter E.
  574. - Rearrange dependencies -- only the -libs subpackage is required for most stuff
  575. - Removed broken and confusing logrotate script.
  576. * Mon Apr 9 2001 Trond Eivind Glomsr <teg@redhat.com>
  577. - chown considered harmful - removed
  578. - fix dangling symlimks (pg_crc.c)
  579. - libpq.so changes for maximum compatiblity
  580. - different versioning scheme, to avoid trouble later
  581. - remove temporary perl file from the file list
  582. - fix spelling error in tcl description
  583. - mark odbcinst.ini as a config file
  584. - use %%defattr on packages which didn't have it
  585. * Sat Apr 07 2001 Lamar Owen <lamar@postgresql.org> <lamar.owen@wgcr.org>
  586. - Integrated the PL/Perl stuff from Karl DeBisschop --conditional.
  587. - Packaging reorg: added contrib and docs subpackages.
  588. - Removed sgml source docs from main package --> docs subpackage.
  589. - Removed contrib tree from main package --> contrib subpackage.
  590. - Contrib tree is now prebuilt -- HOWEVER, very little install work is
  591. currently done with this.
  592. * Fri Apr 06 2001 Lamar Owen <lamar@postgresql.org> <lamar.owen@wgcr.org>
  593. - Quickie RC3. There will be a 7.1RC3-2 shortly with other stuff.
  594. * Tue Apr 03 2001 Lamar Owen <lamar@postgresql.org> <lamar.owen@wgcr.org>
  595. - RC2
  596. - eliminate versioning information for ancilliary files in prep for CVS.
  597. - Fix docs mixup.
  598. * Tue Mar 27 2001 Lamar Owen <lamar@postgresql.org> <lamar.owen@wgcr.org>
  599. - RC1 quickie.
  600. * Tue Mar 20 2001 Lamar Owen <lamar@postgresql.org>
  601. - Beta 6 initial build.
  602. - Use make install-all-headers instead of cpio hack for devel headers.
  603. - Split out the libs into the libs subpackage.
  604. - Updated initscript to use pg_ctl to stop
  605. - Updated initscript to initdb and start postmaster with LC_ALL=C to
  606. prevent index corruption.
  607. * Sun Jan 28 2001 Lamar Owen <lamar@postgresql.org>
  608. - Beta4
  609. - Return to 'pgsql' directories instead of 'postgresql'
  610. - Better perl patches.
  611. * Mon Jan 15 2001 Lamar Owen <lamar@postgresql.org>
  612. - Edit patches to get rid of some cruft.
  613. - Eliminate some more pre-7.1 specfile baggage that is no longer necessary.
  614. - Moved pg_id to server
  615. - added Makefile.global and pg_config to devel
  616. - Corrected /usr/include/pgsql to /usr/include/postgresql
  617. - Fixed some configure options. Will be trying the configure macro next release
  618. - Since it is terminally ill in this version pg_upgrade is _gone_.
  619. - Thanks to Peter E for a good review.
  620. * Sun Jan 14 2001 Lamar Owen <lamar@postgresql.org>
  621. - Running regression. 1 on the release-o-meter.
  622. - Minor patches to get regression running right.
  623. - Initscript tweaking -- the old test for a database structure fails with 7.1's new structure.
  624. * Sat Jan 13 2001 Lamar Owen <lamar@postgresql.org>
  625. - Perl 5 needs to be built with PREFIX set on the Makefile, not GNUmakefile....
  626. - The 7.1 build is different from the 7.0 build -- see the configure line.
  627. - NOTE: many files that used to be in /usr/share/postgresql are now in /usr/share/postgresql!
  628. - by request, conditional packages are now supported. See the top of the spec.
  629. - Fixed the server postinstall problems.
  630. * Mon Jan 08 2001 Lamar Owen <lamar@postgresql.org>
  631. - First 7.1 beta test-build