From ef7400de7bd939669dc5cdce3b7e5caf052f8e77 Mon Sep 17 00:00:00 2001 From: Michael Weber Date: Sun, 5 Sep 2010 23:03:28 +0000 Subject: Version bump to fix bug #326487 (Portage version: 2.1.8.3/cvs/Linux x86_64) --- net-misc/secpanel/ChangeLog | 11 ++++++-- net-misc/secpanel/secpanel-0.6.1.ebuild | 48 +++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+), 2 deletions(-) create mode 100644 net-misc/secpanel/secpanel-0.6.1.ebuild (limited to 'net-misc/secpanel') diff --git a/net-misc/secpanel/ChangeLog b/net-misc/secpanel/ChangeLog index 8b064ebadbe9..70626ff3b7ee 100644 --- a/net-misc/secpanel/ChangeLog +++ b/net-misc/secpanel/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-misc/secpanel -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/secpanel/ChangeLog,v 1.16 2008/03/25 18:06:58 armin76 Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/secpanel/ChangeLog,v 1.17 2010/09/05 23:03:28 xmw Exp $ + +*secpanel-0.6.1 (05 Sep 2010) + + 05 Sep 2010; Michael Weber +secpanel-0.6.1.ebuild: + Version bump to fix bug #326487, thanks to Mirosław Lach + . Naming scheme changed to upstreams. + Some Ebuild cleanups, like EAPI-2, variable odering etc. 25 Mar 2008; Raúl Porcel -secpanel-0.51.ebuild, secpanel-0.53.ebuild: diff --git a/net-misc/secpanel/secpanel-0.6.1.ebuild b/net-misc/secpanel/secpanel-0.6.1.ebuild new file mode 100644 index 000000000000..5fd120f437f4 --- /dev/null +++ b/net-misc/secpanel/secpanel-0.6.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/secpanel/secpanel-0.6.1.ebuild,v 1.1 2010/09/05 23:03:28 xmw Exp $ + +EAPI=2 + +DESCRIPTION="Graphical frontend for managing and running SSH and SCP connections" +HOMEPAGE="http://themediahost.de/secpanel/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~sparc ~x86" +IUSE="gif" + +DEPEND="!gif? ( || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] ) )" + +RDEPEND="virtual/ssh dev-lang/tk" + +S=${WORKDIR}/usr/local + +src_prepare() { + # install arch indep stuff in /usr/share instead of /usr/lib* + sed -i -e '/set libdir/s:../lib:../share:' bin/secpanel || die + + # fix the version + sed -i -e "/set spversion/s:0.6.0:${PV}:" bin/secpanel || die + + # optionally remove gifs... + if ! use gif; then + einfo "Setting secpanel to use PPM images" + sed -i -e 's/\.gif/\.ppm/g' bin/secpanel || die + + einfo "Converting all GIF images to PPM format..." + for i in $(find lib/secpanel/images -name "*.gif") ; do + einfo "convert ${i} => ${i//.gif/.ppm}" + convert "${i}" "ppm:${i//.gif/.ppm}" || die + rm -v "${i}" || die + done + fi +} + +src_install() { + dobin bin/secpanel || die + + insinto /usr/share/secpanel + doins -r lib/secpanel/{*.{tcl,config,profile,wait,txt,sh},images,spdistkey} || die +} -- cgit v1.2.3-65-gdbad