Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 147893 Details for
Bug 215637
app-forensics/aide ebuild enhancements
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
aide-0.13.1-r1.ebuild.patch
aide-0.13.1-r1.ebuild.patch (text/plain), 3.04 KB, created by
Gilles Dartiguelongue (RETIRED)
on 2008-03-31 20:03:40 UTC
(
hide
)
Description:
aide-0.13.1-r1.ebuild.patch
Filename:
MIME Type:
Creator:
Gilles Dartiguelongue (RETIRED)
Created:
2008-03-31 20:03:40 UTC
Size:
3.04 KB
patch
obsolete
>--- /usr/portage/app-forensics/aide/aide-0.13.1-r1.ebuild 2007-12-23 07:37:49.000000000 +0100 >+++ ./aide-0.13.1-r1.ebuild 2008-03-31 21:56:54.000000000 +0200 >@@ -1,8 +1,7 @@ >-# Copyright 1999-2007 Gentoo Foundation >+# Copyright 1999-2008 Gentoo Foundation > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/app-forensics/aide/aide-0.13.1-r1.ebuild,v 1.1 2007/12/23 06:37:49 matsuu Exp $ >-WANT_AUTOCONF='latest' >-WANT_AUTOMAKE='latest' >+ > inherit eutils autotools > > DESCRIPTION="AIDE (Advanced Intrusion Detection Environment) is a replacement for Tripwire" >@@ -26,8 +25,7 @@ > zlib? ( sys-libs/zlib )" > # audit? ( sys-process/audit ) > >-RDEPEND="!static? ( ${DEPEND} ) >- virtual/mailx" >+RDEPEND="!static? ( ${DEPEND} )" > > DEPEND="${DEPEND} > nls? ( sys-devel/gettext ) >@@ -45,7 +43,11 @@ > src_unpack() { > unpack ${A} > cd "${S}" >- epatch "${FILESDIR}"/${P}-gentoo.patch >+ >+ epatch "${FILESDIR}/${P}-gentoo.patch" >+ >+ # fix configure switch >+ epatch "${FILESDIR}/${P}-configure.patch" > > if ! use mhash ; then > # dev-libs/libgcrypt doesn't support whirlpool algorithm >@@ -63,53 +65,56 @@ > if ! use acl ; then > sed -i -e 's/\+acl//' doc/aide.conf.in || die > fi >+ > eautoreconf > } > > src_compile() { >- local myconf="--sysconfdir=/etc/aide $(use_enable static)" >+ local myconf=" >+ $(use_with acl posix-acl) >+ $(use_with !mhash gcrypt) >+ $(use_with mhash mhash) >+ $(use_with nls locale) >+ $(use_with postgres psql) >+ $(use_with selinux) >+ $(use_enable static) >+ $(use_with xattr) >+ $(use_with zlib) >+ --sysconfdir=/etc/aide >+ --with-extra-lib=/usr/lib" > >- # --without-* borked >- use zlib && myconf="${myconf} --with-zlib" >- use nls && myconf="${myconf} --with-locale" >- use postgres && myconf="${myconf} --with-psql" >- use selinux && myconf="${myconf} --with-selinux" >- use acl && myconf="${myconf} --with-posix-acl" >- use xattr && myconf="${myconf} --with-xattr" >+# $(use_with audit) > # use audit && myconf="${myconf} --with-audit" > > # curl doesn't work with static > use curl && ! use static && myconf="${myconf} --with-curl" > >- # If you use dev-libs/libgcrypt, --without-mhash is needed. >- use mhash \ >- && myconf="${myconf} --with-mhash" \ >- || myconf="${myconf} --with-gcrypt --without-mhash" >- >- econf ${myconf} || die >- # parallel make borked >- emake -j1 || die >+ econf ${myconf} || die "econf failed" >+ # parallel make borked ? >+ emake || die "emake failed" > } > > src_install() { >- emake DESTDIR="${D}" install || die >+ emake DESTDIR="${D}" install || die "emake install failed" > > keepdir /var/lib/aide > keepdir /var/log/aide > > insinto /etc/aide > doins "${FILESDIR}"/aide.conf >- # doins doc/aide.conf >+ >+ insinto /etc/cron.daily >+ doins "${FILESDIR}"/aide.cron > > dosbin "${FILESDIR}"/aideinit > >- dodoc ChangeLog AUTHORS NEWS README "${FILESDIR}"/aide.cron >+ dodoc ChangeLog AUTHORS NEWS README > dohtml doc/manual.html > } > > pkg_postinst() { >- chown root:0 /var/lib/aide >- chmod 0755 /var/lib/aide >+ fowners root:0 /var/lib/aide >+ fperms 0755 /var/lib/aide > > elog > elog "A sample configuration file has been installed as"
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 215637
: 147893 |
147894
|
147896
|
147897