|
|
8ce2f69 |
Name: macchanger
|
|
|
8ce2f69 |
Version: 1.5.0
|
|
|
84adc1f |
Release: 11%{?dist}
|
|
|
8ce2f69 |
Summary: An utility for viewing/manipulating the MAC address of network interfaces
|
|
|
8ce2f69 |
|
|
|
8ce2f69 |
Group: Applications/System
|
|
|
a19ff83 |
License: GPLv2+
|
|
|
8ce2f69 |
URL: http://www.alobbs.com/macchanger
|
|
|
8ce2f69 |
Source0: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz
|
|
|
3d0a042 |
Patch0: macchanger-1.5.0-OUI-list-update.diff
|
|
|
3d0a042 |
Patch1: macchanger-1.5.0-man-update.diff
|
|
|
3d0a042 |
Patch2: macchanger-1.5.0-random-seed.diff
|
|
|
3d0a042 |
Patch3: macchanger-1.5.0-dynamic-lists.diff
|
|
|
e00868b |
Patch4: macchanger-1.5.0-dev-name-overflow.diff
|
|
|
e00868b |
Patch5: macchanger-1.5.0-exit-code.diff
|
|
|
84adc1f |
Patch6: macchanger-1.5.0-formatstr-warning.diff
|
|
|
84adc1f |
Patch7: macchanger-1.5.0-endding.diff
|
|
|
84adc1f |
Patch8: macchanger-1.5.0-permanent-mac.diff
|
|
|
8ce2f69 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
8ce2f69 |
|
|
|
84adc1f |
Requires(post): /sbin/install-info
|
|
|
84adc1f |
Requires(preun): /sbin/install-info
|
|
|
84adc1f |
BuildRequires: texinfo
|
|
|
8ce2f69 |
|
|
|
8ce2f69 |
%description
|
|
|
8ce2f69 |
Features:
|
|
|
8ce2f69 |
* set specific MAC address of a network interface
|
|
|
8ce2f69 |
* set the MAC randomly
|
|
|
8ce2f69 |
* set a MAC of another vendor
|
|
|
8ce2f69 |
* set another MAC of the same vendor
|
|
|
84adc1f |
* reset MAC address to its original permanent hardware value
|
|
|
84adc1f |
* display a vendor MAC list (more than 15000 items)
|
|
|
8ce2f69 |
|
|
|
8ce2f69 |
|
|
|
8ce2f69 |
%prep
|
|
|
8ce2f69 |
%setup -q
|
|
|
3d0a042 |
%patch0 -p1 -b .OUI-list
|
|
|
3d0a042 |
%patch1 -p1 -b .man
|
|
|
3d0a042 |
%patch2 -p1 -b .srandom
|
|
|
3d0a042 |
%patch3 -p1 -b .dynlists
|
|
|
e00868b |
%patch4 -p1 -b .devnameoverflow
|
|
|
e00868b |
%patch5 -p1 -b .exitcode
|
|
|
84adc1f |
%patch6 -p1 -b .formatstr
|
|
|
84adc1f |
%patch7 -p1 -b .endding
|
|
|
84adc1f |
%patch8 -p1 -b .permanent
|
|
|
8ce2f69 |
|
|
|
8ce2f69 |
|
|
|
8ce2f69 |
%build
|
|
|
8ce2f69 |
%configure
|
|
|
8ce2f69 |
make %{?_smp_mflags}
|
|
|
8ce2f69 |
|
|
|
8ce2f69 |
|
|
|
8ce2f69 |
%install
|
|
|
8ce2f69 |
rm -rf $RPM_BUILD_ROOT
|
|
|
8ce2f69 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
8ce2f69 |
rm -rf $RPM_BUILD_ROOT%{_infodir}/dir
|
|
|
8ce2f69 |
|
|
|
8ce2f69 |
%post
|
|
|
8ce2f69 |
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
|
|
|
8ce2f69 |
|
|
|
8ce2f69 |
%preun
|
|
|
8ce2f69 |
if [ $1 = 0 ]; then
|
|
|
8ce2f69 |
/sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
|
|
|
8ce2f69 |
fi
|
|
|
8ce2f69 |
|
|
|
8ce2f69 |
%clean
|
|
|
8ce2f69 |
rm -rf $RPM_BUILD_ROOT
|
|
|
8ce2f69 |
|
|
|
8ce2f69 |
|
|
|
8ce2f69 |
%files
|
|
|
8ce2f69 |
%defattr(-,root,root,-)
|
|
|
8ce2f69 |
%doc AUTHORS COPYING ChangeLog README
|
|
|
8ce2f69 |
%{_bindir}/%{name}
|
|
|
8ce2f69 |
%{_datadir}/%{name}
|
|
|
8ce2f69 |
%{_infodir}/*.info.gz
|
|
|
8ce2f69 |
%{_mandir}/man1/*
|
|
|
8ce2f69 |
|
|
|
8ce2f69 |
%changelog
|
|
|
84adc1f |
* Tue Jan 10 2012 Tomas Hoger <thoger@fedoraproject.org> - 1.5.0-11
|
|
|
84adc1f |
- Fix build warning to do bad format string (size_t).
|
|
|
84adc1f |
- Fix command line argument typo: endding -> ending, see Debian bug
|
|
|
84adc1f |
http://bugs.debian.org/621698
|
|
|
84adc1f |
- Add option to reset MAC address to hardware permanent address.
|
|
|
84adc1f |
Patch by Anders Sundman, taken from the Debian macchanger package.
|
|
|
84adc1f |
- Add texinfo BuildRequires to rebuild .info from updated .texi.
|
|
|
84adc1f |
- Minor correction of the man-update patch.
|
|
|
84adc1f |
- Update OUI list from IEEE, now more than 15000 items listed
|
|
|
84adc1f |
|
|
|
a467b03 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.0-10
|
|
|
a467b03 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
a467b03 |
|
|
|
e00868b |
* Mon Oct 11 2010 Tomas Hoger <thoger@fedoraproject.org> - 1.5.0-9
|
|
|
e00868b |
- Fix buffer overflow when excessively long device name is specified as
|
|
|
e00868b |
command line argument (caught by FORTIFY_SOURCE, RHBZ#641704)
|
|
|
e00868b |
- Add Debian patch fixing exit code for certain error conditions, see
|
|
|
e00868b |
Debian bug http://bugs.debian.org/547596
|
|
|
e00868b |
- Update OUI list from IEEE, now more than 14000 items listed
|
|
|
e00868b |
|
|
|
3d0a042 |
* Wed Sep 2 2009 Tomas Hoger <thoger@fedoraproject.org> - 1.5.0-8
|
|
|
3d0a042 |
- Fix pseudo random number generator seeding (RHBZ#520268)
|
|
|
3d0a042 |
- Update OUI list from IEEE, now more than 12000 items listed
|
|
|
3d0a042 |
- Update man page to list -s / --show
|
|
|
3d0a042 |
- Fix handling of internal mac lists where static array was still assumed,
|
|
|
3d0a042 |
while dynamically allocated array was used
|
|
|
3d0a042 |
|
|
|
a31c396 |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.0-7
|
|
|
a31c396 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
a31c396 |
|
|
|
7cdeba1 |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.0-6
|
|
|
7cdeba1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
7cdeba1 |
|
|
|
a19ff83 |
* Thu Aug 7 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.5.0-5
|
|
|
a19ff83 |
- fix license tag
|
|
|
a19ff83 |
|
|
|
3126a1b |
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.5.0-4
|
|
|
3126a1b |
- Autorebuild for GCC 4.3
|
|
|
3126a1b |
|
|
|
8ce2f69 |
* Sat Mar 24 2007 Damien Durand <splinux@fedoraproject.org> - 1.5.0-3
|
|
|
8ce2f69 |
- Fix doc section
|
|
|
8ce2f69 |
|
|
|
8ce2f69 |
* Sat Mar 24 2007 Damien Durand <splinux@fedoraproject.org> - 1.5.0-2
|
|
|
8ce2f69 |
- Remove info directory in the install section
|
|
|
8ce2f69 |
|
|
|
8ce2f69 |
* Thu Mar 22 2007 Damien Durand <splinux@fedoraproject.org> - 1.5.0-1
|
|
|
8ce2f69 |
- Initial RPM release
|