under ${PREFIX} instead of being an absolute path.
So fix the references using RCD_SCRIPTS_EXAMPLEDIR to be
${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}.
This should have no changes to use before.
Please note that the MESSAGE files in most cases are wrong in the
first place. We have automated mechanisms and could have an automated
message for explaining rc.d script usage. (This is something to do!)
which installs to ${RCD_SCRIPTS_EXAMPLEDIR}. But the MESSAGE
referred to wrong hard-coded location if the RCD_SCRIPTS_EXAMPLEDIR
was not the default. So use RCD_SCRIPTS_EXAMPLEDIR instead.
PKGREVISION not bumped because if someone had changed
RCD_SCRIPTS_EXAMPLEDIR before recent change of autoregistration
of rc.d script in PLIST, then it could not have been packaged
in first place.
Note that this commit does not imply that the MESSAGE is correct.
In some cases, the MESSAGE is clearly wrong such as suggesting
running the rc.d script from the example directory (which will work
although).
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.
- correct usage of PREFIX in MESSAGE
- sort PLIST
Changes:
1.6:
====
- Fixed ttSyncAll only looking at fontdir subdirectories
- Added more robust checking for cachedir
- Removed a constant path size limitation (for the Hurd)
- Fixed a typo in "syncing"
- Minor indentation fixes
- Started the transition to using C++ strings
- Changed the libfstt API:
Fixed multiple memory leakages
The member getString doesn't need the conversion buffer anymore
- Fixed the output format of --gslist
1.5.1:
======
- Fixed a possible security problem by checking the byteorder magic in
the connection handshake:
bugtraq id 8255
1.5:
====
- Fixed multiple buffer overflows in the network packet handling code:
CAN-2003-0581
- New encoding: iso8859-14
- Moved hardcoded dir locations to configure space
- Mkdir the fontdir and cachedir in the make install target
- Improve error messages when cachedir does not exist
- Remove --gslist dependency on order of arguments
- Replaced dprintfN with a debug function
- Cleaned the debugging output
- Indentation and minor source cosmetic changes
- Updated to gettext 0.12.1, version 0.11.5 was buggy
- Added a System V init file example
- Cleaned the examples in doc/examples: font.properties, test.sh
- Updated the documentation: doc/FAQ, INSTALL, THANKS, TODO, xfstt.1x
Changes:
- added MESSAGE file with post-install instructions
- minor cleanups
1.4:
====
- Auto* tools
- Initial i18n support (not used yet)
- Fixed slow down with some programs using FS_ListFontsWithXInfo
- Fixed childs unlinking unix socket when father uid == childs uid
- Added an option to specify pidfile location
- Added endpwent() to prevent leaking one fd
- Changed usage output
1.3.1:
======
- Added --cache description to man page
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>.
Update to xfstt-1.3.
Significant changes since 1.2:
* Fixed unix socket and its dir permissions
* Added full path to unix socket address and use sockaddr_un instead
* Added support for --notcp
* Removed hard coded limits on path length (needed by the Hurd)
Significant changes since 1.1:
* Fixes bug that broke xfstt when using unix
* domain sockets under linux 2.4
* Fixed bug in realloc() use.
* Added Patch for Boxdrawing glyphs
* New Encodings: iso8859_11 (latin/Thai) and koi8_u
* Now compiles properly under newer versions of gcc
Significant changes since 1.2:
* Fixed unix socket and its dir permissions
* Added full path to unix socket address and use sockaddr_un instead
* Added support for --notcp
* Removed hard coded limits on path length (needed by the Hurd)
Significant changes since 1.1:
* Fixes bug that broke xfstt when using unix
* domain sockets under linux 2.4
* Fixed bug in realloc() use.
* Added Patch for Boxdrawing glyphs
* New Encodings: iso8859_11 (latin/Thai) and koi8_u
* Now compiles properly under newer versions of gcc
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.
* Add rc.d startup script
* Update pkg name to xfstt-1.1nb1
Code based on FreeBSD port,
submitted by Martti Kuparinen <martti.kuparinen@iki.fi> in PR 12201