rpms/apachetop/FC-3 apachetop-0.12.5-CAN-2005-2660.patch, NONE, 1.1 apachetop.spec, 1.6, 1.7
Aurelien Bompard (abompard)
fedora-extras-commits at redhat.com
Tue Oct 4 22:00:47 UTC 2005
- Previous message (by thread): rpms/ifm/devel ifm-5.1-destdir.patch, NONE, 1.1 ifm.sh, NONE, 1.1 ifm.spec, NONE, 1.1 ifm.vim, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/apachetop/FC-4 apachetop-0.12.5-CAN-2005-2660.patch, NONE, 1.1 apachetop.spec, 1.8, 1.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: abompard
Update of /cvs/extras/rpms/apachetop/FC-3
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1967/FC-3
Modified Files:
apachetop.spec
Added Files:
apachetop-0.12.5-CAN-2005-2660.patch
Log Message:
- add patch for CAN-2005-2660
apachetop-0.12.5-CAN-2005-2660.patch:
--- NEW FILE apachetop-0.12.5-CAN-2005-2660.patch ---
--- ./src/apachetop.cc.CAN-2005-2660 2005-10-04 23:56:09.000000000 +0200
+++ ./src/apachetop.cc 2005-10-04 23:56:13.000000000 +0200
@@ -1105,7 +1105,16 @@
FILE *d;
va_list args;
- if (cf.debug && (d = fopen(DEBUG_OUTPUT, "a")))
+ static char fileName[1024] = {'\0'};
+
+ if ( !strlen( fileName ) )
+ {
+ strcpy( fileName, "/tmp/atop.XXXXXX" );
+ mkdtemp( fileName );
+ strncat( fileName, "/debug", sizeof(fileName ) );
+ }
+
+ if (cf.debug && (d = fopen(fileName, "a")))
{
va_start(args, fmt);
vfprintf(d, fmt, args);
Index: apachetop.spec
===================================================================
RCS file: /cvs/extras/rpms/apachetop/FC-3/apachetop.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- apachetop.spec 8 May 2005 15:10:42 -0000 1.6
+++ apachetop.spec 4 Oct 2005 22:00:45 -0000 1.7
@@ -1,12 +1,13 @@
Name: apachetop
Version: 0.12.5
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A top-like display of Apache logs
Group: Applications/Internet
License: BSD
URL: http://clueful.shagged.org/apachetop
Source0: http://clueful.shagged.org/apachetop/files/apachetop-0.12.5.tar.gz
+Patch0: apachetop-0.12.5-CAN-2005-2660.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: ncurses-devel, m4, readline-devel
@@ -20,6 +21,7 @@
%prep
%setup -q
+%patch0 -p1 -b .CAN-2005-2660
%build
@@ -44,6 +46,9 @@
%changelog
+* Tue Oct 04 2005 Aurelien Bompard <gauret[AT]free.fr> 0.12.5-2
+- add patch for CAN-2005-2660
+
* Sun May 08 2005 Aurelien Bompard <gauret[AT]free.fr> 0.12.5-1%{?dist}
- version 0.12.5
- drop patch (applied upsteam)
- Previous message (by thread): rpms/ifm/devel ifm-5.1-destdir.patch, NONE, 1.1 ifm.sh, NONE, 1.1 ifm.spec, NONE, 1.1 ifm.vim, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/apachetop/FC-4 apachetop-0.12.5-CAN-2005-2660.patch, NONE, 1.1 apachetop.spec, 1.8, 1.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list