SPECS: net-tools.spec - provide sample /etc/mactab
glen
glen at pld-linux.org
Sun Oct 16 03:29:33 CEST 2005
Author: glen Date: Sun Oct 16 01:29:33 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- provide sample /etc/mactab
---- Files affected:
SPECS:
net-tools.spec (1.72 -> 1.73)
---- Diffs:
================================================================
Index: SPECS/net-tools.spec
diff -u SPECS/net-tools.spec:1.72 SPECS/net-tools.spec:1.73
--- SPECS/net-tools.spec:1.72 Mon Mar 21 23:10:22 2005
+++ SPECS/net-tools.spec Sun Oct 16 03:29:28 2005
@@ -8,7 +8,7 @@
Summary(uk): âÁÚĎ׌ ĐŇĎÇŇÁÍÉ ÍĹŇĹÖŚ
Name: net-tools
Version: 1.60
-Release: 15
+Release: 15.2
License: GPL
Group: Networking/Admin
Source0: http://www.tazenda.demon.co.uk/phil/net-tools/%{name}-%{version}.tar.bz2
@@ -140,6 +140,7 @@
%install
rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_sysconfdir}
%{__make} install \
BASEDIR=$RPM_BUILD_ROOT \
@@ -157,6 +158,11 @@
# we can do it safely as no pt/pt_PT man pages appeared here yet
mv $RPM_BUILD_ROOT%{_mandir}/{pt_BR,pt}
+cat > $RPM_BUILD_ROOT%{_sysconfdir}/mactab <<EOF
+# Each line here contains an interface name and a Ethernet MAC address. Like:
+#lan 00:13:d3:05:15:d2
+EOF
+
%find_lang %{name}
%clean
@@ -165,6 +171,7 @@
%files -f %{name}.lang
%defattr(644,root,root,755)
%doc READ*
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mactab
%attr(755,root,root) %{_bindir}/*
%attr(755,root,root) %{_sbindir}/arp
%attr(755,root,root) %{_sbindir}/ifconfig
@@ -222,6 +229,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.73 2005/10/16 01:29:28 glen
+- provide sample /etc/mactab
+
Revision 1.72 2005/03/21 22:10:22 mmazur
- rel 15 for th
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/net-tools.spec?r1=1.72&r2=1.73&f=u
More information about the pld-cvs-commit
mailing list