From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id B256213888F for ; Fri, 9 Oct 2015 01:35:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6405821C005; Fri, 9 Oct 2015 01:35:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DC52021C005 for ; Fri, 9 Oct 2015 01:35:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7448B3406F3 for ; Fri, 9 Oct 2015 01:35:35 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 46DD4CB9 for ; Fri, 9 Oct 2015 01:35:32 +0000 (UTC) From: "Anthony G. Basile" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anthony G. Basile" Message-ID: <1444354862.2a232f1ede1952b43592ccfba4b4f4e91ffdb9d4.blueness@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-proxy/torsocks/files/, net-proxy/torsocks/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-proxy/torsocks/files/avoid-pie-static.patch net-proxy/torsocks/files/fix-docdir-r2.patch net-proxy/torsocks/files/fix-find-libc.so.patch net-proxy/torsocks/torsocks-1.2.ebuild X-VCS-Directories: net-proxy/torsocks/ net-proxy/torsocks/files/ X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile X-VCS-Revision: 2a232f1ede1952b43592ccfba4b4f4e91ffdb9d4 X-VCS-Branch: master Date: Fri, 9 Oct 2015 01:35:32 +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-Archives-Salt: 144953c4-f8c1-4206-aed7-39c3eedee9de X-Archives-Hash: 1731bdf3402267b182ed6f261b4dd50c commit: 2a232f1ede1952b43592ccfba4b4f4e91ffdb9d4 Author: Anthony G. Basile gentoo org> AuthorDate: Fri Oct 9 01:41:02 2015 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Fri Oct 9 01:41:02 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a232f1e net-proxy/torsocks: remove older stable version 1.2 Package-Manager: portage-2.2.20.1 net-proxy/torsocks/files/avoid-pie-static.patch | 67 ------------------------- net-proxy/torsocks/files/fix-docdir-r2.patch | 21 -------- net-proxy/torsocks/files/fix-find-libc.so.patch | 12 ----- net-proxy/torsocks/torsocks-1.2.ebuild | 32 ------------ 4 files changed, 132 deletions(-) diff --git a/net-proxy/torsocks/files/avoid-pie-static.patch b/net-proxy/torsocks/files/avoid-pie-static.patch deleted file mode 100644 index 7556556..0000000 --- a/net-proxy/torsocks/files/avoid-pie-static.patch +++ /dev/null @@ -1,67 +0,0 @@ -We need to avoid tests which have -static and -pie together. - -See https://bugs.gentoo.org/show_bug.cgi?id=533862 - -diff -Naur torsocks-2.0.0.orig/configure.ac torsocks-2.0.0/configure.ac ---- torsocks-2.0.0.orig/configure.ac 2014-08-11 12:44:46.000000000 -0400 -+++ torsocks-2.0.0/configure.ac 2015-01-11 12:00:21.174826622 -0500 -@@ -144,24 +144,6 @@ - # Version information for libtorsocks - TORSOCKSLDFLAGS="$LDFLAGS -version-info 1:0:0" - --# Check for the gcc hardening flags. --AX_CHECK_COMPILE_FLAG([-fPIE],[CFLAGS="$CFLAGS -fPIE"],[],[]) --AX_CHECK_COMPILE_FLAG([-fwrapv],[CFLAGS="$CFLAGS -fwrapv"],[],[]) --AX_CHECK_COMPILE_FLAG([--param ssp-buffer-size=1], -- [CFLAGS="$CFLAGS --param ssp-buffer-size=1"],[],[]) --AX_CHECK_COMPILE_FLAG([-fstack-protector-all], -- [CFLAGS="$CFLAGS -fstack-protector-all"],[],[] --) --AX_CHECK_COMPILE_FLAG([-fno-strict-overflow], -- [CFLAGS="$CFLAGS -fno-strict-overflow"],[],[] --) -- --dnl Add hardening linker flags --AX_CHECK_LINK_FLAG([-pie],[LDFLAGS="$LDFLAGS -pie"],[],[]) --AX_CHECK_LINK_FLAG([-z relro],[LDFLAGS="$LDFLAGS -z relro"],[],[]) --AX_CHECK_LINK_FLAG([-z now],[LDFLAGS="$LDFLAGS -z now"],[],[]) --LDFLAGS="$LDFLAGS -D_FORTIFY_SOURCE=2" -- - dnl Linker checks for Mac OSX, which uses DYLD_INSERT_LIBRARIES - dnl instead of LD_PRELOAD - case "$host_os" in -@@ -255,6 +237,34 @@ - DEFAULT_INCLUDES="-I\$(top_srcdir) -I\$(top_builddir) -I\$(top_builddir)/src -I\$(top_builddir)/include -include config.h" - AC_SUBST(DEFAULT_INCLUDES) - -+############################################################################## -+# 9. Test and add hardening flags -+############################################################################## -+ -+# Check for the gcc hardening flags. -+AX_CHECK_COMPILE_FLAG([-fPIE],[CFLAGS="$CFLAGS -fPIE"],[],[]) -+AX_CHECK_COMPILE_FLAG([-fwrapv],[CFLAGS="$CFLAGS -fwrapv"],[],[]) -+AX_CHECK_COMPILE_FLAG([--param ssp-buffer-size=1], -+ [CFLAGS="$CFLAGS --param ssp-buffer-size=1"],[],[]) -+AX_CHECK_COMPILE_FLAG([-fstack-protector-all], -+ [CFLAGS="$CFLAGS -fstack-protector-all"],[],[] -+) -+AX_CHECK_COMPILE_FLAG([-fno-strict-overflow], -+ [CFLAGS="$CFLAGS -fno-strict-overflow"],[],[] -+) -+ -+dnl Add hardening linker flags -+AX_CHECK_LINK_FLAG([-pie],[LDFLAGS="$LDFLAGS -pie"],[],[]) -+AX_CHECK_LINK_FLAG([-z relro],[LDFLAGS="$LDFLAGS -z relro"],[],[]) -+AX_CHECK_LINK_FLAG([-z now],[LDFLAGS="$LDFLAGS -z now"],[],[]) -+ -+dnl Add glibc hardening -+CPPFLAGS="$CPPFLAGS -D_FORTIFY_SOURCE=2" -+ -+############################################################################## -+# 10. Finish up -+############################################################################## -+ - AC_CONFIG_FILES([ - Makefile - extras/Makefile diff --git a/net-proxy/torsocks/files/fix-docdir-r2.patch b/net-proxy/torsocks/files/fix-docdir-r2.patch deleted file mode 100644 index 05986ec..0000000 --- a/net-proxy/torsocks/files/fix-docdir-r2.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff -Naur torsocks-2.0.0-rc2.orig/doc/Makefile.am torsocks-2.0.0-rc2/doc/Makefile.am ---- torsocks-2.0.0-rc2.orig/doc/Makefile.am 2013-09-02 14:06:44.000000000 -0400 -+++ torsocks-2.0.0-rc2/doc/Makefile.am 2013-09-17 14:19:37.769272561 -0400 -@@ -6,5 +6,5 @@ - dist_man5_MANS = torsocks.conf.5 - dist_man8_MANS = torsocks.8 - --dist_data_DATA = socks/SOCKS5 socks/socks-extensions.txt notes/DEBUG -+#dist_data_DATA = socks/SOCKS5 socks/socks-extensions.txt notes/DEBUG - -diff -Naur torsocks-2.0.0-rc2.orig/Makefile.am torsocks-2.0.0-rc2/Makefile.am ---- torsocks-2.0.0-rc2.orig/Makefile.am 2013-09-02 14:06:44.000000000 -0400 -+++ torsocks-2.0.0-rc2/Makefile.am 2013-09-17 14:20:07.945273935 -0400 -@@ -2,6 +2,6 @@ - - SUBDIRS = src doc tests - --dist_doc_DATA = ChangeLog -+#dist_doc_DATA = ChangeLog - - EXTRA_DIST = gpl-2.0.txt diff --git a/net-proxy/torsocks/files/fix-find-libc.so.patch b/net-proxy/torsocks/files/fix-find-libc.so.patch deleted file mode 100644 index 0fb1949..0000000 --- a/net-proxy/torsocks/files/fix-find-libc.so.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Nuar torsocks-2.0.0-rc3.orig/configure.ac torsocks-2.0.0-rc3/configure.ac ---- torsocks-2.0.0-rc3.orig/configure.ac 2013-11-03 13:24:51.000000000 -0500 -+++ torsocks-2.0.0-rc3/configure.ac 2014-01-26 12:49:55.157606016 -0500 -@@ -132,7 +132,7 @@ - dnl Get libc full system path. Use prefix or some hardcoded standard - dnl location on Unixish system. - AC_MSG_CHECKING(location of libc.so) --for DIR in "$prefix/lib" "$prefix/usr/lib" '/lib' '/usr/lib'; do -+for DIR in "$prefix/lib*" "$prefix/usr/lib*" '/lib*' '/usr/lib*'; do - if test "${LIBC_PATH}" = ""; then - LIBC_PATH=`$FIND $DIR -name "libc.so.?" 2>/dev/null | $TAIL -1` - fi diff --git a/net-proxy/torsocks/torsocks-1.2.ebuild b/net-proxy/torsocks/torsocks-1.2.ebuild deleted file mode 100644 index f010fa0..0000000 --- a/net-proxy/torsocks/torsocks-1.2.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=4 - -inherit multilib - -DESCRIPTION="Use most socks-friendly applications with Tor" -HOMEPAGE="https://code.google.com/p/torsocks" -SRC_URI="https://${PN}.googlecode.com/files/${PN}-1.2.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~x86" -IUSE="static-libs" - -# We do not depend on tor which might be running on a different box -DEPEND="" -RDEPEND="${DEPEND}" - -src_configure() { - econf $(use_enable static-libs static) -} - -src_install() { - emake DESTDIR="${D}" install - - #Remove libtool .la files - cd "${D}"/usr/$(get_libdir)/torsocks - rm -f *.la -}