auto-import changelog data from net-tools-1.60-26.src.rpm

Thu May 06 2004 Phil Knirsch <pknirsch@redhat.com> 1.60-26
- Updated netplugd to latest upstream version.
- Fixed execshield problem in main.c of netplugd.
This commit is contained in:
cvsdist 2004-09-09 09:13:05 +00:00
parent 10a94dd4b0
commit 70b9ea9fb0
4 changed files with 61 additions and 4 deletions

View File

@ -1,2 +1,2 @@
net-tools-1.60.tar.bz2 net-tools-1.60.tar.bz2
netplug-1.2.1.tar.bz2 netplug-1.2.3.tar.bz2

View File

@ -0,0 +1,51 @@
diff -urN net-tools-1.60/netplug-1.2.3/main.c net-tools-1.60.new/netplug-1.2.3/main.c
--- net-tools-1.60/netplug-1.2.3/main.c 2004-02-22 06:52:14.000000000 +0100
+++ net-tools-1.60.new/netplug-1.2.3/main.c 2004-05-06 18:28:22.845977718 +0200
@@ -149,10 +149,10 @@
/* Poll the existing interface state, so we can catch any state
changes for which we may not have neen a netlink message. */
+static int sockfd = -1;
static void
poll_interfaces(void)
{
- static int sockfd = -1;
if (sockfd == -1) {
sockfd = socket(PF_INET, SOCK_DGRAM, IPPROTO_IP);
@@ -182,6 +182,12 @@
for_each_iface(pollflags);
}
+int poll_flags(struct if_info *i) {
+ if (if_match(i->name))
+ ifsm_flagpoll(i);
+ return 0;
+}
+
int debug = 0;
int
@@ -287,17 +293,11 @@
{ child_handler_pipe[0], POLLIN, 0 },
};
- {
- /* Run over each of the interfaces we know and care about, and
- make sure the state machine has done the appropriate thing
- for their current state. */
- int poll_flags(struct if_info *i) {
- if (if_match(i->name))
- ifsm_flagpoll(i);
- return 0;
- }
- for_each_iface(poll_flags);
- }
+ /* Run over each of the interfaces we know and care about, and
+ make sure the state machine has done the appropriate thing
+ for their current state. */
+ for_each_iface(poll_flags);
+
for(;;) {
int ret;

View File

@ -1,9 +1,9 @@
%define npversion 1.2.1 %define npversion 1.2.3
Summary: Basic networking tools. Summary: Basic networking tools.
Name: net-tools Name: net-tools
Version: 1.60 Version: 1.60
Release: 25 Release: 26
License: GPL License: GPL
Group: System Environment/Base Group: System Environment/Base
Source0: http://www.tazenda.demon.co.uk/phil/net-tools/net-tools-%{version}.tar.bz2 Source0: http://www.tazenda.demon.co.uk/phil/net-tools/net-tools-%{version}.tar.bz2
@ -26,6 +26,7 @@ Patch12: net-tools-1.60-interface.patch
Patch13: netplug-1.2.1-init.patch Patch13: netplug-1.2.1-init.patch
Patch14: net-tools-1.60-gcc34.patch Patch14: net-tools-1.60-gcc34.patch
Patch15: net-tools-1.60-overflow.patch Patch15: net-tools-1.60-overflow.patch
Patch16: net-tools-1.60-execshield.patch
BuildRoot: %{_tmppath}/%{name}-root BuildRoot: %{_tmppath}/%{name}-root
Requires(post,preun): chkconfig Requires(post,preun): chkconfig
@ -50,6 +51,7 @@ ifconfig, netstat, route, and others.
%patch13 -p1 -b .init %patch13 -p1 -b .init
%patch14 -p1 -b .gcc34 %patch14 -p1 -b .gcc34
%patch15 -p1 -b .overflow %patch15 -p1 -b .overflow
%patch16 -p1 -b .execshield
cp %SOURCE2 ./config.h cp %SOURCE2 ./config.h
cp %SOURCE3 ./config.make cp %SOURCE3 ./config.make
@ -122,6 +124,10 @@ exit 0
%{_sysconfdir}/rc.d/init.d/netplugd %{_sysconfdir}/rc.d/init.d/netplugd
%changelog %changelog
* Thu May 06 2004 Phil Knirsch <pknirsch@redhat.com> 1.60-26
- Updated netplugd to latest upstream version.
- Fixed execshield problem in main.c of netplugd.
* Thu Apr 15 2004 Phil Knirsch <pknirsch@redhat.com> 1.60-25 * Thu Apr 15 2004 Phil Knirsch <pknirsch@redhat.com> 1.60-25
- Fixed several possible buffer overflows (#120343) - Fixed several possible buffer overflows (#120343)

View File

@ -1,2 +1,2 @@
888774accab40217dde927e21979c165 net-tools-1.60.tar.bz2 888774accab40217dde927e21979c165 net-tools-1.60.tar.bz2
7ac304d77a77045951b8643605adc2a3 netplug-1.2.1.tar.bz2 1c8aac94c87c54ca48cd65a3b2e75d84 netplug-1.2.3.tar.bz2