Gentoo Archives: gentoo-commits

From: Mikle Kolyada <zlogene@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/rsync/
Date: Thu, 03 May 2018 08:07:30
Message-Id: 1525334842.1a8ee5fc68796c42870e67917d21b740afcd44ae.zlogene@gentoo
1 commit: 1a8ee5fc68796c42870e67917d21b740afcd44ae
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 3 08:06:31 2018 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Thu May 3 08:07:22 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a8ee5fc
7
8 net-misc/rsync: Drop old
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 net-misc/rsync/Manifest | 1 -
13 net-misc/rsync/rsync-3.1.2-r2.ebuild | 95 ------------------------------------
14 2 files changed, 96 deletions(-)
15
16 diff --git a/net-misc/rsync/Manifest b/net-misc/rsync/Manifest
17 index 37665bcb4d7..829c80d46fc 100644
18 --- a/net-misc/rsync/Manifest
19 +++ b/net-misc/rsync/Manifest
20 @@ -1,2 +1 @@
21 -DIST rsync-3.1.2.tar.gz 892724 BLAKE2B e366514ae9835ba7c201a9e09fb9342c5e52fa36d45d46300d080403de25a64ba3ed7a703e56b4f47a743a597694a2d0a50bb4bab6cfa0aa7b59a4f7b93b9f21 SHA512 4c55fd69f436ead0cb5a0b7c6fdfef9bb28ddb9c63534eb619e756b118d5b08cfc5e696498650932c86e865b37e06633da947e6720ca0c27ed5c034313ae208b
22 DIST rsync-3.1.3.tar.gz 905908 BLAKE2B 616a1f3239327a28b881310f5f249c90b8bcdb05091279cd62f9cb4e35a8428c7cdd9b89e711ba124601a738f0deb9bfbebafba7fd88b72866476138a9f8c75a SHA512 8385f4c0ea37e7a1da3cf45794154f5bc4d1c49bc625ba3b5f85adaf3eafe6d71c15bdcb1410bde731e5d4c19aff3331606637462fa27a68dc3e13192dd78f99
23
24 diff --git a/net-misc/rsync/rsync-3.1.2-r2.ebuild b/net-misc/rsync/rsync-3.1.2-r2.ebuild
25 deleted file mode 100644
26 index eb37dc148bc..00000000000
27 --- a/net-misc/rsync/rsync-3.1.2-r2.ebuild
28 +++ /dev/null
29 @@ -1,95 +0,0 @@
30 -# Copyright 1999-2018 Gentoo Foundation
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI="6"
34 -
35 -inherit eutils flag-o-matic prefix systemd
36 -
37 -DESCRIPTION="File transfer program to keep remote files into sync"
38 -HOMEPAGE="https://rsync.samba.org/"
39 -SRC_URI="https://rsync.samba.org/ftp/rsync/src/${P}.tar.gz"
40 -[[ "${PV}" = *_pre* ]] && SRC_URI="https://rsync.samba.org/ftp/rsync/src-previews/${P/_/}.tar.gz"
41 -
42 -LICENSE="GPL-3"
43 -SLOT="0"
44 -if [[ ${PV} != *_pre ]] ; then
45 -KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
46 -fi
47 -IUSE="acl examples iconv ipv6 static stunnel xattr"
48 -
49 -LIB_DEPEND="acl? ( virtual/acl[static-libs(+)] )
50 - xattr? ( kernel_linux? ( sys-apps/attr[static-libs(+)] ) )
51 - >=dev-libs/popt-1.5[static-libs(+)]"
52 -RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )
53 - iconv? ( virtual/libiconv )"
54 -DEPEND="${RDEPEND}
55 - static? ( ${LIB_DEPEND} )"
56 -
57 -PATCHES=(
58 - "${FILESDIR}"/${PN}-3.1.2-CVE-2017-16548.patch
59 - "${FILESDIR}"/${PN}-3.1.2-CVE-2017-17433.patch
60 - "${FILESDIR}"/${PN}-3.1.2-CVE-2017-17434-part1.patch
61 - "${FILESDIR}"/${PN}-3.1.2-CVE-2017-17434-part2.patch
62 - "${FILESDIR}"/${PN}-3.1.2-CVE-2017-17433-fixup.patch
63 -)
64 -
65 -S=${WORKDIR}/${P/_/}
66 -
67 -src_configure() {
68 - use static && append-ldflags -static
69 - econf \
70 - --without-included-popt \
71 - $(use_enable acl acl-support) \
72 - $(use_enable xattr xattr-support) \
73 - $(use_enable ipv6) \
74 - $(use_enable iconv) \
75 - --with-rsyncd-conf="${EPREFIX}"/etc/rsyncd.conf
76 - touch proto.h-tstamp #421625
77 -}
78 -
79 -src_install() {
80 - emake DESTDIR="${D}" install
81 - newconfd "${FILESDIR}"/rsyncd.conf.d rsyncd
82 - newinitd "${FILESDIR}"/rsyncd.init.d-r1 rsyncd
83 - dodoc NEWS OLDNEWS README TODO tech_report.tex
84 - insinto /etc
85 - newins "${FILESDIR}"/rsyncd.conf-3.0.9-r1 rsyncd.conf
86 -
87 - insinto /etc/logrotate.d
88 - newins "${FILESDIR}"/rsyncd.logrotate rsyncd
89 -
90 - insinto /etc/xinetd.d
91 - newins "${FILESDIR}"/rsyncd.xinetd-3.0.9-r1 rsyncd
92 -
93 - # Install stunnel helpers
94 - if use stunnel ; then
95 - emake DESTDIR="${D}" install-ssl-client
96 - emake DESTDIR="${D}" install-ssl-daemon
97 - fi
98 -
99 - # Install the useful contrib scripts
100 - if use examples ; then
101 - exeinto /usr/share/rsync
102 - doexe support/*
103 - rm -f "${ED}"/usr/share/rsync/{Makefile*,*.c}
104 - fi
105 -
106 - eprefixify "${ED}"/etc/{,xinetd.d}/rsyncd*
107 -
108 - systemd_dounit "${FILESDIR}/rsyncd.service"
109 -}
110 -
111 -pkg_postinst() {
112 - if egrep -qis '^[[:space:]]use chroot[[:space:]]*=[[:space:]]*(no|0|false)' \
113 - "${EROOT}"/etc/rsyncd.conf "${EROOT}"/etc/rsync/rsyncd.conf ; then
114 - ewarn "You have disabled chroot support in your rsyncd.conf. This"
115 - ewarn "is a security risk which you should fix. Please check your"
116 - ewarn "/etc/rsyncd.conf file and fix the setting 'use chroot'."
117 - fi
118 - if use stunnel ; then
119 - einfo "Please install \">=net-misc/stunnel-4\" in order to use stunnel feature."
120 - einfo
121 - einfo "You maybe have to update the certificates configured in"
122 - einfo "${EROOT}/etc/stunnel/rsync.conf"
123 - fi
124 -}