Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 50989 Details for
Bug 59691
ebuild for postgrey 1.17 (Postgrey - Postfix Greylisting Policy Server)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
postgrey-1.17-r4.ebuild
postgrey-1.17-r4.ebuild (text/plain), 2.26 KB, created by
steveb
on 2005-02-11 02:32:00 UTC
(
hide
)
Description:
postgrey-1.17-r4.ebuild
Filename:
MIME Type:
Creator:
steveb
Created:
2005-02-11 02:32:00 UTC
Size:
2.26 KB
patch
obsolete
># Copyright 1999-2005 Gentoo Foundation# Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit eutils > >S="${WORKDIR}/${P}" >DESCRIPTION="Postgrey is a Postfix policy server implementing greylisting" >SRC_URI="http://isg.ee.ethz.ch/tools/${PN}/pub/old/${P}.tar.gz > http://isg.ee.ethz.ch/tools/${PN}/pub/${P}.tar.gz" >HOMEPAGE="http://isg.ee.ethz.ch/tools/postgrey/" >LICENSE="GPL-2" >SLOT="0" >IUSE="" >DEPEND="" >RDEPEND=">=dev-lang/perl-5.6.0 > dev-perl/net-server > dev-perl/IO-Multiplex > dev-perl/BerkeleyDB > >=sys-libs/db-4.1 > >=mail-mta/postfix-2.1.0" > >KEYWORDS="~x86 ~amd64" > >pkg_setup() { > id postgrey 2>/dev/null || enewgroup postgrey > id postgrey 2>/dev/null || enewuser postgrey -1 /bin/false /dev/null postgrey >} > >src_compile() { :; } > >src_install () { > cd ${S} > > # postgrey data/DB in /var > diropts -m0770 -o postgrey -g postgrey > dodir /var/spool/postfix/postgrey > keepdir /var/spool/postfix/postgrey > fowners postgrey:postgrey /var/spool/postfix/postgrey > fperms 0770 /var/spool/postfix/postgrey > > # postgrey binary > dosbin postgrey > dosbin contrib/postgreyreport > > # postgrey data in /etc/postfix > insinto /etc/postfix > insopts -o root -g postgrey -m 0640 > for foo in postgrey_whitelist_clients postgrey_whitelist_recipients > do > newins ${S}/${foo} ${foo} > done > if [ ! -f "${ROOT}/etc/postfix/postgrey_whitelist_clients.local" ] > then > touch ${T}/postgrey_whitelist_clients.local > newins ${T}/postgrey_whitelist_clients.local postgrey_whitelist_clients.local > fi > > # documentation > dodoc Changes COPYING README > > # postgrey init script > exeinto /etc/init.d > newexe ${FILESDIR}/postgrey.rc postgrey > > # postgrey config for gentoo > insinto /etc/conf.d > newins ${FILESDIR}/postgrey.conf postgrey >} > >pkg_postinst() { > echo > einfo "To make use of greylisting, please update your postfix config." > einfo > einfo "Put something like this in /etc/postfix/main.cf:" > einfo " smtpd_recipient_restrictions =" > einfo " ..." > einfo " check_policy_service inet:127.0.0.1:10030" > einfo > einfo "Remember to restart Postfix after that change. Also remember to" > einfo "make the daemon start durig boot:" > einfo " rc-update add postgrey default" > einfo > echo > ewarn "Read the documentation for more info (perldoc postgrey)." > echo > epause 5 > ebeep 5 > epause 5 >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 59691
:
36947
|
36948
|
36949
|
36952
|
36953
|
36954
|
50561
|
50562
|
50563
|
50651
| 50989