From owner-freebsd-ports@FreeBSD.ORG Fri Apr 16 21:07:23 2010 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F34C106564A for ; Fri, 16 Apr 2010 21:07:23 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx23.fluidhosting.com [204.14.89.6]) by mx1.freebsd.org (Postfix) with ESMTP id 280878FC0A for ; Fri, 16 Apr 2010 21:07:22 +0000 (UTC) Received: (qmail 26845 invoked by uid 399); 16 Apr 2010 21:07:22 -0000 Received: from localhost (HELO ?192.168.0.145?) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 16 Apr 2010 21:07:22 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4BC8D18A.7060307@FreeBSD.org> Date: Fri, 16 Apr 2010 14:07:22 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: freebsd-ports@FreeBSD.org X-Enigmail-Version: 1.0.1 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: HEADS UP: The RC_SUBR and RC_SUBR_SUFFIX macros are no more X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Apr 2010 21:07:23 -0000 -----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-----