import logstalgia 1.0.3
Logstalgia is a website traffic visualization that replays or streams Apache web-server access logs as a pong-like battle between the web server and an never ending torrent of requests. from Gonzalo L. R. (MAINTAINER) with tweaks by me ok sthen@
This commit is contained in:
parent
b35132e4a8
commit
2fd75e8e65
34
sysutils/logstalgia/Makefile
Normal file
34
sysutils/logstalgia/Makefile
Normal file
@ -0,0 +1,34 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2011/10/20 10:58:21 jasper Exp $
|
||||
|
||||
COMMENT = website access log visualization
|
||||
|
||||
DISTNAME = logstalgia-1.0.3
|
||||
CATEGORIES = sysutils graphics
|
||||
HOMEPAGE = http://code.google.com/p/logstalgia/
|
||||
|
||||
MAINTAINER = Gonzalo L. R. <gonzalo@x61.com.ar>
|
||||
|
||||
# GPLv3
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
PERMIT_PACKAGE_FTP = Yes
|
||||
PERMIT_DISTFILES_CDROM =Yes
|
||||
PERMIT_DISTFILES_FTP = Yes
|
||||
|
||||
MASTER_SITES = http://logstalgia.googlecode.com/files/
|
||||
|
||||
WANTLIB += ftgl GL GLU SDL SDL_image c jpeg m pcre png pthread stdc++
|
||||
|
||||
MODULES = converters/libiconv
|
||||
|
||||
CONFIGURE_STYLE =gnu
|
||||
|
||||
LIB_DEPENDS = graphics/ftgl \
|
||||
devel/pcre \
|
||||
devel/sdl-image
|
||||
|
||||
USE_GROFF = Yes
|
||||
|
||||
post-install:
|
||||
@gzip -d ${PREFIX}/man/man1/logstalgia.1.gz
|
||||
|
||||
.include <bsd.port.mk>
|
5
sysutils/logstalgia/distinfo
Normal file
5
sysutils/logstalgia/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (logstalgia-1.0.3.tar.gz) = UWA4Ctsfse2Scs9X+98zQQ==
|
||||
RMD160 (logstalgia-1.0.3.tar.gz) = a11ZCwv71BDWzHEgpBSROWMo7Dw=
|
||||
SHA1 (logstalgia-1.0.3.tar.gz) = nV2w81mCkbOnoQuPS/+fYWTsytw=
|
||||
SHA256 (logstalgia-1.0.3.tar.gz) = 0zOKn/+5tg7LkJhsgfJ6CaGPqGJ7W4hKeccP7n9kYes=
|
||||
SIZE (logstalgia-1.0.3.tar.gz) = 841822
|
21
sysutils/logstalgia/patches/patch-src_logstalgia_cpp
Normal file
21
sysutils/logstalgia/patches/patch-src_logstalgia_cpp
Normal file
@ -0,0 +1,21 @@
|
||||
$OpenBSD: patch-src_logstalgia_cpp,v 1.1.1.1 2011/10/20 10:58:21 jasper Exp $
|
||||
--- src/logstalgia.cpp.orig Tue Sep 20 16:54:02 2011
|
||||
+++ src/logstalgia.cpp Tue Sep 20 16:54:52 2011
|
||||
@@ -394,7 +394,7 @@ std::string Logstalgia::dateAtPosition(float percent)
|
||||
|
||||
long timestamp = le.timestamp;
|
||||
|
||||
- struct tm* timeinfo = localtime ( ×tamp );
|
||||
+ struct tm *timeinfo = localtime( (const time_t *)(×tamp) );
|
||||
strftime(datestr, 256, "%H:%M:%S %B %d, %Y", timeinfo);
|
||||
date = std::string(datestr);
|
||||
}
|
||||
@@ -908,7 +908,7 @@ void Logstalgia::logic(float t, float dt) {
|
||||
char datestr[256];
|
||||
char timestr[256];
|
||||
|
||||
- struct tm* timeinfo = localtime ( &currtime );
|
||||
+ struct tm *timeinfo = localtime( (const time_t *)(&currtime) );
|
||||
strftime(datestr, 256, "%A, %B %d, %Y", timeinfo);
|
||||
strftime(timestr, 256, "%X", timeinfo);
|
||||
|
14
sysutils/logstalgia/pkg/DESCR
Normal file
14
sysutils/logstalgia/pkg/DESCR
Normal file
@ -0,0 +1,14 @@
|
||||
Logstalgia is a website traffic visualization that replays or streams
|
||||
Apache web-server access logs as a pong-like battle between the web
|
||||
server and an never ending torrent of requests.
|
||||
|
||||
Requests appear as colored balls (the same color as the host) which
|
||||
travel across the screen to arrive at the requested location. Successful
|
||||
requests are hit by the paddle while unsuccessful ones (eg 404 - File
|
||||
Not Found) are missed and pass through.
|
||||
|
||||
The paths of requests are summarized within the available space by
|
||||
identifying common path prefixes. Related paths are grouped together
|
||||
under headings. For instance, by default paths ending in png, gif or jpg
|
||||
are grouped under the heading Images. Paths that don't match any of the
|
||||
specified groups are lumped together under a Miscellaneous section.
|
11
sysutils/logstalgia/pkg/PLIST
Normal file
11
sysutils/logstalgia/pkg/PLIST
Normal file
@ -0,0 +1,11 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2011/10/20 10:58:21 jasper Exp $
|
||||
@bin bin/logstalgia
|
||||
@man man/man1/logstalgia.1
|
||||
share/logstalgia/
|
||||
share/logstalgia/ball.tga
|
||||
share/logstalgia/example.log
|
||||
share/logstalgia/fonts/
|
||||
share/logstalgia/fonts/FreeMonoBold.ttf
|
||||
share/logstalgia/fonts/FreeSerif.ttf
|
||||
share/logstalgia/fonts/README
|
||||
share/logstalgia/glow.tga
|
Loading…
x
Reference in New Issue
Block a user