pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/apachetop Initial import of apachetop-0.8.2 into t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c309bd00e409
branches:  trunk
changeset: 464403:c309bd00e409
user:      sketch <sketch%pkgsrc.org@localhost>
date:      Mon Dec 08 16:28:38 2003 +0000

description:
Initial import of apachetop-0.8.2 into the NetBSD Packages Collection.

ApacheTop provides a realtime display of Apache logfile statistics
in a similar manner to top(1).

diffstat:

 www/apachetop/DESCR            |    3 +
 www/apachetop/Makefile         |   21 +++++++
 www/apachetop/PLIST            |    3 +
 www/apachetop/distinfo         |    7 ++
 www/apachetop/patches/patch-aa |   12 ++++
 www/apachetop/patches/patch-ab |  123 +++++++++++++++++++++++++++++++++++++++++
 www/apachetop/patches/patch-ac |   13 ++++
 7 files changed, 182 insertions(+), 0 deletions(-)

diffs (210 lines):

diff -r 750c6eea6b25 -r c309bd00e409 www/apachetop/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/apachetop/DESCR       Mon Dec 08 16:28:38 2003 +0000
@@ -0,0 +1,3 @@
+ApacheTop watches a logfile generated by Apache (in standard common or
+combined logformat, although it doesn't (yet) make use of any of the extra
+fields in combined) and generates human-parsable output in realtime.
diff -r 750c6eea6b25 -r c309bd00e409 www/apachetop/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/apachetop/Makefile    Mon Dec 08 16:28:38 2003 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/12/08 16:28:38 sketch Exp $
+#
+
+DISTNAME=      apachetop-0.8.2
+CATEGORIES=    sysutils www
+MASTER_SITES=  http://clueful.shagged.org/apachetop/files/
+
+MAINTAINER=    sketch%NetBSD.org@localhost
+HOMEPAGE=      http://clueful.shagged.org/apachetop/
+COMMENT=       Real time apache log display
+
+USE_BUILDLINK2=                YES
+GNU_CONFIGURE=         YES
+
+# NetBSD releases which do not include wattr_on() et al.
+INCOMPAT_CURSES=       NetBSD-1.5*-*
+INCOMPAT_CURSES=       NetBSD-1.6-* NetBSD-1.6.*-* NetBSD-1.6[A-Q]-*
+
+.include "../../devel/ncurses/buildlink2.mk"
+.include "../../mk/pthread.buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 750c6eea6b25 -r c309bd00e409 www/apachetop/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/apachetop/PLIST       Mon Dec 08 16:28:38 2003 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/12/08 16:28:38 sketch Exp $
+man/man1/apachetop.1
+bin/apachetop
diff -r 750c6eea6b25 -r c309bd00e409 www/apachetop/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/apachetop/distinfo    Mon Dec 08 16:28:38 2003 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/12/08 16:28:38 sketch Exp $
+
+SHA1 (apachetop-0.8.2.tar.gz) = fc9e4b40061f5d01663d832c011c59e41be561b9
+Size (apachetop-0.8.2.tar.gz) = 94779 bytes
+SHA1 (patch-aa) = 8a7d6e2c3b32cffe46e57ee41a145bdbfa35ad48
+SHA1 (patch-ab) = 90e3a2faa5a136f2d65812c4d40b8895e4a2f228
+SHA1 (patch-ac) = ae903e7f5e90158c72be74079540bc6c409c59c7
diff -r 750c6eea6b25 -r c309bd00e409 www/apachetop/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/apachetop/patches/patch-aa    Mon Dec 08 16:28:38 2003 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/12/08 16:28:38 sketch Exp $
+
+--- src/Makefile.am.orig       2003-12-08 15:42:48.000000000 +0000
++++ src/Makefile.am    2003-12-08 15:43:09.000000000 +0000
+@@ -1,6 +1,6 @@
+ ## Process this file with automake to produce Makefile.in.
+ 
+-sbin_PROGRAMS = apachetop
++bin_PROGRAMS = apachetop
+ 
+ apachetop_SOURCES = apachetop.cc log.cc hashes.cc ohtbl.cc map.cc \
+                     display.cc hits_circle.cc timed_circle.cc
diff -r 750c6eea6b25 -r c309bd00e409 www/apachetop/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/apachetop/patches/patch-ab    Mon Dec 08 16:28:38 2003 +0000
@@ -0,0 +1,123 @@
+$NetBSD: patch-ab,v 1.1.1.1 2003/12/08 16:28:39 sketch Exp $
+
+--- src/Makefile.in.orig       2003-12-08 15:42:42.000000000 +0000
++++ src/Makefile.in    2003-12-08 15:43:56.000000000 +0000
+@@ -105,12 +105,12 @@
+ oldincludedir = @oldincludedir@
+ prefix = @prefix@
+ program_transform_name = @program_transform_name@
+-sbindir = @sbindir@
++bindir = @bindir@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
+ 
+-sbin_PROGRAMS = apachetop
++bin_PROGRAMS = apachetop
+ 
+ apachetop_SOURCES = apachetop.cc log.cc hashes.cc ohtbl.cc map.cc \
+                     display.cc hits_circle.cc timed_circle.cc
+@@ -126,8 +126,8 @@
+ mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
+ CONFIG_HEADER = $(top_builddir)/config.h
+ CONFIG_CLEAN_FILES =
+-sbin_PROGRAMS = apachetop$(EXEEXT)
+-PROGRAMS = $(sbin_PROGRAMS)
++bin_PROGRAMS = apachetop$(EXEEXT)
++PROGRAMS = $(bin_PROGRAMS)
+ 
+ am_apachetop_OBJECTS = apachetop.$(OBJEXT) log.$(OBJEXT) \
+       hashes.$(OBJEXT) ohtbl.$(OBJEXT) map.$(OBJEXT) \
+@@ -164,30 +164,30 @@
+         $(AUTOMAKE) --gnu  src/Makefile
+ Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
+       cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+-sbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+-install-sbinPROGRAMS: $(sbin_PROGRAMS)
++binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
++install-binPROGRAMS: $(bin_PROGRAMS)
+       @$(NORMAL_INSTALL)
+-      $(mkinstalldirs) $(DESTDIR)$(sbindir)
+-      @list='$(sbin_PROGRAMS)'; for p in $$list; do \
++      $(mkinstalldirs) $(DESTDIR)$(bindir)
++      @list='$(bin_PROGRAMS)'; for p in $$list; do \
+         p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
+         if test -f $$p \
+         ; then \
+           f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+-         echo " $(INSTALL_PROGRAM_ENV) $(sbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(sbindir)/$$f"; \
+-         $(INSTALL_PROGRAM_ENV) $(sbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(sbindir)/$$f || exit 1; \
++         echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
++         $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f || exit 1; \
+         else :; fi; \
+       done
+ 
+-uninstall-sbinPROGRAMS:
++uninstall-binPROGRAMS:
+       @$(NORMAL_UNINSTALL)
+-      @list='$(sbin_PROGRAMS)'; for p in $$list; do \
++      @list='$(bin_PROGRAMS)'; for p in $$list; do \
+         f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-        echo " rm -f $(DESTDIR)$(sbindir)/$$f"; \
+-        rm -f $(DESTDIR)$(sbindir)/$$f; \
++        echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
++        rm -f $(DESTDIR)$(bindir)/$$f; \
+       done
+ 
+-clean-sbinPROGRAMS:
+-      -test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)
++clean-binPROGRAMS:
++      -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+ apachetop$(EXEEXT): $(apachetop_OBJECTS) $(apachetop_DEPENDENCIES) 
+       @rm -f apachetop$(EXEEXT)
+       $(CXXLINK) $(apachetop_LDFLAGS) $(apachetop_OBJECTS) $(apachetop_LDADD) $(LIBS)
+@@ -320,7 +320,7 @@
+ all-am: Makefile $(PROGRAMS) $(HEADERS)
+ 
+ installdirs:
+-      $(mkinstalldirs) $(DESTDIR)$(sbindir)
++      $(mkinstalldirs) $(DESTDIR)$(bindir)
+ install: install-am
+ install-exec: install-exec-am
+ install-data: install-data-am
+@@ -348,7 +348,7 @@
+       -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
+ clean: clean-am
+ 
+-clean-am: clean-generic clean-sbinPROGRAMS mostlyclean-am
++clean-am: clean-generic clean-binPROGRAMS mostlyclean-am
+ 
+ distclean: distclean-am
+       -rm -rf ./$(DEPDIR)
+@@ -366,7 +366,7 @@
+ 
+ install-data-am:
+ 
+-install-exec-am: install-sbinPROGRAMS
++install-exec-am: install-binPROGRAMS
+ 
+ install-info: install-info-am
+ 
+@@ -391,18 +391,18 @@
+ 
+ ps-am:
+ 
+-uninstall-am: uninstall-info-am uninstall-sbinPROGRAMS
++uninstall-am: uninstall-info-am uninstall-binPROGRAMS
+ 
+ .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
+-      clean-sbinPROGRAMS ctags distclean distclean-compile \
++      clean-binPROGRAMS ctags distclean distclean-compile \
+       distclean-generic distclean-tags distdir dvi dvi-am info \
+       info-am install install-am install-data install-data-am \
+       install-exec install-exec-am install-info install-info-am \
+-      install-man install-sbinPROGRAMS install-strip installcheck \
++      install-man install-binPROGRAMS install-strip installcheck \
+       installcheck-am installdirs maintainer-clean \
+       maintainer-clean-generic mostlyclean mostlyclean-compile \
+       mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
+-      uninstall-am uninstall-info-am uninstall-sbinPROGRAMS
++      uninstall-am uninstall-info-am uninstall-binPROGRAMS
+ 
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
diff -r 750c6eea6b25 -r c309bd00e409 www/apachetop/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/apachetop/patches/patch-ac    Mon Dec 08 16:28:38 2003 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1.1.1 2003/12/08 16:28:39 sketch Exp $
+
+--- src/apachetop.h.orig       Fri Dec  5 09:49:21 2003
++++ src/apachetop.h    Fri Dec  5 09:49:39 2003
+@@ -221,7 +221,7 @@
+ #define DEBUG_OUTPUT "/tmp/atop.debug"
+ 
+ #ifndef DEFAULT_LOGFILE
+-# define DEFAULT_LOGFILE "/var/httpd/apache_log"
++# define DEFAULT_LOGFILE "/var/log/httpd/access_log"
+ #endif
+ #define DEFAULT_CIRCLE_SIZE 30
+ #define DEFAULT_CIRCLE_MODE TIMED_CIRCLE



Home | Main Index | Thread Index | Old Index