1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-23 20:51:43 +00:00
freebsd-ports/databases/postgresql91-server
Jimmy Olgeni 84c5d89a6e Make the port more "package friendly".
Do not call initdb from Makefile's post-install. Users are required to
manually run initdb, maybe after configuring their preferred database
location in pgsql's user .profile. pkg_add used to simply replace some
existing data files.

Add pkg-message to tell the user about initdb.

Remove 2 empty directories from pkg-plist (pgsql/include/port/freebsd,
pgsql/include/port), since they are not included in "make package" anyway
and cause pkg_deinstall to complain about the plist.

Remove all pgsql/data contents from pkg-plist, so "make deinstall" and
pkg_delete won't clobber existing databases. Minor version upgrades can now be
performed by means of pkg_delete and "make install", without using pg_dump.

Chown %D/pgsql/lib to root:wheel to satisfy ldconfig's recent security
requirements.

Change @dirrm of pgsql to "@unexec rmdir": pkg_deinstall won't complain if
data still exists in that directory at deinstall time.

Approved by:	maintainer
2001-02-20 21:45:15 +00:00
..
files Update to version 7.0.3. 2000-12-11 03:22:07 +00:00
scripts Update to version 7.0.3. 2000-12-11 03:22:07 +00:00
distinfo Update to version 7.0.3. 2000-12-11 03:22:07 +00:00
Makefile Make the port more "package friendly". 2001-02-20 21:45:15 +00:00
pkg-comment
pkg-descr
pkg-install Do not set the shell for user "pgsql" to `/bin/nologin' at package install 2001-01-30 07:27:00 +00:00
pkg-message Make the port more "package friendly". 2001-02-20 21:45:15 +00:00
pkg-plist Make the port more "package friendly". 2001-02-20 21:45:15 +00:00
pkg-plist.doc
pkg-plist.jdbc Update to version 7.0.3. 2000-12-11 03:22:07 +00:00
pkg-plist.notk Update to version 7.0.3. 2000-12-11 03:22:07 +00:00
pkg-plist.odbc
pkg-plist.tcl