SHA256
1
0
forked from pool/iptables
OBS User unknown 2007-05-09 13:14:51 +00:00 committed by Git OBS Bridge
parent 791d78b026
commit 237a92cb2f
3 changed files with 77 additions and 10 deletions

View File

@ -0,0 +1,58 @@
--- ip6tables-restore.c
+++ ip6tables-restore.c
@@ -156,13 +156,13 @@
if (optind == argc - 1) {
in = fopen(argv[optind], "r");
if (!in) {
- fprintf(stderr, "Can't open %s: %s", argv[optind],
+ fprintf(stderr, "Can't open %s: %s\n", argv[optind],
strerror(errno));
exit(1);
}
}
else if (optind < argc) {
- fprintf(stderr, "Unknown arguments found on commandline");
+ fprintf(stderr, "Unknown arguments found on commandline\n");
exit(1);
}
else in = stdin;
--- ip6tables-save.c
+++ ip6tables-save.c
@@ -351,7 +351,7 @@
}
if (optind < argc) {
- fprintf(stderr, "Unknown arguments found on commandline");
+ fprintf(stderr, "Unknown arguments found on commandline\n");
exit(1);
}
--- iptables-restore.c
+++ iptables-restore.c
@@ -159,13 +159,13 @@
if (optind == argc - 1) {
in = fopen(argv[optind], "r");
if (!in) {
- fprintf(stderr, "Can't open %s: %s", argv[optind],
+ fprintf(stderr, "Can't open %s: %s\n", argv[optind],
strerror(errno));
exit(1);
}
}
else if (optind < argc) {
- fprintf(stderr, "Unknown arguments found on commandline");
+ fprintf(stderr, "Unknown arguments found on commandline\n");
exit(1);
}
else in = stdin;
--- iptables-save.c
+++ iptables-save.c
@@ -368,7 +368,7 @@
}
if (optind < argc) {
- fprintf(stderr, "Unknown arguments found on commandline");
+ fprintf(stderr, "Unknown arguments found on commandline\n");
exit(1);
}

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed May 9 13:39:08 CEST 2007 - prusnak@suse.cz
- added newlines to error messages (newlines.diff) [#271847]
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 13 14:08:25 CET 2007 - prusnak@suse.cz Tue Mar 13 14:08:25 CET 2007 - prusnak@suse.cz

View File

@ -16,15 +16,16 @@ License: GNU General Public License (GPL)
Group: Productivity/Networking/Security Group: Productivity/Networking/Security
Autoreqprov: on Autoreqprov: on
Version: 1.3.7 Version: 1.3.7
Release: 10 Release: 21
Summary: IP Packet Filter Administration Summary: IP Packet Filter Administration
Source0: %{name}-%{version}.tar.bz2 Source0: %{name}-%{version}.tar.bz2
Source1: %{name}-%{version}-debian-docs.tar.bz2 Source1: %{name}-%{version}-debian-docs.tar.bz2
Patch2: %{name}-%{version}-makefile.diff Patch0: %{name}-%{version}-makefile.diff
Patch20: %{name}-%{version}-batch.diff Patch1: %{name}-%{version}-batch.diff
Patch21: %{name}-%{version}-strict-aliasing-fix.diff Patch2: %{name}-%{version}-strict-aliasing-fix.diff
Patch22: %{name}-%{version}-shlibs.diff Patch3: %{name}-%{version}-shlibs.diff
Patch23: %{name}-%{version}-extensions.diff Patch4: %{name}-%{version}-extensions.diff
Patch5: %{name}-%{version}-newlines.diff
URL: http://www.iptables.org URL: http://www.iptables.org
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -56,11 +57,12 @@ Authors:
%prep %prep
%setup -q -a 1 %setup -q -a 1
%patch0
%patch1
%patch2 %patch2
%patch20 %patch3
%patch21 %patch4
%patch22 %patch5
%patch23
chmod +x extensions/.CLUSTERIP-test chmod +x extensions/.CLUSTERIP-test
%build %build
@ -103,6 +105,8 @@ rm -rf $RPM_BUILD_ROOT
%{_prefix}/include/* %{_prefix}/include/*
%changelog %changelog
* Wed May 09 2007 - prusnak@suse.cz
- added newlines to error messages (newlines.diff) [#271847]
* Tue Mar 13 2007 - prusnak@suse.cz * Tue Mar 13 2007 - prusnak@suse.cz
- added initial setting of KERNEL_DIR variable in %%install section of spec file - added initial setting of KERNEL_DIR variable in %%install section of spec file
* Tue Jan 09 2007 - prusnak@suse.cz * Tue Jan 09 2007 - prusnak@suse.cz