Date: Mon, 1 Dec 2003 00:33:26 +0100 From: Melvyn Sopacua <freebsd-current@webteckies.org> To: richardcoleman@mindspring.com, Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?= <des@des.no> Cc: Kris Kennaway <kris@obsecurity.org> Subject: Re: 5.2-BETA and related ports issues Message-ID: <200312010033.30577.freebsd-current@webteckies.org> In-Reply-To: <3FCA6891.1020400@mindspring.com> References: <200311281553.hASFrURT003309@siralan.org> <xzpbrqtepp5.fsf@dwp.des.no> <3FCA6891.1020400@mindspring.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <freebsd-current@webteckies.org> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200312010033.30577.freebsd-current>