Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Apr 2010 14:07:22 -0700
From:      Doug Barton <dougb@FreeBSD.org>
To:        freebsd-ports@FreeBSD.org
Subject:   HEADS UP: The RC_SUBR and RC_SUBR_SUFFIX macros are no more
Message-ID:  <4BC8D18A.7060307@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Greetings,

As have probably noticed I've been working over the last weeks to remove
the last vestiges of the RC_SUBR and RC_SUBR_SUFFIX macros from the
tree. Thanks to pav committing version 1.636 of bsd.port.mk I was able
to remove the sysutils/rc_subr port, and update the documentation in the
Porter's Handbook accordingly. This is the culmination of work that was
started almost 7 years ago to allow the ports to use what was then the
new rc.d system.

The "Heads up" aspect of this is that new scripts should not be added
that contain the %%RC_SUBR%% or %%RC_SUBR_SUFFIX%% macros since they
will no longer be expanded. The former should simply be written
literally as /etc/rc.subr. The latter should not be used.

There are a handful of ports that include rc.d scripts provided by the
vendor that still have the %%RC_SUBR%% string in them, and patch that
out themselves. I have already updated those ports to patch it with the
literal /etc/rc.subr string. If you are working on a new port with
similar circumstances the same solution should be used.


Regards,

Doug

- -- 

	... and that's just a little bit of history repeating.
			-- Propellerheads

	Improve the effectiveness of your Internet presence with
	a domain name makeover!    http://SupersetSolutions.com/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (MingW32)

iQEcBAEBCAAGBQJLyNGKAAoJEFzGhvEaGryEYTYH/AhVxj3Q+MLOzQ6n6EOUkBrd
gRX1O3llZqUijuZQFN6QqtriKRPW8dZC450p+YxGHRewKc77b6wl+TzOLnuw3VOU
A2gqq82pKnbAzrOsZVc28Zp09ViTvMhO5SC9YCBsywqpgLJV8hbu3s2uVliob0fQ
DXVPrtGBBhsCtCAyNX0JEt2YW/rVeHIsXIFRXaMIjBopAVOCXt3KkCva4Gj1+jUV
+iOMvS3w/00qYhbrrBJA1GZfMU06ADctDk1DxcGXgaK98YV88y5DlhtvX9zqXrFH
3j6LMehf1jNLjG9qO64ybFgpExpTz+f5jyq0/hklWGImQ9bdY5RRYQoIyF4sOq4=
=703m
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BC8D18A.7060307>