summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-shells/localshell
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-shells/localshell')
-rw-r--r--app-shells/localshell/Manifest4
-rw-r--r--app-shells/localshell/files/localshell-1.2+gcc-4.3.patch45
-rw-r--r--app-shells/localshell/files/localshell-1.3.1-glibc-2.10.patch12
-rw-r--r--app-shells/localshell/localshell-1.1.ebuild28
-rw-r--r--app-shells/localshell/localshell-1.2.ebuild32
-rw-r--r--app-shells/localshell/localshell-1.3.1.ebuild36
-rw-r--r--app-shells/localshell/localshell-1.3.4.ebuild31
-rw-r--r--app-shells/localshell/metadata.xml7
8 files changed, 195 insertions, 0 deletions
diff --git a/app-shells/localshell/Manifest b/app-shells/localshell/Manifest
new file mode 100644
index 00000000000..3a724eaec67
--- /dev/null
+++ b/app-shells/localshell/Manifest
@@ -0,0 +1,4 @@
+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
new file mode 100644
index 00000000000..9bd2aeecd70
--- /dev/null
+++ b/app-shells/localshell/files/localshell-1.2+gcc-4.3.patch
@@ -0,0 +1,45 @@
+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
new file mode 100644
index 00000000000..7bdd8f9a8d1
--- /dev/null
+++ b/app-shells/localshell/files/localshell-1.3.1-glibc-2.10.patch
@@ -0,0 +1,12 @@
+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
new file mode 100644
index 00000000000..e1dd2559456
--- /dev/null
+++ b/app-shells/localshell/localshell-1.1.ebuild
@@ -0,0 +1,28 @@
+# 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
new file mode 100644
index 00000000000..8f8f48572a6
--- /dev/null
+++ b/app-shells/localshell/localshell-1.2.ebuild
@@ -0,0 +1,32 @@
+# 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
new file mode 100644
index 00000000000..a07cae39b99
--- /dev/null
+++ b/app-shells/localshell/localshell-1.3.1.ebuild
@@ -0,0 +1,36 @@
+# 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
new file mode 100644
index 00000000000..4bae51acc60
--- /dev/null
+++ b/app-shells/localshell/localshell-1.3.4.ebuild
@@ -0,0 +1,31 @@
+# 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"
+}
diff --git a/app-shells/localshell/metadata.xml b/app-shells/localshell/metadata.xml
new file mode 100644
index 00000000000..c6d862855eb
--- /dev/null
+++ b/app-shells/localshell/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+ <email>robbat2@gentoo.org</email>
+</maintainer>
+</pkgmetadata>