summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2009-10-29 09:02:47 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2009-10-29 09:02:47 +0000
commit5b07cd24cf327362cbc31b1eb7f4c9c10b65491a (patch)
treef911b382b9f50cca1f0fa6c23743def04d7bc0f3 /net-analyzer/macchanger
parentstable x86, bug 289593 (diff)
downloadgentoo-2-5b07cd24cf327362cbc31b1eb7f4c9c10b65491a.tar.gz
gentoo-2-5b07cd24cf327362cbc31b1eb7f4c9c10b65491a.tar.bz2
gentoo-2-5b07cd24cf327362cbc31b1eb7f4c9c10b65491a.zip
Bump for a newer data file. No code changes.
(Portage version: 2.2_rc46/cvs/Linux x86_64, RepoMan options: --force)
Diffstat (limited to 'net-analyzer/macchanger')
-rw-r--r--net-analyzer/macchanger/ChangeLog8
-rw-r--r--net-analyzer/macchanger/macchanger-1.5.0-r2.ebuild40
2 files changed, 47 insertions, 1 deletions
diff --git a/net-analyzer/macchanger/ChangeLog b/net-analyzer/macchanger/ChangeLog
index c1c58ba05763..9cc73a5a4e84 100644
--- a/net-analyzer/macchanger/ChangeLog
+++ b/net-analyzer/macchanger/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-analyzer/macchanger
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/macchanger/ChangeLog,v 1.21 2009/09/23 18:20:49 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/macchanger/ChangeLog,v 1.22 2009/10/29 09:02:47 robbat2 Exp $
+
+*macchanger-1.5.0-r2 (29 Oct 2009)
+
+ 29 Oct 2009; Robin H. Johnson <robbat2@gentoo.org>
+ +macchanger-1.5.0-r2.ebuild:
+ Bump for a newer data file. No code changes.
23 Sep 2009; Patrick Lauer <patrick@gentoo.org> macchanger-1.5.0.ebuild,
macchanger-1.5.0-r1.ebuild:
diff --git a/net-analyzer/macchanger/macchanger-1.5.0-r2.ebuild b/net-analyzer/macchanger/macchanger-1.5.0-r2.ebuild
new file mode 100644
index 000000000000..d0c7026829fe
--- /dev/null
+++ b/net-analyzer/macchanger/macchanger-1.5.0-r2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/macchanger/macchanger-1.5.0-r2.ebuild,v 1.1 2009/10/29 09:02:47 robbat2 Exp $
+
+DESCRIPTION="Utility for viewing/manipulating the MAC address of network interfaces"
+OUI_DATE="20091029" # Generated with tools/IEEE_OUI.py in the source
+OUI_FILE="OUI.list-${OUI_DATE}"
+HOMEPAGE="http://www.alobbs.com/macchanger"
+SRC_URI="mirror://gnu/macchanger/${P}.tar.gz
+ mirror://gentoo/${OUI_FILE}.gz"
+LICENSE="GPL-2"
+KEYWORDS="amd64 ppc sparc x86"
+IUSE=""
+SLOT="0"
+
+DEPEND=""
+
+src_unpack() {
+ unpack ${P}.tar.gz
+ zcat ${DISTDIR}/${OUI_FILE}.gz >${S}/data/OUI.list || die "Failed to update OUI list"
+}
+
+src_compile() {
+ # Shared data is installed below /lib, see Bug #57046
+ econf \
+ --bindir=/sbin \
+ --datadir=/lib \
+ || die "configure failed"
+ emake || die "build failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "install failed"
+
+ dodoc AUTHORS ChangeLog NEWS README
+
+ dodir /usr/bin
+ dosym /sbin/macchanger /usr/bin/macchanger
+ dosym /lib/macchanger /usr/share/macchanger
+}