summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2010-09-05 23:03:28 +0000
committerMichael Weber <xmw@gentoo.org>2010-09-05 23:03:28 +0000
commitef7400de7bd939669dc5cdce3b7e5caf052f8e77 (patch)
treeb9ec8a84f8a33ab11e48c6890304e49077bfa126 /net-misc/secpanel
parentVersion bump KDE SC 4.5.1 (diff)
downloadgentoo-2-ef7400de7bd939669dc5cdce3b7e5caf052f8e77.tar.gz
gentoo-2-ef7400de7bd939669dc5cdce3b7e5caf052f8e77.tar.bz2
gentoo-2-ef7400de7bd939669dc5cdce3b7e5caf052f8e77.zip
Version bump to fix bug #326487
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/secpanel')
-rw-r--r--net-misc/secpanel/ChangeLog11
-rw-r--r--net-misc/secpanel/secpanel-0.6.1.ebuild48
2 files changed, 57 insertions, 2 deletions
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 <xmw@gentoo.org> +secpanel-0.6.1.ebuild:
+ Version bump to fix bug #326487, thanks to Mirosław Lach
+ <milek-subs@czuwaj.net>. Naming scheme changed to upstreams.
+ Some Ebuild cleanups, like EAPI-2, variable odering etc.
25 Mar 2008; Raúl Porcel <armin76@gentoo.org> -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
+}