Commit graph

22 commits

Author SHA1 Message Date
jlam
35cdfd9d76 Use PKGREVISION to manage the package-specific version number when it
differs from the distfile version number.  G/C some the unused variables
in postgresql/Makefile.common related to the old way of handling version
numbers.
2001-12-03 08:06:24 +00:00
jlam
55ffb37406 bsd.pkg.install.mk calls the INSTALL script at the right times
automatically, so no need to do it ourselves.
2001-12-02 06:56:38 +00:00
jlam
678c0f86f8 Use PKG_{USERS,GROUPS} instead of PKG_{USER,GROUP}. 2001-11-26 20:38:31 +00:00
jlam
cdec44e8b4 RCD_SCRIPTS now just lists the filenames (see bsd.pkg.install.mk). 2001-11-21 15:44:22 +00:00
jlam
b23d2e8626 Adapt to use shared INSTALL/DEINSTALL scripts by using the logic in
bsd.pkg.install.mk:

	* Remove old DEINSTALL/INSTALL scripts.
	* Move some text printed at POST-INSTALL time into the MESSAGE file.
	* Adjust rc.d scripts to respect rc.conf settings, so that the
	  script may be directly copied into /etc/rc.d.
2001-11-19 16:23:08 +00:00
zuntum
0ca28723fb Move pkg/ files into package's toplevel directory 2001-11-01 00:11:36 +00:00
jlam
eaa7dc2c7c Manually add LIBS+=${LIBGETOPT} to the package Makefile as it's no longer
automatically added by libgetopt/buildlink.mk.
2001-08-20 03:55:31 +00:00
jlam
e085ee5316 grep isn't used anymore, so don't substitute for @GREP@ in the INSTALL
files.  Substitute for @ID@ instead of directly using 'id', and use the
value of ${ID} already set in defs.*.mk.
2001-08-14 03:41:37 +00:00
veego
e109514d03 Fix same problems with the user check:
- use 'id' instead of 'finger'. this is not a real problem, but it
  is enough and fixing the next problem makes it possible to use it.
- grep -q doesn't work on solaris, so use a different way to suppress
  the output from the user check.
- the return code check for the user was reversed.
2001-08-12 19:55:56 +00:00
jlam
34d11d8a0f Generalize how the dependency pattern may be specified. Instead of just
FOO_REQD=1.0 being converted to foo>=1.0, one can now directly specify
the dependency pattern as FOO_DEPENDS=foo>=1.0.  This allows things like
JPEG_DEPENDS=jpeg-6b, or fancier expressions like for postgresql-lib.
Change existing FOO_REQD definitions in Makefiles to FOO_DEPENDS.
2001-06-23 19:26:48 +00:00
jlam
a85615f592 Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY. 2001-06-21 21:40:07 +00:00
jlam
dbfde59b14 The buildlink include and lib directories are added to CFLAGS, CPPFLAGS,
CXXFLAGS, and LDFLAGS by the buildlink.mk files so remove the extra
definitions to add them from the package Makefiles.  As advised by the
bsd.buildlink.mk file, also ensure that the buildlink.mk files are
included prior to defining any package-specific CFLAGS/LDFLAGS to ensure
that the buildlink directories are at the head of the compiler search
paths.
2001-06-11 02:05:07 +00:00
jlam
3bc5e40254 Remove dependency on ${BUILDLINK_TARGETS} in pre-configure and pre-build
targets as the buildlink.mk files now add the dependency automatically.
Remove any NO_CONFIGURE definitions as they seem to be useless.
2001-06-10 00:08:41 +00:00
jlam
54718a4db7 Standardize name of file to include for build-links to be "buildlink.mk".
Use BUILDLINK_INCDIR, BUILDLINK_LIBDIR for locations of linked headers
and libraries.  Create a variable BUILDLINK_TARGETS whose value is the
list of build-link targets to execute.
2001-05-24 08:53:54 +00:00
abs
37e6cc7ad4 Use useradd and groupadd on Linux as well as SunOS 2001-05-21 16:02:50 +00:00
jlam
d4ab5f3da9 Move the message that informs the user of the possible need to dump the
databases prior to installing a new version of PostgreSQL from PRE-INSTALL
time to DEINSTALL time.  Remove ${CAT} from the INSTALL file as it's no
longer needed in the script.
2001-05-18 06:13:54 +00:00
jlam
ab99782500 Cosmetic change: sort Makefile includes 2001-05-16 15:28:42 +00:00
abs
b892878632 Update for moved Makefile.getopt 2001-05-16 09:48:58 +00:00
jlam
10595de167 Surround possible empty string in quotes so [ sees an argument. 2001-05-14 21:19:42 +00:00
jlam
8c14b14d95 Generalize some of the code a bit to make it easier to cut-and-paste into
other scripts.
2001-05-14 21:02:39 +00:00
jlam
aac27413ec Move database initialization step from the INSTALL script to a
start_precmd in the pgsql rc.d script.  This is more correct, since if
postgresql-server is installed but never used, then no database really
needs to be initialized.  As a side-effect, the bulk-builds of postgresql
should now leave less crud in the aftermath of deinstalling postgresql.
2001-05-14 20:38:56 +00:00
jlam
d5ea6e5030 postgresql-server: PostgreSQL database backend server programs
This package also has an enhanced rc.d-style startup script that respects
rc.conf settings.  If you are running NetBSD>=1.5, then add pgsql=YES to
/etc/rc.conf, and set pgsql_flags to any options you wish to pass to the
postmaster.
2001-05-14 14:50:23 +00:00