ports/80517: New port: mail/exipick
Vsevolod Stakhov
vsevolod at highsecure.ru
Sun May 1 21:50:02 UTC 2005
>Number: 80517
>Category: ports
>Synopsis: New port: mail/exipick
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun May 01 21:50:01 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Vsevolod Stakhov
>Release: FreeBSD 5.3-RELEASE i386
>Organization:
>Environment:
System: FreeBSD nemezida.highsecure.ru 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Dec 3 03:56:35 MSK 2004 root at nemezida.highsecure.ru:/usr/obj/usr/src/sys/NK i386
>Description:
Exipick - display messages from Exim queue based on a variety of criteria.
>How-To-Repeat:
>Fix:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# exipick
# exipick/Makefile
# exipick/pkg-descr
# exipick/pkg-message
# exipick/distinfo
# exipick/files
# exipick/files/patch-aa
#
echo c - exipick
mkdir -p exipick > /dev/null 2>&1
echo x - exipick/Makefile
sed 's/^X//' >exipick/Makefile << 'END-of-exipick/Makefile'
X# New ports collection makefile for: exipick
X# Date created: 02 May 2005
X# Whom: Vsevolod Stakhov <vsevolod at highsecure.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME= exipick
XPORTVERSION= 20050225.0
XCATEGORIES= mail
XMASTER_SITES= http://jetmore.org/john/code/
XDISTNAME= ${PORTNAME}.${PORTVERSION}
XEXTRACT_SUFX=
X
XMAINTAINER= vsevolod at highsecure.ru
XCOMMENT= Display messages from Exim queue based on a variety of criteria
X
XPLIST_FILES= bin/${PORTNAME}
X
XUSE_PERL5_RUN= yes
X
Xdo-extract:
X @${RM} -rf ${WRKDIR}
X @${MKDIR} ${WRKSRC}
X @${CP} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME} ${WRKSRC}
X
Xdo-build:
X @${SED} -e '1s|/usr/bin/perl|${PERL}|' \
X ${WRKSRC}/${DISTNAME} > ${WRKSRC}/${PORTNAME}.pl
X
Xdo-install:
X @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl \
X ${DESTDIR}${PREFIX}/bin/${PORTNAME}
X @${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-exipick/Makefile
echo x - exipick/pkg-descr
sed 's/^X//' >exipick/pkg-descr << 'END-of-exipick/pkg-descr'
XExipick is a script for display messages from Exim queue based on
Xa variety of criteria, for example this is usefull for checking Exim
Xqueue in some stitistics scripts.
END-of-exipick/pkg-descr
echo x - exipick/pkg-message
sed 's/^X//' >exipick/pkg-message << 'END-of-exipick/pkg-message'
Xexipick has been successfully installed.
X
XTry
X `exipick --help'
Xfor perldoc help.
END-of-exipick/pkg-message
echo x - exipick/distinfo
sed 's/^X//' >exipick/distinfo << 'END-of-exipick/distinfo'
XMD5 (exipick.20050225.0) = c5bf0deec898a63bff1690e366a91cea
XSize (exipick.20050225.0) = 40768
END-of-exipick/distinfo
echo c - exipick/files
mkdir -p exipick/files > /dev/null 2>&1
echo x - exipick/files/patch-aa
sed 's/^X//' >exipick/files/patch-aa << 'END-of-exipick/files/patch-aa'
X--- exipick.20050225.0.orig Mon May 2 01:10:13 2005
X+++ exipick.20050225.0 Mon May 2 01:10:34 2005
X@@ -1,7 +1,7 @@
X #!/usr/bin/perl
X
X # SET THIS TO THE PATH TO YOUR SPOOL DIR!
X-my $spool = '/local/exim/spool';
X+my $spool = '/var/spool/exim';
X
X use strict;
X use Getopt::Long;
END-of-exipick/files/patch-aa
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list