From b77984912fbe0bd9da6f0208ea0d9c953a68c79a Mon Sep 17 00:00:00 2001 From: Stephen Klimaszewski Date: Tue, 20 Mar 2007 01:34:16 +0000 Subject: [PATCH] New upstream release Package-Manager: portage-2.1.2.2 --- net-wireless/madwifi-ng-tools/ChangeLog | 10 ++- net-wireless/madwifi-ng-tools/Manifest | 16 +++-- .../files/digest-madwifi-ng-tools-0.9.3 | 3 + .../madwifi-ng-tools-0.9.3.ebuild | 62 +++++++++++++++++++ 4 files changed, 85 insertions(+), 6 deletions(-) create mode 100644 net-wireless/madwifi-ng-tools/files/digest-madwifi-ng-tools-0.9.3 create mode 100644 net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.9.3.ebuild diff --git a/net-wireless/madwifi-ng-tools/ChangeLog b/net-wireless/madwifi-ng-tools/ChangeLog index e3a2c8162058..1358c5c20b51 100644 --- a/net-wireless/madwifi-ng-tools/ChangeLog +++ b/net-wireless/madwifi-ng-tools/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-wireless/madwifi-ng-tools -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng-tools/ChangeLog,v 1.17 2006/12/07 19:00:15 genstef Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng-tools/ChangeLog,v 1.18 2007/03/20 01:34:15 steev Exp $ + +*madwifi-ng-tools-0.9.3 (20 Mar 2007) + + 20 Mar 2007; Steev Klimaszewski + +madwifi-ng-tools-0.9.3.ebuild: + New upstream release. Bumping madwifi-ng-tools as well, to be safe. 07 Dec 2006; Stefan Schweizer -madwifi-ng-tools-0.0.1443.20060207.ebuild, diff --git a/net-wireless/madwifi-ng-tools/Manifest b/net-wireless/madwifi-ng-tools/Manifest index c0dca8a48e93..7310731dc98e 100644 --- a/net-wireless/madwifi-ng-tools/Manifest +++ b/net-wireless/madwifi-ng-tools/Manifest @@ -1,12 +1,17 @@ DIST madwifi-0.9.2.tar.bz2 3476735 RMD160 e24ce96ab7ebcd12e71755c89882a90161a6a15a SHA1 6d6b9d2419e45a940d156b928401b5c688c40844 SHA256 b6edd998fa5e5927f9e42e0470f6f4e0bec1b8a41658eec5595ceea01c787153 +DIST madwifi-0.9.3.tar.bz2 3488332 RMD160 52eb553669ab83a9c594afd4eb1e297bea07089c SHA1 3f8a78264491dcb4bc98d40f971af546e86f8710 SHA256 847596646417abbdce9cfd0e1dca2cced29c6a8b814d1bd28d0c7301e9e4e9d8 EBUILD madwifi-ng-tools-0.9.2.ebuild 1586 RMD160 3d8bea091faa9087b9dc7cb31785ec87415d3dab SHA1 c01bc41c07f7b698ed40a0930824f7ca0c8c1a6e SHA256 a747ac1d2efbafe20b8240f091dc581632d34e9a084d974d1f6ceeb85f999620 MD5 e0cd32d8bac37e92b77d2c51beaed953 madwifi-ng-tools-0.9.2.ebuild 1586 RMD160 3d8bea091faa9087b9dc7cb31785ec87415d3dab madwifi-ng-tools-0.9.2.ebuild 1586 SHA256 a747ac1d2efbafe20b8240f091dc581632d34e9a084d974d1f6ceeb85f999620 madwifi-ng-tools-0.9.2.ebuild 1586 -MISC ChangeLog 7812 RMD160 16a5f56a96a8d8c274a5fccac2f94a4035cc3806 SHA1 7ed8ee93828f1c20add99a8b5f42e4f5238a31b5 SHA256 ac3a52f96449083551cb32792d600983d9ed893c3e57e334c0d6009d322a798f -MD5 25ccd3f53e48ef629c6c8657c5530552 ChangeLog 7812 -RMD160 16a5f56a96a8d8c274a5fccac2f94a4035cc3806 ChangeLog 7812 -SHA256 ac3a52f96449083551cb32792d600983d9ed893c3e57e334c0d6009d322a798f ChangeLog 7812 +EBUILD madwifi-ng-tools-0.9.3.ebuild 1588 RMD160 096fdf5a715d83d5ef5cdcf68d0ee4cdfb38ae8b SHA1 d9f12a4459a5708a2e515d56d1064684f76f4eb7 SHA256 893516ea758bb6c72e8b5aca6c61067da7693be84f1848e3b1f48b480bd7639d +MD5 ac3c9f9522008ac7079fa1870a24b2ef madwifi-ng-tools-0.9.3.ebuild 1588 +RMD160 096fdf5a715d83d5ef5cdcf68d0ee4cdfb38ae8b madwifi-ng-tools-0.9.3.ebuild 1588 +SHA256 893516ea758bb6c72e8b5aca6c61067da7693be84f1848e3b1f48b480bd7639d madwifi-ng-tools-0.9.3.ebuild 1588 +MISC ChangeLog 8009 RMD160 cc8019096ad4bdc63cba8613ef7c39e64029bd90 SHA1 8af64335bc450c5d6e251744b04cdfed633e7727 SHA256 a17093c8ae2e6f94dce0a7bad7565e6bc275c8596e240d56dd97e6ef09493528 +MD5 0e82ae42574abdd969fe36bbb726ffe0 ChangeLog 8009 +RMD160 cc8019096ad4bdc63cba8613ef7c39e64029bd90 ChangeLog 8009 +SHA256 a17093c8ae2e6f94dce0a7bad7565e6bc275c8596e240d56dd97e6ef09493528 ChangeLog 8009 MISC metadata.xml 159 RMD160 54af1e9a61e5ed1b49b2bbbf3ef2278999c66b13 SHA1 bce3da4745192397c9a08bdbcf7e4914eac9b77b SHA256 ed3a0d440cfa5672284f4172ebde0ea6506c1a38e9a3ed9f14f3d2c093aac42f MD5 19fd766bac8e110b4620363a1ace26dd metadata.xml 159 RMD160 54af1e9a61e5ed1b49b2bbbf3ef2278999c66b13 metadata.xml 159 @@ -14,3 +19,6 @@ SHA256 ed3a0d440cfa5672284f4172ebde0ea6506c1a38e9a3ed9f14f3d2c093aac42f metadata MD5 7e0926b81a64cb55b6c383e1fd1517d7 files/digest-madwifi-ng-tools-0.9.2 247 RMD160 b224312908c05b4a2456a0aab96559052e49b7be files/digest-madwifi-ng-tools-0.9.2 247 SHA256 21c57d899d4e2d74e3c820476f60b36c356764e54fe6f3be3acc69d663a0eb8d files/digest-madwifi-ng-tools-0.9.2 247 +MD5 08d87d4cb379b29c4e24063b03dc75a3 files/digest-madwifi-ng-tools-0.9.3 247 +RMD160 a3b16a034a59b6f8208c0e1e29653d0756de0b8a files/digest-madwifi-ng-tools-0.9.3 247 +SHA256 c35fa1fbdf62a5dc311f54e25a329e6fe220b00e6858f8e5335149056ab97bf0 files/digest-madwifi-ng-tools-0.9.3 247 diff --git a/net-wireless/madwifi-ng-tools/files/digest-madwifi-ng-tools-0.9.3 b/net-wireless/madwifi-ng-tools/files/digest-madwifi-ng-tools-0.9.3 new file mode 100644 index 000000000000..c898ea732b56 --- /dev/null +++ b/net-wireless/madwifi-ng-tools/files/digest-madwifi-ng-tools-0.9.3 @@ -0,0 +1,3 @@ +MD5 26c31e8e1528fd098e3aaa11c0d34d99 madwifi-0.9.3.tar.bz2 3488332 +RMD160 52eb553669ab83a9c594afd4eb1e297bea07089c madwifi-0.9.3.tar.bz2 3488332 +SHA256 847596646417abbdce9cfd0e1dca2cced29c6a8b814d1bd28d0c7301e9e4e9d8 madwifi-0.9.3.tar.bz2 3488332 diff --git a/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.9.3.ebuild b/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.9.3.ebuild new file mode 100644 index 000000000000..4a8b38a1c478 --- /dev/null +++ b/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.9.3.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.9.3.ebuild,v 1.1 2007/03/20 01:34:15 steev Exp $ + +inherit toolchain-funcs + +MY_P=${PN/-ng-tools/}-${PV} +S=${WORKDIR}/${MY_P}/tools + +DESCRIPTION="Next Generation tools for configuration of Atheros based IEEE 802.11a/b/g wireless LAN cards" +HOMEPAGE="http://www.madwifi.org/" +SRC_URI="mirror://sourceforge/madwifi/madwifi-${PV}.tar.bz2" + +LICENSE="|| ( BSD GPL-2 )" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +IUSE="" +DEPEND="virtual/libc" +RDEPEND="!net-wireless/madwifi-old-tools + ${DEPEND}" + +src_unpack() { + unpack ${A} + + # format string fix from solar + #sed -i \ +# -e 's:err(1, ifr.ifr_name);:err(1, "%s", ifr.ifr_name);:g' \ +# ${S}/tools/athstats.c || die + +einfo "S=$S" +einfo "PV=$PV" + + sed -i \ + -e "s:CC =.*:CC = $(tc-getCC):" \ + -e "s:CFLAGS=:CFLAGS+=:" \ + -e "s:LDFLAGS=:LDFLAGS+=:" \ + ${S}/Makefile || die +} + +src_compile() { + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" BINDIR=/usr/bin MANDIR=/usr/share/man STRIP=echo \ + install || die "emake install failed" + + dodir /sbin + mv "${D}"/usr/bin/wlanconfig "${D}"/sbin +} + +pkg_postinst() { + if [ -e "${ROOT}"/etc/udev/rules.d/65-madwifi.rules ]; then + ewarn + ewarn "The udev rules for creating interfaces (athX) are no longer needed." + ewarn + ewarn "You should manually remove the /etc/udev/rules.d/65-madwifi.rules file" + ewarn "and either run 'udevstart' or reboot for the changes to take effect." + ewarn + fi +} -- 2.26.2