From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id EDC7A138202 for ; Tue, 27 Aug 2013 02:08:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 61FB6E0CA5; Tue, 27 Aug 2013 02:08:14 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 78E91E0CA6 for ; Tue, 27 Aug 2013 02:08:13 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6A39133EBA7 for ; Tue, 27 Aug 2013 02:08:12 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id DB81DE468F for ; Tue, 27 Aug 2013 02:08:10 +0000 (UTC) From: "Jorge Manuel B. S. Vicetto" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jorge Manuel B. S. Vicetto" Message-ID: <1377568341.22f46fe622caf5664a5615e3ede9bcaebd79955f.jmbsvicetto@gentoo> Subject: [gentoo-commits] dev/jmbsvicetto:master commit in: net-analyzer/cacti-spine/files/, net-analyzer/cacti-spine/ X-VCS-Repository: dev/jmbsvicetto X-VCS-Files: net-analyzer/cacti-spine/Manifest net-analyzer/cacti-spine/cacti-spine-0.8.8b.ebuild net-analyzer/cacti-spine/files/cacti-spine-0.8.8b-fix-ac-macro.patch X-VCS-Directories: net-analyzer/cacti-spine/files/ net-analyzer/cacti-spine/ X-VCS-Committer: jmbsvicetto X-VCS-Committer-Name: Jorge Manuel B. S. Vicetto X-VCS-Revision: 22f46fe622caf5664a5615e3ede9bcaebd79955f X-VCS-Branch: master Date: Tue, 27 Aug 2013 02:08:10 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 8a8a2778-a224-4e78-a5be-cbb8f33551ed X-Archives-Hash: 6e558d5a5a7696d99402e038091667a3 commit: 22f46fe622caf5664a5615e3ede9bcaebd79955f Author: Jorge Manuel B. S. Vicetto (jmbsvicetto) gentoo org> AuthorDate: Tue Aug 27 01:52:21 2013 +0000 Commit: Jorge Manuel B. S. Vicetto gentoo org> CommitDate: Tue Aug 27 01:52:21 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=dev/jmbsvicetto.git;a=commit;h=22f46fe6 Bump cacti-spine to the 0.8.8b release. --- net-analyzer/cacti-spine/Manifest | 1 + net-analyzer/cacti-spine/cacti-spine-0.8.8b.ebuild | 65 ++++++++++++++++++++++ .../files/cacti-spine-0.8.8b-fix-ac-macro.patch | 12 ++++ 3 files changed, 78 insertions(+) diff --git a/net-analyzer/cacti-spine/Manifest b/net-analyzer/cacti-spine/Manifest index 53d6666..b9595c5 100644 --- a/net-analyzer/cacti-spine/Manifest +++ b/net-analyzer/cacti-spine/Manifest @@ -1 +1,2 @@ DIST cacti-spine-0.8.8a.tar.gz 623853 SHA256 2226070cd386a4955063a87e99df2fa861988a604a95f39bb8db2a301774b3ee SHA512 c6eb9492869488a5114cbfa2d372b1acb4bd1b0cecda2297f4b06cb1fe2fb95879b532923c230c72c9b50fbcfbf8f1d655c42075902c9f3a3ac4ee02d2e1913c WHIRLPOOL 080653346b698acff442c7d311ac805e6de410754a33dae698f6bd9328d3843734754fcf2eb417a870b1ac3d1effa5e830bec0d512b5f180da83b7c46ec2a74f +DIST cacti-spine-0.8.8b.tar.gz 631603 SHA256 fc5d512c1de46db2b48422856e8c6a5816d110083d0bbbf7f9d660f0829912a6 SHA512 22be23012fbe165ea7d7097bbca1dda472bbe521f126e28e03f2faf394e67e050d95d88a878688b615dcdca2ec2b2166fdd48567503f1564f093797634a1809a WHIRLPOOL 86c065989fc58e926f4e76ec842dcaa276f4a8fc65ddbb0a7b2752cb6a52778464520b80a48fb612cece56600f03b5512ca5f01b97e9b58eb7f12cc6c62f49bb diff --git a/net-analyzer/cacti-spine/cacti-spine-0.8.8b.ebuild b/net-analyzer/cacti-spine/cacti-spine-0.8.8b.ebuild new file mode 100644 index 0000000..e626be8 --- /dev/null +++ b/net-analyzer/cacti-spine/cacti-spine-0.8.8b.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/cacti-spine/cacti-spine-0.8.8a.ebuild,v 1.1 2013/04/27 15:09:23 pva Exp $ + +EAPI="4" +inherit autotools eutils + +UPSTREAM_PATCHES="" + +MY_P=${PN}-${PV/_p/-} + +DESCRIPTION="Spine is a fast poller for Cacti (formerly known as Cactid)" +HOMEPAGE="http://cacti.net/spine_info.php" +SRC_URI="http://www.cacti.net/downloads/spine/${MY_P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +DEPEND="net-analyzer/net-snmp + dev-libs/openssl + virtual/mysql" +RDEPEND="${DEPEND} + >net-analyzer/cacti-0.8.8" + +if [[ -n ${UPSTREAM_PATCHES} ]]; then + for i in ${UPSTREAM_PATCHES}; do + SRC_URI="${SRC_URI} http://www.cacti.net/downloads/spine/patches/${PV}/${i}.patch" + done +fi + +src_prepare() { + # Patch configure.ac to replace AM_CONFIG_HEADER with AC_CONFIG_HEADERS + epatch "${FILESDIR}/${P}-fix-ac-macro.patch" + + if [[ -n ${UPSTREAM_PATCHES} ]]; then + for i in ${UPSTREAM_PATCHES} ; do + EPATCH_OPTS="-p1 -N" epatch "${DISTDIR}"/${i}.patch + done + fi + + sed -i -e 's/^bin_PROGRAMS/sbin_PROGRAMS/' Makefile.am + AT_M4DIR="config" eautoreconf +} + +src_install() { + dosbin spine || die + insinto /etc/ + insopts -m0640 -o root + newins spine.conf{.dist,} || die + dodoc ChangeLog README || die +} + +pkg_postinst() { + elog "Please see the cacti's site for installation instructions:" + elog + elog "http://cacti.net/spine_install.php" + echo + ewarn "/etc/spine.conf should be readable by webserver, thus after you" + ewarn "decide on webserver do not forget to run the following command:" + ewarn + ewarn " # chown root: /etc/spine.conf" + echo +} diff --git a/net-analyzer/cacti-spine/files/cacti-spine-0.8.8b-fix-ac-macro.patch b/net-analyzer/cacti-spine/files/cacti-spine-0.8.8b-fix-ac-macro.patch new file mode 100644 index 0000000..81fb6db --- /dev/null +++ b/net-analyzer/cacti-spine/files/cacti-spine-0.8.8b-fix-ac-macro.patch @@ -0,0 +1,12 @@ +diff -ur cacti-spine-0.8.8b-orig/configure.ac cacti-spine-0.8.8b/configure.ac +--- cacti-spine-0.8.8b-orig/configure.ac 2013-08-27 01:45:32.400120526 +0000 ++++ cacti-spine-0.8.8b/configure.ac 2013-08-27 01:45:42.350084943 +0000 +@@ -10,7 +10,7 @@ + AC_LANG(C) + + AM_INIT_AUTOMAKE(spine, 0.8.8b) +-AM_CONFIG_HEADER(config/config.h) ++AC_CONFIG_HEADERS(config/config.h) + + # static libraries + AC_ARG_WITH(static,