]> Frank Brehm's Git Trees - portage.git/commitdiff
Neue ebuild
authorFrank Brehm <frank@brehm-online.com>
Mon, 2 Jun 2008 11:07:49 +0000 (11:07 +0000)
committerFrank Brehm <frank@brehm-online.com>
Mon, 2 Jun 2008 11:07:49 +0000 (11:07 +0000)
git-svn-id: http://svn.brehm-online.com/svn/portage@61 18afd0d2-9f2f-0410-a0ac-b8d70fd81a6b

media-fonts/sharefonts/ChangeLog [new file with mode: 0644]
media-fonts/sharefonts/Manifest [new file with mode: 0644]
media-fonts/sharefonts/metadata.xml [new file with mode: 0644]
media-fonts/sharefonts/sharefonts-0.10-r4.ebuild [new file with mode: 0644]
net-analyzer/nagios-nrpe/Manifest [new file with mode: 0644]
net-analyzer/nagios-nrpe/files/nrpe-conf.d [new file with mode: 0644]
net-analyzer/nagios-nrpe/files/nrpe-nagios3 [new file with mode: 0644]
net-analyzer/nagios-nrpe/nagios-nrpe-2.12-r102.ebuild [new file with mode: 0644]

diff --git a/media-fonts/sharefonts/ChangeLog b/media-fonts/sharefonts/ChangeLog
new file mode 100644 (file)
index 0000000..fc9fd46
--- /dev/null
@@ -0,0 +1,88 @@
+# ChangeLog for media-fonts/sharefonts
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/sharefonts/ChangeLog,v 1.18 2008/02/03 19:54:49 dirtyepic Exp $
+
+  05 May 2008; Frarnk Brehm <frank@brehm-online.com> sharefonts-0.10-r4.ebuild:
+  Brought into the local portage tree
+
+  03 Feb 2008; Ryan Hill <dirtyepic@gentoo.org> sharefonts-0.10-r1.ebuild,
+  sharefonts-0.10-r3.ebuild:
+  Fix description for bug #208721.  Fix quoting.
+
+  26 Nov 2006; Diego Pettenò <flameeyes@gentoo.org>
+  sharefonts-0.10-r3.ebuild:
+  Add ~x86-fbsd keyword.
+
+  11 Jul 2006; Aron Griffis <agriffis@gentoo.org> sharefonts-0.10-r3.ebuild:
+  Mark 0.10-r3 stable on ia64
+
+  14 Dec 2004; Markus Rothe <corsair@gentoo.org> sharefonts-0.10-r3.ebuild:
+  Stable on ppc64
+
+  01 Nov 2004; Markus Rothe <corsair@gentoo.org> sharefonts-0.10-r3.ebuild:
+  Marked ~ppc64; bug #68103
+
+  17 Oct 2004; Dylan Carlson <absinthe@gentoo.org>
+  sharefonts-0.10-r3.ebuild:
+  stable on amd64.
+
+  29 Sep 2004; Gustavo Zacarias <gustavoz@gentoo.org>
+  sharefonts-0.10-r3.ebuild:
+  Stable on sparc
+
+  29 Sep 2004; Mamoru KOMACHI <usata@gentoo.org> -sharefonts-0.10-r2.ebuild,
+  sharefonts-0.10-r3.ebuild:
+  Stable on x86, alpha and ppc.
+
+  01 Jun 2004; L. Boshell <leonardop@gentoo.org> sharefonts-0.10-r3.ebuild:
+  Added IUSE var.
+
+*sharefonts-0.10-r3 (31 May 2004)
+
+  31 May 2004; foser <foser@gentoo.org> sharefonts-0.10-r3.ebuild :
+  Use font eclass, add some more docs. Unsure about licensing
+
+  30 May 2004; L. Boshell <leonardop@gentoo.org> sharefonts-0.10-r1.ebuild:
+  Added IUSE var.
+
+*sharefonts-0.10-r2 (15 May 2004)
+
+  15 May 2004; Mamoru KOMACHI <usata@gentoo.org> sharefonts-0.10-r2.ebuild:
+  Changed font path to /usr/share/fonts. Bug #44842
+  Updated to reflect changes in freefonts-0.10-r2.
+
+  09 Feb 2004; Dylan Carlson <absinthe@gentoo.org> sharefonts-0.10-r1.ebuild:
+  amd64 marked stable.
+
+  03 Feb 2004; <augustus@gentoo.org> sharefonts-0.10-r1.ebuild:
+  Added ~amd64 keyword.
+
+  10 Oct 2003; L. Boshell <leonardop@gentoo.org> sharefonts-0.10-r1.ebuild:
+  Use mirror://gimp/. Adding gnome herd to metadata.xml (but feel free to
+  take it away from us if you feel you should be the maintainer :).
+
+*sharefonts-0.10-r1 (02 Jun 2003)
+
+  02 Jun 2003; Seemant Kulleen <seemant@gentoo.org> sharefonts-0.10-r1.ebuild:
+  moved to media-fonts
+
+  06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
+*sharefonts-0.10-r1 (1 Feb 2002)
+
+  15 Feb 2003; Mark Guertin <gerk@gentoo.org> sharefonts-0.10-r1.ebuild :
+  set ppc in keywords
+
+  20 Sept 2002; Mike Frysinger <vapier@gentoo.org> :
+  Updated HOMEPAGE variable
+
+  2 Aug 2002; phoen][x <phoenix@gentoo.org> sharefonts-0.10-r1.ebuild :
+  Added LICENSE, KEYWORDS, SLOT.
+
+  1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
+  
+  Added initial ChangeLog which should be updated whenever the package is
+  updated in any way. This changelog is targetted to users. This means that the
+  comments should well explained and written in clean English. The details about
+  writing correct changelogs are explained in the skel.ChangeLog file which you
+  can find in the root directory of the portage repository.
diff --git a/media-fonts/sharefonts/Manifest b/media-fonts/sharefonts/Manifest
new file mode 100644 (file)
index 0000000..08675c5
--- /dev/null
@@ -0,0 +1,4 @@
+DIST sharefonts-0.10.tar.gz 750577 RMD160 e97c480fd84d3dc0b726ede71f285e6387fa4022 SHA1 5dff356c338582c2485430bc0a764fee1666b657 SHA256 43bd85e7ac05a2e3fc496e6c5a3954f023a6602c13332625e07b7d26ad36b1e5
+EBUILD sharefonts-0.10-r4.ebuild 441 RMD160 f967b1e01e049ba418530e33d35e2a445eeb09ad SHA1 bc47bf1fd226d14d4c4b2eaef94fc88154e2a690 SHA256 4ec9008c825f47623aa701b7cd2fe5bc24f9e8d345b7af9717ed2312a80ba4b4
+MISC ChangeLog 3202 RMD160 85be14aad77db3b0c3329ee0d5a50cb084bde62a SHA1 3b7022289b3094fba5ff9fa4a55cfb5a30ca5758 SHA256 6e492c5a34284c59de50b27db09042f32a756bceee5a57e5b7d12d8d3d32157e
+MISC metadata.xml 177 RMD160 8ad6882ca65d776de9a10e9d28b3ff5c7237c3cd SHA1 3cfc9cdab6b1268e3c5aaba923c2f67abca5c2b8 SHA256 cefee51c44470649412e9a375c4282ca9970a9abb855160bf70a82f0bd176cf6
diff --git a/media-fonts/sharefonts/metadata.xml b/media-fonts/sharefonts/metadata.xml
new file mode 100644 (file)
index 0000000..e68de86
--- /dev/null
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>fonts</herd>
+<herd>gnome</herd>
+</pkgmetadata>
diff --git a/media-fonts/sharefonts/sharefonts-0.10-r4.ebuild b/media-fonts/sharefonts/sharefonts-0.10-r4.ebuild
new file mode 100644 (file)
index 0000000..442626a
--- /dev/null
@@ -0,0 +1,20 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit font
+
+DESCRIPTION="A Collection of Postscript Type1 Fonts"
+SRC_URI="mirror://gimp/fonts/${P}.tar.gz"
+HOMEPAGE="http://www.gimp.org/"
+LICENSE="public-domain"
+
+KEYWORDS="alpha amd64 arm ia64 ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
+IUSE=""
+SLOT="0"
+
+FONT_S=${WORKDIR}/sharefont
+S=${FONT_S}
+
+FONT_SUFFIX="pfb"
+
+DOCS="*.shareware"
diff --git a/net-analyzer/nagios-nrpe/Manifest b/net-analyzer/nagios-nrpe/Manifest
new file mode 100644 (file)
index 0000000..8c9d48c
--- /dev/null
@@ -0,0 +1,4 @@
+AUX nrpe-conf.d 141 RMD160 b56a0d17927c56c226da520615c094861fcf7e2b SHA1 64cc7a134bc61d150dabf33569b3d4d214da3131 SHA256 7c9053eda1b21e9491deb2134d956f6a2f9f4f75ddaf4c554d7823497b1ee64a
+AUX nrpe-nagios3 601 RMD160 50694b2424a6c61219da122019fda6ad2bdfd006 SHA1 958a2f6e4cec1c3c4c3762d246f3e3ab826e6650 SHA256 99b73bf533e2ebd300b65c2951e5db9890cf841f75df5b8f7b2bc96a609c8d35
+DIST nrpe-2.12.tar.gz 405725 RMD160 3413f84c9bb926a4dd55cc02d7b0a01bd7fc99ee SHA1 208595c175d726e8e377d565b21897f4de1648cc SHA256 7e8d093abef7d7ffc7219ad334823bdb612121df40de2dbaec9c6d0adeb04cfc
+EBUILD nagios-nrpe-2.12-r102.ebuild 2411 RMD160 41d49282e0221eb5b1b8fdecc7fd8122311cff8f SHA1 2c6680eb828db27b5839de8aeda71d975a03ee7a SHA256 2cc5d45d683ae30d0ebeaf1d217ccb840767d87a8d51020da1293016d99a9446
diff --git a/net-analyzer/nagios-nrpe/files/nrpe-conf.d b/net-analyzer/nagios-nrpe/files/nrpe-conf.d
new file mode 100644 (file)
index 0000000..957d2cc
--- /dev/null
@@ -0,0 +1,8 @@
+#
+# Additional start options for the nrpe-daemon
+#
+# for instance to start nrpe without SSL:
+#     NRPE_START_OPTS="-n"
+NRPE_START_OPTS=""
+
+
diff --git a/net-analyzer/nagios-nrpe/files/nrpe-nagios3 b/net-analyzer/nagios-nrpe/files/nrpe-nagios3
new file mode 100644 (file)
index 0000000..6ae4da4
--- /dev/null
@@ -0,0 +1,36 @@
+#!/sbin/runscript
+
+opts="${opts} reload"
+
+depend() {
+       need net
+}
+
+start() {
+       ebegin "Starting nrpe"
+       start-stop-daemon --start --quiet --name nrpe \
+       --startas /usr/bin/nrpe \
+               -c nagios:nagios \
+               -- -c /etc/nagios/nrpe.cfg \
+               --daemon $NRPE_START_OPTS
+       eend $? "Failed to Start nrpe"
+}
+
+stop() {
+       ebegin "Stopping nrpe"
+       start-stop-daemon --stop --quiet -n nrpe
+       eend $? "Failed to Stop nrpe"
+}
+
+reload() {
+       ebegin "Reloading nrpe"
+       kill -HUP `pgrep nrpe | head -1`
+       eend $? "Failed to reload nrpe"
+}
+
+restart() {
+       ebegin "Restarting nrpe"
+       svc_stop
+       svc_start
+       eend $? "Failed to Restart nrpe"
+}
diff --git a/net-analyzer/nagios-nrpe/nagios-nrpe-2.12-r102.ebuild b/net-analyzer/nagios-nrpe/nagios-nrpe-2.12-r102.ebuild
new file mode 100644 (file)
index 0000000..7bf077a
--- /dev/null
@@ -0,0 +1,86 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-nrpe/nagios-nrpe-2.12-r101.ebuild,v 1.1 2008/04/27 18:14:56 dertobi123 Exp $
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Nagios $PV NRPE - Nagios Remote Plugin Executor"
+HOMEPAGE="http://www.nagios.org/"
+SRC_URI="mirror://sourceforge/nagios/nrpe-${PV}.tar.gz"
+
+RESTRICT="mirror"
+LICENSE="GPL-2"
+SLOT="0"
+
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
+
+IUSE="ssl command-args"
+DEPEND=">=net-analyzer/nagios-plugins-1.3.0
+       ssl? ( dev-libs/openssl )"
+S="${WORKDIR}/nrpe-${PV}"
+
+pkg_setup() {
+       enewgroup nagios
+       enewuser nagios -1 /bin/bash /dev/null nagios
+}
+
+src_compile() {
+       local myconf
+
+       myconf="${myconf} $(use_enable ssl) \
+                                         $(use_enable command-args)"
+
+       # Generate the dh.h header file for better security (2005 Mar 20 eldad)
+       if useq ssl ; then
+               openssl dhparam -C 512 | sed -n '1,/BEGIN DH PARAMETERS/p' | grep -v "BEGIN DH PARAMETERS" > "${S}"/src/dh.h
+       fi
+
+       econf ${myconf} \
+               --host=${CHOST} \
+               --prefix=/usr \
+               --libexecdir=/usr/$(get_libdir)/nagios/plugins \
+               --localstatedir=/var/nagios \
+               --sysconfdir=/etc/nagios \
+               --with-nrpe-user=nagios \
+               --with-nrpe-grp=nagios || die "econf failed"
+       emake all || die "make failed"
+       # Add nifty nrpe check tool
+       cd contrib
+       $(tc-getCC) ${CFLAGS} -o nrpe_check_control     nrpe_check_control.c
+}
+
+src_install() {
+       dodoc LEGAL Changelog README SECURITY README.SSL \
+               contrib/README.nrpe_check_control
+
+       insinto /etc/nagios
+       newins "${S}"/sample-config/nrpe.cfg nrpe.cfg
+       fowners root:nagios /etc/nagios/nrpe.cfg
+       fperms 0640 /etc/nagios/nrpe.cfg
+
+       exeopts -m0750 -o nagios -g nagios
+       exeinto /usr/bin
+       doexe src/nrpe
+
+       exeopts -m0750 -o nagios -g nagios
+       exeinto /usr/$(get_libdir)/nagios/plugins
+       doexe src/check_nrpe contrib/nrpe_check_control
+
+       newinitd "${FILESDIR}"/nrpe-nagios3 nrpe
+       newconfd "${FILESDIR}"/nrpe-conf.d nrpe
+}
+
+pkg_postinst() {
+       einfo
+       einfo "If you are using the nrpe daemon, remember to edit"
+       einfo "the config file /etc/nagios/nrpe.cfg"
+       einfo
+
+       if useq command-args ; then
+               ewarn "You have enabled command-args for NRPE. This enables"
+               ewarn "the ability for clients to supply arguments to commands"
+               ewarn "which should be run. "
+               ewarn "THIS IS CONSIDERED A SECURITY RISK!"
+               ewarn "Please read /usr/share/doc/${PF}/SECURITY.bz2 for more info"
+       fi
+}