update to 2.23.08 [release 2.23.08-1mamba;Sun Mar 28 2021]
This commit is contained in:
parent
ad66240bcf
commit
ec9709c636
33
webalizer-2.23.08-memmove.patch
Normal file
33
webalizer-2.23.08-memmove.patch
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
diff -u new/dns_resolv.c new.1/dns_resolv.c
|
||||||
|
--- new/dns_resolv.c 2013-02-26 05:37:27.000000000 +0000
|
||||||
|
+++ new.1/dns_resolv.c 2016-04-05 06:57:30.827715718 +0000
|
||||||
|
@@ -886,7 +886,7 @@
|
||||||
|
/* kludge for IPv6 6to4 (RFC3056) */
|
||||||
|
if (addr[0]==0x20 && addr[1]==0x02)
|
||||||
|
{
|
||||||
|
- memcpy(&addr[12],&addr[2],4);
|
||||||
|
+ memmove(&addr[12],&addr[2],4);
|
||||||
|
memset(&addr,0,12);
|
||||||
|
}
|
||||||
|
|
||||||
|
diff -u new/preserve.c new.1/preserve.c
|
||||||
|
--- new/preserve.c 2013-02-26 05:37:27.000000000 +0000
|
||||||
|
+++ new.1/preserve.c 2016-04-05 06:56:39.023080706 +0000
|
||||||
|
@@ -109,7 +109,7 @@
|
||||||
|
yr = hist[i].year;
|
||||||
|
mth= hist[i].month+1;
|
||||||
|
if (mth>12) { mth=1; yr++; }
|
||||||
|
- memcpy(&hist[0], &hist[1], sizeof(hist[0])*i);
|
||||||
|
+ memmove(&hist[0], &hist[1], sizeof(hist[0])*i);
|
||||||
|
memset(&hist[i], 0, sizeof(struct hist_rec));
|
||||||
|
hist[i].year=yr; hist[i].month=mth; n--;
|
||||||
|
}
|
||||||
|
@@ -277,7 +277,7 @@
|
||||||
|
yr = hist[i].year;
|
||||||
|
mth= hist[i].month+1;
|
||||||
|
if (mth>12) { mth=1; yr++; }
|
||||||
|
- memcpy(&hist[0],&hist[1],sizeof(hist[0])*i);
|
||||||
|
+ memmove(&hist[0],&hist[1],sizeof(hist[0])*i);
|
||||||
|
memset(&hist[i], 0, sizeof(struct hist_rec));
|
||||||
|
hist[i].year=yr; hist[i].month=mth; n--;
|
||||||
|
}
|
@ -1,39 +1,37 @@
|
|||||||
%define pkgmajver %(echo %version | cut -d. -f1-2)
|
%define pkgmajver %(echo %version | cut -d. -f1-2)
|
||||||
%define pkgminver %(echo %version | cut -d. -f3)
|
%define pkgminver %(echo %version | cut -d. -f3)
|
||||||
Name: webalizer
|
Name: webalizer
|
||||||
Version: 2.23.05
|
Version: 2.23.08
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: A fast, free web server log file analysis program.
|
Summary: A fast, free web server log file analysis program
|
||||||
Group: Applications/Web
|
Group: Applications/Web
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://webalizer.miscellaneousmirror.org/
|
URL: http://www.webalizer.org/
|
||||||
Source: http://archive.mgm51.com/mirrors/webalizer-files/webalizer-%{pkgmajver}-%{pkgminver}-src.tar.bz2
|
Source: ftp://ftp.mrunix.net/pub/webalizer/webalizer-%{pkgmajver}-%{pkgminver}-src.tgz
|
||||||
Source1: webalizer-conf
|
Source1: webalizer-conf
|
||||||
Source2: webalizer-crond
|
Source2: webalizer-crond
|
||||||
|
Patch0: webalizer-2.23.08-memmove.patch
|
||||||
License: GPL
|
License: GPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: apache-devel
|
BuildRequires: apache-devel
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: libdb47-devel
|
BuildRequires: libdb53-devel
|
||||||
BuildRequires: libgd-devel
|
BuildRequires: libgd-devel
|
||||||
BuildRequires: libpng-devel
|
BuildRequires: libpng-devel
|
||||||
BuildRequires: libz-devel
|
BuildRequires: libz-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The Webalizer is a fast, free web server log file analysis program.
|
The Webalizer is a fast, free web server log file analysis program.
|
||||||
It produces highly detailed, easily configurable usage reports in HTML format, for viewing with a standard web browser.
|
It produces highly detailed, easily configurable usage reports in HTML format, for viewing with a standard web browser.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
||||||
|
|
||||||
%setup -q -n webalizer-%{pkgmajver}-%{pkgminver}
|
%setup -q -n webalizer-%{pkgmajver}-%{pkgminver}
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
./configure \
|
./configure \
|
||||||
--bindir=%{_bindir} \
|
--bindir=%{_bindir} \
|
||||||
--mandir=%{_mandir}/man1 \
|
--mandir=%{_mandir}/man1 \
|
||||||
@ -41,8 +39,9 @@ It produces highly detailed, easily configurable usage reports in HTML format, f
|
|||||||
--with-etcdir=%{_sysconfdir}/httpd \
|
--with-etcdir=%{_sysconfdir}/httpd \
|
||||||
--with-languare=italian \
|
--with-languare=italian \
|
||||||
--enable-dns \
|
--enable-dns \
|
||||||
--with-dblib=/usr/lib/ \
|
--with-dblib=%{_libdir} \
|
||||||
--with-db=/usr/include
|
--with-db=/usr/include/db53 \
|
||||||
|
CFLAGS="%{optflags} -fcommon"
|
||||||
|
|
||||||
make
|
make
|
||||||
|
|
||||||
@ -75,6 +74,9 @@ ln -s webalizer %{buildroot}%{_bindir}/webazolver
|
|||||||
%dir %{_localstatedir}/www/html/webalizer
|
%dir %{_localstatedir}/www/html/webalizer
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Mar 28 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.23.08-1mamba
|
||||||
|
- update to 2.23.08
|
||||||
|
|
||||||
* Tue Apr 10 2012 Automatic Build System <autodist@mambasoft.it> 2.23.05-1mamba
|
* Tue Apr 10 2012 Automatic Build System <autodist@mambasoft.it> 2.23.05-1mamba
|
||||||
- update to 2.23.05
|
- update to 2.23.05
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user