git.schokokeks.org
Repositories
Help
Report an Issue
keks-overlay.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
1995b15
Branches
Tags
master
keks-overlay.git
net-mail
courierpasswd
courierpasswd-1.1.0.ebuild
Fix minor qa/format issues, make ebuild ready for upstream sending.
Bernd Wurst
commited
1995b15
at 2007-03-03 15:37:45
courierpasswd-1.1.0.ebuild
Blame
History
Raw
# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="A password checking interface that works with the courier-imap authdaemon" HOMEPAGE="http://www.arda.homeunix.net/store/" SRC_URI="http://www.arda.homeunix.net/store/${P}.tar.gz" S="${WORKDIR}/${P}" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86 amd64" IUSE="" DEPEND=">=net-libs/courier-authlib-0.57" src_compile() { CFLAGS="$CFLAGS -Wl,-z,now" econf || die "Error in configure" emake || die "Error in make" } src_install() { einfo Installing courierpasswd setuid root. dosbin courierpasswd || die "Cannot install courierpasswd" # chown root $(sbindir)/courierpasswd fperms 4511 /sbin/courierpasswd dobin ${FILESDIR}/mailpasswd doman courierpasswd.8 dodoc AUTHORS INSTALL COPYING NEWS README ChangeLog } warning() { ewarn "courierpasswd has been installed setuid root. Otherwise the authdeamon" ewarn "wouldn't allow courierpasswd to connect." einfo "To use courierpasswd for qmail AUTH you have to modify einfo "/var/qmail/control/conf-smtpd and set "QMAIL_SMTP_CHECKPASSWORD=\"/sbin/courierpasswd\"." einfo "You can use courierpasswd to change you e-mail password by executing" einfo "mailpasswd or courierpasswd directly (see manpage). There is a" einfo "courierchange_pass is a courierchange_pass available for Squirrelmail" einfo "as well." ewarn "The courierpasswd binary moved from /bin/ to /sbin/. Please check" ewarn "all programs that might have hard linked the binary (eg. squirrelmail" ewarn "plugin, qmail-smtp, ...)" }