public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] dev/bircoph:master commit in: sys-apps/userchroot/
@ 2016-08-11 22:35 Andrew Savchenko
  0 siblings, 0 replies; only message in thread
From: Andrew Savchenko @ 2016-08-11 22:35 UTC (permalink / raw
  To: gentoo-commits

commit:     408012783015e8a9793ece0906b30d6c2a36eb8d
Author:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 11 22:33:53 2016 +0000
Commit:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Thu Aug 11 22:33:53 2016 +0000
URL:        https://gitweb.gentoo.org/dev/bircoph.git/commit/?id=40801278

sys-apps/userchroot: updates and fixes

- use secure permissions on suid binary
- GLEP 67 update
- EAPI 6 update
- respect $LDFLAGS

 sys-apps/userchroot/metadata.xml             |  6 +++---
 sys-apps/userchroot/userchroot-0.1-r1.ebuild | 23 ++++++++++++++++++++++
 sys-apps/userchroot/userchroot-0.1.ebuild    | 29 ----------------------------
 3 files changed, 26 insertions(+), 32 deletions(-)

diff --git a/sys-apps/userchroot/metadata.xml b/sys-apps/userchroot/metadata.xml
index 38b86b8..65062b5 100644
--- a/sys-apps/userchroot/metadata.xml
+++ b/sys-apps/userchroot/metadata.xml
@@ -1,8 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<maintainer>
-  <email>bircoph@gentoo.org</email>
-  <name>Andrew Savchenko</name>
+<maintainer type="person">
+	<email>bircoph@gentoo.org</email>
+	<name>Andrew Savchenko</name>
 </maintainer>
 </pkgmetadata>

diff --git a/sys-apps/userchroot/userchroot-0.1-r1.ebuild b/sys-apps/userchroot/userchroot-0.1-r1.ebuild
new file mode 100644
index 0000000..6073fb0
--- /dev/null
+++ b/sys-apps/userchroot/userchroot-0.1-r1.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit toolchain-funcs
+
+DESCRIPTION="Safe chroot from userspace"
+HOMEPAGE="http://koltsoff.com/pub/userchroot/"
+SRC_URI="http://koltsoff.com/pub/userchroot/releases/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+src_compile() {
+	$(tc-getCC) ${CFLAGS} ${LDFLAGS} userchroot.c -o userchroot || die "compilation failed"
+}
+
+src_install() {
+	dobin userchroot
+	fperms 4711 /usr/bin/userchroot
+	dodoc -r CHANGELOG html
+}

diff --git a/sys-apps/userchroot/userchroot-0.1.ebuild b/sys-apps/userchroot/userchroot-0.1.ebuild
deleted file mode 100644
index 75b1446..0000000
--- a/sys-apps/userchroot/userchroot-0.1.ebuild
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=5
-inherit toolchain-funcs
-
-DESCRIPTION="Safe chroot from userspace"
-HOMEPAGE="http://koltsoff.com/pub/userchroot/"
-SRC_URI="http://koltsoff.com/pub/userchroot/releases/${P}.tar.gz"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86 ~amd64"
-IUSE=""
-
-DEPEND=""
-RDEPEND=""
-
-src_compile() {
-	echo $(tc-getCC) ${CFLAGS} userchroot.c -o userchroot
-	$(tc-getCC) ${CFLAGS} userchroot.c -o userchroot || die "compilation failed"
-}
-
-src_install() {
-	exeinto /usr/bin/
-	doexe userchroot
-	fperms 4755 /usr/bin/userchroot
-	dodoc CHANGELOG html/index.xhtml
-}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-08-11 22:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-11 22:35 [gentoo-commits] dev/bircoph:master commit in: sys-apps/userchroot/ Andrew Savchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox