summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Sanda <ps@twin.jikos.cz>2016-06-08 11:59:15 -0700
committerPavel Sanda <ps@twin.jikos.cz>2016-06-08 11:59:15 -0700
commit40d5d22a6a61c65a25e69738b858455995fa375b (patch)
treec50279cab70e3c2f29da97b38cf7fbe884de17c5
parentmove from sunrise (diff)
downloadrebutia-40d5d22a6a61c65a25e69738b858455995fa375b.tar.gz
rebutia-40d5d22a6a61c65a25e69738b858455995fa375b.tar.bz2
rebutia-40d5d22a6a61c65a25e69738b858455995fa375b.zip
rush shell moved and fixed from sunrise
-rw-r--r--app-shells/rush/ChangeLog22
-rw-r--r--app-shells/rush/Manifest5
-rw-r--r--app-shells/rush/files/std2.patch13
-rw-r--r--app-shells/rush/metadata.xml5
-rw-r--r--app-shells/rush/rush-1.7.ebuild21
5 files changed, 66 insertions, 0 deletions
diff --git a/app-shells/rush/ChangeLog b/app-shells/rush/ChangeLog
new file mode 100644
index 0000000..925d2f5
--- /dev/null
+++ b/app-shells/rush/ChangeLog
@@ -0,0 +1,22 @@
+# ChangeLog for app-shells/rush
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 20 Sep 2011; Pavel Sanda (ps) <ps at twin.jikos.cz> rush-1.7.ebuild:
+ Add ~amd64 keyword
+
+ 05 Apr 2011; Pavel Sanda (ps) <ps at twin.jikos.cz> -rush-1.5.ebuild,
+ +rush-1.7.ebuild:
+ Bump new version 1.7
+
+ 26 Jan 2009; Pavel Sanda (ps) <ps at twin.jikos.cz> -rush-1.4.ebuild,
+ +rush-1.5.ebuild:
+ Bump new version 1.5
+
+ 19 Nov 2008; Thomas Sachau (Tommy[D]) <tommy@gentoo.org> rush-1.4.ebuild:
+ Add missing IUSE
+
+ 19 Nov 2008; Pavel Sanda (ps) <ps at twin.jikos.cz> +rush-1.4.ebuild,
+ +metadata.xml:
+ New ebuild for bug 247631
+
diff --git a/app-shells/rush/Manifest b/app-shells/rush/Manifest
new file mode 100644
index 0000000..0329530
--- /dev/null
+++ b/app-shells/rush/Manifest
@@ -0,0 +1,5 @@
+AUX std2.patch 473 SHA256 6714a2be3013a2763052df8fed440a806bc112f3915fc514e1836b84aa562280 SHA512 b92a6d72038195cb7d18d5954ac345a985be820d08bbebe37e30ad6924a6faaa236a971b075805ee757dbc25e1bf066071e78233981dbbece046c4857972064a WHIRLPOOL 194c69939b362ac958b9464cfb6da76f579782c54338ebba23fa403edbb82ecbbf1aa2ceb35fa7b4d375bb0338d7421bd21ad68457e7e8d69ea89ec9d986c913
+DIST rush-1.7.tar.gz 895317 SHA256 35077fa36902fd451db52b49bf059992a20cc8ea031437171f384670d77a003a SHA512 0e60cbac4b169ee11962ff3b133a8bd788e49349c5271d56c286f184a8a2cd519d1eeb0530d4644ccdcef1e9df0b55176e6492d778fcda645da927129be48496 WHIRLPOOL 8aa463b9e53d657a1e5add25c002128d91f6249e9b180282684d448dc4b3b59f9454ab5237781a785f22b5f1d56f5e6a5110a8a0dbf57c06eb72ea40348df5c8
+EBUILD rush-1.7.ebuild 578 SHA256 3271c392106274cb0add5c74a68146551c3035c63279df1257b6512aa089b953 SHA512 8dcac99be60e06ff33bf5a644e0968fce6c6226618c6d159b39568af41217183d23a451c3a2d03ac359857c7eff88da28e81890f1d82ddc0bbbb58d8710d72bd WHIRLPOOL c61b2d812e85dd422a829fe24339063711c99ffd587422d00c27e94aa8edcd613fb9caf3308b32952dc61e19ebf895acc01463de495b038c756f90f6c3b85593
+MISC ChangeLog 655 SHA256 54286cd0bf8c63ae057795e9bf0d7fe4badf788bc676d79f703ee8a7f16c78d0 SHA512 5a92b015568995e94dbe79210b2b6e2c07575171263241cc17542a83de6d9fe225cc02583a546bd90bb07bcbc6d794d5f8e0efdd6f94432da86410fef69b84d3 WHIRLPOOL ce8f425ac29eda374ead2b06f05d29b37e9fc775443e715c6e7046c5add1f6fea50ceb0ec47dabd33a794b5d002254f9e753112edbce6af00762b6564e7d82ee
+MISC metadata.xml 208 SHA256 c4841c87f0c2b9b5e679a27dc72180be8d508fb3f5df0fbab2ec2c805c0a6d82 SHA512 21d90d4547c76c80e50e134359dfbec42b158bbc16e4741738bdde5f67b7926d158dae1905948a477405b74e754ce4ed63cad910f220a709db8dfccf160e5288 WHIRLPOOL 33ec53f42c7a8c4c419989bd94e083c417574463e19c9c1322e6b96d0f5a6a52e3dd69fbedf2d11a7a77d24a93b81f3a604b6b33cac62548389537bf3e42df0e
diff --git a/app-shells/rush/files/std2.patch b/app-shells/rush/files/std2.patch
new file mode 100644
index 0000000..74fb115
--- /dev/null
+++ b/app-shells/rush/files/std2.patch
@@ -0,0 +1,13 @@
+--- gnu/stdio.in.h 2010-06-13 10:14:59.000000000 -0700
++++ std2 2016-06-08 11:53:00.000000000 -0700
+@@ -138,8 +138,10 @@
+ /* It is very rare that the developer ever has full control of stdin,
+ so any use of gets warrants an unconditional warning. Assume it is
+ always declared, since it is required by C89. */
++#if defined gets
+ #undef gets
+ _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
++#endif
+
+ #if @GNULIB_FOPEN@
+ # if @REPLACE_FOPEN@
diff --git a/app-shells/rush/metadata.xml b/app-shells/rush/metadata.xml
new file mode 100644
index 0000000..31dc017
--- /dev/null
+++ b/app-shells/rush/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer><email>maintainer-wanted@gentoo.org</email></maintainer>
+</pkgmetadata>
diff --git a/app-shells/rush/rush-1.7.ebuild b/app-shells/rush/rush-1.7.ebuild
new file mode 100644
index 0000000..af97b59
--- /dev/null
+++ b/app-shells/rush/rush-1.7.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+DESCRIPTION="Restricted user shell intended for use with ssh, rsh and similar."
+HOMEPAGE="http://puszcza.gnu.org.ua/projects/rush"
+SRC_URI="ftp://download.gnu.org.ua/pub/release/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+src_prepare() {
+ epatch "${FILESDIR}"/std2.patch
+}
+
+src_install() {
+ dodoc THANKS AUTHORS README NEWS || die "copying documentation failed"
+ emake DESTDIR="${D}" install || die "emake install failed"
+}