summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2007-02-04 13:46:26 +0000
committerDaniel Black <dragonheart@gentoo.org>2007-02-04 13:46:26 +0000
commitc1ed0f7e686e16f7806e6c812cd6c5b1b685e92c (patch)
tree76e1d7cbeb63eba58927090a92f58c5671d7e706 /net-misc
parentadded savedconfig.eclass - draft 1 (diff)
downloadhistorical-c1ed0f7e686e16f7806e6c812cd6c5b1b685e92c.tar.gz
historical-c1ed0f7e686e16f7806e6c812cd6c5b1b685e92c.tar.bz2
historical-c1ed0f7e686e16f7806e6c812cd6c5b1b685e92c.zip
added savedconfig.eclass prototype - similar to bug #158185
Package-Manager: portage-2.1.2-r5
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/dropbear/ChangeLog8
-rw-r--r--net-misc/dropbear/Manifest23
-rw-r--r--net-misc/dropbear/dropbear-0.48.1-r1.ebuild79
-rw-r--r--net-misc/dropbear/files/digest-dropbear-0.48.1-r13
4 files changed, 104 insertions, 9 deletions
diff --git a/net-misc/dropbear/ChangeLog b/net-misc/dropbear/ChangeLog
index af27eaf2563f..2b83ca5b8d33 100644
--- a/net-misc/dropbear/ChangeLog
+++ b/net-misc/dropbear/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-misc/dropbear
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/dropbear/ChangeLog,v 1.42 2007/01/04 06:06:09 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dropbear/ChangeLog,v 1.43 2007/02/04 13:46:26 dragonheart Exp $
+
+*dropbear-0.48.1-r1 (04 Feb 2007)
+
+ 04 Feb 2007; Daniel Black <dragonheart@gentoo.org>
+ +dropbear-0.48.1-r1.ebuild:
+ added savedconfig.eclass prototype - similar to bug #158185
04 Jan 2007; Mike Frysinger <vapier@gentoo.org> dropbear-0.48.1.ebuild:
Set default sftp path to point to the openssh binary #159894 by Lars Weiler.
diff --git a/net-misc/dropbear/Manifest b/net-misc/dropbear/Manifest
index 2eeca650ab17..7c3009f6c880 100644
--- a/net-misc/dropbear/Manifest
+++ b/net-misc/dropbear/Manifest
@@ -27,14 +27,18 @@ EBUILD dropbear-0.47-r1.ebuild 2104 RMD160 b37f29152ab5ac756322f300883d941cf66c0
MD5 4d31f11ea8628646cbf69f9ab96fbea7 dropbear-0.47-r1.ebuild 2104
RMD160 b37f29152ab5ac756322f300883d941cf66c0f84 dropbear-0.47-r1.ebuild 2104
SHA256 8995a1e3e60702d6e53bfa3517420a24236652e29e0c254274677aba6764a4b8 dropbear-0.47-r1.ebuild 2104
+EBUILD dropbear-0.48.1-r1.ebuild 2218 RMD160 318356ab8eab501c113e2956e4ef360029a72a7a SHA1 c77acf618c43a058d94b19071bcdcb2c25a7389d SHA256 0447af7ea8d91950d4fda5b4d23252a5b691e58b12d20574abad4b2e8f6cdc01
+MD5 7a13249248d082ed6777471afb3e4f8f dropbear-0.48.1-r1.ebuild 2218
+RMD160 318356ab8eab501c113e2956e4ef360029a72a7a dropbear-0.48.1-r1.ebuild 2218
+SHA256 0447af7ea8d91950d4fda5b4d23252a5b691e58b12d20574abad4b2e8f6cdc01 dropbear-0.48.1-r1.ebuild 2218
EBUILD dropbear-0.48.1.ebuild 2149 RMD160 3d68051b63fc2176ebe61d534be5495f2ce64b2b SHA1 12f9709aee1a96d6630278571ba0ea818593b2d0 SHA256 5d359a3ed70c549b59b81713b528e01a091411a1febb5e5c550307032ced3a26
MD5 c3c6805039de712159ad4d79636f9734 dropbear-0.48.1.ebuild 2149
RMD160 3d68051b63fc2176ebe61d534be5495f2ce64b2b dropbear-0.48.1.ebuild 2149
SHA256 5d359a3ed70c549b59b81713b528e01a091411a1febb5e5c550307032ced3a26 dropbear-0.48.1.ebuild 2149
-MISC ChangeLog 5444 RMD160 e2e31b29c7d6cdd2afa51dcf814eccd0691622f0 SHA1 d6136f80f01a255d9c6ebdd8f668a617649265b7 SHA256 b04c1ab9446b641c914165657af26cf475faec01549cdae8c55795fbe70a2b01
-MD5 84c9c7cd472b44f3f4d6583baeb92004 ChangeLog 5444
-RMD160 e2e31b29c7d6cdd2afa51dcf814eccd0691622f0 ChangeLog 5444
-SHA256 b04c1ab9446b641c914165657af26cf475faec01549cdae8c55795fbe70a2b01 ChangeLog 5444
+MISC ChangeLog 5630 RMD160 6146421324245acdd3bd90e0d3dd55f06fd175b4 SHA1 89af5414c9b1caf13b1a4ed24d4d9014a83a71d6 SHA256 0a01b689313147b6a333d61e2f23a49baea1b7cedf115f58614661d618bc818a
+MD5 2b8d963cb878e976299ebffde3c8e366 ChangeLog 5630
+RMD160 6146421324245acdd3bd90e0d3dd55f06fd175b4 ChangeLog 5630
+SHA256 0a01b689313147b6a333d61e2f23a49baea1b7cedf115f58614661d618bc818a ChangeLog 5630
MISC metadata.xml 1308 RMD160 3d63dd1fc0665e92bd4b0c52cc51973db3804adc SHA1 1dbbfd8727a6d8cd473be149284814aa65d65f9f SHA256 6f654db31c4e6b1d326b9d5384cd9f5bb170bdb742d54ab15a0229238c8a3aa1
MD5 a3d6e6bdd4ebf16f2f36f4f487a37518 metadata.xml 1308
RMD160 3d63dd1fc0665e92bd4b0c52cc51973db3804adc metadata.xml 1308
@@ -45,10 +49,13 @@ SHA256 cbd597dd4802c0fbc4da501e036afb1bbd09630b6e37d33c23a05302f4783786 files/di
MD5 05a19958312c0eed46835f4271b6a358 files/digest-dropbear-0.48.1 250
RMD160 815a00f515e5d79af772a535b37733e6617edc47 files/digest-dropbear-0.48.1 250
SHA256 59c68d33551a8c07420eef53fc9e676c1876ca0a8e36515c1d03063c7f898357 files/digest-dropbear-0.48.1 250
+MD5 05a19958312c0eed46835f4271b6a358 files/digest-dropbear-0.48.1-r1 250
+RMD160 815a00f515e5d79af772a535b37733e6617edc47 files/digest-dropbear-0.48.1-r1 250
+SHA256 59c68d33551a8c07420eef53fc9e676c1876ca0a8e36515c1d03063c7f898357 files/digest-dropbear-0.48.1-r1 250
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.1 (GNU/Linux)
+Version: GnuPG v1.4.5-ecc0.1.6 (GNU/Linux)
-iD8DBQFFnJmm8bi6rjpTunYRAphBAJ9zhTD/zGPIHCR5Ys3dOhIe6lOXmgCgijyC
-HlxZCwwGy9iH8NzSUJqAaeQ=
-=FHAS
+iD8DBQFFxePPmdTrptrqvGERAuNXAJ93ZezTn0K+/hQ9kM48dknIFpoFjgCghr4Y
+VVqauImzHZ14T9O2DhVSgeA=
+=Av+e
-----END PGP SIGNATURE-----
diff --git a/net-misc/dropbear/dropbear-0.48.1-r1.ebuild b/net-misc/dropbear/dropbear-0.48.1-r1.ebuild
new file mode 100644
index 000000000000..50fb5c5da061
--- /dev/null
+++ b/net-misc/dropbear/dropbear-0.48.1-r1.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dropbear/dropbear-0.48.1-r1.ebuild,v 1.1 2007/02/04 13:46:26 dragonheart Exp $
+
+inherit eutils savedconfig
+
+DESCRIPTION="small SSH 2 client/server designed for small memory environments"
+HOMEPAGE="http://matt.ucc.asn.au/dropbear/dropbear.html"
+SRC_URI="http://matt.ucc.asn.au/dropbear/releases/${P}.tar.gz
+ http://matt.ucc.asn.au/dropbear/testing/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="minimal multicall pam static zlib"
+
+RDEPEND="zlib? ( sys-libs/zlib )
+ pam? ( sys-libs/pam )"
+DEPEND="${RDEPEND}
+ >=sys-apps/portage-2.0.51"
+PROVIDE="virtual/ssh"
+
+set_options() {
+ use minimal \
+ && progs="dropbear dbclient dropbearkey" \
+ || progs="dropbear dbclient dropbearkey dropbearconvert scp"
+ use multicall && makeopts="${makeopts} MULTI=1"
+ use static && makeopts="${makeopts} STATIC=1"
+}
+
+pkg_setup() {
+ enewgroup sshd 22
+ enewuser sshd 22 -1 /var/empty sshd
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/dropbear-0.45-urandom.patch
+ epatch "${FILESDIR}"/dropbear-0.46-dbscp.patch
+ sed -i \
+ -e '/SFTPSERVER_PATH/s:".*":"/usr/lib/misc/sftp-server":' \
+ options.h
+ restore_config options.h
+}
+
+src_compile() {
+ local myconf
+ # --disable-syslog? wouldn't need logger in init.d
+ use minimal && myconf="--disable-lastlog"
+ econf ${myconf} $(use_enable zlib) $(use_enable pam) || die
+ set_options
+ emake ${makeopts} PROGRAMS="${progs}" || die "make ${makeopts} failed"
+}
+
+src_install() {
+ set_options
+ make install DESTDIR="${D}" ${makeopts} PROGRAMS="${progs}" || die "make install failed"
+ doman *.8
+ newinitd "${FILESDIR}"/dropbear.init.d dropbear
+ newconfd "${FILESDIR}"/dropbear.conf.d dropbear
+ dodoc CHANGES README TODO SMALL MULTI
+
+ # The multi install target does not install the links
+ if use multicall ; then
+ cd "${D}"/usr/bin
+ local x
+ for x in ${progs} ; do
+ ln -s dropbearmulti ${x}
+ done
+ rm -f dropbear
+ dodir /usr/sbin
+ dosym ../bin/dropbearmulti /usr/sbin/dropbear
+ cd "${S}"
+ fi
+ save_config options.h
+
+ mv "${D}"/usr/bin/{,db}scp
+}
diff --git a/net-misc/dropbear/files/digest-dropbear-0.48.1-r1 b/net-misc/dropbear/files/digest-dropbear-0.48.1-r1
new file mode 100644
index 000000000000..1887eac5c2f4
--- /dev/null
+++ b/net-misc/dropbear/files/digest-dropbear-0.48.1-r1
@@ -0,0 +1,3 @@
+MD5 ca8e53a766faec831882831364568421 dropbear-0.48.1.tar.gz 1473114
+RMD160 055740e5978f91ca34d318e6a6f8052d182e8d7c dropbear-0.48.1.tar.gz 1473114
+SHA256 fa6c3567e293fa0aa249db695b9d5e43ef3f8c11bab74a9b42acc9a0a5c96742 dropbear-0.48.1.tar.gz 1473114