postgresql-vl.spec 42 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259
  1. %define plperl %{?_without_perl:0}%{!?_without_perl:1}
  2. %define plpython %{?_without_python:0}%{!?_without_python:1}
  3. %define non6xpamdeps 0
  4. #%define rel 0
  5. %define beta 0
  6. %{?beta:%define __os_install_post /usr/lib/rpm/brp-compress}
  7. %define tcl 1
  8. %define test 0
  9. %define pltcl 1
  10. %define pls 1
  11. %define ssl 1
  12. %define kerberos 0
  13. %define nls 1
  14. %define pam 1
  15. %define pgver 9.3
  16. Summary: PostgreSQL client programs and libraries.
  17. Summary(ja): PostgreSQL のクライアントプログラム群およびライブラリ
  18. Name: postgresql
  19. Version: %{pgver}.4
  20. Release: 2%{?_dist_release}
  21. # Conventions for PostgreSQL Global Development Group RPM releases:
  22. #
  23. # Official PostgreSQL Development Group RPMS have a PGDG after the release number.
  24. # Integer releases are stable -- 0.1.x releases are Pre-releases, and x.y are
  25. # test releases.
  26. #
  27. # Pre-releases are those that are built from CVS snapshots or pre-release
  28. # tarballs from postgresql.org. Official beta releases are not
  29. # considered pre-releases, nor are release candidates, as their beta or
  30. # release candidate status is reflected in the version of the tarball. Pre-
  31. # releases' versions do not change -- the pre-release tarball of 7.0.3, for
  32. # example, has the same tarball version as the final official release of 7.0.3:
  33. # but the tarball is different.
  34. #
  35. # Test releases are where PostgreSQL itself is not in beta, but certain parts of
  36. # the RPM packaging (such as the spec file, the initscript, etc) are in beta.
  37. #
  38. # Pre-release RPM's should not be put up on the public ftp.postgresql.org server
  39. # -- only test releases or full releases should be.
  40. License: BSD
  41. Group: Applications/Databases
  42. Source0: ftp://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2
  43. Source3: postgresql.init
  44. Source5: ftp://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2.sha256
  45. Source6: README.rpm-dist
  46. Source15: postgresql-bashprofile
  47. Patch2: postgresql-8.3.3-nls.patch
  48. Patch3: postgresql-7.4-ecpg-patch
  49. Buildrequires: perl build-essential
  50. Requires: /sbin/ldconfig initscripts
  51. %if %plpython
  52. Buildrequires: python python-devel
  53. %endif
  54. %if %tcl
  55. Buildrequires: tcl-devel
  56. %endif
  57. Buildrequires: libedit-devel
  58. Buildrequires: zlib-devel >= 1.0.4
  59. %if %ssl
  60. Buildrequires: openssl-devel
  61. %endif
  62. %if %kerberos
  63. Buildrequires: krb5-devel
  64. %endif
  65. %if %nls
  66. Buildrequires: gettext >= 0.10.35
  67. %endif
  68. %if %pam
  69. %if %non6xpamdeps
  70. Buildrequires: pam-devel
  71. %endif
  72. %endif
  73. BuildRequires: bison, flex, pam-devel
  74. Url: http://www.postgresql.org/
  75. Buildroot: %{_tmppath}/%{name}-%{version}-root
  76. Obsoletes: postgresql-clients
  77. Obsoletes: postgresql-python
  78. Obsoletes: postgresql7
  79. Conflicts: postgresql8
  80. Conflicts: postgresql8-jdbc
  81. Conflicts: postgresql-jdbc < %{pgver}
  82. %if %pls
  83. Obsoletes: postgresql7-plperl
  84. %endif
  85. # This is the PostgreSQL Global Development Group Official RPMset spec file,
  86. # or a derivative thereof.
  87. # Copyright 2001 Lamar Owen <lamar@postgresql.org> <lamar.owen@wgcr.org>
  88. # and others listed.
  89. # Major Contributors:
  90. # ---------------
  91. # Lamar Owen
  92. # Trond Eivind Glomsrd <teg@redhat.com>
  93. # Thomas Lockhart
  94. # Reinhard Max
  95. # Karl DeBisschop
  96. # Peter Eisentraut
  97. # Joe Conway
  98. # and others in the Changelog....
  99. # This spec file and ancilliary files are licensed in accordance with
  100. # The PostgreSQL license.
  101. # On top of this file you can find the default build package list macros. These can be overridden by defining
  102. # on the rpm command line:
  103. # rpm --define 'packagename 1' .... to force the package to build.
  104. # rpm --define 'packagename 0' .... to force the package NOT to build.
  105. # The base package, the lib package, the devel package, and the server package always get built.
  106. Vendor: Project Vine
  107. Distribution: Vine Linux
  108. %description
  109. PostgreSQL is an advanced Object-Relational database management system
  110. (DBMS) that supports almost all SQL constructs (including
  111. transactions, subselects and user-defined types and functions). The
  112. postgresql package includes the client programs and libraries that
  113. you'll need to access a PostgreSQL DBMS server. These PostgreSQL
  114. client programs are programs that directly manipulate the internal
  115. structure of PostgreSQL databases on a PostgreSQL server. These client
  116. programs can be located on the same machine with the PostgreSQL
  117. server, or may be on a remote machine which accesses a PostgreSQL
  118. server over a network connection. This package contains the docs
  119. in HTML for the whole package, as well as command-line utilities for
  120. managing PostgreSQL databases on a PostgreSQL server.
  121. If you want to manipulate a PostgreSQL database on a remote PostgreSQL
  122. server, you need this package. You also need to install this package
  123. if you're installing the postgresql-server package.
  124. %description -l ja
  125. PostgreSQLはSQLの構成要素(トランザクション、副問い合わせおよびユーザ
  126. 定義型やユーザ定義関数など)のほとんどすべてをサポートした、先進的なオブ
  127. ジェクト指向のデータベース管理システム(DBMS)です。postgresqlのパッケー
  128. ジにはPostgreSQL DBMS サーバにアクセスするために必要なクライアントプロ
  129. グラムおよびライブラリを収録しています。PostgreSQLクライアントプログラ
  130. ムは、PostgreSQLサーバ上のPostgreSQLデータベースの内部構造を直接操作す
  131. るためのプログラムです。これらのクライアントプログラムは、PostgreSQLサ
  132. ーバと同じマシン上で動いていてもよいですし、ネットワークコネクションの
  133. 向こう側にあるリモートマシン上にあっても構いません。このパッケージには
  134. PostgreSQLサーバ上のPostgreSQLデータベースを管理するためのユーティリテ
  135. ィに加え、全パッケージのドキュメントがHTML形式で収録されています。
  136. リモートにあるPostgreSQLサーバ上のPostgreSQLデータベースを操作する場合
  137. はこのパッケージが必要です。またpostgresql-serverパッケージをインスト
  138. ールする場合にも、このパッケージをインストールする必要があります。
  139. %if 0
  140. %package libs
  141. Summary: The shared libraries required for any PostgreSQL clients.
  142. Summary(ja): PostgreSQL クライアントに必要な共有ライブラリ
  143. Group: System Environment/Libraries
  144. Obsoletes: postgresql7-libs
  145. Conflicts: postgresql8-libs
  146. Conflicts: postgresql-libs >= 9.3.0
  147. %description libs
  148. The postgresql-libs package provides the essential shared libraries for any
  149. PostgreSQL client program or interface. You will need to install this package
  150. to use any other PostgreSQL package or any clients that need to connect to a
  151. PostgreSQL server.
  152. %description -l ja libs
  153. postgresql-libs パッケージは、すべての PostgreSQL クライアントプログラ
  154. ムやインターフェースのための中核的な共有ライブラリを提供します。
  155. PostgreSQL サーバに接続する必要のある、PostgreSQL パッケージやクライア
  156. ントを使う場合には、このパッケージをインストールする必要があります。
  157. %endif
  158. %package server
  159. Summary: The programs needed to create and run a PostgreSQL server.
  160. Summary(ja): PostgreSQL サーバを構築・実行するのに必要なプログラム
  161. Group: Applications/Databases
  162. Requires: /usr/sbin/useradd /sbin/chkconfig
  163. Requires: %{name} = %{version}
  164. Obsoletes: postgresql7-server
  165. Conflicts: postgresql8-server
  166. %description server
  167. The postgresql-server package includes the programs needed to create
  168. and run a PostgreSQL server, which will in turn allow you to create
  169. and maintain PostgreSQL databases. PostgreSQL is an advanced
  170. Object-Relational database management system (DBMS) that supports
  171. almost all SQL constructs (including transactions, subselects and
  172. user-defined types and functions). You should install
  173. postgresql-server if you want to create and maintain your own
  174. PostgreSQL databases and/or your own PostgreSQL server. You also need
  175. to install the postgresql package.
  176. %description -l ja server
  177. postgresql-server パッケージには、PostgreSQL サーバを生成して実行する
  178. ために必要なプログラムが含まれています。これらにより、PostgreSQL のデ
  179. ータベースを新規に作成したり、メンテナンスしたりできるようになります。
  180. PostgreSQL は先進的でオブジェクト指向的なデータベース管理システム(DBMS)
  181. であり、(トランザクション、副問い合わせ、ユーザ定義型および関数といっ
  182. た)ほとんどすべての SQL 構造をサポートしています。自分自身の PostgreSQL
  183. サーバを動かして、自分自身の PostgreSQL データベースを作成したりメン
  184. テナンスしたりしたい場合は postgresql-server をインストールする必要が
  185. あります。さらに postgresql パッケージもインストールしてください。
  186. %package docs
  187. Summary: Extra documentation for PostgreSQL
  188. Summary(ja): PostgreSQL に関するその他の文書
  189. Group: Applications/Documentation
  190. Obsoletes: postgresql7-docs
  191. Conflicts: postgresql8-docs
  192. %description docs
  193. The postgresql-docs package includes the SGML source for the documentation
  194. as well as the documentation in other formats, and some extra documentation.
  195. Install this package if you want to help with the PostgreSQL documentation
  196. project, or if you want to generate printed documentation.
  197. %package contrib
  198. Summary: Contributed source and binaries distributed with PostgreSQL
  199. Summary(ja): PostgreSQL と一緒に配布される、寄贈されたソースとバイナリ
  200. Group: Applications/Databases
  201. Requires: %{name} = %{version} perl-DBD-Pg
  202. Obsoletes: postgresql7-contrib
  203. Conflicts: postgresql8-contrib
  204. %description contrib
  205. The postgresql-contrib package contains contributed packages that are
  206. included in the PostgreSQL distribution.
  207. %package devel
  208. Summary: PostgreSQL development header files.
  209. Summary(ja): PostgreSQL のサーバサイド開発用ヘッダファイル
  210. Group: Development/Libraries
  211. Requires: %{name}-static = %{version}
  212. Obsoletes: postgresql7-devel
  213. Conflicts: postgresql8-devel
  214. Conflicts: libpq-devel >= 9.3.0
  215. %description devel
  216. The postgresql-devel package contains the header files needed to compile
  217. server-side C or C++ applications.
  218. %description -l ja devel
  219. postgresql-devel パッケージには、PostgreSQL サーバサイド C / C++ アプリケー
  220. ションをコンパイルするために必要なヘッダファイルが含まれています。
  221. %package static
  222. Summary: PostgreSQL development libraries.
  223. Summary(ja): PostgreSQL のサーバサイド開発用ライブラリ
  224. Group: Development/Libraries
  225. Obsoletes: postgresql7-devel
  226. Conflicts: postgresql8-devel
  227. Conflicts: libpq-devel >= 9.3.0
  228. %description static
  229. The postgresql-static package contains libraries needed to compile
  230. server-side C or C++ applications.
  231. %description -l ja static
  232. postgresql-static パッケージには、PostgreSQL サーバサイド C / C++ アプリケー
  233. ションをコンパイルするために必要なライブラリが含まれています。
  234. #------------
  235. %if %pls
  236. %package pl
  237. Summary: The PL procedural languages for PostgreSQL.
  238. Summary(ja): PostgreSQL 用の手続き言語 PL
  239. Group: Applications/Databases
  240. Requires: %{name} = %{version}
  241. Obsoletes: postgresql7-pl
  242. Conflicts: postgresql8-pl
  243. %description pl
  244. PostgreSQL is an advanced Object-Relational database management
  245. system. The postgresql-pl package contains the the PL/Perl, PL/Tcl, and PL/Python
  246. procedural languages for the backend. PL/Pgsql is part of the core server package.
  247. %endif
  248. #------------
  249. %if %tcl
  250. %package tcl
  251. Summary: A Tcl client library for PostgreSQL.
  252. Summary(ja): PostgreSQL の Tcl クライアントライブラリ
  253. Group: Applications/Databases
  254. Requires: tcl >= 8.0
  255. Obsoletes: postgresql7-tcl
  256. Conflicts: postgresql8-tcl
  257. %description tcl
  258. PostgreSQL is an advanced Object-Relational database management
  259. system. The postgresql-tcl package contains the libpgtcl client library,
  260. the pg-enhanced pgtclsh,and the pg-enhanced tksh, if so configured at buildtime.
  261. %endif
  262. #------------
  263. %if %test
  264. %package test
  265. Summary: The test suite distributed with PostgreSQL.
  266. Summary(ja): PostgreSQL と共に配布されるテストスート
  267. Group: Applications/Databases
  268. Requires: postgresql = %{version}
  269. Obsoletes: postgresql7-test
  270. Conflicts: postgresql8-test
  271. %description test
  272. PostgreSQL is an advanced Object-Relational database management
  273. system. The postgresql-test package includes the sources and pre-built
  274. binaries of various tests for the PostgreSQL database management
  275. system, including regression tests and benchmarks.
  276. %endif
  277. %prep
  278. %setup -q -n postgresql-%{version}
  279. %build
  280. CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS
  281. CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS
  282. # Strip out -ffast-math from CFLAGS....
  283. # to link libpq statically.
  284. LIBPQ_PATH=`pwd`/src/interfaces/libpq/libpq.a
  285. perl -pi -e "s|^libpq = .+\$|libpq = $LIBPQ_PATH -lpthread|" src/Makefile.global.in
  286. CFLAGS=`echo $CFLAGS|xargs -n 1|grep -v ffast-math|xargs -n 100`
  287. ./configure \
  288. --prefix=%{_prefix} \
  289. --libdir=%{_libdir} \
  290. --disable-rpath \
  291. %if %beta
  292. --enable-debug \
  293. --enable-cassert \
  294. %endif
  295. %if %plperl
  296. --with-perl \
  297. %endif
  298. %if %tcl
  299. --with-tcl \
  300. --with-tclconfig=%{_libdir} \
  301. %endif
  302. %if %plpython
  303. --with-python \
  304. %endif
  305. %if %ssl
  306. --with-openssl \
  307. %endif
  308. %if %pam
  309. --with-pam \
  310. %endif
  311. %if %kerberos
  312. --with-krb5=/usr/kerberos \
  313. %endif
  314. %if %nls
  315. --enable-nls \
  316. %endif
  317. --with-libedit-preferred \
  318. --sysconfdir=%{_sysconfdir}/sysconfig/pgsql \
  319. --mandir=%{_mandir} \
  320. --with-docdir=%{_docdir} \
  321. --includedir=%{_includedir}/pgsql \
  322. --datadir=%{_datadir}/pgsql
  323. make %{?_smp_mflags} all
  324. make %{?_smp_mflags} -C contrib all
  325. %if %test
  326. pushd src/test
  327. make all
  328. popd
  329. %endif
  330. %install
  331. rm -rf $RPM_BUILD_ROOT
  332. # exclude client libraries.
  333. perl -pi -e 's/^\tinterfaces \\\n//' src/Makefile
  334. make DESTDIR=$RPM_BUILD_ROOT install
  335. make -C contrib DESTDIR=$RPM_BUILD_ROOT install
  336. # copy over Makefile.global to the include dir....
  337. install -m644 src/Makefile.global $RPM_BUILD_ROOT%{_includedir}/pgsql
  338. install -m644 src/Makefile.shlib $RPM_BUILD_ROOT%{_includedir}/pgsql
  339. # initscript
  340. install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
  341. sed "s/^PGVERSION=.*/PGVERSION=%{pgver}/" %{SOURCE3} \
  342. > $RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql
  343. chmod 755 $RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql
  344. # PGDATA needs removal of group and world permissions due to pg_pwd hole.
  345. install -d -m 700 $RPM_BUILD_ROOT/var/lib/pgsql/data
  346. # backups of data go here...
  347. install -d -m 700 $RPM_BUILD_ROOT/var/lib/pgsql/backups
  348. # postgres' .bash_profile
  349. install -m 644 %{SOURCE15} $RPM_BUILD_ROOT/var/lib/pgsql/.bash_profile
  350. # Create the multiple postmaster startup directory
  351. install -d -m 700 $RPM_BUILD_ROOT/etc/sysconfig/pgsql
  352. %if %test
  353. # tests. There are many files included here that are unnecessary, but include
  354. # them anyway for completeness.
  355. mkdir -p $RPM_BUILD_ROOT%{_libdir}/pgsql/test
  356. cp -a src/test/regress $RPM_BUILD_ROOT%{_libdir}/pgsql/test
  357. install -m 0755 contrib/spi/refint.so $RPM_BUILD_ROOT%{_libdir}/pgsql/test/regress
  358. install -m 0755 contrib/spi/autoinc.so $RPM_BUILD_ROOT%{_libdir}/pgsql/test/regress
  359. pushd $RPM_BUILD_ROOT%{_libdir}/pgsql/test/regress/
  360. strip *.so
  361. popd
  362. %endif
  363. # Fix some more documentation
  364. ##gzip doc/internals.ps
  365. cp %{SOURCE6} README.rpm-dist
  366. ##cp -pr $RPM_BUILD_ROOT%{_docdir}/postgresql/html doc
  367. ##rm -rf $RPM_BUILD_ROOT%{_docdir}/postgresql/html
  368. mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1
  369. mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man3
  370. mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man7
  371. install -m 644 ./doc/src/sgml/man1/* $RPM_BUILD_ROOT/%{_mandir}/man1
  372. install -m 644 ./doc/src/sgml/man3/* $RPM_BUILD_ROOT/%{_mandir}/man3
  373. install -m 644 ./doc/src/sgml/man7/* $RPM_BUILD_ROOT/%{_mandir}/man7
  374. %find_lang initdb-%{pgver}
  375. %find_lang pg_basebackup-%{pgver}
  376. %find_lang pg_config-%{pgver}
  377. %find_lang pg_controldata-%{pgver}
  378. %find_lang pg_ctl-%{pgver}
  379. %find_lang pg_dump-%{pgver}
  380. %find_lang pg_resetxlog-%{pgver}
  381. %find_lang pgscripts-%{pgver}
  382. %find_lang postgres-%{pgver}
  383. %find_lang psql-%{pgver}
  384. %ifarch !x86_64
  385. %find_lang scripts-%{pgver}
  386. %endif
  387. %find_lang plperl-%{pgver}
  388. %find_lang plpgsql-%{pgver}
  389. %find_lang plpython-%{pgver}
  390. %find_lang pltcl-%{pgver}
  391. cat psql-%{pgver}.lang pg_dump-%{pgver}.lang > main.lst
  392. cat pg_config-%{pgver}.lang > devel.lst
  393. cat initdb-%{pgver}.lang pg_basebackup-%{pgver}.lang pg_ctl-%{pgver}.lang \
  394. postgres-%{pgver}.lang pg_resetxlog-%{pgver}.lang \
  395. pg_controldata-%{pgver}.lang > server.lst
  396. %ifarch !x86_64
  397. cat scripts-%{pgver}.lang >> server.lst
  398. %endif
  399. #cat ecpg-%{pgver}.lang ecpglib6-%{pgver}.lang >> devel.lst
  400. cat plperl-%{pgver}.lang > pl.lst
  401. cat plpgsql-%{pgver}.lang >> pl.lst
  402. cat plpython-%{pgver}.lang >> pl.lst
  403. cat pltcl-%{pgver}.lang > tcl.lst
  404. mv -f %{buildroot}%{_docdir}/postgresql/extension ./
  405. rm -f %{buildroot}%{_mandir}/man1/ecpg.*
  406. %pre server
  407. groupadd -g 26 -o -r postgres >/dev/null 2>&1 || :
  408. useradd -M -n -g postgres -o -r -d /var/lib/pgsql -s /bin/bash \
  409. -c "PostgreSQL Server" -u 26 postgres >/dev/null 2>&1 || :
  410. touch /var/log/pgsql
  411. chown postgres.postgres /var/log/pgsql
  412. chmod 0700 /var/log/pgsql
  413. %post server
  414. chkconfig --add postgresql
  415. /sbin/ldconfig
  416. %preun server
  417. if [ $1 = 0 ] ; then
  418. chkconfig --del postgresql
  419. fi
  420. %postun server
  421. /sbin/ldconfig
  422. if [ $1 -ge 1 ]; then
  423. /sbin/service postgresql condrestart >/dev/null 2>&1
  424. fi
  425. if [ $1 = 0 ] ; then
  426. if [ ! -x /usr/bin/postgres ] ; then
  427. userdel postgres >/dev/null 2>&1 || :
  428. groupdel postgres >/dev/null 2>&1 || :
  429. fi
  430. fi
  431. %if %tcl
  432. %post -p /sbin/ldconfig tcl
  433. %postun -p /sbin/ldconfig tcl
  434. %endif
  435. %if %pls
  436. %post -p /sbin/ldconfig pl
  437. %postun -p /sbin/ldconfig pl
  438. %endif
  439. %if %test
  440. %post test
  441. chown -R postgres.postgres %{_datadir}/pgsql/test >/dev/null 2>&1 || :
  442. %endif
  443. %clean
  444. rm -rf $RPM_BUILD_ROOT
  445. %files -f main.lst
  446. %defattr(-,root,root)
  447. %doc doc/KNOWN_BUGS doc/MISSING_FEATURES
  448. %doc COPYRIGHT README HISTORY INSTALL doc/bug.template
  449. %doc README.rpm-dist
  450. ##doc doc/html
  451. %{_bindir}/clusterdb
  452. %{_bindir}/createdb
  453. %{_bindir}/createlang
  454. %{_bindir}/createuser
  455. %{_bindir}/dropdb
  456. %{_bindir}/droplang
  457. %{_bindir}/dropuser
  458. %{_bindir}/pg_dump
  459. %{_bindir}/pg_dumpall
  460. %{_bindir}/pg_restore
  461. %{_bindir}/psql
  462. %{_bindir}/reindexdb
  463. %{_bindir}/vacuumdb
  464. %{_mandir}/man1/clusterdb.*
  465. %{_mandir}/man1/createdb.*
  466. %{_mandir}/man1/createlang.*
  467. %{_mandir}/man1/createuser.*
  468. %{_mandir}/man1/dropdb.*
  469. %{_mandir}/man1/droplang.*
  470. %{_mandir}/man1/dropuser.*
  471. %{_mandir}/man1/pg_dump.*
  472. %{_mandir}/man1/pg_dumpall.*
  473. %{_mandir}/man1/pg_restore.*
  474. %{_mandir}/man1/psql.*
  475. %{_mandir}/man1/reindexdb.*
  476. %{_mandir}/man1/vacuumdb.*
  477. %{_mandir}/man3/*
  478. %{_mandir}/man7/*
  479. %{_localedir}/*/LC_MESSAGES/pgscripts-%{pgver}.mo
  480. %files docs
  481. %defattr(-,root,root)
  482. %doc doc/src/*
  483. %files contrib
  484. %defattr(-,root,root)
  485. %doc contrib/README contrib/spi/*.example
  486. %{_libdir}/postgresql/_int.so
  487. %{_libdir}/postgresql/adminpack.so
  488. %{_libdir}/postgresql/auth_delay.so
  489. %{_libdir}/postgresql/auto_explain.so
  490. %{_libdir}/postgresql/autoinc.so
  491. %{_libdir}/postgresql/btree_gin.so
  492. %{_libdir}/postgresql/btree_gist.so
  493. %{_libdir}/postgresql/chkpass.so
  494. %{_libdir}/postgresql/citext.so
  495. %{_libdir}/postgresql/cube.so
  496. %{_libdir}/postgresql/dblink.so
  497. %{_libdir}/postgresql/dict_int.so
  498. %{_libdir}/postgresql/dict_xsyn.so
  499. %{_libdir}/postgresql/dummy_seclabel.so
  500. %{_libdir}/postgresql/earthdistance.so
  501. %{_libdir}/postgresql/file_fdw.so
  502. %{_libdir}/postgresql/fuzzystrmatch.so
  503. %{_libdir}/postgresql/hstore.so
  504. %{_libdir}/postgresql/insert_username.so
  505. %{_libdir}/postgresql/libpqwalreceiver.so
  506. %{_libdir}/postgresql/isn.so
  507. %{_libdir}/postgresql/lo.so
  508. %{_libdir}/postgresql/ltree.so
  509. %{_libdir}/postgresql/moddatetime.so
  510. %{_libdir}/postgresql/pageinspect.so
  511. %{_libdir}/postgresql/passwordcheck.so
  512. %{_libdir}/postgresql/pg_buffercache.so
  513. %{_libdir}/postgresql/pg_freespacemap.so
  514. %{_libdir}/postgresql/pg_stat_statements.so
  515. %{_libdir}/postgresql/pg_trgm.so
  516. %{_libdir}/postgresql/pg_upgrade_support.so
  517. %{_libdir}/postgresql/pgcrypto.so
  518. %{_libdir}/postgresql/pgrowlocks.so
  519. %{_libdir}/postgresql/pgstattuple.so
  520. %{_libdir}/postgresql/postgres_fdw.so
  521. %{_libdir}/postgresql/refint.so
  522. %{_libdir}/postgresql/seg.so
  523. %{_libdir}/postgresql/sslinfo.so
  524. %{_libdir}/postgresql/tablefunc.so
  525. %{_libdir}/postgresql/tcn.so
  526. %{_libdir}/postgresql/test_parser.so
  527. %{_libdir}/postgresql/timetravel.so
  528. %{_libdir}/postgresql/tsearch2.so
  529. %{_libdir}/postgresql/unaccent.so
  530. %{_libdir}/postgresql/worker_spi.so
  531. %{_bindir}/oid2name
  532. %{_bindir}/pg_archivecleanup
  533. %{_bindir}/pg_test_fsync
  534. %{_bindir}/pg_test_timing
  535. %{_bindir}/pg_standby
  536. %{_bindir}/pg_upgrade
  537. %{_bindir}/pg_xlogdump
  538. %{_bindir}/pgbench
  539. %{_bindir}/vacuumlo
  540. %{_mandir}/man1/oid2name.*
  541. %{_mandir}/man1/pg_archivecleanup.*
  542. %{_mandir}/man1/pg_standby.*
  543. %{_mandir}/man1/pg_test_fsync.*
  544. %{_mandir}/man1/pg_test_timing.*
  545. %{_mandir}/man1/pg_upgrade.*
  546. %{_mandir}/man1/pg_xlogdump.*
  547. %{_mandir}/man1/pgbench.*
  548. %{_mandir}/man1/vacuumlo.*
  549. %if 0
  550. %files libs -f libpq5-%{pgver}.lang
  551. %defattr(-,root,root)
  552. %{_libdir}/libecpg.so.*
  553. %{_libdir}/libecpg_compat.so.*
  554. %{_libdir}/libpgtypes.so.*
  555. %{_libdir}/libpq.so.*
  556. %endif
  557. %files server -f server.lst
  558. %defattr(-,root,root)
  559. %doc extension
  560. %{_sysconfdir}/rc.d/init.d/postgresql
  561. %dir %{_sysconfdir}/sysconfig/pgsql
  562. %{_bindir}/initdb
  563. %{_bindir}/pg_basebackup
  564. %{_bindir}/pg_controldata
  565. %{_bindir}/pg_ctl
  566. %{_bindir}/pg_isready
  567. %{_bindir}/pg_receivexlog
  568. %{_bindir}/pg_resetxlog
  569. %{_bindir}/postgres
  570. %{_bindir}/postmaster
  571. %{_mandir}/man1/initdb.*
  572. ##{_mandir}/man1/ipcclean.*
  573. %{_mandir}/man1/pg_basebackup.*
  574. %{_mandir}/man1/pg_controldata.*
  575. %{_mandir}/man1/pg_ctl.*
  576. %{_mandir}/man1/pg_isready.*
  577. %{_mandir}/man1/pg_receivexlog.*
  578. %{_mandir}/man1/pg_resetxlog.*
  579. %{_mandir}/man1/postgres.*
  580. %{_mandir}/man1/postmaster.*
  581. %{_libdir}/postgresql/dict_snowball.so
  582. %{_libdir}/postgresql/plpgsql.so
  583. %{_libdir}/postgresql/*_and_*.so
  584. %{_libdir}/postgresql/euc2004_sjis2004.so
  585. %{_datadir}/pgsql/extension
  586. %{_datadir}/pgsql/*.sql
  587. %{_datadir}/pgsql/postgres.bki
  588. %{_datadir}/pgsql/postgres.description
  589. %{_datadir}/pgsql/postgres.shdescription
  590. %{_datadir}/pgsql/*.sample
  591. %{_datadir}/pgsql/sql_features.txt
  592. %{_datadir}/pgsql/timezone
  593. %{_datadir}/pgsql/timezonesets
  594. %{_datadir}/pgsql/tsearch_data
  595. %dir %{_libdir}/postgresql
  596. %dir %{_datadir}/pgsql
  597. %attr(700,postgres,postgres) %dir /var/lib/pgsql
  598. %attr(700,postgres,postgres) %dir /var/lib/pgsql/data
  599. %attr(700,postgres,postgres) %dir /var/lib/pgsql/backups
  600. %attr(644,postgres,postgres) %config(noreplace) /var/lib/pgsql/.bash_profile
  601. %files devel -f devel.lst
  602. %defattr(-,root,root)
  603. %{_includedir}/pgsql
  604. %{_bindir}/pg_config
  605. %{_libdir}/postgresql/pgxs
  606. %{_mandir}/man1/pg_config.*
  607. %files static
  608. %{_libdir}/libpgcommon.a
  609. %{_libdir}/libpgport.a
  610. %if %tcl
  611. %files tcl -f tcl.lst
  612. %defattr(-,root,root)
  613. %endif
  614. %if %pls
  615. %files pl -f pl.lst
  616. %defattr(-,root,root)
  617. %if %plperl
  618. %{_libdir}/postgresql/plperl.so
  619. %endif
  620. %if %pltcl
  621. %{_libdir}/postgresql/pltcl.so
  622. %{_bindir}/pltcl_delmod
  623. %{_bindir}/pltcl_listmod
  624. %{_bindir}/pltcl_loadmod
  625. %{_datadir}/pgsql/unknown.pltcl
  626. %endif
  627. %if %plpython
  628. #%{_libdir}/postgresql/plpython.so
  629. %{_libdir}/postgresql/plpython2.so
  630. %endif
  631. %endif
  632. %if %test
  633. %files test
  634. %defattr(-,postgres,postgres)
  635. %attr(-,postgres,postgres) %{_libdir}/postgresql/test/*
  636. %attr(-,postgres,postgres) %dir %{_libdir}/postgresql/test
  637. %endif
  638. %changelog
  639. * Sun Mar 22 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 9.3.4-2
  640. - rebuilt without readline to avoid GPL infection
  641. - added BuildRequires: libedit-devel instead of readline-devel
  642. - added BuildRequires: tcl-devel instead of tcl
  643. * Tue Apr 1 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 9.3.4-1
  644. - new upstream release.
  645. * Sun Dec 01 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 9.3.1-1
  646. - new upstream release.
  647. - built without client libraries.
  648. * Thu Feb 21 2013 IWAI, Masaharu <iwai@alib.jp> 9.0.12-1
  649. - new upstream release
  650. * Thu Feb 7 2013 IWAI, Masaharu <iwai@alib.jp> 9.0.11-1
  651. - new upstream release
  652. - add Vendor and Distribution tags
  653. * Mon Jan 7 2013 IWAI, Masaharu <iwai@alib.jp> 9.0.7-2vl7
  654. - build with Tcl/Tk 8.5.7-1
  655. - fix init script (Source3): fix su(1) paramaters.
  656. * Tue Mar 06 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 9.0.7-1
  657. - new upstream release
  658. - move euc2004_sjis2004.so from -contrib to -server (BTS:1266)
  659. - remove *_and_*.so from -contrib (included in -server)
  660. * Sat Apr 23 2011 Shu KONNO <owa@bg.wakwak.com> 9.0.4-1
  661. - updated postgresql to 9.0.4
  662. * Tue Apr 12 2011 Shu KONNO <owa@bg.wakwak.com> 9.0.3-1
  663. - updated postgresql to 9.0.3
  664. - separated postgresql-jdbc package
  665. * Thu Feb 03 2011 Shu KONNO <owa@bg.wakwak.com> 8.4.7-1
  666. - updated postgresql to 8.4.7 (contains a variety of fixes)
  667. * Sat Jan 29 2011 Shu KONNO <owa@bg.wakwak.com> 8.4.6-1
  668. - updated postgresql to 8.4.6
  669. - updated JDBC2 driver to postgresql-8.3-606.{jdbc2,jdbc2ee}.jar
  670. - updated JDBC3 driver to postgresql-8.4-702.jdbc3.jar
  671. - updated JDBC4 driver to postgresql-8.4-702.jdbc4.jar
  672. * Thu Jan 13 2011 Shu KONNO <owa@bg.wakwak.com> 8.4.5-2
  673. - rebuilt with openssl-1.0.0c
  674. * Thu Oct 07 2010 Shu KONNO <owa@bg.wakwak.com> 8.4.5-1
  675. - updated postgresql to 8.4.5
  676. * Sun May 16 2010 Shu KONNO <owa@bg.wakwak.com> 8.4.4-1
  677. - updated postgresql to 8.4.4
  678. * Thu Apr 15 2010 Shu KONNO <owa@bg.wakwak.com> 8.4.3-1
  679. - updated postgresql to 8.4.3
  680. - s/BuildPrereq/Buildrequires/
  681. * Wed Feb 17 2010 Shu KONNO <owa@bg.wakwak.com> 8.4.2-1
  682. - updated postgresql to 8.4.2
  683. - rebuilt with new environment
  684. * Thu Sep 10 2009 Shu KONNO <owa@bg.wakwak.com> 8.4.1-1
  685. - updated postgresql to 8.4.1
  686. * Fri Aug 21 2009 Shu KONNO <owa@bg.wakwak.com> 8.4.0-2
  687. - moved dict_snowball.so from conrib to server
  688. * Tue Jul 07 2009 Shu KONNO <owa@bg.wakwak.com> 8.4.0-1
  689. - updated postgresql to 8.4.0
  690. - updated jdbc3,4 to 701
  691. - dropt postgresql-8.3.3-nls.patch (fixed)
  692. - dropt postgresql-7.4-ecpg-patch (no effect)
  693. * Sat Apr 18 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 8.3.7-2
  694. - changed libs Group to System Environment/Libraries
  695. * Sun Apr 12 2009 Shu KONNO <owa@bg.wakwak.com> 8.3.7-1
  696. - updated postgresql to 8.3.7
  697. * Sun Jan 25 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 8.3.5-2
  698. - remove "-E EUC_JP --no-locale" option from initdb in postgresql.init
  699. * Thu Jan 22 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 8.3.5-1
  700. - new upstream release (postgresql to 8.3.5, jdbc to 604)
  701. * Sat Jul 05 2008 Shu KONNO <owa@bg.wakwak.com> 8.3.3-1vl5
  702. - applied new versioning policy, and spec in utf-8
  703. - updated postgresql to 8.3.3
  704. - updated jdbcver to 603
  705. - added postgresql-8.3.3-nls.patch instead of postgresql-8.2.0-nls.patch.gz
  706. - added a script to replace PGVERSION in postgresql.init
  707. * Sun Feb 17 2008 Shu KONNO <owa@bg.wakwak.com> 8.2.6-0vl2
  708. - rebuild with tcl/tk-8.4.18
  709. * Tue Jan 08 2008 Shu KONNO <owa@bg.wakwak.com> 8.2.6-0vl1
  710. - updated postgresql to 8.2.6
  711. - included security fixes: CVE-{2007-6600, 2007-4772, 2007-6067, 2007-4769, 2007-6601}
  712. * Tue Oct 16 2007 Shu KONNO <owa@bg.wakwak.com> 8.2.5-0vl3
  713. - updated PGVERSION to 8.2 in postgresql.init (sorry;)
  714. * Tue Oct 09 2007 Shu KONNO <owa@bg.wakwak.com> 8.2.5-0vl2
  715. - rebuild with tcl/tk-8.4.16
  716. * Wed Sep 19 2007 Shu KONNO <owa@bg.wakwak.com> 8.2.5-0vl1
  717. - updated postgresql to 8.2.5
  718. - updated jdbc driver to 8.2-506, and added 8.2-506.jdbc4.jar
  719. - updated nls-patch to 8-2-0
  720. - dropt postgresql-8.1.4-Pg.patch.gz
  721. * Wed Sep 19 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 8.1.10-0vl1
  722. - for VineSeed
  723. - updated to 8.1.10 (8.1.9 and up has fixes for CVE-2007-2138)
  724. - JDBC driver updated to 410
  725. * Sun Jul 1 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 8.1.5-0vl1
  726. - rebuilt for VineSeed
  727. - fixed install script
  728. * Thu Nov 23 2006 HOTTA Michihide <hotta@net-newbie.com> 8.1.5-0vl0
  729. - upstream release
  730. - fix missing %defattr in %files server
  731. * Fri Sep 15 2006 HOTTA Michihide <hotta@net-newbie.com> 8.1.4-0vl2
  732. - fix version number in postgresql.init
  733. * Tue Sep 12 2006 HOTTA Michihide <hotta@net-newbie.com> 8.1.4-0vl1
  734. - upstream release
  735. - drop rpm-pgsql-8.0.0.patch
  736. - add Requires: perl-DBD-Pg for contrib
  737. - add postgresql-8.1.4-Pg.patch.gz
  738. - update nls patches
  739. - new JDBC driver
  740. * Sat Mar 18 2006 Shu KONNO <owa@bg.wakwak.com> 8.0.3-0vl4
  741. - added build options --without perl, --without python
  742. - rebuilt for x86_64 architecture support
  743. * Tue May 31 2005 HOTTA Michihide <hotta@net-newbie.com> 8.0.3-0vl3
  744. - drop Provides: on postgresql-libs
  745. - drop Requires: libpq.so on postgresql-server
  746. * Tue May 31 2005 HOTTA Michihide <hotta@net-newbie.com> 8.0.3-0vl2
  747. - change SONAME -- Provides: libpq.so.4 libpq.so.4.0 libpq.so
  748. * Thu May 26 2005 HOTTA Michihide <hotta@net-newbie.com> 8.0.3-0vl1
  749. - upstream release
  750. - update nls patches
  751. * Fri Apr 22 2005 HOTTA Michihide <hotta@net-newbie.com> 8.0.2-0vl1
  752. - upstream release
  753. - update nls patches
  754. * Sun Apr 03 2005 Shu KONNO <owa@bg.wakwak.com> 8.0.1-0vl3
  755. - rebuilded with python-2.4.1-0vl1
  756. * Sat Mar 26 2005 Shu KONNO <owa@bg.wakwak.com> 8.0.1-0vl2
  757. - Dropped PyGreSQL-3.4.tgz.
  758. - Dropped PyGreSQL-3.4-setup-2.patch.
  759. - Dropped plpython.so in postgresql-server, because it's exist in postgresql-pl.
  760. - Dropped pyver and pynextver macros.
  761. - Changed macro name "python" to "plpython" like plperl.
  762. - Added "Obsoletes: postgresql-python"
  763. * Fri Feb 18 2005 HOTTA Michihide <hotta@net-newbie.com> 8.0.1-0vl1
  764. - Major version up
  765. - Obsoletes: postgresql7
  766. - update nls patch(es)
  767. - modify %postun not to delete postgres account on upgrade
  768. * Thu Jan 27 2005 HOTTA Michihide <hotta@net-newbie.com> 8.0.0-0vl1
  769. - upstream release (release as a new package)
  770. - Conflicts: postgresql
  771. - update nls patch(es)
  772. - (this package revision was rejected by Vine Project)
  773. * Sat Dec 04 2004 HOTTA Michihide <hotta@net-newbie.com> 7.4.6-0vl2
  774. - upstream release
  775. - new JDBC driver
  776. - add BuildRequires: bison, flex, pam-devel
  777. - drop postgresql-7.4.5-tempfile.patch (repaired)
  778. * Thu Nov 18 2004 IKEDA Katsumi <ikeda@webmasters.gr.jp> 7.4.5-0vl2
  779. - Added a security fix patch postgresql-7.4.5-tempfile.patch
  780. from Gentoo Linux (CAN-2004-0977).
  781. - Changed Patch4:
  782. from PyGreSQL-3.4-setup-2.patch into PyGreSQL-3.4-setup-2.patch
  783. It is possible to compile this package without pre-installed postgresql.
  784. - Removed Patch5 because Patch4 was changed.
  785. * Tue Aug 24 2004 HOTTA Michihide <hotta@net-newbie.com> 7.4.5-0vl1
  786. - upstream release
  787. * Mon Jun 21 2004 HOTTA Michihide <hotta@net-newbie.com> 7.4.3-0vl1
  788. - upstream release
  789. - new jdbc driver
  790. * Sat Apr 17 2004 Shu KONNO <owa@bg.wakwak.com> 7.4.2-0vl3
  791. - rebuild with python-2.3.3-0vl1
  792. * Tue Apr 13 2004 Shu KONNO <owa@bg.wakwak.com> 7.4.2-0vl2.3
  793. - changed mode to 644 at Makefile.global, Makefile.shlib
  794. * Mon Apr 12 2004 Shu KONNO <owa@bg.wakwak.com> 7.4.2-0vl2.2
  795. - updated python install section
  796. * Sat Apr 10 2004 Shu KONNO <owa@bg.wakwak.com> 7.4.2-0vl2.1
  797. - added PyGreSQL-3.4.tgz and set python flag
  798. - added PyGreSQL-3.4-setup.patch
  799. - added PyGreSQL-3.4-pgmodule.patch
  800. - rebuilded with python-2.3.3-0vl0.3 (for TestPkg)
  801. * Sun Mar 28 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 7.4.2-0vl2
  802. - rebuild with new openssl
  803. * Wed Mar 17 2004 HOTTA Michihide <hotta@net-newbie.com> 7.4.2-0vl1
  804. - upstream release
  805. - change all of %{?foo:%define foo 0} -like descriptions to simple
  806. %define format for latest rpm to build.
  807. * Sat Feb 14 2004 HOTTA Michihide <hotta@net-newbie.com> 7.4.1-0vl3
  808. - rebuild on latest tcl package environment.
  809. * Wed Feb 11 2004 HOTTA Michihide <hotta@net-newbie.com> 7.4.1-0vl2
  810. - fixed lacking files at server's %files
  811. * Fri Dec 05 2003 HOTTA Michihide <hotta@net-newbie.com> 7.4-0vl2
  812. - include JDBC driver for 7.4
  813. - fix typo in postgresql-7.4-psql-patch
  814. * Thu Nov 20 2003 HOTTA Michihide <hotta@net-newbie.com> 7.4-0vl1
  815. - upstream release
  816. - change '--includedir=' option to avoid conflicting with unixODBC
  817. - add postgresql-7.4-ecpg-patch
  818. * Wed Sep 10 2003 HOTTA Michihide <hotta@net-newbie.com> 7.3.4-0vl1
  819. - upstream release
  820. * Wed Jul 23 2003 HOTTA Michihide <hotta@net-newbie.com> 7.3.3-0vl2
  821. - drop previous version of libpq's trash
  822. * Wed May 28 2003 HOTTA Michihide <hotta@net-newbie.com> 7.3.3-0vl1
  823. - upstream release with new nls patch
  824. - fix postgresql-bashprofile (value of PGDATA)
  825. - fix postgresql-init for Japanese-specific use (-E EUC_JP --no-locale)
  826. * Wed Apr 02 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 7.3.2-0vl2
  827. - rebuild with tcltk8.4 and readline-4.3
  828. * Fri Mar 07 2003 HOTTA Michihide <hotta@net-newbie.com> 7.3.2-0vl1
  829. - upstream release
  830. * Wed Dec 25 2002 HOTTA Michihide <hotta@net-newbie.com> 7.3.1-0vl1
  831. - upstream release
  832. - remove garbage changelog
  833. * Mon Dec 23 2002 HOTTA Michihide <hotta@net-newbie.com> 7.3-0vl1
  834. - upstream release based on 7.3-2PGDG
  835. - add nls patch
  836. * Thu Dec 05 2002 Lamar Owen <lamar.owen@ramifordistat.net>
  837. - 7.3-2PGDG
  838. - Fix typo in initscript. Argh!!
  839. * Wed Dec 04 2002 Lamar Owen <lamar.owen@ramifordistat.net>
  840. - 7.3-0.5PGDG
  841. - Jerk out all perl client stuff and kludgage
  842. - Rename plperl subpackage to a pl subpackage containing all but PL/Pgsql PL's
  843. - Eliminate locale and multibyte explicit enables -- they are both defaults now
  844. - Eliminate pgaccess code; it's not a part of the main tarball anymore
  845. - Eliminate ODBC stuff -- it's also separate now. Use unixODBC instead.
  846. - Eliminated separate tk client package -- rolled the tk client into the tcl client.
  847. - Moved pltcl into the pl subpackage.
  848. - Added plpython to the pl subpackage.
  849. - /etc/sysconfig/pgsql is sysconfdir for multiple postmaster startup.
  850. * Mon Dec 02 2002 Lamar Owen <lamar.owen@ramifordistat.net>
  851. - 7.3-0.1PGDG (not released)
  852. - Integrate 7.3 jar's courtesy Joe Conway
  853. - Integrate multi-postmaster initscript courtesy Karl DeBisschop
  854. - Some renames and restructures.
  855. - Stripped out the last dregs of the postgresql-dump migration script.
  856. - Conflicts with less than 7.3.
  857. - (See below for old changelogs from VineSeed)
  858. * Fri Oct 04 2002 HOTTA Michihide <hotta@net-newbie.com> 7.2.3-0vl1
  859. - updated to 7.2.3.
  860. * Tue Sep 10 2002 HOTTA Michihide <hotta@net-newbie.com> 7.2.2-0vl3
  861. - absorbed previous patch8 into original nlspatch
  862. - fixed configure options (--enable-nls and --enable-locale to be antinomy)
  863. * Fri Aug 30 2002 Shoji Matsumoto <shom@vinelinux.org> 7.2.2-0vl2
  864. - add patch8 (ja.po for psql was invalid)
  865. * Thu Aug 29 2002 HOTTA Michihide <hotta@net-newbie.com> 7.2.2-0vl1
  866. - updated to 7.2.2.
  867. - improved nlspatch to enable japanese SQL help in psql.
  868. * Sat Jul 06 2002 HOTTA Michihide <hotta@net-newbie.com> 7.2.1-5vl3
  869. - fixed garbage chars in description(ja).
  870. * Wed Jul 03 2002 HOTTA Michihide <hotta@net-newbie.com> 7.2.1-5vl2
  871. - imported & replaced changelog (following VineSeed's).
  872. add some stuff to '%%files'.
  873. * Wed Jul 03 2002 HOTTA Michihide <hotta@net-newbie.com> 7.2.1-5vl1
  874. - Modified for Vine Linux 2.5. Originaly from RHL 7.2.1-5, adding
  875. nls patch, pg_dump patch, date_part patch by Jun Kuwamura
  876. * Thu May 23 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  877. - replace nls patch.
  878. - add *.mo to '%%files'.
  879. * Mon Mar 04 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  880. - fix initscript
  881. * Sun Mar 03 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  882. - add /usr/bin/pg_id to the package (fix)
  883. * Fri Mar 01 2002 Satoshi MACHINO <machino@vinelinux.org> 7.2-0vl1
  884. - updated 7.2
  885. - added nls.patch
  886. - fixed spec file
  887. - added New JDBC
  888. -- pgjdbc1.jar(for JDK1.1.x), pgjdbc2(for Java2)
  889. * Sat Sep 22 2001 Satoshi MACHINO <machino@vinelinux.org> 7.1.3-4vl1
  890. - updated 7.1.3
  891. * Tue Aug 21 2001 Hisao SHIBUYA <shibuya@alpha.or.jp>
  892. - 7.1.2-7vl3
  893. - merge 7.1.2-7vl2 and 7.1.2-7
  894. * Sun Aug 19 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
  895. - 7.1.2-7vl2
  896. - fixed spec typo (%%{_includesir} -> %%{_includedir})
  897. * Tue Aug 14 2001 Satoshi MACHINO <machino@vinelinux.org> 7.1.2-7vl1
  898. - updated 7.1.2 (used postgresql-7.1.2-7)
  899. - used psqlj patch for 7.1.2
  900. - used jumbo-20010801.patch.gz
  901. * Mon Aug 6 2001 Trond Eivind Glomsr <teg@redhat.com> 7.1.2-7
  902. - Add patches from 7.1-stable branch. This should fix #50799 and #50797
  903. - Enable kerberos authentication (#50644)
  904. - handle stop with stale pid file (#50499)
  905. - make the test subpackage (not built by default) own /usr/lib/pgsql/test
  906. * Mon Jul 9 2001 Trond Eivind Glomsr <teg@redhat.com>
  907. - Make the -devel subpackage depend on -libs, not the main package
  908. * Tue Jun 19 2001 Trond Eivind Glomsr <teg@redhat.com>
  909. - Make sure the python subpackage depends on mx - otherwise, you'd get an error when importing
  910. * Mon Jun 18 2001 Florian La Roche <Florian.LaRoche@redhat.de>
  911. - add changes for s390x
  912. * Fri Jun 15 2001 Trond Eivind Glomsr <teg@redhat.com>
  913. - Many path fixes for contrib packages
  914. - Newer intarray
  915. - Don't use nested ifs for tkpkg/pgaccess
  916. - Turn off test package for Red Hat Linux - it makes most sense just to use
  917. this during development
  918. - One "pgacess" -> "pgaccess"
  919. * Wed Jun 13 2001 Lamar Owen <lamar.owen@wgcr.org> <lamar@postgresql.org>
  920. - -4PGDG
  921. - patchset update for pg_regress.sh
  922. - can the dot in the release -- confused too many people and some programs.
  923. - -3.PGDG
  924. - updated README.rpm-dist
  925. - updated patch to 7.1.2, fixing some places where /usr/share/pgsql
  926. was still being used where /usr/lib/pgsql was intended.
  927. - PGLIB now set to /usr/lib/pgsql -- initdb doesn't use it to find the bki's.
  928. * Tue Jun 12 2001 Trond Eivind Glomsr <teg@redhat.com>
  929. - sync
  930. - Run chkconfig --add on server install
  931. - Move the prereqs on useradd on chkconfig to the server package
  932. - don't disable the %%clean section
  933. * Sat Jun 09 2001 Lamar Owen <lamar.owen@wgcr.org>
  934. - Sync up with Trond Eivind's set.
  935. * Thu Jun 7 2001 Trond Eivind Glomsr <teg@redhat.com>
  936. - Don't create postgres' .bashrc from the server post script: include it instead
  937. - Move the test packages from /usr/share/pgsql to /usr/lib/pgsql
  938. - Move the symlinks libpq.so, libecpg.so, libpq++.so and libpgeasy.so to the devel subpackage from
  939. libs
  940. - Source the i18n data from the .bashrc instead of in the initscript
  941. * Mon May 28 2001 Trond Eivind Glomsr <teg@redhat.com>
  942. - Handle i18n for database startup - backend needs to have the same locale everytime,
  943. but this certainly can't be hardcoded to C either
  944. - Fix stop, restart in initscript (#42217)
  945. - Make database init _much_ less verbose
  946. - other minor fixes to the initscript
  947. * Fri May 25 2001 Trond Eivind Glomsr <teg@redhat.com>
  948. - 7.1.2
  949. * Thu May 24 2001 Lamar Owen <lamar@postgresql.org> <lamar.owen@wgcr.org>
  950. - 7.1.2-0.1.1.PGDG PRERELEASE
  951. - Changed versioning and release numbering a little for better flexibility,
  952. -- particularly for distribution packagers.
  953. - Release numbering comment at top of spec, where it's more useful.
  954. - Trimmed changelog to 7.1.x. See the last 7.0.3's specfile for the 7.0
  955. changlog, and the last 6.5.3's specfile for the changelog prior to
  956. 7.0.
  957. * Sun May 20 2001 Lamar Owen <lamar@postgresql.org> <lamar.owen@wgcr.org>
  958. - 7.1.1-4.PGDG
  959. - _really_ got Python version agnosticism working.
  960. * Sat May 19 2001 Lamar Owen <lamar@postgresql.org> <lamar.owen@wgcr.org>
  961. - 7.1.1-3.PGDG Release
  962. - Python version agnosticism.....
  963. * Tue May 15 2001 Trond Eivind Glomsr <teg@redhat.com>
  964. - Use openssl
  965. - Make it obsolete subpackages if they aren't built
  966. * Mon May 14 2001 Lamar Owen <lamar@postgresql.org> <lamar.owen@wgcr.org>
  967. - 7.1.1-2.PGDG Release.
  968. - Appended .PGDG to release string to differentiate our RPM set from the others.
  969. - /bin/sh fix in initscript
  970. - README.rpm-dist updates.
  971. * Mon May 14 2001 Bernhard Rosenkraenzer <bero@redhat.com> 7.1.1-0.7
  972. - Rebuild with new readline
  973. * Thu May 10 2001 Trond Eivind Glomsr <teg@redhat.com>
  974. - Initial 7.1.1
  975. * Mon May 7 2001 Trond Eivind Glomsr <teg@redhat.com>
  976. - Specify shell when running commands through su in the initscript, to avoid problems
  977. when people switch the postgres user to use tcsh
  978. * Thu Apr 19 2001 Trond Eivind Glomsr <teg@redhat.com>
  979. - JDBC driver for Postgresql 7.1
  980. * Sun Apr 15 2001 Trond Eivind Glomsr <teg@redhat.com>
  981. - slightly different versioning scheming, will go back to the official
  982. later when I'm sure the package is ready to use
  983. * Fri Apr 13 2001 Lamar Owen <lamar@postgresql.org> <lamar.owen@wgcr.org>
  984. - 7.1 RELEASE
  985. - 7.1-1 RPM RELEASE
  986. - Change to COPTS -- strip out -ffastmath -- Considered Harmful.
  987. - Back to old versioning scheme, kept teg's other fixes.
  988. - README.rpm-dist updated.
  989. - PGVERSION updated all-around (hopefully!)
  990. - Couple of fixes from Peter E.
  991. - Rearrange dependencies -- only the -libs subpackage is required for most stuff
  992. - Removed broken and confusing logrotate script.
  993. * Mon Apr 9 2001 Trond Eivind Glomsr <teg@redhat.com>
  994. - chown considered harmful - removed
  995. - fix dangling symlimks (pg_crc.c)
  996. - libpq.so changes for maximum compatiblity
  997. - different versioning scheme, to avoid trouble later
  998. - remove temporary perl file from the file list
  999. - fix spelling error in tcl description
  1000. - mark odbcinst.ini as a config file
  1001. - use %%defattr on packages which didn't have it
  1002. * Sat Apr 07 2001 Lamar Owen <lamar@postgresql.org> <lamar.owen@wgcr.org>
  1003. - Integrated the PL/Perl stuff from Karl DeBisschop --conditional.
  1004. - Packaging reorg: added contrib and docs subpackages.
  1005. - Removed sgml source docs from main package --> docs subpackage.
  1006. - Removed contrib tree from main package --> contrib subpackage.
  1007. - Contrib tree is now prebuilt -- HOWEVER, very little install work is
  1008. currently done with this.
  1009. * Fri Apr 06 2001 Lamar Owen <lamar@postgresql.org> <lamar.owen@wgcr.org>
  1010. - Quickie RC3. There will be a 7.1RC3-2 shortly with other stuff.
  1011. * Tue Apr 03 2001 Lamar Owen <lamar@postgresql.org> <lamar.owen@wgcr.org>
  1012. - RC2
  1013. - eliminate versioning information for ancilliary files in prep for CVS.
  1014. - Fix docs mixup.
  1015. * Tue Mar 27 2001 Lamar Owen <lamar@postgresql.org> <lamar.owen@wgcr.org>
  1016. - RC1 quickie.
  1017. * Tue Mar 20 2001 Lamar Owen <lamar@postgresql.org>
  1018. - Beta 6 initial build.
  1019. - Use make install-all-headers instead of cpio hack for devel headers.
  1020. - Split out the libs into the libs subpackage.
  1021. - Updated initscript to use pg_ctl to stop
  1022. - Updated initscript to initdb and start postmaster with LC_ALL=C to
  1023. prevent index corruption.
  1024. * Sun Jan 28 2001 Lamar Owen <lamar@postgresql.org>
  1025. - Beta4
  1026. - Return to 'pgsql' directories instead of 'postgresql'
  1027. - Better perl patches.
  1028. * Mon Jan 15 2001 Lamar Owen <lamar@postgresql.org>
  1029. - Edit patches to get rid of some cruft.
  1030. - Eliminate some more pre-7.1 specfile baggage that is no longer necessary.
  1031. - Moved pg_id to server
  1032. - added Makefile.global and pg_config to devel
  1033. - Corrected /usr/include/pgsql to /usr/include/postgresql
  1034. - Fixed some configure options. Will be trying the configure macro next release
  1035. - Since it is terminally ill in this version pg_upgrade is _gone_.
  1036. - Thanks to Peter E for a good review.
  1037. * Sun Jan 14 2001 Lamar Owen <lamar@postgresql.org>
  1038. - Running regression. 1 on the release-o-meter.
  1039. - Minor patches to get regression running right.
  1040. - Initscript tweaking -- the old test for a database structure fails with 7.1's new structure.
  1041. * Sat Jan 13 2001 Lamar Owen <lamar@postgresql.org>
  1042. - Perl 5 needs to be built with PREFIX set on the Makefile, not GNUmakefile....
  1043. - The 7.1 build is different from the 7.0 build -- see the configure line.
  1044. - NOTE: many files that used to be in /usr/share/postgresql are now in /usr/share/postgresql!
  1045. - by request, conditional packages are now supported. See the top of the spec.
  1046. - Fixed the server postinstall problems.
  1047. * Mon Jan 08 2001 Lamar Owen <lamar@postgresql.org>
  1048. - First 7.1 beta test-build