aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/apache2-mod-sflow
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-08-25 15:26:24 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-25 15:26:24 +0200
commitb6af1e02efe594039707cd882517663d5370f375 (patch)
treeff9c2d55873e051e82972ba64c017352d3a75d34 /unmaintained/apache2-mod-sflow
parenta71346b7acebc600960a98c84fb32cfd72fe864b (diff)
downloadaports-b6af1e02efe594039707cd882517663d5370f375.tar.bz2
aports-b6af1e02efe594039707cd882517663d5370f375.tar.xz
testing/[multiple]: move unmaintained packages
This moves all packages from testing to unmaintained which have not been updated for atleast 6 months. If you are affected by this commit please follow this proceddure: * make sure your packages build on all architectures * move your pacakge(s) back to testing * if you want to keep this package and can maintain it (or find somebody to maintain it for you) for a minimum of 6 months ask it to be moved to community
Diffstat (limited to 'unmaintained/apache2-mod-sflow')
-rw-r--r--unmaintained/apache2-mod-sflow/APKBUILD58
1 files changed, 58 insertions, 0 deletions
diff --git a/unmaintained/apache2-mod-sflow/APKBUILD b/unmaintained/apache2-mod-sflow/APKBUILD
new file mode 100644
index 0000000000..9bfe298c81
--- /dev/null
+++ b/unmaintained/apache2-mod-sflow/APKBUILD
@@ -0,0 +1,58 @@
+# Contributor: Florian Heigl <florian.heigl@gmail.com>
+# Maintainer: Florian Heigl <florian.heigl@gmail.com>
+pkgname=apache2-mod-sflow
+pkgver=1.0.5
+pkgrel=0
+pkgdesc="Apache module to implement logging using sFlow for monitoring of large web clusters."
+url="https://code.google.com/p/mod-sflow/"
+arch="all"
+license="InMon sFlow (http://www.inmon.com/technology/sflowlicense.txt)"
+depends="apache2"
+# add svn?
+makedepends="apache2-dev apr-dev autoconf"
+install=""
+subpackages=""
+source="http://dev.alpinelinux.org/archive/mod-sflow/mod-sflow-$pkgver.tar.gz"
+
+_builddir="$srcdir"/mod-sflow-$pkgver
+
+prepare() {
+ return 0
+}
+
+snapshot() {
+ cd "$srcdir"
+ svn checkout http://mod-sflow.googlecode.com/svn/tags/REL-$pkgver \
+ mod-sflow-$pkgver || return 1
+ tar -zcf mod-sflow-$pkgver.tar.gz \
+ --exclude mod-sflow-$pkgver/.svn \
+ mod-sflow-$pkgver || return 1
+ scp mod-sflow-$pkgver.tar.gz dev.alpinelinux.org:/archive/mod-sflow/
+}
+
+build() {
+ cd "$_builddir"
+ /usr/bin/apxs -Wc -c mod_sflow.c sflow_api.c
+}
+
+package() {
+ cd "$_builddir"
+ mkdir -p "$pkgdir"/usr/lib/apache2 "$pkgdir"/etc/apache2/conf.d
+ install -D -m755 "$_builddir"/.libs/mod_sflow.so \
+ "$pkgdir"/usr/lib/apache2/mod_sflow.so || return 1
+
+ install -d "$pkgdir"/etc/httpd/conf.d
+
+ cat > "$pkgdir"/etc/httpd/conf.d/sflow.conf <<EOF
+LoadModule sflow_module modules/mod_sflow.so
+
+<IfModule mod_sflow.c>
+ <Location /sflow>
+ SetHandler sflow
+ </Location>
+</IfModule>
+EOF
+}
+md5sums="0279b545f433fa8aa5f74647b6ec567f mod-sflow-1.0.5.tar.gz"
+sha256sums="5639e6953269afb418514c288614083f1a39d6f58ab8d59d98f0260cf4499673 mod-sflow-1.0.5.tar.gz"
+sha512sums="66cb95364d32ca2a5cdfc84f022b14aeb8a6af2eeec899e7a2424ad64063616ff6e349fb4ecae6d6d07c5256d2187a439995c027151ce720e40fae05cbcee270 mod-sflow-1.0.5.tar.gz"