diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-libs/libspt | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-libs/libspt')
-rw-r--r-- | dev-libs/libspt/Manifest | 7 | ||||
-rw-r--r-- | dev-libs/libspt/files/libspt-gentoo.patch | 29 | ||||
-rw-r--r-- | dev-libs/libspt/files/libspt-rpc.patch | 22 | ||||
-rw-r--r-- | dev-libs/libspt/libspt-1.1-r2.ebuild | 38 | ||||
-rw-r--r-- | dev-libs/libspt/libspt-1.1-r3.ebuild | 46 | ||||
-rw-r--r-- | dev-libs/libspt/libspt-1.1-r4.ebuild | 45 | ||||
-rw-r--r-- | dev-libs/libspt/metadata.xml | 11 |
7 files changed, 198 insertions, 0 deletions
diff --git a/dev-libs/libspt/Manifest b/dev-libs/libspt/Manifest new file mode 100644 index 000000000000..e4e5bb3eb8b3 --- /dev/null +++ b/dev-libs/libspt/Manifest @@ -0,0 +1,7 @@ +AUX libspt-gentoo.patch 727 BLAKE2B a98df11f3789d5e8c2aabfd538210db025a59567286df8153cc3912a7df414ad8328ba4de04cd558e3c7884102d4b431bc3c584a6f0c883a663f681fbf96bf90 SHA512 9c73f4b3eae1af1bd26d4c08eb926847fb7d8f26cb3e472afa940d12b086f5a142e9f918cab1beeebfc45e2893480a185180cc9b4bfe5930bb0cafe6b66098d0 +AUX libspt-rpc.patch 848 BLAKE2B 982a1b8d88e2a28cb6529dd4a6c2e15c42aa7f0b0bbe34d40d91a6bb45ee2667253cabb06f31bdb757dcec7d4daf066f1271aa33edebeadfda2ba341bdd39dde SHA512 ad703547047949aa338bea0bd211a7daa3448ce728cf754be6ba4c0a058e0ab631beceb044bcce0eba9fe606b741f530fb88909891b0e86ff8898cfcf04d6cd1 +DIST libspt-1.1.tar.bz2 165168 BLAKE2B a21778ba8b3c22d7fa655460ede0d04efc98635b1be74575cbb996b33bdb27ed75479ae6a2d7bc38c1052ac23547483e9d93c03531cbfe236e1e07944bad1673 SHA512 5b2ec289ce51f1f2040b68c559ef6e1ea1e59f50c3d639a93176fa8a5f3f75481651c4d0acd393eac8d2193f2aae19f882897323caf344cbfde52e32cc3a02b9 +EBUILD libspt-1.1-r2.ebuild 740 BLAKE2B 515ea54db749d792a2340498ec075764ad3d79f5c6257b05ae3fe462fd81fc09ec35981a7f03d92ca0e2184b303203cfc5ab4fd76f8da36917a3c8ff2f938b33 SHA512 de6b47b133772e8fd2ac2b237c17296d3ec112cc5ea64515d217bb5f04f1d214d118d79637fd27ca2c71383df6b5964d079ce6a3ea71cb576c568fc61d7cedcc +EBUILD libspt-1.1-r3.ebuild 869 BLAKE2B 8a8bb64b41dc3cf12a5fce2f7cce5c505d407deb16586c6b198a73b8ce21b81535b06c1866bc90d05d3480674bbd20cdb68363e1be67e4f0b5c70a8b53ae45e2 SHA512 a3a5f2ce6f4dd507ab33b38575fe4819b989a69a6a1fc11c4d4c700753b70c95c1ef0c1cf4733fa1be81468e7e99508f31b71dd37a36a00c59f3d8eae57684b3 +EBUILD libspt-1.1-r4.ebuild 784 BLAKE2B 1b8e7cc908563d9447887fcb260290bdb1596cd6dab21fa12f6bae1b6ed98f8bf9d79c84dd6f58e0d252db35e14f457979e5c53cded47894d6ea8c0b1c302b9c SHA512 cb5bbe48e9871100c37c5e167d4851901853e9e39a5bb69614e2d15bdb2ed33ab2b13e2f7a3ec2d6526a5422507d6135e1c8b6e8700ab77318619b8f199a4ecf +MISC metadata.xml 338 BLAKE2B b0d2cf2b1009aaab90ed70d7804808dc0da5b868905de880bf120a6b6b00ea79c0256f483dad6f3e3610bec57156e4fde3b54790dcc01c77848e62ad43a4e451 SHA512 4432f92e77ea7bd20aed61d72505de530920cc8f0d06e4e5e4e9a25a11494ca809c6662b073f05c4726a942371b678d32ece0d4e665c2bf0c66f12f57b3044e9 diff --git a/dev-libs/libspt/files/libspt-gentoo.patch b/dev-libs/libspt/files/libspt-gentoo.patch new file mode 100644 index 000000000000..f6c709b6b798 --- /dev/null +++ b/dev-libs/libspt/files/libspt-gentoo.patch @@ -0,0 +1,29 @@ +--- a/Makefile.in ++++ b/Makefile.in +@@ -9,7 +9,7 @@ + libexecdir = @libexecdir@ + includedir = @includedir@ + #docdir = $(prefix)/doc +-mandir = $(prefix)/man ++mandir = @mandir@ + + EXEEXT = @EXEEXT@ + +@@ -29,7 +29,7 @@ + INCLUDES = -I. + DEFS = @DEFS@ + CC = @CC@ +-COMMONCFLAGS = -Wall -g -Werror -pipe ++COMMONCFLAGS = -Wall -g -pipe + CFLAGS = $(COMMONCFLAGS) @CFLAGS@ + INSTALL = $(LIBTOOL) --mode=install @INSTALL@ + INSTALL_DATA = $(LIBTOOL) --mode=install @INSTALL@ -m 644 +@@ -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/files/libspt-rpc.patch b/dev-libs/libspt/files/libspt-rpc.patch new file mode 100644 index 000000000000..79b545ace4fa --- /dev/null +++ b/dev-libs/libspt/files/libspt-rpc.patch @@ -0,0 +1,22 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -55,7 +55,18 @@ + AC_CHECK_FUNCS([dup2 ftruncate gettimeofday select strcspn strstr]dnl + [ strchr memcpy bzero setutent setutxent updwtmp updwtmpx _openpty revoke getsid]dnl + [ setsid setpgrp snprintf sigaction cfmakeraw]) ++AC_ARG_WITH([libtirpc], ++ [AS_HELP_STRING([--with-libtirpc],[Use libtirpc as RPC implementation (instead of sunrpc)])]) ++AS_IF([test "x$with_libtirpc" = xyes], ++ [PKG_CHECK_MODULES([TIRPC], ++ [libtirpc], ++ [CFLAGS="$CFLAGS $TIRPC_CFLAGS"; LIBS="$LIBS $TIRPC_LIBS";], ++ [AC_MSG_ERROR([libtirpc requested, but library not found.])] ++ )], ++ [AC_CHECK_HEADER(rpc/rpc.h, ++ [], ++ [AC_MSG_ERROR([sunrpc requested, but headers are not present.])] ++)]) +-AC_SEARCH_LIBS([xdr_free],[nsl rpclib]) + AC_SEARCH_LIBS([socket],[socket]) + AC_SEARCH_LIBS([nanosleep],[posix4]) + 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..cf5d08f80b28 --- /dev/null +++ b/dev-libs/libspt/libspt-1.1-r2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit autotools + +DESCRIPTION="Library for handling root privilege" +#HOMEPAGE="http://www.j10n.org/libspt/index.html" +HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage" +SRC_URI="mirror://gentoo/${P}.tar.bz2" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="alpha amd64 ppc x86" +IUSE="+libtirpc" +RESTRICT="test" + +RDEPEND="!libtirpc? ( elibc_glibc? ( sys-libs/glibc[rpc(-)] ) ) + libtirpc? ( net-libs/libtirpc )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}/${PN}-gentoo.patch" + "${FILESDIR}/${PN}-rpc.patch" +) + +src_prepare() { + rm aclocal.m4 + + default + eautoreconf +} + +src_configure() { + econf $(use_with libtirpc) +} diff --git a/dev-libs/libspt/libspt-1.1-r3.ebuild b/dev-libs/libspt/libspt-1.1-r3.ebuild new file mode 100644 index 000000000000..c19a2eea1a0f --- /dev/null +++ b/dev-libs/libspt/libspt-1.1-r3.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit autotools + +DESCRIPTION="Library for handling root privilege" +#HOMEPAGE="http://www.j10n.org/libspt/index.html" +HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage" +SRC_URI="mirror://gentoo/${P}.tar.bz2" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="+libtirpc suid" +RESTRICT="test" + +RDEPEND="!libtirpc? ( elibc_glibc? ( sys-libs/glibc[rpc(-)] ) ) + libtirpc? ( net-libs/libtirpc )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}/${PN}-gentoo.patch" + "${FILESDIR}/${PN}-rpc.patch" +) + +src_prepare() { + rm aclocal.m4 + + default + eautoreconf +} + +src_configure() { + econf $(use_with libtirpc) +} + +src_install() { + default + + if use suid; then + fperms 4755 /usr/libexec/sptagent + fi +} diff --git a/dev-libs/libspt/libspt-1.1-r4.ebuild b/dev-libs/libspt/libspt-1.1-r4.ebuild new file mode 100644 index 000000000000..3c164850c4f9 --- /dev/null +++ b/dev-libs/libspt/libspt-1.1-r4.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit autotools + +DESCRIPTION="Library for handling root privilege" +#HOMEPAGE="http://www.j10n.org/libspt/index.html" +HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage" +SRC_URI="mirror://gentoo/${P}.tar.bz2" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="suid" +RESTRICT="test" + +RDEPEND="net-libs/libtirpc" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}/${PN}-gentoo.patch" + "${FILESDIR}/${PN}-rpc.patch" +) + +src_prepare() { + rm aclocal.m4 + + default + eautoreconf +} + +src_configure() { + econf --with-libtirpc +} + +src_install() { + default + + if use suid; then + fperms 4755 /usr/libexec/sptagent + fi +} diff --git a/dev-libs/libspt/metadata.xml b/dev-libs/libspt/metadata.xml new file mode 100644 index 000000000000..4b6896b6c4a2 --- /dev/null +++ b/dev-libs/libspt/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>cjk@gentoo.org</email> + <name>Cjk</name> + </maintainer> + <use> + <flag name="libtirpc">Build against net-libs/libtirpc for RPC support</flag> + </use> +</pkgmetadata> |