SPECS: vlogger.spec (NEW) - initial pld release

arekm arekm at pld-linux.org
Sat Jun 18 00:44:21 CEST 2005


Author: arekm                        Date: Fri Jun 17 22:44:21 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial pld release

---- Files affected:
SPECS:
   vlogger.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/vlogger.spec
diff -u /dev/null SPECS/vlogger.spec:1.1
--- /dev/null	Sat Jun 18 00:44:21 2005
+++ SPECS/vlogger.spec	Sat Jun 18 00:44:16 2005
@@ -0,0 +1,60 @@
+# $Revision$, $Date$
+%include        /usr/lib/rpm/macros.perl
+Summary:	virtual web logfile rotater/parser
+Name:		vlogger
+Version:	1.3
+Release:	1
+License:	GPL
+Group:		Networking/Utilities
+Source0:	http://n0rp.chemlab.org/vlogger/%{name}-%{version}.tar.gz
+# Source0-md5:	4170a4bf7ab8b24373458e8ac820c0a1
+Patch0:		%{name}-debian.patch
+URL:		http://n0rp.chemlab.org/vlogger/
+BuildRequires:	rpm-perlprov
+BuildRequires:	perl-TimeDate
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Vlogger is a little piece of code borned to handle dealing with large
+amounts of virtualhost logs. It's bad news that apache can't do this
+on its own. Vlogger takes piped input from apache, splits it off to
+separate files based on the first field. It uses a file handle cache
+so it can't run out of file descriptors. It will also start a new
+logfile every night at midnight, and maintain a symlink to the most
+recent file. For security, it can drop privileges and do a chroot to
+the logs directory.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man1}
+
+install %{name} $RPM_BUILD_ROOT%{_sbindir}
+install *.1 $RPM_BUILD_ROOT%{_mandir}/man1
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README *.conf *.sql
+%attr(755,root,root) %{_sbindir}/*
+%{_mandir}/man1/*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2005/06/17 22:44:16  arekm
+- initial pld release
+
+
================================================================



More information about the pld-cvs-commit mailing list