summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2008-11-13 18:01:30 +0000
committerJeroen Roovers <jer@gentoo.org>2008-11-13 18:01:30 +0000
commit083507699e3da97ac0ad6289adb5f05bd12d2526 (patch)
tree6f864dc286e64828b77f1439a3bba9edcfb7c503 /net-analyzer
parentversion bump as per bug #246324 thanks to Arfrever (diff)
downloadgentoo-2-083507699e3da97ac0ad6289adb5f05bd12d2526.tar.gz
gentoo-2-083507699e3da97ac0ad6289adb5f05bd12d2526.tar.bz2
gentoo-2-083507699e3da97ac0ad6289adb5f05bd12d2526.zip
Automate version number fixing.
(Portage version: 2.2_rc14/cvs/Linux 2.6.25-gentoo-r7-JeR i686)
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/net-snmp/ChangeLog5
-rw-r--r--net-analyzer/net-snmp/net-snmp-5.4.2.1.ebuild6
2 files changed, 7 insertions, 4 deletions
diff --git a/net-analyzer/net-snmp/ChangeLog b/net-analyzer/net-snmp/ChangeLog
index 628a9771c76b..d28adc805a34 100644
--- a/net-analyzer/net-snmp/ChangeLog
+++ b/net-analyzer/net-snmp/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-analyzer/net-snmp
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/net-snmp/ChangeLog,v 1.181 2008/11/13 17:46:48 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/net-snmp/ChangeLog,v 1.182 2008/11/13 18:01:30 jer Exp $
+
+ 13 Nov 2008; Jeroen Roovers <jer@gentoo.org> net-snmp-5.4.2.1.ebuild:
+ Automate version number fixing.
*net-snmp-5.4.2.1 (13 Nov 2008)
diff --git a/net-analyzer/net-snmp/net-snmp-5.4.2.1.ebuild b/net-analyzer/net-snmp/net-snmp-5.4.2.1.ebuild
index 157a82cdaeed..7b03c186ce7d 100644
--- a/net-analyzer/net-snmp/net-snmp-5.4.2.1.ebuild
+++ b/net-analyzer/net-snmp/net-snmp-5.4.2.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/net-snmp/net-snmp-5.4.2.1.ebuild,v 1.1 2008/11/13 17:46:48 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/net-snmp/net-snmp-5.4.2.1.ebuild,v 1.2 2008/11/13 18:01:30 jer Exp $
inherit fixheadtails flag-o-matic perl-module python autotools
@@ -59,8 +59,8 @@ src_unpack() {
# snmpconf generates config files with proper selinux context
use selinux && epatch "${FILESDIR}"/${PN}-5.1.2-snmpconf-selinux.patch
- # Fix version number to report 5.4.2.1:
- sed -i -e 's:NetSnmpVersionInfo = "5.4.1":NetSnmpVersionInfo = "5.4.2.1":' snmplib/snmp_version.c
+ # Fix version number:
+ sed -i -e "s:NetSnmpVersionInfo = \".*\":NetSnmpVersionInfo = \"${PV}\":" snmplib/snmp_version.c
eautoreconf