X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@lists.alpinelinux.org Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by lists.alpinelinux.org (Postfix) with ESMTP id 4906D361DA89 for ; Wed, 1 Sep 2010 23:35:18 +0000 (UTC) Received: by gwj23 with SMTP id 23so3818082gwj.13 for ; Wed, 01 Sep 2010 16:35:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer; bh=2uLMgPRFx/4o232JW2kcTEfld9uXY2s3IzeGY1cjv9M=; b=FXMQNC8ekAkMBgZApnafx9pX74kc4YczG1+pg8iP3hOgfUxhLus8mIDuQj/j3hxylf GY91L/1MfEKpyAUlO64HhzyB1rtJf74oM5S2lFI6SySTxVvsOR5FqwN5Io7VQAxyv9WY jXVCzTQo8F+RRhAuGAnkH2viOpq0JARcP+1Fo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=ovm0WpORV4OJL9yt23mMRodpxh2s+wBUXOEMP3gKugi3FXTWNQGsSzsS808J4ONjeW Jx0Mj/dCRlY+/Amn7gRdCw4XLxnMy+W4XlnVjilFcMwBRnAyip2mhM8dGSLRr14ATOZq TbKsLG+ynBJDT+SqsEz0M3LuDdnuD8vHR9NVg= Received: by 10.150.54.7 with SMTP id c7mr4932979yba.414.1283384117324; Wed, 01 Sep 2010 16:35:17 -0700 (PDT) Received: from localhost.localdomain (209.250.132.162.tor.pathcom.com [209.250.132.162]) by mx.google.com with ESMTPS id q31sm168420ybk.1.2010.09.01.16.35.15 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 01 Sep 2010 16:35:16 -0700 (PDT) From: Jeff Bilyk To: alpine-devel@lists.alpinelinux.org Cc: Jeff Bilyk Subject: [alpine-devel] [PATCH] testing/cacti: new aport Date: Wed, 1 Sep 2010 17:34:57 +0000 Message-Id: <1283362497-7783-1-git-send-email-jbilyk@gmail.com> X-Mailer: git-send-email 1.7.2.1 X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: New aport: cacti - network monitoring app --- testing/cacti/APKBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 45 insertions(+), 0 deletions(-) create mode 100644 testing/cacti/APKBUILD diff --git a/testing/cacti/APKBUILD b/testing/cacti/APKBUILD new file mode 100644 index 0000000..e7452bf --- /dev/null +++ b/testing/cacti/APKBUILD @@ -0,0 +1,45 @@ +# Maintainer: Jeff Bilyk +pkgname=cacti +pkgver=0.8.7g +pkgrel=0 +pkgdesc="Network monitoring tool based on RRDtool" +url="http://www.cacti.net" +license="GPL" +depends="mysql php php-mysql php-snmp rrdtool net-snmp php-sockets php-xml php-gd" +makedepends= +source="http://www.cacti.net/downloads/$pkgname-$pkgver.tar.gz +http://www.cacti.net/downloads/patches/$pkgver/data_source_deactivate.patch +http://www.cacti.net/downloads/patches/$pkgver/graph_list_view.patch +http://www.cacti.net/downloads/patches/$pkgver/html_output.patch +http://www.cacti.net/downloads/patches/$pkgver/ldap_group_authenication.patch +http://www.cacti.net/downloads/patches/$pkgver/script_server_command_line_parse.patch" + +_builddir="$srcdir"/$pkgname-$pkgver + +prepare() { + cd "$_builddir" + for i in ../*.patch; do + msg "Applying $i" + if ! patch -p1 -i $i; then + error "$i failed" + return 1 + fi + done +} + +build() { + cd "$_builddir" + return 0 +} + +package() { + mkdir -p "$pkgdir"/usr/share/webapps/cacti + mv "$srcdir"/$pkgname-$pkgver/* "$pkgdir"/usr/share/webapps/cacti/ || return 1 + +} +md5sums="268421cb1a58d3444f7ecbddb4c4b016 cacti-0.8.7g.tar.gz +d39570fd2e2b5c7f9aa47000b8a28c42 data_source_deactivate.patch +6c2f7db4af48e59323c5e8b25a34866b graph_list_view.patch +134d120930e4f2211f017f5b71d9280a html_output.patch +5bb62cc6fde7c99f0c29cab869412f73 ldap_group_authenication.patch +e14edee082d1250e3946c3caa58a40b4 script_server_command_line_parse.patch" -- 1.7.2.1 --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---