diff options
author | sketch <sketch@pkgsrc.org> | 2003-12-08 16:28:38 +0000 |
---|---|---|
committer | sketch <sketch@pkgsrc.org> | 2003-12-08 16:28:38 +0000 |
commit | 2dbfddea5cd2806d108b732784fb6f1ff4e3f18c (patch) | |
tree | d985dc503605b2338ce2e81d773c012437914b5f /www/apachetop/patches | |
parent | c65d264167e6f41691df73ba527045339ad0f94f (diff) | |
download | pkgsrc-2dbfddea5cd2806d108b732784fb6f1ff4e3f18c.tar.gz |
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 (limited to 'www/apachetop/patches')
-rw-r--r-- | www/apachetop/patches/patch-aa | 12 | ||||
-rw-r--r-- | www/apachetop/patches/patch-ab | 123 | ||||
-rw-r--r-- | www/apachetop/patches/patch-ac | 13 |
3 files changed, 148 insertions, 0 deletions
diff --git a/www/apachetop/patches/patch-aa b/www/apachetop/patches/patch-aa new file mode 100644 index 00000000000..40a991fd02b --- /dev/null +++ b/www/apachetop/patches/patch-aa @@ -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 --git a/www/apachetop/patches/patch-ab b/www/apachetop/patches/patch-ab new file mode 100644 index 00000000000..d68a047fe75 --- /dev/null +++ b/www/apachetop/patches/patch-ab @@ -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 --git a/www/apachetop/patches/patch-ac b/www/apachetop/patches/patch-ac new file mode 100644 index 00000000000..8f9d7ba221f --- /dev/null +++ b/www/apachetop/patches/patch-ac @@ -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 |