summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2009-09-14 15:24:38 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2009-09-14 15:24:38 +0000
commitb0377f073bd3200321f0b6c25ed0e1fa9ecf1150 (patch)
treec5ef711d2a3d5fd3457cac14d8f2c833fea425df /dev-libs/libspt
parentCleanup. (diff)
downloadgentoo-2-b0377f073bd3200321f0b6c25ed0e1fa9ecf1150.tar.gz
gentoo-2-b0377f073bd3200321f0b6c25ed0e1fa9ecf1150.tar.bz2
gentoo-2-b0377f073bd3200321f0b6c25ed0e1fa9ecf1150.zip
RESTRICT="test", bug #284917. Fixed LICENSE. Removed setuid.
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/libspt')
-rw-r--r--dev-libs/libspt/ChangeLog10
-rw-r--r--dev-libs/libspt/files/libspt-1.1-gentoo.patch21
-rw-r--r--dev-libs/libspt/libspt-1.1-r2.ebuild29
3 files changed, 58 insertions, 2 deletions
diff --git a/dev-libs/libspt/ChangeLog b/dev-libs/libspt/ChangeLog
index 56add82437f4..c4d3187f02de 100644
--- a/dev-libs/libspt/ChangeLog
+++ b/dev-libs/libspt/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/libspt
-# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libspt/ChangeLog,v 1.6 2009/04/03 15:35:05 patrick Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libspt/ChangeLog,v 1.7 2009/09/14 15:24:38 matsuu Exp $
+
+*libspt-1.1-r2 (14 Sep 2009)
+
+ 14 Sep 2009; MATSUU Takuto <matsuu@gentoo.org> +libspt-1.1-r2.ebuild,
+ +files/libspt-1.1-gentoo.patch:
+ RESTRICT="test", bug #284917. Fixed LICENSE. Removed setuid.
*libspt-1.1-r1 (03 Apr 2009)
diff --git a/dev-libs/libspt/files/libspt-1.1-gentoo.patch b/dev-libs/libspt/files/libspt-1.1-gentoo.patch
new file mode 100644
index 000000000000..992273142061
--- /dev/null
+++ b/dev-libs/libspt/files/libspt-1.1-gentoo.patch
@@ -0,0 +1,21 @@
+diff -Naur libspt-1.1.orig/Makefile.in libspt-1.1/Makefile.in
+--- libspt-1.1.orig/Makefile.in 2003-12-07 15:42:15.000000000 +0900
++++ libspt-1.1/Makefile.in 2009-09-15 00:16:50.000000000 +0900
+@@ -9,7 +9,7 @@
+ libexecdir = @libexecdir@
+ includedir = @includedir@
+ #docdir = $(prefix)/doc
+-mandir = $(prefix)/man
++mandir = @mandir@
+
+ EXEEXT = @EXEEXT@
+
+@@ -48,7 +48,7 @@
+ AGENTOBJS = sptagent.o sptconn.$lo cfuncs.$lo
+ LIBOBJS = libspt.$lo sptconn.$lo cfuncs.$lo error.$lo utilapi.$lo termios.$lo
+ OBJS = test.o $(LIBOBJS)
+-AGENT_MODE = -m 4755 -o root -g wheel
++AGENT_MODE =
+
+ .SUFFIXES: .c .o .cc .lo
+ .c.lo:
diff --git a/dev-libs/libspt/libspt-1.1-r2.ebuild b/dev-libs/libspt/libspt-1.1-r2.ebuild
new file mode 100644
index 000000000000..cd23c94687f1
--- /dev/null
+++ b/dev-libs/libspt/libspt-1.1-r2.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libspt/libspt-1.1-r2.ebuild,v 1.1 2009/09/14 15:24:38 matsuu Exp $
+
+EAPI="2"
+inherit base
+
+DESCRIPTION="Library for handling root privilege"
+HOMEPAGE="http://www.j10n.org/libspt/index.html"
+SRC_URI="http://www.j10n.org/libspt/${P}.tar.bz2"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~x86"
+IUSE=""
+
+RESTRICT="test"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}/libspt-werror.patch" \
+ "${FILESDIR}/${P}-gentoo.patch"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+
+ dodoc CHANGES
+}