Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Mar 2007 23:13:42 -0500
From:      "kitsune " <v.velox@vvelox.net>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/110114: New port: mail/qar-bufo qar-bufo generates the Qmail assign and recipients file based on unix groups.
Message-ID:  <1173413622.25575@vixen42.vulpes>
Resent-Message-ID: <200703090430.l294U6lu067339@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         110114
>Category:       ports
>Synopsis:       New port: mail/qar-bufo  qar-bufo generates the Qmail assign and recipients file based on unix groups.
>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:   Fri Mar 09 04:30:06 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     kitsune
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
>Environment:


System: FreeBSD 6.2-STABLE #2: Wed Mar  7 19:30:14 EST 2007
    root@vixen42.vulpes:/usr/obj/usr/src/sys/vixen42-2



>Description:


Simple put qmail-pw2u is a bad idea. This solves it.

With this you can have your users stored nicely in LDAP or what ever else there is NSS suport for. Make every one who sends and recieves mail a member of a specific group and this will generate the files based on who is in the group.


>How-To-Repeat:


1: Notice qmail-pw2u detonates goats.
2:
3: unshar, install, and use
4: get pulled over for the possesion of  U238, but politely explain it is only for personal use
5: enjoying no longer having to use qmail-pw2u and the added simplicity of having your users in LDAP


>Fix:


--- mail_qar-bufo.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:
#
#	qar-bufo/
#	qar-bufo/Makefile
#	qar-bufo/pkg-descr
#
echo c - qar-bufo/
mkdir -p qar-bufo/ > /dev/null 2>&1
echo x - qar-bufo/Makefile
sed 's/^X//' >qar-bufo/Makefile << 'END-of-qar-bufo/Makefile'
X# New ports collection makefile for: qar-bufo
X# Date created:        8 March 2007
X# Whom:                Zane C. Bowers
X#
X# $FreeBSD$
X#
X
XPORTNAME=	qar-bufo
XPORTVERSION=	1.3.1
XCATEGORIES=	mail
XDISTNAME=	qar-bufo-${PORTVERSION}
XEXTRACT_SUFX=
XEXTRACT_ONLY=
X
XMAINTAINER=	vvelox@vvelox.net
XCOMMENT=	qar-bufo generates the Qmail assign and recipients file based on unix groups.
X
XUSE_PERL5=	yes
X
XNO_WRKSUBDIR=	yes
X
XMASTER_SITES=	http://cpan.org/authors/id/M/MW/MWCZANECB/
X
XMAN1=		qar-bufo.1
X
XPLIST_FILES=	bin/qar-bufo
X
Xpost-extract:
X	@${CP} -v ${DISTDIR}/${DISTNAME} ${WRKSRC}
X
X#nothing to configure
Xdo-configure:
X	@${ECHO} -n
X
Xdo-build:
X	@${EXEC} pod2man --section=1 --release=${PORTVERSION} --name=${PORTNAME} --center="${PORTNAME} user guide" ${WRKSRC}/${DISTNAME} ${WRKSRC}/${PORTNAME}.1
X
Xdo-install:
X	@${CP} -v ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/${PORTNAME}
X	@${CP} -v ${WRKSRC}/${PORTNAME}.1 ${PREFIX}/man/man1/${PORTNAME}.1
X	@${CHMOD} +x ${PREFIX}/bin/qar-bufo
X
X.include <bsd.port.mk>
END-of-qar-bufo/Makefile
echo x - qar-bufo/pkg-descr
sed 's/^X//' >qar-bufo/pkg-descr << 'END-of-qar-bufo/pkg-descr'
Xqar-bufo generates the Qmail assign and recipients file based on unix groups.
X
XUnlike with qmail-pw2u, you don't need your users in /etc/passwd. They can be
Xstored any where that a NSS module allows.
X
XJust make all users who send or recieve mail a member of a specific group, and
Xthat group will be used to generate the assign and recipients file.
END-of-qar-bufo/pkg-descr
exit

--- mail_qar-bufo.shar ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1173413622.25575>