Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 223225 Details for
Bug 309075
New ebuild for net-mail/postfix-logwatch-1.39.03
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Sample ebuild.
postfix-logwatch-1.39.03.ebuild (text/plain), 1.45 KB, created by
Michael Orlitzky
on 2010-03-11 22:18:23 UTC
(
hide
)
Description:
Sample ebuild.
Filename:
MIME Type:
Creator:
Michael Orlitzky
Created:
2010-03-11 22:18:23 UTC
Size:
1.45 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 postfix." >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 > > # This is an additional (example) config file. > # Might as well include it if it exists. > if [ -f "${PN}.conf-topn" ]; then > dodoc "${PN}.conf-topn" > fi > > 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}" postfix > > # And remove the taint mode (-T) switch from the header of the > # logwatch filter. > sed -i 's~^#!/usr/bin/perl -T$~#!/usr/bin/perl~' postfix > > insinto "$logwatch_service_dir" > doins postfix > > insinto "$logwatch_conf_dir" > newins "${PN}.conf" postfix.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 309075
: 223225