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 /app-shells/rrs | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-shells/rrs')
-rw-r--r-- | app-shells/rrs/Manifest | 4 | ||||
-rw-r--r-- | app-shells/rrs/files/rrs-1.70-asneeded.patch | 38 | ||||
-rw-r--r-- | app-shells/rrs/metadata.xml | 11 | ||||
-rw-r--r-- | app-shells/rrs/rrs-1.70-r2.ebuild | 38 |
4 files changed, 91 insertions, 0 deletions
diff --git a/app-shells/rrs/Manifest b/app-shells/rrs/Manifest new file mode 100644 index 000000000000..4f1ac797b4a5 --- /dev/null +++ b/app-shells/rrs/Manifest @@ -0,0 +1,4 @@ +AUX rrs-1.70-asneeded.patch 1436 BLAKE2B ab35e22a351024935c13433d49e9c7e1ae452b597e179810a58a9e181895d6731a81d472abd2147865ff76bd4ad338429d41eadcead229a5ce243a66b66e8c17 SHA512 05972478d2e27290a430b0d80343f25c494a9f0f82ad87df2bc400dc652775dff447d8914e367d3092db2fcb5c4700e5d5873452767943e3d0b27410bef51188 +DIST rrs-1.70.tar.gz 49579 BLAKE2B 0345f559239f64d51891100c11f3b80d2b41277eaa0e283c86dbd990496f083e1da60aa6937c870c133bfe8e7f905848d0da1a17b827a2bb07bd8ee1be4b36de SHA512 58a3d34bd80f2ddaa62112819d83ab2175daf1b9e66605d0b629a15d1fc6b43b482e1a4a763b99a07d85bbb0fa6df339d0dfcc203e3a3da3d5cfdabbd14a4bfa +EBUILD rrs-1.70-r2.ebuild 721 BLAKE2B f3adb0826e4243789287286c4258aafa8da95030148cce06b2a9a56f9cc748ac924b67212cd5a611c4b6ea1b0ff28cf1a3616671b2bf0df4a7acb50164fadbd1 SHA512 466f0c10175cd675bf54af6cc727ba9bd2101a24cff53d9fc41da3a0adf7a8a7bcc20e4876b41179f05788762325e0451ce0581ac3734caa8c81e2c24e60c9d3 +MISC metadata.xml 317 BLAKE2B 79bf68384cb06bb254c6bd8757a368e929ae41d5dcd793c7123ea0e336c9187c9062013fc4feeb032c18515fa865d05f1f61272555f2e137e419c23b289246e7 SHA512 b80e5e730f8ee1225f73e1c1651c9cec243f117f3b983ef0814699ba367f373ada228e1fe2b6b8f1928eeb5cd854c1a7bf07d59075607a992a4a0e0dd3482ee4 diff --git a/app-shells/rrs/files/rrs-1.70-asneeded.patch b/app-shells/rrs/files/rrs-1.70-asneeded.patch new file mode 100644 index 000000000000..8c55d17678e1 --- /dev/null +++ b/app-shells/rrs/files/rrs-1.70-asneeded.patch @@ -0,0 +1,38 @@ +--- a/Makefile 2004-05-30 02:14:14.000000000 +0200 ++++ b/Makefile 2009-01-03 15:02:19.253460887 +0100 +@@ -8,8 +8,8 @@ + # if your system doesn't have GNU's getopt_long(), add -DWITHOUT_GNU_GETOPT + CFLAGS=-I/usr/local/include -Wall -O2 + # openpty() is in libutil on most Unix-like operating systems +-LDFLAGS=-L/usr/local/lib -s -lstdc++ -lm -lutil -lssl -lcrypto +-LDFLAGSNOSSL=-s -lstdc++ -lm -lutil ++LDFLAGS=-L/usr/local/lib -lstdc++ -lm -lutil -lssl -lcrypto ++LDFLAGSNOSSL=-lstdc++ -lm -lutil + + PREFIX=/usr/local + BINDIR=bin +@@ -36,9 +36,9 @@ + generic-nossl: clean compile-generic-nossl + + qnx: clean +- $(MAKE) LDFLAGS="-L/usr/local/lib -s -lsocket -lssl -lcrypto" compile-qnx ++ $(MAKE) LDFLAGS="-L/usr/local/lib -lsocket -lssl -lcrypto" compile-qnx + qnx-nossl: clean +- $(MAKE) LDFLAGSNOSSL="-s -lsocket" compile-qnx-nossl ++ $(MAKE) LDFLAGSNOSSL="-lsocket" compile-qnx-nossl + + distclean: clean + +@@ -47,10 +47,10 @@ + + ## generic + compile-generic: +- $(CC) $(CFLAGS) $(LDFLAGS) $(LDEXTRA) -o $(out) rrs.c md5.c sha1.c farm9crypt.cc twofish2.cc ++ $(CC) $(CFLAGS) $(LDEXTRA) -o $(out) rrs.c md5.c sha1.c farm9crypt.cc twofish2.cc $(LDFLAGS) + + compile-generic-nossl: +- $(CC) -DWITHOUT_SSL $(CFLAGS) $$CFLAGS $(LDFLAGSNOSSL) $(LDEXTRA) -o $(out) rrs.c md5.c sha1.c farm9crypt.cc twofish2.cc ++ $(CC) -DWITHOUT_SSL $(CFLAGS) $$CFLAGS $(LDEXTRA) -o $(out) rrs.c md5.c sha1.c farm9crypt.cc twofish2.cc $(LDFLAGSNOSSL) + + ## qnx + compile-qnx: diff --git a/app-shells/rrs/metadata.xml b/app-shells/rrs/metadata.xml new file mode 100644 index 000000000000..f11c8394b116 --- /dev/null +++ b/app-shells/rrs/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="person"> + <email>pinkbyte@gentoo.org</email> + <name>Sergey Popov</name> + </maintainer> + <upstream> + <remote-id type="freecode">rrs</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-shells/rrs/rrs-1.70-r2.ebuild b/app-shells/rrs/rrs-1.70-r2.ebuild new file mode 100644 index 000000000000..efc3d8c7394f --- /dev/null +++ b/app-shells/rrs/rrs-1.70-r2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="Reverse Remote Shell" +HOMEPAGE="http://freecode.com/projects/rrs" +SRC_URI="http://www.cycom.se/uploads/36/19/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="ssl" + +DEPEND="ssl? ( dev-libs/openssl:0= )" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}"/"${P}"-asneeded.patch ) + +src_prepare() { + default + sed -i -e "s#-s ##g" Makefile || die +} + +src_compile() { + local target="" + use ssl || target="-nossl" + + emake generic${target} CFLAGS="${CFLAGS}" LDEXTRA="${LDFLAGS}" CC="$(tc-getCC)" +} + +src_install() { + dobin "${PN}" + doman "${PN}.1" + einstalldocs +} |