diff options
author | Jim Ramsay <lack@gentoo.org> | 2008-02-28 15:17:04 +0000 |
---|---|---|
committer | Jim Ramsay <lack@gentoo.org> | 2008-02-28 15:17:04 +0000 |
commit | e13ccda6b402501acb6eb4a6e40062b616e775cd (patch) | |
tree | c1ebe3fcac46514681b7b499f725634da2b8fd87 /app-admin | |
parent | I keyworded the wrong ebuild (diff) | |
download | gentoo-2-e13ccda6b402501acb6eb4a6e40062b616e775cd.tar.gz gentoo-2-e13ccda6b402501acb6eb4a6e40062b616e775cd.tar.bz2 gentoo-2-e13ccda6b402501acb6eb4a6e40062b616e775cd.zip |
Version bump - 2.3.1 is released (Bug #209937)
(Portage version: 2.1.4.1)
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/gkrellm/ChangeLog | 14 | ||||
-rw-r--r-- | app-admin/gkrellm/files/gkrellm-2.3-Makefile.patch (renamed from app-admin/gkrellm/files/gkrellm-2.3.0-Makefile.patch) | 0 | ||||
-rw-r--r-- | app-admin/gkrellm/files/gkrellm-2.3-build.patch (renamed from app-admin/gkrellm/files/gkrellm-2.3.0-build.patch) | 0 | ||||
-rw-r--r-- | app-admin/gkrellm/files/gkrellm-2.3-gnutls.patch (renamed from app-admin/gkrellm/files/gkrellm-2.3.0-gnutls.patch) | 0 | ||||
-rw-r--r-- | app-admin/gkrellm/files/gkrellmd | 4 | ||||
-rw-r--r-- | app-admin/gkrellm/files/gkrellmd.conf | 5 | ||||
-rw-r--r-- | app-admin/gkrellm/gkrellm-2.3.0.ebuild | 10 | ||||
-rw-r--r-- | app-admin/gkrellm/gkrellm-2.3.1.ebuild | 109 |
8 files changed, 133 insertions, 9 deletions
diff --git a/app-admin/gkrellm/ChangeLog b/app-admin/gkrellm/ChangeLog index f3816e8a15b0..be6ffab5b97f 100644 --- a/app-admin/gkrellm/ChangeLog +++ b/app-admin/gkrellm/ChangeLog @@ -1,6 +1,16 @@ # ChangeLog for app-admin/gkrellm -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/gkrellm/ChangeLog,v 1.151 2007/10/19 20:05:54 armin76 Exp $ +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/gkrellm/ChangeLog,v 1.152 2008/02/28 15:17:03 lack Exp $ + +*gkrellm-2.3.1 (28 Feb 2008) + + 28 Feb 2008; Jim Ramsay <lack@gentoo.org> + -files/gkrellm-2.3.0-Makefile.patch, -files/gkrellm-2.3.0-build.patch, + -files/gkrellm-2.3.0-gnutls.patch, +files/gkrellm-2.3-Makefile.patch, + +files/gkrellm-2.3-build.patch, +files/gkrellm-2.3-gnutls.patch, + files/gkrellmd, +files/gkrellmd.conf, gkrellm-2.3.0.ebuild, + +gkrellm-2.3.1.ebuild: + Version bump - 2.3.1 is released (Bug #209937) 19 Oct 2007; Raúl Porcel <armin76@gentoo.org> gkrellm-2.3.0.ebuild: alpha/ia64/sparc stable wrt #195522 diff --git a/app-admin/gkrellm/files/gkrellm-2.3.0-Makefile.patch b/app-admin/gkrellm/files/gkrellm-2.3-Makefile.patch index 0648d3d0bc5e..0648d3d0bc5e 100644 --- a/app-admin/gkrellm/files/gkrellm-2.3.0-Makefile.patch +++ b/app-admin/gkrellm/files/gkrellm-2.3-Makefile.patch diff --git a/app-admin/gkrellm/files/gkrellm-2.3.0-build.patch b/app-admin/gkrellm/files/gkrellm-2.3-build.patch index 38de713aa64b..38de713aa64b 100644 --- a/app-admin/gkrellm/files/gkrellm-2.3.0-build.patch +++ b/app-admin/gkrellm/files/gkrellm-2.3-build.patch diff --git a/app-admin/gkrellm/files/gkrellm-2.3.0-gnutls.patch b/app-admin/gkrellm/files/gkrellm-2.3-gnutls.patch index 54d86000ca37..54d86000ca37 100644 --- a/app-admin/gkrellm/files/gkrellm-2.3.0-gnutls.patch +++ b/app-admin/gkrellm/files/gkrellm-2.3-gnutls.patch diff --git a/app-admin/gkrellm/files/gkrellmd b/app-admin/gkrellm/files/gkrellmd index 3f9075a2d805..f7f90a24ab1c 100644 --- a/app-admin/gkrellm/files/gkrellmd +++ b/app-admin/gkrellm/files/gkrellmd @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/gkrellm/files/gkrellmd,v 1.6 2006/11/02 10:44:06 nyhm Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/gkrellm/files/gkrellmd,v 1.7 2008/02/28 15:17:04 lack Exp $ depend() { need net @@ -11,7 +11,7 @@ depend() { start() { ebegin "Starting GNU Krell Monitor daemon" - start-stop-daemon --start --quiet --background --pidfile /var/run/gkrellmd.pid --make-pidfile --exec /usr/bin/gkrellmd + start-stop-daemon --start --quiet --background --pidfile /var/run/gkrellmd.pid --make-pidfile --exec /usr/bin/gkrellmd ${GKRELLM_OPTS} eend $? } diff --git a/app-admin/gkrellm/files/gkrellmd.conf b/app-admin/gkrellm/files/gkrellmd.conf new file mode 100644 index 000000000000..1388801ccbd8 --- /dev/null +++ b/app-admin/gkrellm/files/gkrellmd.conf @@ -0,0 +1,5 @@ +# Config file for gkrellmd + +# If you need to pass extra options to gkrellmd, you may set them here. +# See 'gkrellmd --help' for a list of options. +# GKRELLMD_OPTS="" diff --git a/app-admin/gkrellm/gkrellm-2.3.0.ebuild b/app-admin/gkrellm/gkrellm-2.3.0.ebuild index 934601148e03..c6b3ce17a9e6 100644 --- a/app-admin/gkrellm/gkrellm-2.3.0.ebuild +++ b/app-admin/gkrellm/gkrellm-2.3.0.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/gkrellm/gkrellm-2.3.0.ebuild,v 1.8 2007/12/11 08:56:16 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/gkrellm/gkrellm-2.3.0.ebuild,v 1.9 2008/02/28 15:17:03 lack Exp $ inherit eutils multilib toolchain-funcs @@ -35,9 +35,9 @@ src_unpack() { unpack ${A} cd "${S}" - epatch "${FILESDIR}"/${P}-build.patch - epatch "${FILESDIR}"/${P}-Makefile.patch - use gnutls && epatch "${FILESDIR}"/${P}-gnutls.patch + epatch "${FILESDIR}"/${PN}-2.3-build.patch + epatch "${FILESDIR}"/${PN}-2.3-Makefile.patch + use gnutls && epatch "${FILESDIR}"/${PN}-2.3-gnutls.patch sed -e 's:#user\tnobody:user\tgkrellmd:' \ -e 's:#group\tproc:group\tgkrellmd:' \ diff --git a/app-admin/gkrellm/gkrellm-2.3.1.ebuild b/app-admin/gkrellm/gkrellm-2.3.1.ebuild new file mode 100644 index 000000000000..d307d0785cff --- /dev/null +++ b/app-admin/gkrellm/gkrellm-2.3.1.ebuild @@ -0,0 +1,109 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/gkrellm/gkrellm-2.3.1.ebuild,v 1.1 2008/02/28 15:17:03 lack Exp $ + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="Single process stack of various system monitors" +HOMEPAGE="http://www.gkrellm.net/" +SRC_URI="http://members.dslextreme.com/users/billw/${PN}/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="hddtemp gnutls lm_sensors nls ssl X kernel_FreeBSD" + +RDEPEND=">=dev-libs/glib-2 + hddtemp? ( app-admin/hddtemp ) + gnutls? ( net-libs/gnutls ) + lm_sensors? ( sys-apps/lm_sensors ) + nls? ( virtual/libintl ) + ssl? ( dev-libs/openssl ) + X? ( >=x11-libs/gtk+-2 )" +DEPEND="${RDEPEND} + dev-util/pkgconfig + nls? ( sys-devel/gettext )" + +pkg_setup() { + enewgroup gkrellmd + enewuser gkrellmd -1 -1 -1 gkrellmd + TARGET= + use kernel_FreeBSD && TARGET="freebsd" +} + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/${PN}-2.3-build.patch + epatch "${FILESDIR}"/${PN}-2.3-Makefile.patch + use gnutls && epatch "${FILESDIR}"/${PN}-2.3-gnutls.patch + + sed -e 's:#user\tnobody:user\tgkrellmd:' \ + -e 's:#group\tproc:group\tgkrellmd:' \ + -i server/gkrellmd.conf || die "sed gkrellmd.conf failed" + + sed -e "s:/usr/lib:/usr/$(get_libdir):" \ + -e "s:/usr/local/lib:/usr/local/$(get_libdir):" \ + -i src/${PN}.h || die "sed ${PN}.h failed" +} + +src_compile() { + if use X ; then + emake ${TARGET} \ + CC="$(tc-getCC)" \ + INSTALLROOT=/usr \ + INCLUDEDIR=/usr/include/gkrellm2 \ + LOCALEDIR=/usr/share/locale \ + $(use nls || echo enable_nls=0) \ + $(use gnutls || echo without-gnutls=yes) \ + $(use lm_sensors || echo without-libsensors=yes) \ + $(use ssl || echo without-ssl=yes) \ + || die "emake failed" + else + cd server + emake ${TARGET} \ + CC="$(tc-getCC)" \ + $(use lm_sensors || echo without-libsensors=yes) \ + || die "emake failed" + fi +} + +src_install() { + if use X ; then + emake install${TARGET:+_}${TARGET} \ + $(use nls || echo enable_nls=0) \ + INSTALLDIR="${D}"/usr/bin \ + INCLUDEDIR="${D}"/usr/include \ + LOCALEDIR="${D}"/usr/share/locale \ + PKGCONFIGDIR="${D}"/usr/$(get_libdir)/pkgconfig \ + MANDIR="${D}"/usr/share/man/man1 \ + || die "emake install failed" + dosym gkrellm /usr/bin/gkrellm2 + + dohtml *.html + + newicon src/icon.xpm ${PN}.xpm + make_desktop_entry ${PN} GKrellM ${PN}.xpm + else + dobin server/gkrellmd || die "dobin failed" + + insinto /usr/include/gkrellm2 + doins server/gkrellmd.h || die "doins failed" + fi + + doinitd "${FILESDIR}"/gkrellmd || die "doinitd failed" + doconfd "${FILESDIR}"/gkrellmd.conf || die "doconfd failed" + + insinto /etc + doins server/gkrellmd.conf || die "doins failed" + + dodoc Changelog CREDITS README +} + +pkg_postinst() { + ewarn "The old executable name 'gkrellm2' is deprecated." + ewarn "We have provided a compatible symlink for your convenience," + ewarn "but this is only temporary. You should run this as just 'gkrellm'" + ewarn "instead." +} |