« Return to Thread: mail/femail MESSAGE->README

Re: mail/femail MESSAGE->README

by Antoine Jacoutot-7 :: Rate this Message:

| View in Thread

On Mon, May 14, 2012 at 10:35:49AM +0100, Stuart Henderson wrote:
> On 2012/05/13 11:11, Okan Demirmen wrote:
> > convert to pkg readmes, so info doesn't get lost.
> >
> > ok?
>
> This is so short anyway, is it really worth it? It's so much easier to
> "pkg_info femail" than "cat /usr/local/share/doc/pkg-readmes/femail*"

I actually find it quite handy to have READMEs.
After installing a box, all I have to do is ls /usr/local/share/doc/pkg-readmes/ then I know exactly what would need some reading/work; instead of guessing which package I should 'pkg-info' to get post-install instructions.


> and it avoids adding stuff which confuses update-plist...

That is another issue; update-plist needs to be fixed.

> > Index: Makefile
> > ===================================================================
> > RCS file: /home/open/cvs/ports/mail/femail/Makefile,v
> > retrieving revision 1.11
> > diff -u -p -r1.11 Makefile
> > --- Makefile 20 Feb 2012 07:58:31 -0000 1.11
> > +++ Makefile 13 May 2012 15:07:50 -0000
> > @@ -9,7 +9,7 @@ PKGNAME-main= femail-${V}
> >  PKGNAME-chroot= femail-chroot-${V}
> >  CATEGORIES= mail
> >  
> > -REVISION-chroot=0
> > +REVISION-chroot=1
> >  
> >  HOMEPAGE= http://bulabula.org/femail/
> >  
> > Index: pkg/MESSAGE-chroot
> > ===================================================================
> > RCS file: pkg/MESSAGE-chroot
> > diff -N pkg/MESSAGE-chroot
> > --- pkg/MESSAGE-chroot 27 Mar 2009 18:28:59 -0000 1.2
> > +++ /dev/null 1 Jan 1970 00:00:00 -0000
> > @@ -1,8 +0,0 @@
> > -By default, femail will use `localhost' for smtphost.  Make sure to
> > -review FAQ Section 10.16 discussing name resolution with httpd(8)'s
> > -default chroot(2).
> > -
> > -Additionally, one may create a custom femail.conf; see femail(8).
> > -
> > -If you're using femail with PHP inside a chroot jail, be aware that
> > -PHP's built-in "mail" function uses popen(), which requires /bin/sh.
> > Index: pkg/PLIST-chroot
> > ===================================================================
> > RCS file: /home/open/cvs/ports/mail/femail/pkg/PLIST-chroot,v
> > retrieving revision 1.3
> > diff -u -p -r1.3 PLIST-chroot
> > --- pkg/PLIST-chroot 22 Mar 2011 09:45:51 -0000 1.3
> > +++ pkg/PLIST-chroot 13 May 2012 15:06:28 -0000
> > @@ -5,3 +5,5 @@ usr/sbin/
> >  @mode 0555
> >  @sample usr/sbin/sendmail
> >  @mode
> > +@cwd ${LOCALBASE}/share/doc/pkg-readmes
> > +${FULLPKGNAME}
> > Index: pkg/README-chroot
> > ===================================================================
> > RCS file: pkg/README-chroot
> > diff -N pkg/README-chroot
> > --- /dev/null 1 Jan 1970 00:00:00 -0000
> > +++ pkg/README-chroot 13 May 2012 14:50:06 -0000
> > @@ -0,0 +1,16 @@
> > +$OpenBSD$
> > +
> > ++-----------------------------------------------------------------------
> > +| Running ${FULLPKGNAME} on OpenBSD
> > ++-----------------------------------------------------------------------
> > +
> > +Setup with httpd from OpenBSD base system
> > +=========================================
> > +By default, femail will use `localhost' for smtphost.  Make sure to
> > +review FAQ Section 10.16 discussing name resolution with httpd(8)'s
> > +default chroot(2).
> > +
> > +Additionally, one may create a custom femail.conf; see femail(8).
> > +
> > +If you're using femail with PHP inside a chroot jail, be aware that
> > +PHP's built-in "mail" function uses popen(), which requires /bin/sh.
> >
>

--
Antoine

 « Return to Thread: mail/femail MESSAGE->README