From b0377f073bd3200321f0b6c25ed0e1fa9ecf1150 Mon Sep 17 00:00:00 2001 From: Matsuu Takuto Date: Mon, 14 Sep 2009 15:24:38 +0000 Subject: RESTRICT="test", bug #284917. Fixed LICENSE. Removed setuid. (Portage version: 2.1.6.13/cvs/Linux x86_64) --- dev-libs/libspt/ChangeLog | 10 +++++++-- dev-libs/libspt/files/libspt-1.1-gentoo.patch | 21 +++++++++++++++++++ dev-libs/libspt/libspt-1.1-r2.ebuild | 29 +++++++++++++++++++++++++++ 3 files changed, 58 insertions(+), 2 deletions(-) create mode 100644 dev-libs/libspt/files/libspt-1.1-gentoo.patch create mode 100644 dev-libs/libspt/libspt-1.1-r2.ebuild (limited to 'dev-libs/libspt') 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 +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 +} -- cgit v1.2.3-65-gdbad