Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 497278 Details for
Bug 602552
<net-analyzer/arpwatch-2.1.15-r11: root privilege escalation
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
arpwatch-2.1.15-r9.ebuild
arpwatch-2.1.15-r9.ebuild (text/plain), 1.94 KB, created by
Michael Orlitzky
on 2017-09-30 20:52:05 UTC
(
hide
)
Description:
arpwatch-2.1.15-r9.ebuild
Filename:
MIME Type:
Creator:
Michael Orlitzky
Created:
2017-09-30 20:52:05 UTC
Size:
1.94 KB
patch
obsolete
># Copyright 1999-2017 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 > >EAPI=6 >inherit user versionator > >PATCH_VER="0.7" > >MY_P="${PN}-$(replace_version_separator 2 'a')" >DESCRIPTION="An ethernet monitor program that keeps track of ethernet/ip address pairings" >HOMEPAGE="http://ee.lbl.gov/" >SRC_URI=" > ftp://ftp.ee.lbl.gov/${MY_P}.tar.gz > https://dev.gentoo.org/~jer/arpwatch-patchset-${PATCH_VER}.tar.xz >" > >LICENSE="BSD GPL-2" >SLOT="0" >KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86 ~x86-fbsd" >IUSE="selinux" > >DEPEND=" > net-libs/libpcap > sys-libs/ncurses:* >" > >RDEPEND=" > ${DEPEND} > selinux? ( sec-policy/selinux-arpwatch ) >" > >S="${WORKDIR}/${MY_P}" > >pkg_setup() { > # We need to create /var/lib/arpwatch with this group, so it must > # exist during src_install. > enewgroup arpwatch >} > >pkg_postinst() { > # The user, however, is not needed until runtime. > enewuser arpwatch -1 -1 -1 arpwatch >} > >src_prepare() { > local patchdir="${WORKDIR}/arpwatch-patchset" > > # Just TWO of these patches need -p0, ugh. > eapply -p0 \ > "${patchdir}/22_all_arpwatch-2.1a15-respect-ldflags.patch" \ > "${patchdir}/99_all_arpwatch-2.1a15-ethercodes.dat-20100918.patch" > rm "${patchdir}/22_all_arpwatch-2.1a15-respect-ldflags.patch" \ > "${patchdir}/99_all_arpwatch-2.1a15-ethercodes.dat-20100918.patch" \ > || die 'failed to remove -p0 patches' > > eapply "${patchdir}"/*.patch > cp "${patchdir}"/*.8 ./ || die "failed to copy man pages from ${patchdir}" > > eapply_user >} > >src_install () { > dosbin arpwatch arpsnmp arp2ethers massagevendor arpfetch bihourly.sh > doman arpwatch.8 arpsnmp.8 arp2ethers.8 massagevendor.8 arpfetch.8 bihourly.8 > > insinto /usr/share/arpwatch > doins ethercodes.dat > > insinto /usr/share/arpwatch/awk > doins duplicates.awk euppertolower.awk p.awk e.awk d.awk > > diropts --group=arpwatch --mode=770 > dodir /var/lib/arpwatch > dodoc README CHANGES > > newinitd "${FILESDIR}"/arpwatch.initd-r1 arpwatch > newconfd "${FILESDIR}"/arpwatch.confd-r1 arpwatch >}
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 602552
: 497278 |
497280
|
497282