Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 197274 - net-misc/ferm-1.2.5: version bump + wrong RDEPEND in ebuild
Summary: net-misc/ferm-1.2.5: version bump + wrong RDEPEND in ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Lowest enhancement (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL: http://ferm.foo-projects.org/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-28 09:44 UTC by Corvinian
Modified: 2007-10-29 15:10 UTC (History)
2 users (show)

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 Corvinian 2007-10-28 09:44:52 UTC
There is a new version 1.2.5 of ferm, released 12.9.07. Additionally the included ebuild fixes a small bug starting version > 1.1. 

The RDEPEND lists either iptables or ipchains-requirements, but support for ipchains/fwadmin was dropped since version 1.1.

Reference: http://ferm.foo-projects.org/download/1.2/NEWS
Major Changes
There are many many changes in ferm 1.2 compared to 1.1. Here is a short list of the most noticeable changes:
ipchains and ipfwadm are no longer supported
v1.2beta1 - 28 Aug 2006
  - perl strict mode
  - removed support for ipfwadm and ipchains
---
I adapted the ebuild to reflect this slight change, the adapted + included ebuild works fine for ferm-1.2.5. I use it on x86 for > 30 days.

The ebuild is included 'Additional Information'. Maybe keyword ~x86 can show stabilized > 30 days usage => x86.

Reproducible: Always

Steps to Reproduce:




---- adapted ebuild ----
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/ferm/ferm-1.2.5.ebuild,v 1.1 2007/09/20 18:10:32 armin76 Exp $

inherit versionator

MY_PV="$(get_version_component_range 1-2)"
DESCRIPTION="Command line util for managing firewall rules"
HOMEPAGE="http://ferm.foo-projects.org/"
SRC_URI="http://ferm.foo-projects.org/download/${MY_PV}/${P}.tar.gz"

LICENSE="GPL-2"
KEYWORDS="~ppc ~sparc ~x86"
IUSE=""
SLOT="0"

DEPEND=""
RDEPEND="dev-lang/perl
	 net-firewall/iptables"

src_install () {
	make PREFIX=${D}/usr DOCDIR="${D}/usr/share/doc/${PF}" install || die 'make	install failed'
}

pkg_postinst() {
	einfo "See /usr/share/doc/${PF}/examples for sample configs"
}
-------
Comment 1 Raúl Porcel (RETIRED) gentoo-dev 2007-10-29 15:10:02 UTC
In CVS, and fixed, thanks!