From owner-cvs-all Tue Feb 20 13:45:20 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id ED54937B684; Tue, 20 Feb 2001 13:45:15 -0800 (PST) (envelope-from olgeni@FreeBSD.org) Received: (from olgeni@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f1KLjFi94760; Tue, 20 Feb 2001 13:45:15 -0800 (PST) (envelope-from olgeni) Message-Id: <200102202145.f1KLjFi94760@freefall.freebsd.org> From: Jimmy Olgeni Date: Tue, 20 Feb 2001 13:45:15 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: ports/databases/postgresql7 pkg-message Makefile pkg-plist X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG olgeni 2001/02/20 13:45:15 PST Modified files: databases/postgresql7 Makefile pkg-plist Added files: databases/postgresql7 pkg-message Log: 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 Revision Changes Path 1.71 +4 -5 ports/databases/postgresql7/Makefile 1.27 +2 -77 ports/databases/postgresql7/pkg-plist To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message