On 2014/12/29 22:22, Stuart Henderson wrote:
> On 2014/12/29 10:14, Stuart Henderson wrote:
> >                     lockfile also needs handling (see my earlier mail in
> > the thread for more details).
> 
> Diff and attached port to split off lockfile. Yes there are
> alternatives to this, e.g. sysutils/flock (which is somewhat common
> on Linux), but procmail has long been a common utility found on
> unix systems and so lockfile has seen fairly frequent use in
> local scripts, and I think keeping it available helps sysadmins.

Any comments on this separation of lockfile? OK?

> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/mail/procmail/Makefile,v
> retrieving revision 1.40
> diff -u -p -r1.40 Makefile
> --- Makefile  5 Sep 2014 13:52:19 -0000       1.40
> +++ Makefile  29 Dec 2014 22:17:47 -0000
> @@ -4,7 +4,7 @@ COMMENT=      filtering local mail delivery a
>  
>  DISTNAME=    procmail-3.22
>  CATEGORIES=  mail
> -REVISION=    5
> +REVISION=    6
>  
>  MASTER_SITES=        ${HOMEPAGE} \
>               http://mirror.switch.ch/ftp/mirror/procmail/ \
> @@ -29,6 +29,7 @@ USE_GROFF = Yes
>  CFLAGS+=     -DLMTP
>  .endif
>  
> +RUN_DEPENDS= sysutils/lockfile
>  MAKE_FLAGS=  BASENAME="${PREFIX}" CC="${CC}" CFLAGS0="${CFLAGS}" 
> LOCKINGTEST="110"
>  
>  NO_TEST=     Yes
> Index: pkg/PLIST
> ===================================================================
> RCS file: /cvs/ports/mail/procmail/pkg/PLIST,v
> retrieving revision 1.7
> diff -u -p -r1.7 PLIST
> --- pkg/PLIST 17 Mar 2012 10:47:19 -0000      1.7
> +++ pkg/PLIST 29 Dec 2014 22:17:47 -0000
> @@ -1,10 +1,8 @@
>  @comment $OpenBSD: PLIST,v 1.7 2012/03/17 10:47:19 sthen Exp $
>  @bin bin/formail
> -@bin bin/lockfile
>  bin/mailstat
>  @bin bin/procmail
>  @man man/man1/formail.1
> -@man man/man1/lockfile.1
>  @man man/man1/procmail.1
>  @man man/man5/procmailex.5
>  @man man/man5/procmailrc.5
> 


Attachment: lockfile.tgz
Description: application/tar-gz

Reply via email to