ports/79913: [NEW PORT] mail/queue-fix: Repairs or generates a qmail queue structure
Renato Botelho
freebsd at galle.com.br
Thu Apr 14 15:40:23 UTC 2005
>Number: 79913
>Category: ports
>Synopsis: [NEW PORT] mail/queue-fix: Repairs or generates a qmail queue structure
>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: Thu Apr 14 15:40:22 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Renato Botelho
>Release: FreeBSD 5.3-RELEASE-p7 i386
>Organization:
Galle Folheados - http://www.galle.com.br
>Environment:
System: FreeBSD data.galle.com.br 5.3-RELEASE-p7 FreeBSD 5.3-RELEASE-p7 #8: Tue Apr 5 08:06:19 BRST
>Description:
This is a small utility for checking and repairing the qmail queue
structure. It will fix uid/gid settings and permissions. It will
rename the message files to match their inodes. It will even create
directories and files that don't exist that should be there (you can
even create a queue from scratch). It will also print warnings for
any files it finds that should not exist.
Author: Eric Huss <e-huss at netmeridian.com>
WWW: http://www.qmail.org/
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:
--- queue-fix-1.4.shar begins here ---
# 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:
#
# queue-fix
# queue-fix/pkg-descr
# queue-fix/Makefile
# queue-fix/pkg-plist
# queue-fix/distinfo
#
echo c - queue-fix
mkdir -p queue-fix > /dev/null 2>&1
echo x - queue-fix/pkg-descr
sed 's/^X//' >queue-fix/pkg-descr << 'END-of-queue-fix/pkg-descr'
XThis is a small utility for checking and repairing the qmail queue
Xstructure. It will fix uid/gid settings and permissions. It will
Xrename the message files to match their inodes. It will even create
Xdirectories and files that don't exist that should be there (you can
Xeven create a queue from scratch). It will also print warnings for
Xany files it finds that should not exist.
X
XAuthor: Eric Huss <e-huss at netmeridian.com>
XWWW: http://www.qmail.org/
END-of-queue-fix/pkg-descr
echo x - queue-fix/Makefile
sed 's/^X//' >queue-fix/Makefile << 'END-of-queue-fix/Makefile'
X# New ports collection makefile for: queue-fix
X# Date created: 2005-04-14
X# Whom: Renato Botelho <freebsd at galle.com.br>
X#
X# $FreeBSD$
X#
X
XPORTNAME= queue-fix
XPORTVERSION= 1.4
XCATEGORIES= mail
XMASTER_SITES= http://www.netmeridian.com/e-huss/
X
XMAINTAINER= freebsd at galle.com.br
XCOMMENT= Repairs or generates a qmail queue structure
X
XRUN_DEPENDS= ${QMAIL_DIR}/bin/qmail-send:${PORTSDIR}/mail/qmail
X
XOPTIONS= BIG_TODO "Use big_todo patch" off
X
X.if defined(WITH_BIG_TODO)
XPATCH_SITES+= http://www.qmail.org/
XPATCHFILES+= queue-fix-todo.patch
XPATCH_DIST_STRIP+= -p1
X.endif
X
XCONFIGURE_SCRIPT=
XALL_TARGET=
X
XPLIST_SUB= DOCDIR=${DOCDIR}
X
X.if exists(${PREFIX}/qmail/bin/qmail-send)
XPREFIX?= ${PREFIX}/qmail
X.else
XPREFIX?= /var/qmail
X.endif
X
X.if (${PREFIX} == ${LOCALBASE})
XDOCDIR= share/doc/qmail/queue-fix
X.else
XDOCDIR= doc/queue-fix
X.endif
X
X.include <bsd.port.pre.mk>
X
X.if defined(WITH_BIG_TODO)
XPATCH_SITES+= http://www.qmail.org/
XPATCHFILES+= queue-fix-todo.patch
XPATCH_DIST_STRIP+= -p1
X.endif
X
Xdo-install:
X @${MKDIR} ${PREFIX}/bin
X ${INSTALL_PROGRAM} ${WRKSRC}/queue-fix ${PREFIX}/bin
X.if !defined(NOPORTDOCS)
X @${MKDIR} ${PREFIX}/${DOCDIR}
X ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/${DOCDIR}
X.endif
X
X.include <bsd.port.post.mk>
END-of-queue-fix/Makefile
echo x - queue-fix/pkg-plist
sed 's/^X//' >queue-fix/pkg-plist << 'END-of-queue-fix/pkg-plist'
X at comment $FreeBSD$
Xbin/queue-fix
X%%PORTDOCS%%%%DOCDIR%%/README
X%%PORTDOCS%%@dirrm %%DOCDIR%%
END-of-queue-fix/pkg-plist
echo x - queue-fix/distinfo
sed 's/^X//' >queue-fix/distinfo << 'END-of-queue-fix/distinfo'
XMD5 (queue-fix-1.4.tar.gz) = 43f915c104024e6f33a5b3ff52dfb75b
XSIZE (queue-fix-1.4.tar.gz) = 18486
XMD5 (queue-fix-todo.patch) = cbebb217b1b3b32f20995f2c869f6121
XSIZE (queue-fix-todo.patch) = 3056
END-of-queue-fix/distinfo
exit
--- queue-fix-1.4.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list