commit:     b195d9dd46e3c5eb537f91170c85955a67dc2277
Author:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 29 22:36:40 2015 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sat Aug 29 22:36:40 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b195d9dd

app-shells/localshell: Remove old + useless patches.

Package-Manager: portage-2.2.18
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>

 app-shells/localshell/Manifest                     |  3 --
 .../localshell/files/localshell-1.2+gcc-4.3.patch  | 45 ----------------------
 .../files/localshell-1.3.1-glibc-2.10.patch        | 12 ------
 app-shells/localshell/localshell-1.1.ebuild        | 28 --------------
 app-shells/localshell/localshell-1.2.ebuild        | 32 ---------------
 app-shells/localshell/localshell-1.3.1.ebuild      | 36 -----------------
 app-shells/localshell/localshell-1.3.4.ebuild      | 31 ---------------
 7 files changed, 187 deletions(-)

diff --git a/app-shells/localshell/Manifest b/app-shells/localshell/Manifest
index 3a724ea..570cc35 100644
--- a/app-shells/localshell/Manifest
+++ b/app-shells/localshell/Manifest
@@ -1,4 +1 @@
-DIST localshell-1.1.tar.bz2 96494 SHA256 
9b81327a0831ac3be94c23f2b4be4a38674ace69f202f8f093c34a2b589b7fc3 SHA512 
bee199e832006b5e98ef52a32d9883b9c9b1ac7e9886d2e38d694c01bc0b64eaaaeaf28ef61518e56beabf4f63cfcf429de3d9ba194f17dfc03b289951853d04
 WHIRLPOOL 
17fec4d8c289d13057c212f0bf0fd2e4c3319771b89bb1065457a30e4381d487178e83aba7dd86ba323eca97af1cd203ec396a4a791d8b6bc91ab26d984fdd4a
-DIST localshell-1.2.tar.bz2 96626 SHA256 
0be22511c4ec6934b30e99cbc5ce9dff27f4e09c527b6046f0569d870c38e746 SHA512 
765f690f9e120273f0ced1528551f36c944628630d3707d6785d4fa258bc134f3bfc9d74c9d5e772f14ac5675964f0aadad63469c8f3e9d7d70206f0a1a1de39
 WHIRLPOOL 
c9ce10c0d125f18bbd78606a466196d0395a8d571a0b950a4dc4e7c52895d6521a452ff0c60d59c2796776a8de1c988842c5404a1935d9f424b2a34e1654fd2e
-DIST localshell-1.3.1.tar.bz2 104746 SHA256 
185e21e5a53c8db69b1810fd9c5dea2e1e790bb31f61273360a36467a5e61624 SHA512 
6e4248846232ac602b1bfd3b5a537a455186056474852b758b5755ac80a81acc3616cd465674acc08e0d5767a98b0279fbea3ff11ea3e77236a4157914145ea0
 WHIRLPOOL 
9724e68bd1ba77aa91447a6cccbb68c4a04b7e01623b67c869f2458fffc1a5bbd92f545e684ad059de12d4a079ec570b83c3c3a8d653a3844453cdf10707f82b
 DIST localshell-1.3.4.tar.bz2 113170 SHA256 
666b56b7d17e099d121c3d3dfeefc2c713e7471c6b6926f28acd4284486cd811 SHA512 
3a302b7d1b00e6ac8025a2145b3d12b916a60a9bad811d63c78c6eaac1b9a832f8796ab4429c677423287f70d6f6b31283aa2c90d3634ebe4bed52e1e240390d
 WHIRLPOOL 
7aa67206e11d4ab1088cc42cfa36899a2dafad2e97dfc611f3901556da2b51fee76ebabe69bf749bdfa64406e0a6e06f68c754a0e06011adb2cec8bbb78ad85c

