- Refresh patches and simplify spec file a bit OBS-URL: https://build.opensuse.org/request/show/1109255 OBS-URL: https://build.opensuse.org/package/show/network:utilities/mirror?expand=0&rev=15
40 lines
2.0 KiB
Diff
40 lines
2.0 KiB
Diff
Index: mirror-2.9/mirror.defaults
|
|
===================================================================
|
|
--- mirror-2.9.orig/mirror.defaults
|
|
+++ mirror-2.9/mirror.defaults
|
|
@@ -33,7 +33,7 @@ package=defaults
|
|
exclude_patt=(^|/)(\.mirror$|\.mirror\.log|core$|\.cap|\.in\..*\.$|MIRROR\.LOG|#.*#|\.FSP|\.cache|\.zipped|\.notar|\.message|lost\+found/|Network Trash Folder)|suky.mpe?g
|
|
# Do not to compress anything
|
|
compress_patt=
|
|
- compress_prog=compress
|
|
+ compress_prog=gzip
|
|
# Don't compress information files, files that don't benifit from
|
|
# being compressed, files that tell ftpd, gopher, wais... to do things,
|
|
# the sources for compression programs...
|
|
Index: mirror-2.9/mirror.html
|
|
===================================================================
|
|
--- mirror-2.9.orig/mirror.html
|
|
+++ mirror-2.9/mirror.html
|
|
@@ -1070,7 +1070,7 @@ files not to compress (case insensitive)
|
|
<TR VALIGN=TOP>
|
|
<TD ALIGN=LEFT VALIGN=TOP><A NAME="compress_prog"></A><B><I>compress_prog</I></B></TD>
|
|
|
|
-<TD ALIGN=LEFT VALIGN=TOP><I>compress</I></TD>
|
|
+<TD ALIGN=LEFT VALIGN=TOP><I>gzip</I></TD>
|
|
|
|
<TD ALIGN=LEFT VALIGN=TOP>Program to compress files. If set to the word
|
|
<B>compress</B> or <B>gzip</B>, the full pathname for the program and correct
|
|
Index: mirror-2.9/mirror.txt
|
|
===================================================================
|
|
--- mirror-2.9.orig/mirror.txt
|
|
+++ mirror-2.9/mirror.txt
|
|
@@ -506,7 +506,7 @@ The keywords are grouped into the follow
|
|
compress_excl \.(z|gz)$ Regexp of files not to
|
|
compress (case
|
|
insensitive).
|
|
- compress_prog compress Program to compress files.
|
|
+ compress_prog gzip Program to compress files.
|
|
If set to the word
|
|
compress or gzip, the full
|
|
pathname for the program
|