From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 79BC613933E for ; Tue, 13 Jul 2021 20:57:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3123CE0D9A; Tue, 13 Jul 2021 20:57:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 18089E0DC4 for ; Tue, 13 Jul 2021 20:57:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A8322342D16 for ; Tue, 13 Jul 2021 20:57:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 083A67DC for ; Tue, 13 Jul 2021 20:57:30 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1626209707.aec926c9f0aae5101c924e45efad3feb3dbb1c3b.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-proxy/redsocks/files/, net-proxy/redsocks/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-proxy/redsocks/files/redsocks.init-r1 net-proxy/redsocks/redsocks-0.5-r1.ebuild X-VCS-Directories: net-proxy/redsocks/ net-proxy/redsocks/files/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: aec926c9f0aae5101c924e45efad3feb3dbb1c3b X-VCS-Branch: master Date: Tue, 13 Jul 2021 20:57:30 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d53f6355-fbec-4e25-a0b5-450ddf612734 X-Archives-Hash: 96513ba132ae615b9e381bc7a76db60d commit: aec926c9f0aae5101c924e45efad3feb3dbb1c3b Author: Conrad Kostecki gentoo org> AuthorDate: Tue Jul 13 19:20:10 2021 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Tue Jul 13 20:55:07 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aec926c9 net-proxy/redsocks: drop old version Closes: https://bugs.gentoo.org/781470 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Conrad Kostecki gentoo.org> net-proxy/redsocks/files/redsocks.init-r1 | 43 --------------------------- net-proxy/redsocks/redsocks-0.5-r1.ebuild | 49 ------------------------------- 2 files changed, 92 deletions(-) diff --git a/net-proxy/redsocks/files/redsocks.init-r1 b/net-proxy/redsocks/files/redsocks.init-r1 deleted file mode 100644 index 861054fc914..00000000000 --- a/net-proxy/redsocks/files/redsocks.init-r1 +++ /dev/null @@ -1,43 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -command=${REDSOCKS_BINARY:=/usr/sbin/redsocks} -: ${REDSOCKS_CONFIG:=/etc/redsocks.conf} -pidfile=${REDSOCKS_PIDFILE:=/run/redsocks/redsocks.pid} -command_args="-p ${pidfile} -c ${REDSOCKS_CONFIG}" - -extra_commands="checkconfig" -extra_started_commands="reload" - -depend() { - need localmount - use dns -} - -checkconfig() { - if [ ! -f "${REDSOCKS_CONFIG}" ] ; then - eerror "No ${REDSOCKS_CONFIG} file exists!" - return 1 - fi - - "${command}" -t -c ${REDSOCKS_CONFIG} || return 1 -} - -start_pre() { - checkconfig || return 1 -} - -stop_pre() { - if [ "${RC_CMD}" = "restart" ] ; then - checkconfig || return 1 - fi -} - -reload() { - checkconfig || return 1 - - ebegin "Reloading ${SVCNAME}" - start-stop-daemon --signal HUP --pidfile "${pidfile}" - eend $? -} diff --git a/net-proxy/redsocks/redsocks-0.5-r1.ebuild b/net-proxy/redsocks/redsocks-0.5-r1.ebuild deleted file mode 100644 index 665f5a70002..00000000000 --- a/net-proxy/redsocks/redsocks-0.5-r1.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -if [[ ${PV} != *9999* ]]; then - SRC_URI="https://github.com/darkk/${PN}/archive/release-${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -else - GIT_ECLASS="git-r3" - EGIT_REPO_URI="https://github.com/darkk/${PN}.git" -fi - -inherit systemd toolchain-funcs user ${GIT_ECLASS} - -DESCRIPTION="Transparent redirector of any TCP connection to proxy" -HOMEPAGE="http://darkk.net.ru/redsocks/" -LICENSE="Apache-2.0 LGPL-2.1+ ZLIB" -SLOT="0" -IUSE="doc" -RESTRICT="test" - -DEPEND="dev-libs/libevent:0=" -RDEPEND="${DEPEND} - net-firewall/iptables" - -[[ ${PV} != *9999 ]] && S="${WORKDIR}"/"${PN}"-release-"${PV}" - -pkg_setup() { - enewgroup redsocks - enewuser redsocks -1 -1 /run/redsocks redsocks -} - -src_compile() { - CC="$(tc-getCC)" emake -} - -src_install() { - dosbin redsocks - doman debian/redsocks.8 - use doc && dodoc README doc/* - insinto /etc - newins debian/redsocks.conf redsocks.conf - - newinitd "${FILESDIR}"/redsocks.init-r1 redsocks - newconfd "${FILESDIR}"/redsocks.conf redsocks - - systemd_dounit "${FILESDIR}"/redsocks.service -}