Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 335702 Details for
Bug 451694
=app-forensics/ovaldi-5.10.1.4 : Version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ovaldi-5.10.1.4.ebuild
ovaldi-5.10.1.4.ebuild (text/plain), 3.26 KB, created by
Sergey Popov
on 2013-01-15 10:39:39 UTC
(
hide
)
Description:
ovaldi-5.10.1.4.ebuild
Filename:
MIME Type:
Creator:
Sergey Popov
Created:
2013-01-15 10:39:39 UTC
Size:
3.26 KB
patch
obsolete
># Copyright 1999-2013 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI=5 > >inherit eutils toolchain-funcs > >DESCRIPTION="Free implementation of OVAL" >HOMEPAGE="http://oval.mitre.org/language/interpreter.html" >SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.bz2" > >LICENSE="BSD" >SLOT="0" >KEYWORDS="~amd64 ~x86" >IUSE="acl ldap rpm selinux" > >RDEPEND="dev-libs/libgcrypt > dev-libs/libpcre > dev-libs/xalan-c > dev-libs/xerces-c > sys-libs/libcap > acl? ( sys-apps/acl ) > ldap? ( net-nds/openldap ) > rpm? ( app-arch/rpm ) > selinux? ( sys-libs/libselinux )" >DEPEND="${RDEPEND} > sys-apps/sed" > >S="${WORKDIR}/${P}-src" > >src_prepare() { > #Ovaldi do not support xerces 3, but portage have only that > epatch "${FILESDIR}"/${P}-xerces3.patch > sed -i 's,xercesc::DOMBuilder,xercesc::DOMLSParser,' src/XmlProcessor.h || die > sed -i 's,DOMBuilder,DOMLSParser,' src/XmlProcessor.cpp || die > > epatch "${FILESDIR}"/${P}-strnicmp.patch > > if ! use ldap ; then > einfo "Disabling LDAP probes" > sed -i 's,.*ldap,//&,' src/linux/ProbeFactory.cpp || die > sed -i 's,.*LDAP,//&,' src/linux/ProbeFactory.cpp || die > sed -i 's/-lldap//' project/linux/Makefile || die > sed -i 's/.*LDAPProbe.h.*//' src/linux/ProbeFactory.h || die > rm src/probes/independent/LDAPProbe.{cpp,h} || die > fi > > if ! use acl ; then > sed -i 's,.*libacl,//&,' src/probes/unix/FileProbe.h || die > epatch "${FILESDIR}"/disable-acl.patch > sed -i 's, -lacl , ,' project/linux/Makefile || die > fi > > # rpm probes support is build dependant only on the presence of the rpm binary > if use rpm ; then > #Same problems as bug 274679, so i do a local copy of the header and patch it > cp /usr/include/rpm/rpmdb.h src/probes/linux/ || die > epatch "${FILESDIR}"/use_local_rpmdb.patch > epatch "${FILESDIR}"/rpmdb.patch > else > einfo "Disabling rpm probes" > sed -i 's/^PACKAGE_RPM/#PACKAGE_RPM/' project/linux/Makefile || die > fi > # same thing for dpkg, but package dpkg is not sufficient, needs app-arch/apt-pkg that is not on tree > einfo "Disabling dpkg probes" > sed -i 's/^PACKAGE_DPKG/#PACKAGE_DPKG/' project/linux/Makefile || die > > #Disabling SELinux support > if ! use selinux ; then > rm src/probes/linux/SelinuxSecurityContextProbe.cpp || die > rm src/probes/linux/SelinuxBooleanProbe.cpp || die > rm src/probes/linux/SelinuxBooleanProbe.h || die > cp src/probes/unix/Process58Probe.cpp src/probes/unix/Process58Probe.cpp.old || die > epatch "${FILESDIR}"/${P}-disable-selinux-probes.patch > sed -i 's,.*selinux.*,//&,' src/linux/ProbeFactory.cpp || die > sed -i 's,.*Selinux.*,//&,' src/linux/ProbeFactory.cpp || die > sed -i 's,.*selinux.*,//&,' src/linux/ProbeFactory.h || die > sed -i 's,.*Selinux.*,//&,' src/linux/ProbeFactory.h || die > sed -i 's,.*SecurityContextGuard.h.*,//&,' src/probes/unix/Process58Probe.cpp || die > rm src/linux/SecurityContextGuard.h || die > sed -i 's, -lselinux,,' project/linux/Makefile || die > fi > # respect CXXFLAGS and CXX > sed -i -e '/^CPPFLAGS/s/$(INCDIRS)/$(CXXFLAGS) \0/' project/linux/Makefile || die > tc-export CXX >} > >src_compile () { > emake -C project/linux >} > >src_install () { > # no make install in Makefile > dosbin project/linux/Release/ovaldi project/linux/ovaldi.sh > dodir /var/log/${PN} > insinto /usr/share/${PN} > doins xml/* > dodoc docs/{README.txt,version.txt} > doman docs/ovaldi.1 >}
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 451694
:
335686
|
335702
|
335712
|
335718