freebsd-ports/databases/postgresql82-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 As threatened, enforce the "Capital, no period" rule. Ellipses are 1999-06-26 17:19:19 +00:00
pkg-descr portlint 2000-04-20 05:04:31 +00:00
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 Update to 7.0.2. 2000-06-20 05:08:07 +00:00
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 pl/Perl and ODBC support 2000-09-23 16:13:56 +00:00
pkg-plist.tcl Update to 7.0.2. 2000-06-20 05:08:07 +00:00