Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75652 - ipp2p version bump 0.7
Summary: ipp2p version bump 0.7
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-25 13:52 UTC by unl
Modified: 2004-12-26 13:44 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description unl 2004-12-25 13:52:51 UTC
ipp2p version bump 0.7

Reproducible: Always
Steps to Reproduce:
1.This is an ebuild.

# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipp2p/ipp2p-0.7.ebuild,v 1.2 2004/12/25 23:00:00 eradicator Exp $

IUSE=""

inherit linux-mod eutils

MY_PV=${PV/../}
MY_P="${PN}-${MY_PV}"
S="${WORKDIR}/${PN}"

DESCRIPTION="Netfilter module for dealing with P2P Applications."
HOMEPAGE="http://www.ipp2p.org/index_en.html"
SRC_URI="http://rnvs.informatik.uni-leipzig.de/ipp2p/downloads/${MY_P}.tar.gz"

SLOT="${KV}"
LICENSE="GPL-2"
KEYWORDS="~x86"

RDEPEND="virtual/modutils"

DEPEND="${RDEPEND}
        >=net-firewall/iptables-1.2.11
        virtual/linux-sources"

pkg_setup() {
        CONFIG_CHECK="NETFILTER"
        NETFILTER_ERROR="Your kernel is not configured to support Netfilter."
        MODULE_NAMES="ipt_ipp2p"

        linux-mod_pkg_setup
}

src_unpack() {
        unpack ${A}

        cd ${S}
        epatch ${FILESDIR}/${P}-Makefile.patch
}

src_compile() {
        xarch="${ARCH}"
        unset ARCH
        emake KERNEL_SRC=${KV_DIR} || die "Parallel Make Failed"
        ARCH="${xarch}"
}

src_install() {
        exeinto /$(get_libdir)/iptables
        doexe libipt_ipp2p.so

        dodoc README
        linux-mod_src_install
}

pkg_postinst() {
        linux-mod_pkg_postinst
}
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2004-12-26 13:44:00 UTC
fixed in portage.  thanks.