Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added initial goaccess extension.

  • Loading branch information...
commit e90cb9681edb245343847159bfadb0d97ab5932b 1 parent 50885d5
@wayneeseguin wayneeseguin authored
View
4 goaccess/CHANGELOG.md
@@ -0,0 +1,4 @@
+# BDSM Extension Change Log
+
+* 0.0.1 - Initial Extension Release
+
View
6 goaccess/README.md
@@ -0,0 +1,6 @@
+# BDSM Extension README
+
+This extension installs goaccess on Linux.
+
+For more information about goaccess visit
+http://goaccess.sourceforge.net/index.php?page=main
View
4 goaccess/TODO.md
@@ -0,0 +1,4 @@
+# SM Extension TODO List
+
+* TODO: Package and release the extension.
+
View
1  goaccess/VERSION
@@ -0,0 +1 @@
+0.0.1
View
4 goaccess/config/defaults
@@ -0,0 +1,4 @@
+version=0.4.2
+website_url=http://goaccess.prosoftcorp.com/
+docs_url=http://goaccess.sourceforge.net/index.php?page=main
+repository_url=git://goaccess.git.sourceforge.net/gitroot/goaccess/goaccess
View
1  goaccess/config/md5
@@ -0,0 +1 @@
+goaccess-0.4.2.tar.gz=7d7707c294c949d612e451da2f003c37
View
0  goaccess/man/goaccess.1
No changes.
View
1  goaccess/map
@@ -0,0 +1 @@
+
View
46 goaccess/shell/functions
@@ -0,0 +1,46 @@
+#!/bin/sh
+
+goaccess_cli()
+{
+ # if extension_args contains --enable-geoip # Enable IP location information using GeoIP
+ # then
+ # configure_flags+=(--enable-geoip)
+ # package_dependencies+=(geoip)
+ # fi
+ true
+}
+
+goaccess_initialize()
+{
+ true
+ # package_dependencies=(pkg-config glib)
+}
+
+goaccess_initialize()
+{
+ if ! os is linux
+ then
+ log error "goaccess may only be installed on Linux at this time."
+ fi
+}
+
+goaccess_prefetch()
+{
+ typeset -g package_url
+ package_url="http://downloads.sourceforge.net/project/goaccess/${package_version}/${package_name}-${package_version}.${archive_format}"
+}
+
+goaccess_preconfigure()
+{
+ # How best to test for glib & geoip (optionally)?
+ if ! command exists pkg-config
+ then
+ log error "goaccess requires pkg-config in order to build. Please install pkg-config and then retry."
+ fi
+
+ configure_flags+=(
+ "--disable-debug"
+ "--disable-dependency-tracking"
+ )
+}
+
View
2  goaccess/shell/includes
@@ -0,0 +1,2 @@
+api/os
+api/package
Please sign in to comment.
Something went wrong with that request. Please try again.