Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/, app-admin/clsync/
Date: Sat, 30 Jan 2021 12:01:13
Message-Id: 1612008063.569a54e916a1e70f4c4285898ae889d078c091ed.mgorny@gentoo
1 commit: 569a54e916a1e70f4c4285898ae889d078c091ed
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 30 11:58:37 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 30 12:01:03 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=569a54e9
7
8 app-admin/clsync: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 app-admin/clsync/Manifest | 1 -
13 app-admin/clsync/clsync-0.4.4.ebuild | 106 -----------------------------------
14 profiles/package.mask | 7 ---
15 3 files changed, 114 deletions(-)
16
17 diff --git a/app-admin/clsync/Manifest b/app-admin/clsync/Manifest
18 index aa1738bbfb7..b9bb42368d7 100644
19 --- a/app-admin/clsync/Manifest
20 +++ b/app-admin/clsync/Manifest
21 @@ -1,2 +1 @@
22 -DIST clsync-0.4.4.tar.gz 268276 BLAKE2B 0027760cfdee5c4410c4cea45aae2def6498d812d2f50038993c39a33c6029722ec2dd2cfff20815a3ffd8834eb8c439059e5f1d2cc3d2cf98ecb22ed22f2322 SHA512 cdafbf43fdeafe9cb53c08e0514ef356fb5b4bbd8da2226263180e7441d222c76e6c73f847f484b3688a8672e4a85df0346c0236d8d0ed4506d209189af02dcd
23 DIST clsync-0.4.5.tar.gz 276096 BLAKE2B 4fa534b342a806ca691f8a65455cb800800f7a943fa3f0913a26c37d2cd0f9d762630ad01eeb80bdd0d90a0731bed5f2aa60444a654972da9479c116e0e937aa SHA512 6568f3c49ac4fe11e54593ba23eed392d0b7d9b5bf052983c4a5a2befbb807dbd3f9d13412264f8909998702f869d1cd6db77d89bd9491414b1f3213437c5212
24
25 diff --git a/app-admin/clsync/clsync-0.4.4.ebuild b/app-admin/clsync/clsync-0.4.4.ebuild
26 deleted file mode 100644
27 index 0bb2ccba5d5..00000000000
28 --- a/app-admin/clsync/clsync-0.4.4.ebuild
29 +++ /dev/null
30 @@ -1,106 +0,0 @@
31 -# Copyright 1999-2020 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -
36 -inherit autotools linux-info systemd
37 -
38 -DESCRIPTION="Live sync tool based on inotify, written in GNU C"
39 -HOMEPAGE="https://github.com/clsync/clsync http://ut.mephi.ru/oss/clsync"
40 -SRC_URI="https://github.com/clsync/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
41 -LICENSE="GPL-3+"
42 -SLOT="0"
43 -KEYWORDS="amd64 x86"
44 -IUSE="+caps cluster control-socket cgroups debug extra-debug
45 -extra-hardened gio hardened +highload-locks +inotify mhash
46 -namespaces seccomp"
47 -
48 -REQUIRED_USE="
49 - || ( gio inotify )
50 - extra-debug? ( debug )
51 - extra-hardened? ( hardened )
52 - mhash? ( cluster )
53 - seccomp? ( caps )
54 -"
55 -BDEPEND="
56 - virtual/pkgconfig
57 -"
58 -DEPEND="
59 - dev-libs/glib:2
60 - caps? ( sys-libs/libcap )
61 - cgroups? ( dev-libs/libcgroup )
62 - mhash? ( app-crypt/mhash )
63 -"
64 -RDEPEND="${DEPEND}
65 - ~app-doc/clsync-docs-${PV}
66 -"
67 -
68 -pkg_pretend() {
69 - use inotify && CONFIG_CHECK+=" ~INOTIFY_USER"
70 - use namespaces && CONFIG_CHECK="~NAMESPACES ~UTS_NS ~IPC_NS ~USER_NS ~PID_NS ~NET_NS"
71 - use seccomp && CONFIG_CHECK+=" ~SECCOMP"
72 - check_extra_config
73 -}
74 -
75 -src_prepare() {
76 - eapply_user
77 - eautoreconf
78 -}
79 -
80 -src_configure() {
81 - local harden_level=0
82 - use hardened && harden_level=1
83 - use extra-hardened && harden_level=2
84 -
85 - local debug_level=0
86 - use debug && debug_level=1
87 - use extra-debug && debug_level=2
88 -
89 - econf \
90 - --disable-socket-library \
91 - --enable-clsync \
92 - --enable-debug=${debug_level} \
93 - --enable-paranoid=${harden_level} \
94 - --without-bsm \
95 - --without-kqueue \
96 - $(use_enable caps capabilities) \
97 - $(use_enable cluster) \
98 - $(use_enable control-socket socket) \
99 - $(use_enable highload-locks) \
100 - $(use_enable namespaces unshare) \
101 - $(use_enable seccomp) \
102 - $(use_with cgroups libcgroup) \
103 - $(use_with gio gio lib) \
104 - $(use_with inotify inotify native) \
105 - $(use_with mhash)
106 -}
107 -
108 -src_install() {
109 - emake DESTDIR="${D}" install
110 -
111 - # docs go into clsync-docs
112 - rm -rf "${ED}/usr/share/doc" || die
113 -
114 - newinitd "${FILESDIR}/${PN}.initd" "${PN}"
115 - newconfd "${FILESDIR}/${PN}.confd" "${PN}"
116 -
117 - # filter rules and sync scripts are supposed to be here
118 - insinto /etc/${PN}
119 - newins "${FILESDIR}/${PN}.conf" "${PN}.conf"
120 - keepdir /etc/${PN}
121 -
122 - systemd_dounit "examples/clsync@.service"
123 -}
124 -
125 -pkg_postinst() {
126 - einfo "${PN} is just a convenient way to run synchronization tools on live data,"
127 - einfo "it doesn't copy data itself, so you need to install software to do actual"
128 - einfo "data transfer. Usually net-misc/rsync is a good choise, but ${PN} is"
129 - einfo "is flexible enough to use any user tool, see manual page for details."
130 - einfo
131 - einfo "${PN} init script can be multiplexed, to use symlink init script to"
132 - einfo "othername and use conf.d/othername to configure it."
133 - einfo
134 - einfo "If you're interested in improved security, enable"
135 - einfo "USE=\"caps cgroups hardened namespaces seccomp\""
136 -}
137
138 diff --git a/profiles/package.mask b/profiles/package.mask
139 index bd85a2d26f1..109cef2ae6e 100644
140 --- a/profiles/package.mask
141 +++ b/profiles/package.mask
142 @@ -274,13 +274,6 @@ dev-ruby/rack:2.1
143 # Bug #762361
144 media-sound/takcd
145
146 -# Andrew Savchenko <bircoph@g.o> (2020-12-26)
147 -# All docs and socket library functionality are merged back into single
148 -# app-admin/clsync package using USE="apidoc doc socket-library" starting
149 -# from clsync-0.4.5.
150 -# No reverse dependencies. Removal in 30 days.
151 -<app-admin/clsync-0.4.5
152 -
153 # Sergei Trofimovich <slyfox@g.o> (2020-12-20)
154 # Needs a port to haskell-src-exts compatible with ghc-8.8.
155 # https://github.com/ndmitchell/derive/pull/37