diff --git a/app-shells/localshell/files/localshell-1.2+gcc-4.3.patch 
b/app-shells/localshell/files/localshell-1.2+gcc-4.3.patch
deleted file mode 100644
index 9bd2aee..0000000
--- a/app-shells/localshell/files/localshell-1.2+gcc-4.3.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-diff -aur localshell-1.2.old/src/common.cxx localshell-1.2/src/common.cxx
---- localshell-1.2.old/src/common.cxx  2008-12-12 20:03:48.000000000 +0100
-+++ localshell-1.2/src/common.cxx      2008-12-12 20:15:31.000000000 +0100
-@@ -5,6 +5,7 @@
- #include "structures.hh"
- #include "common.hh"
- #include <fstream>
-+#include <cstring>
- using namespace std;
- 
- bool match_user(uid_t uid, gid_t gid) {
-diff -aur localshell-1.2.old/src/config.cxx localshell-1.2/src/config.cxx
---- localshell-1.2.old/src/config.cxx  2008-12-12 20:03:48.000000000 +0100
-+++ localshell-1.2/src/config.cxx      2008-12-12 20:15:07.000000000 +0100
-@@ -10,6 +10,8 @@
- #include <fstream>
- #include <map>
- #include <vector>
-+#include <cstring>
-+#include <cstdlib>
- using namespace std;
- 
- int load_config( const char *cfg_filename, configuration &conf) {
-diff -aur localshell-1.2.old/src/config.hh localshell-1.2/src/config.hh
---- localshell-1.2.old/src/config.hh   2008-12-12 20:03:48.000000000 +0100
-+++ localshell-1.2/src/config.hh       2008-12-12 20:14:00.000000000 +0100
-@@ -2,6 +2,7 @@
- #ifndef _CONFIG_HH_
- #define _CONFIG_HH_
- #include "structures.hh"
-+#include <fstream>
- 
- int load_config( const char *cfg_filename, configuration &conf);
- int parse_config(fstream &fs, configuration &conf);
-diff -aur localshell-1.2.old/src/localshell.cxx 
localshell-1.2/src/localshell.cxx
---- localshell-1.2.old/src/localshell.cxx      2008-12-12 20:03:48.000000000 
+0100
-+++ localshell-1.2/src/localshell.cxx  2008-12-12 20:04:14.000000000 +0100
-@@ -10,6 +10,7 @@
- 
- #include <map>
- #include <vector>
-+#include <cstring>
- using namespace std;
- 
- int main(int argc, char** argv) {

diff --git a/app-shells/localshell/files/localshell-1.3.1-glibc-2.10.patch 
b/app-shells/localshell/files/localshell-1.3.1-glibc-2.10.patch
deleted file mode 100644
index 7bdd8f9..0000000
--- a/app-shells/localshell/files/localshell-1.3.1-glibc-2.10.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ur localshell-1.3.1.orig/src/config.cxx localshell-1.3.1/src/config.cxx
---- localshell-1.3.1.orig/src/config.cxx       2009-01-09 03:40:11.000000000 
+0200
-+++ localshell-1.3.1/src/config.cxx    2009-08-09 18:15:17.000000000 +0300
-@@ -121,7 +121,7 @@
-       // PRIORITY,SHELL,ALLOWED
-       long priority = atol(argvalue);
- 
--      char* shell = strstr(argvalue,",");
-+      char* shell = const_cast<char*> (strstr(argvalue,","));
-       if(NULL == shell || '\0' == shell[1] ) { 
-               fprintf(stderr,"%s: badly formatted entry 
(shell):%s\n",PACKAGE,argvalue); 
-               return EINVAL; 

diff --git a/app-shells/localshell/localshell-1.1.ebuild 
b/app-shells/localshell/localshell-1.1.ebuild
deleted file mode 100644
index e1dd255..0000000
--- a/app-shells/localshell/localshell-1.1.ebuild
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-DESCRIPTION="Localshell allows per-user/group local control of shell execution"
-HOMEPAGE="http://oss.orbis-terrarum.net/localshell/";
-SRC_URI="${HOMEPAGE}/${P}.tar.bz2"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~ppc ~x86"
-IUSE=""
-DEPEND=""
-#RDEPEND=""
-
-src_compile() {
-       # this is a shell, it needs to be in /bin
-       econf --bindir=/bin --sysconfdir=/etc || die "econf failed"
-       emake || die "emake failed"
-}
-
-src_install() {
-       emake install DESTDIR="${D}" || die "emake install failed"
-}
-
-pkg_postinst() {
-       elog "Remember to add /bin/localshell to /etc/shells and create"
-       elog "/etc/localshell.conf based on the included configuration examples"
-}

diff --git a/app-shells/localshell/localshell-1.2.ebuild 
b/app-shells/localshell/localshell-1.2.ebuild
deleted file mode 100644
index 8f8f485..0000000
--- a/app-shells/localshell/localshell-1.2.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-inherit base
-
-DESCRIPTION="Localshell allows per-user/group local control of shell execution"
-HOMEPAGE="http://oss.orbis-terrarum.net/localshell/";
-SRC_URI="${HOMEPAGE}/${P}.tar.bz2"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE=""
-DEPEND=""
-#RDEPEND=""
-
-PATCHES=( "${FILESDIR}/${P}+gcc-4.3.patch" )
-
-src_compile() {
-       # this is a shell, it needs to be in /bin
-       econf --bindir=/bin --sysconfdir=/etc || die "econf failed"
-       emake || die "emake failed"
-}
-
-src_install() {
-       emake install DESTDIR="${D}" || die "emake install failed"
-}
-
-pkg_postinst() {
-       elog "Remember to add /bin/localshell to /etc/shells and create"
-       elog "/etc/localshell.conf based on the included configuration examples"
-}

diff --git a/app-shells/localshell/localshell-1.3.1.ebuild 
b/app-shells/localshell/localshell-1.3.1.ebuild
deleted file mode 100644
index a07cae3..0000000
--- a/app-shells/localshell/localshell-1.3.1.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-inherit base eutils
-
-DESCRIPTION="Localshell allows per-user/group local control of shell execution"
-HOMEPAGE="http://oss.orbis-terrarum.net/localshell/";
-SRC_URI="${HOMEPAGE}/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE=""
-
-src_unpack() {
-       unpack ${A}
-       cd "${S}"
-       epatch "${FILESDIR}"/${P}-glibc-2.10.patch
-}
-
-src_compile() {
-       # this is a shell, it needs to be in /bin
-       econf --bindir=/bin --sysconfdir=/etc || die "econf failed"
-       emake || die "emake failed"
-}
-
-src_install() {
-       emake install DESTDIR="${D}" || die "emake install failed"
-       rm -f "${D}"/usr/share/doc/${PF}/{COPYING,INSTALL}
-}
-
-pkg_postinst() {
-       elog "Remember to add /bin/localshell to /etc/shells and create"
-       elog "/etc/localshell.conf based on the included configuration examples"
-}

diff --git a/app-shells/localshell/localshell-1.3.4.ebuild 
b/app-shells/localshell/localshell-1.3.4.ebuild
deleted file mode 100644
index 4bae51a..0000000
--- a/app-shells/localshell/localshell-1.3.4.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=4
-
-inherit base eutils
-
-DESCRIPTION="Localshell allows per-user/group local control of shell execution"
-HOMEPAGE="http://git.orbis-terrarum.net/?p=infrastructure/localshellc.git;a=summary";
-SRC_URI="${HOMEPAGE}/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE=""
-
-src_configure() {
-       # this is a shell, it needs to be in /bin
-       econf --bindir=/bin --sysconfdir=/etc
-}
-
-src_install() {
-       emake install DESTDIR="${D}" || die "emake install failed"
-       rm -f "${D}"/usr/share/doc/${PF}/{COPYING,INSTALL}
-}
-
-pkg_postinst() {
-       elog "Remember to add /bin/localshell to /etc/shells and create"
-       elog "/etc/localshell.conf based on the included configuration examples"
-}

Reply via email to