Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 223229 Details for
Bug 309077
New ebuild for net-mail/amavis-logwatch-1.50.02
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Sample ebuild.
amavis-logwatch-1.50.02.ebuild (text/plain), 1.30 KB, created by
Michael Orlitzky
on 2010-03-11 22:22:08 UTC
(
hide
)
Description:
Sample ebuild.
Filename:
MIME Type:
Creator:
Michael Orlitzky
Created:
2010-03-11 22:22:08 UTC
Size:
1.30 KB
patch
obsolete
># Copyright 1999-2010 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >DESCRIPTION="A log analyzer for amavisd-new." >HOMEPAGE="http://www.mikecappella.com/logwatch/" >SRC_URI="${HOMEPAGE}/release/${P}.tgz" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~x86 ~amd64" >IUSE="logwatch" > >DEPEND="dev-lang/perl" >RDEPEND="${DEPEND}" > >src_compile() { > # Do nothing. In particular, don't make. > : >} > >src_install() { > # There are two different "versions" of the package in the > # tarball: a standalone and a logwatch filter. We always install > # the standalone script and conf file; however, we only install > # the logwatch filter and logwatch conf file with USE="logwatch". > dodoc Bugs > dodoc Changes > dodoc README > doman "${PN}.1" > dohtml "${PN}.1.html" > dobin "${PN}" > insinto /etc > doins "${PN}.conf" > > if use logwatch; then > local logwatch_service_dir=/etc/logwatch/scripts/services > local logwatch_conf_dir=/etc/logwatch/conf/services > > # Make a copy of the standalone to be used as the logwatch filter. > cp "${PN}" amavis > > # And remove the taint mode (-T) switch from the header of the > # logwatch filter. > sed -i 's~^#!/usr/bin/perl -T$~#!/usr/bin/perl~' amavis > > insinto "$logwatch_service_dir" > doins amavis > > insinto "$logwatch_conf_dir" > newins "${PN}.conf" amavis.conf > fi >}
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 309077
: 223229