head 1.18;
access;
symbols
OPENPKG_E1_MP_HEAD:1.13
OPENPKG_E1_MP:1.13
OPENPKG_E1_MP_2_STABLE:1.12.2.2
OPENPKG_E1_FP:1.12.2.2
OPENPKG_2_STABLE_MP:1.12
OPENPKG_2_STABLE_20061018:1.12.2.2
OPENPKG_2_STABLE:1.12.0.2
OPENPKG_CW_FP:1.3;
locks; strict;
comment @-- @;
1.18
date 2009.04.18.13.17.58; author rse; state Exp;
branches;
next 1.17;
commitid 4pHXU27WTIGCZuKt;
1.17
date 2008.01.01.15.06.56; author rse; state Exp;
branches;
next 1.16;
commitid B8esaHJHoduuKILs;
1.16
date 2007.04.29.11.44.58; author rse; state Exp;
branches;
next 1.15;
commitid 9omRnullbGSCIXfs;
1.15
date 2007.02.16.22.07.11; author rse; state Exp;
branches;
next 1.14;
commitid fNhaopRNBgsAtL6s;
1.14
date 2007.02.13.20.20.05; author rse; state Exp;
branches;
next 1.13;
commitid epFwt0H3gv8PYm6s;
1.13
date 2007.01.01.17.42.43; author rse; state Exp;
branches;
next 1.12;
commitid BicZD6VUl7GuqP0s;
1.12
date 2006.10.13.17.35.30; author thl; state Exp;
branches
1.12.2.1;
next 1.11;
commitid q5GSxzsSDX29XxQr;
1.11
date 2006.10.11.08.15.11; author rse; state Exp;
branches;
next 1.10;
commitid RBczmYmviE3dZeQr;
1.10
date 2006.04.04.07.14.25; author rse; state Exp;
branches;
next 1.9;
commitid kudrMVQRRY23LOrr;
1.9
date 2006.01.01.13.23.47; author rse; state Exp;
branches;
next 1.8;
commitid otZG8yKMCw1JFTfr;
1.8
date 2005.10.27.06.42.04; author rse; state Exp;
branches;
next 1.7;
1.7
date 2005.10.14.06.09.54; author rse; state Exp;
branches;
next 1.6;
1.6
date 2005.05.03.16.13.30; author cs; state Exp;
branches;
next 1.5;
1.5
date 2005.04.29.20.21.49; author rse; state Exp;
branches;
next 1.4;
1.4
date 2005.03.24.11.20.39; author rse; state Exp;
branches;
next 1.3;
1.3
date 2005.01.01.10.55.42; author rse; state Exp;
branches;
next 1.2;
1.2
date 2004.12.20.12.22.55; author rse; state Exp;
branches;
next 1.1;
1.1
date 2004.12.20.09.20.06; author cs; state Exp;
branches;
next ;
1.12.2.1
date 2006.10.13.17.35.30; author rse; state dead;
branches;
next 1.12.2.2;
commitid iZxwRSmmWscPXUQr;
1.12.2.2
date 2006.10.16.14.57.48; author rse; state Exp;
branches;
next ;
commitid iZxwRSmmWscPXUQr;
desc
@@
1.18
log
@bump years in copyright messages
@
text
@##
## visitors.spec -- OpenPKG RPM Package Specification
## Copyright (c) 2000-2009 OpenPKG Foundation e.V.
##
## Permission to use, copy, modify, and distribute this software for
## any purpose with or without fee is hereby granted, provided that
## the above copyright notice and this permission notice appear in all
## copies.
##
## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
## SUCH DAMAGE.
##
# package information
Name: visitors
Summary: Fast Web Log Analyzer
URL: http://www.hping.org/visitors/
Vendor: Salvatore Sanfilippo
Packager: OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class: EVAL
Group: Logfile
License: GPL
Version: 0.7
Release: 20080101
# list of sources
Source0: http://www.hping.org/visitors/visitors-%{version}.tar.gz
Source1: rc.visitors
Patch0: visitors.patch
# build information
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 20040130, make
PreReq: OpenPKG, openpkg >= 20040130, adns
AutoReq: no
AutoReqProv: no
%description
Visitors is a very fast web log analyzer. It takes as input a
web server log file, and outputs statistics in form of different
reports.
%track
prog visitors = {
version = %{version}
url = http://www.hping.org/visitors/
regex = visitors-(__VER__)\.tar\.gz
}
%prep
%setup -q -n visitors_%{version}
%patch -p0
%build
%{l_make} %{l_mflags -O} \
CC="%{l_cc}" CFLAGS="%{l_cflags -O}"
%install
rm -rf $RPM_BUILD_ROOT
%{l_shtool} mkdir -f -p -m 755 \
$RPM_BUILD_ROOT%{l_prefix}/bin \
$RPM_BUILD_ROOT%{l_prefix}/etc/rc.d \
$RPM_BUILD_ROOT%{l_prefix}/man/man1 \
$RPM_BUILD_ROOT%{l_prefix}/var/visitors
%{l_shtool} install -c -s -m 755 \
visitors $RPM_BUILD_ROOT%{l_prefix}/bin/
%{l_shtool} install -c -m 644 \
visitors.1 $RPM_BUILD_ROOT%{l_prefix}/man/man1/
%{l_shtool} install -c -m 755 %{l_value -s -a} \
%{SOURCE rc.visitors} $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d/
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
%{l_files_std} \
'%attr(-,%{l_rusr},%{l_rgrp}) %{l_prefix}/var/visitors'
%files -f files
%clean
rm -rf $RPM_BUILD_ROOT
%post
if [ $1 -eq 2 ]; then
eval `%{l_rc} visitors status 2>/dev/null`
[ ".$visitors_active" = .yes ] && %{l_rc} visitors restart
fi
exit 0
%preun
if [ $1 -eq 0 ]; then
%{l_rc} visitors stop 2>/dev/null
rm -rf $RPM_INSTALL_PREFIX/var/visitors/* >/dev/null 2>&1 || true
fi
exit 0
@
1.17
log
@Update package specifications according to OpenPKG year 2008 world order:
http://www.mail-archive.com/openpkg-announce@@openpkg.org/msg00221.html
@
text
@d3 1
a3 1
## Copyright (c) 2000-2008 OpenPKG Foundation e.V.
@
1.16
log
@fix permissions on run-command script
@
text
@d3 1
a3 2
## Copyright (c) 2000-2007 OpenPKG Foundation e.V.
## Copyright (c) 2000-2007 Ralf S. Engelschall
d35 1
a35 1
Release: 20070429
@
1.15
log
@recognize Internet Explorer 7.0
@
text
@d36 1
a36 1
Release: 20070216
d82 1
a82 1
%{l_shtool} install -c -m 644 %{l_value -s -a} \
@
1.14
log
@add optional daemon mode real-time processing of logfile
@
text
@d36 1
a36 1
Release: 20070213
d41 1
d65 1
@
1.13
log
@Welcome Year 2007!
@
text
@d36 1
a36 1
Release: 20061013
d40 1
d46 1
a46 1
PreReq: OpenPKG, openpkg >= 20040130
d73 3
a75 1
$RPM_BUILD_ROOT%{l_prefix}/man/man1
d80 5
a84 1
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
d91 14
@
1.12
log
@new world order for "Packager" and "Distribution" headers
@
text
@d3 2
a4 2
## Copyright (c) 2000-2006 OpenPKG Foundation e.V.
## Copyright (c) 2000-2006 Ralf S. Engelschall
@
1.12.2.1
log
@file visitors.spec was added on branch OPENPKG_2_STABLE on 2006-10-16 14:57:48 +0000
@
text
@d1 83
@
1.12.2.2
log
@Mass merge from CURRENT to 2-STABLE (all packages except those of JUNK class)
@
text
@a0 83
##
## visitors.spec -- OpenPKG RPM Package Specification
## Copyright (c) 2000-2006 OpenPKG Foundation e.V.
## Copyright (c) 2000-2006 Ralf S. Engelschall
##
## Permission to use, copy, modify, and distribute this software for
## any purpose with or without fee is hereby granted, provided that
## the above copyright notice and this permission notice appear in all
## copies.
##
## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
## SUCH DAMAGE.
##
# package information
Name: visitors
Summary: Fast Web Log Analyzer
URL: http://www.hping.org/visitors/
Vendor: Salvatore Sanfilippo
Packager: OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class: EVAL
Group: Logfile
License: GPL
Version: 0.7
Release: 2.20061018
# list of sources
Source0: http://www.hping.org/visitors/visitors-%{version}.tar.gz
# build information
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 2.20061018, make
PreReq: OpenPKG, openpkg >= 2.20061018
AutoReq: no
AutoReqProv: no
%description
Visitors is a very fast web log analyzer. It takes as input a
web server log file, and outputs statistics in form of different
reports.
%track
prog visitors = {
version = %{version}
url = http://www.hping.org/visitors/
regex = visitors-(__VER__)\.tar\.gz
}
%prep
%setup -q -n visitors_%{version}
%build
%{l_make} %{l_mflags -O} \
CC="%{l_cc}" CFLAGS="%{l_cflags -O}"
%install
rm -rf $RPM_BUILD_ROOT
%{l_shtool} mkdir -f -p -m 755 \
$RPM_BUILD_ROOT%{l_prefix}/bin \
$RPM_BUILD_ROOT%{l_prefix}/man/man1
%{l_shtool} install -c -s -m 755 \
visitors $RPM_BUILD_ROOT%{l_prefix}/bin/
%{l_shtool} install -c -m 644 \
visitors.1 $RPM_BUILD_ROOT%{l_prefix}/man/man1/
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
%files -f files
%clean
rm -rf $RPM_BUILD_ROOT
@
1.11
log
@use a Group which fits better
@
text
@d30 2
a31 2
Packager: OpenPKG
Distribution: OpenPKG
d36 1
a36 1
Release: 20061011
@
1.10
log
@upgrading package: visitors 0.61 -> 0.7
@
text
@d33 1
a33 1
Group: Web
d36 1
a36 1
Release: 20060404
@
1.9
log
@adjust copyrights for new year 2006
@
text
@d35 2
a36 2
Version: 0.61
Release: 20051027
a62 1
%{l_gzip} -d visitors.1.gz
@
1.8
log
@upgrading package: visitors 0.6 -> 0.61
@
text
@d3 2
a4 2
## Copyright (c) 2000-2005 OpenPKG Foundation e.V.
## Copyright (c) 2000-2005 Ralf S. Engelschall
@
1.7
log
@upgrading package: visitors 0.5 -> 0.6
@
text
@d35 2
a36 2
Version: 0.6
Release: 20051014
@
1.6
log
@man page now supplied by the vendor
@
text
@d35 2
a36 2
Version: 0.5
Release: 20050503
@
1.5
log
@upgrading package: visitors 0.4a -> 0.5
@
text
@d36 1
a36 1
Release: 20050429
d44 1
a44 1
BuildPreReq: OpenPKG, openpkg >= 20040130, make, w3m
d63 1
a67 1
%{l_prefix}/bin/w3m -dump doc.html >visitors.1
d73 1
a73 1
$RPM_BUILD_ROOT%{l_prefix}/man/cat1
d77 1
a77 1
visitors.1 $RPM_BUILD_ROOT%{l_prefix}/man/cat1/
@
1.4
log
@Adjust the copyright declaration in this (RSE's) copy of the OpenPKG
source code now that the fork point for C&W was established (CVS tag
OPENPKG_CW_FP), the shared copyright agreement between RSE and C&W is
no longer active (as C&W no longer officially sponsors OpenPKG) and the
new shared copyright from RSE can be taken over by the newly established
juristic entity OpenPKG Foundation e.V. (instead of the non-juristic
entity OpenPKG Project).
@
text
@d35 2
a36 2
Version: 0.4a
Release: 20041220
@
1.3
log
@Happy New Year 2005
@
text
@d2 3
a4 4
## visitors.spec -- OpenPKG RPM Specification
## Copyright (c) 2000-2005 The OpenPKG Project
## Copyright (c) 2000-2005 Ralf S. Engelschall
## Copyright (c) 2000-2005 Cable & Wireless
d30 1
a30 1
Packager: The OpenPKG Project
@
1.2
log
@- requires GNU make
- pass CFLAGS to not require GNU cc
- build cat1/visitors.1 manual page as an alternative to a real manpage
@
text
@d3 3
a5 3
## Copyright (c) 2000-2004 The OpenPKG Project
## Copyright (c) 2000-2004 Ralf S. Engelschall
## Copyright (c) 2000-2004 Cable & Wireless
@
1.1
log
@new package: visitors 0.4a (Visitors, a fast web log analyzer)
@
text
@d28 1
a28 1
Summary: Visitors, a fast web log analyzer
d45 1
a45 1
BuildPreReq: OpenPKG, openpkg >= 20040130
d66 3
a68 1
%{l_make} CC="%{l_cc}" %{l_mflags -O}
d73 6
a78 3
$RPM_BUILD_ROOT%{l_prefix}/bin
%{l_shtool} install -c -s -m 755 visitors \
$RPM_BUILD_ROOT%{l_prefix}/bin/
@