the RCD_SCRIPTS rc.d script(s) to the PLIST.
This GENERATE_PLIST idea is part of Greg A. Woods'
PR #22954.
This helps when the RC_SCRIPTS are installed to
a different ${RCD_SCRIPTS_EXAMPLEDIR}. (Later,
the default RCD_SCRIPTS_EXAMPLEDIR will be changed
to be more clear that they are the examples.)
These patches also remove the etc/rc.d/ scripts from PLISTs
(of packages that use RCD_SCRIPTS). (This also removes
now unused references from openssh* makefiles. Note that
qmail package has not been changed yet.)
I have been doing automatic PLIST registration for RC_SCRIPTS
for over a year. Not all of these packages have been tested,
but many have been tested and used.
Somethings maybe to do:
- a few packages still manually install the rc.d scripts to
hard-coded etc/rc.d. These need to be fixed.
- maybe remove from mk/${OPSYS}.pkg.dist mtree specifications too.
Changes made between 0.6.3 and 0.6.4 (2003/11/17).
The uses of sprintf(3) have been replaced by the concat() function
implemented locally.
Also, add rc.d script to PLIST for binary packages.
USE_PKGINSTALL is "YES". bsd.pkg.install.mk will no longer automatically
pick up a INSTALL/DEINSTALL script in the package directory and assume that
you want it for the corresponding *_EXTRA_TMPL variable.
In this version, the rate limiting of a log message has been corrected.
Documentation updates are provided, including a change log that will now
be maintained.
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES". This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile. Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.
Remove `-p' from mkdir arguments, it is already part of ${MKDIR}.
While here substitute a couple of ${PREFIX} by `%D' in
`@exec ${MKDIR} ...' lines and add a couple of missing `%D' in such lines too!
The UIDL calculation has been reworked, adding support for multi-line
message headers and reconsidering which headers to use. Without this change,
the generated IDs wouldn't always be unique when running with certain (common)
MTAs.
pkgsrc. Instead, a new variable PKGREVISION is invented that can get
bumped independent of DISTNAME and PKGNAME.
Example #1:
DISTNAME= foo-X.Y
PKGREVISION= Z
=> PKGNAME= foo-X.YnbZ
Example #2:
DISTNAME= barthing-X.Y
PKGNAME= bar-X.Y
PKGREVISION= Z
=> PKGNAME= bar=X.YnbZ (!)
On subsequent changes, only PKGREVISION needs to be bumped, no more risk
of getting DISTNAME changed accidentally.
Parts of the daemon code are now run in a chroot jail. qmail-style
~/Mailbox support was added. The inetd vs. standalone mode setting has been
made runtime configurable. A bug resulting in incorrect failure reason being
logged, and a bug which could result in mailbox corruption (glued messages)
have been fixed.
Changes:
PAM authentication (obviously not enabled)
Choice for fcntl(2) and/or flock(2) locking.
Virtual domain support hooks (in beta, not enabled in package)
Relaxed BSD-compatible license for most source files.
Various bug and portability fixes.