From owner-freebsd-current@FreeBSD.ORG Sun Nov 30 15:33:47 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4A07216A4CE; Sun, 30 Nov 2003 15:33:47 -0800 (PST) Received: from morpheus.webteckies.org (node123e0.a2000.nl [24.132.35.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id A09C443FE9; Sun, 30 Nov 2003 15:33:32 -0800 (PST) (envelope-from freebsd-current@webteckies.org) Received: from sarevok.idg.nl (unknown [192.168.1.12]) by morpheus.webteckies.org (Postfix) with ESMTP id 0DFB1107C6; Mon, 1 Dec 2003 00:30:13 +0100 (CET) From: Melvyn Sopacua Organization: WebTeckies.org To: richardcoleman@mindspring.com, Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?= Date: Mon, 1 Dec 2003 00:33:26 +0100 User-Agent: KMail/1.5.93 References: <200311281553.hASFrURT003309@siralan.org> <3FCA6891.1020400@mindspring.com> In-Reply-To: <3FCA6891.1020400@mindspring.com> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_K5ny/sS+orp9g+U"; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200312010033.30577.freebsd-current@webteckies.org> cc: freebsd-current@FreeBSD.org cc: Oliver Eikemeier cc: Andreas Klemm cc: Kris Kennaway Subject: Re: 5.2-BETA and related ports issues X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Nov 2003 23:33:47 -0000 --Boundary-02=_K5ny/sS+orp9g+U Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Sunday 30 November 2003 23:00, Richard Coleman wrote: > Dag-Erling Sm=F8rgrav wrote: > > Melvyn Sopacua writes: > >>Then you can just as easily nuke the entire mailer.conf principle and > >> symlink bin/postfix to etc/rc.d/050.postfix.sh. > > > > This is actually one of the two recommended ways of starting postfix > > (and the one I prefer). The main reason for mailer.conf to exist is > > that a lot of scripts have /usr/sbin/sendmail hardcoded and TPTB > > decided that they didn't want to use 'use.perl port'-style symlinks. > > > > DES > > But all these seem like such hacks. It would be so much cleaner to move > sendmail.sh out of the way and just add postfix.sh to /etc/rc.d, rather > than using tricks with symlinks and rc.conf variables. Symlinks have the added advantage that you can easily see what you've done= =20 using ls(1) - unlike /usr/sbin/sendmail being a shell script. In this=20 specific case, postfix already supports the 'start' and 'stop' arguments, s= o=20 there's no need for a wrapper script translating arguments. > If you have a=20 > small number of ports added, it's not a big deal. But all these hacks > get confusing when you have a lot of ports, each doing it's own special > trick. Isn't that *exactly why* ports should respect $PREFIX? At least than you kn= ow=20 that startup scripts are in one place. Maybe all that is needed is a variab= le=20 RCDIR?=3D etc/rc.d, for people who want to 'deviate' from this convention. > The mailer.conf issue (for mail injection) is a separate issue and > there's really no way around that. Just to be clear: with 'nuke' I meant sendmail_enable=3D"NONE" in /etc/rc.c= onf. Very convenient I might add. =2D-=20 Melvyn =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D =46reeBSD sarevok.webteckies.org 5.2-BETA FreeBSD 5.2-BETA #1: Sat Nov 29=20 00:15:33 CET 2003 root@sarevok.webteckies.org:/usr/obj/usr/src/sys/ SAREVOK_NOFW_DBG i386 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D --Boundary-02=_K5ny/sS+orp9g+U Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQA/yn5KOv9JNmfFN5URAkW4AJ9LqyhqTDbMeqoTu86zs7HhghV9YwCfdAu0 mmkgZZvlcnAN2gyS8aDZqgo= =WhP0 -----END PGP SIGNATURE----- --Boundary-02=_K5ny/sS+orp9g+U--