Skip to content
Browse files

Merge branch 'master' of github.com:sm/sm-tools

  • Loading branch information...
2 parents 5861402 + 81881f2 commit 8868d1036e5937437d2467648790da65d92adae0 @mpapis mpapis committed Nov 26, 2011
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
View
2 htop/config/defaults
@@ -1,3 +1,3 @@
-version=0.9
+version=1.0
website_url=http://htop.sourceforge.net/index.php?page=main
docs_url=http://htop.sourceforge.net/index.php?page=main
View
7 htop/shell/functions
@@ -3,7 +3,10 @@
htop_initialize()
{
os is linux || error "htop may only be installed on Linux at this time."
+}
- package define \
- base_url "http://downloads.sourceforge.net/project/htop/${package_version}"
+htop_prefetch()
+{
+ typeset -g package_url
+ package_url="http://downloads.sourceforge.net/project/htop/htop/${package_version}/htop-${package_version}.tar.gz" # ?use_mirror=voxel
}

0 comments on commit 8868d10

Please sign in to comment.
Something went wrong with that request. Please try again.