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