mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
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. PR: ports/79913 Submitted by: Renato Botelho <freebsd@galle.com.br>
This commit is contained in:
parent
8c39ddb1cd
commit
6c0dd65dc4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=133606
@ -402,6 +402,7 @@
|
||||
SUBDIR += qsf
|
||||
SUBDIR += qtools
|
||||
SUBDIR += queue-repair
|
||||
SUBDIR += queue-fix
|
||||
SUBDIR += quickml
|
||||
SUBDIR += raysfilter
|
||||
SUBDIR += razor-agents
|
||||
|
53
mail/queue-fix/Makefile
Normal file
53
mail/queue-fix/Makefile
Normal file
@ -0,0 +1,53 @@
|
||||
# New ports collection makefile for: queue-fix
|
||||
# Date created: 2005-04-14
|
||||
# Whom: Renato Botelho <freebsd@galle.com.br>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= queue-fix
|
||||
PORTVERSION= 1.4
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= http://www.netmeridian.com/e-huss/
|
||||
|
||||
MAINTAINER= freebsd@galle.com.br
|
||||
COMMENT= Repairs or generates a qmail queue structure
|
||||
|
||||
RUN_DEPENDS= ${QMAIL_DIR}/bin/qmail-send:${PORTSDIR}/mail/qmail
|
||||
|
||||
OPTIONS= BIG_TODO "Use big_todo patch" off
|
||||
|
||||
CONFIGURE_SCRIPT=
|
||||
ALL_TARGET=
|
||||
|
||||
PLIST_SUB= DOCDIR=${DOCDIR}
|
||||
|
||||
.if exists(${PREFIX}/qmail/bin/qmail-send)
|
||||
PREFIX?= ${PREFIX}/qmail
|
||||
.else
|
||||
PREFIX?= /var/qmail
|
||||
.endif
|
||||
|
||||
.if (${PREFIX} == ${LOCALBASE})
|
||||
DOCDIR= share/doc/qmail/queue-fix
|
||||
.else
|
||||
DOCDIR= doc/queue-fix
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if defined(WITH_BIG_TODO)
|
||||
PATCH_SITES+= http://www.qmail.org/
|
||||
PATCHFILES+= queue-fix-todo.patch
|
||||
PATCH_DIST_STRIP+= -p1
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/queue-fix ${PREFIX}/bin
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${PREFIX}/${DOCDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/${DOCDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
4
mail/queue-fix/distinfo
Normal file
4
mail/queue-fix/distinfo
Normal file
@ -0,0 +1,4 @@
|
||||
MD5 (queue-fix-1.4.tar.gz) = 43f915c104024e6f33a5b3ff52dfb75b
|
||||
SIZE (queue-fix-1.4.tar.gz) = 18486
|
||||
MD5 (queue-fix-todo.patch) = cbebb217b1b3b32f20995f2c869f6121
|
||||
SIZE (queue-fix-todo.patch) = 3056
|
9
mail/queue-fix/pkg-descr
Normal file
9
mail/queue-fix/pkg-descr
Normal file
@ -0,0 +1,9 @@
|
||||
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/
|
4
mail/queue-fix/pkg-plist
Normal file
4
mail/queue-fix/pkg-plist
Normal file
@ -0,0 +1,4 @@
|
||||
@comment $FreeBSD$
|
||||
bin/queue-fix
|
||||
%%PORTDOCS%%%%DOCDIR%%/README
|
||||
%%PORTDOCS%%@dirrm %%DOCDIR%%
|
Loading…
Reference in New Issue
Block a user