summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mail/queue-fix/DESCR6
-rw-r--r--mail/queue-fix/Makefile29
-rw-r--r--mail/queue-fix/PLIST4
-rw-r--r--mail/queue-fix/distinfo4
4 files changed, 43 insertions, 0 deletions
diff --git a/mail/queue-fix/DESCR b/mail/queue-fix/DESCR
new file mode 100644
index 00000000000..0178ee74596
--- /dev/null
+++ b/mail/queue-fix/DESCR
@@ -0,0 +1,6 @@
+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.
diff --git a/mail/queue-fix/Makefile b/mail/queue-fix/Makefile
new file mode 100644
index 00000000000..bc4f888270b
--- /dev/null
+++ b/mail/queue-fix/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/08/28 22:14:33 schmonz Exp $
+#
+
+DISTNAME= queue-fix
+PKGNAME= ${DISTNAME:C/$/-1.4/}
+CATEGORIES= mail
+MASTER_SITES= ${HOMEPAGE}
+
+MAINTAINER= schmonz@NetBSD.org
+HOMEPAGE= http://www.netmeridian.com/e-huss/
+COMMENT= Check and repair the qmail queue structure
+
+WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
+
+USE_BUILDLINK3= yes
+
+ALL_TARGET= it
+
+INSTALLATION_DIRS= bin share/doc/queue-fix
+
+do-configure:
+ ${ECHO} ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc
+ ${ECHO} ${CC} ${_STRIPFLAG_CC} > ${WRKSRC}/conf-ld
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/queue-fix ${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/queue-fix
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/mail/queue-fix/PLIST b/mail/queue-fix/PLIST
new file mode 100644
index 00000000000..c2c88e92818
--- /dev/null
+++ b/mail/queue-fix/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/08/28 22:14:33 schmonz Exp $
+bin/queue-fix
+share/doc/queue-fix/README
+@dirrm share/doc/queue-fix
diff --git a/mail/queue-fix/distinfo b/mail/queue-fix/distinfo
new file mode 100644
index 00000000000..0cffcf1140b
--- /dev/null
+++ b/mail/queue-fix/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/08/28 22:14:33 schmonz Exp $
+
+SHA1 (queue-fix.tar.gz) = ce42fcc4daf5076adcf8fea6a9a84f2e1716c67c
+Size (queue-fix.tar.gz) = 18486 bytes