Gentoo Archives: gentoo-commits

From: "Jakov Smolić" <jsmolic@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/csync/, profiles/, net-misc/csync/files/
Date: Tue, 16 Aug 2022 08:12:01
Message-Id: 1660637347.3a66bca5c747815b8f8def08e5ea353242275e9e.jsmolic@gentoo
1 commit: 3a66bca5c747815b8f8def08e5ea353242275e9e
2 Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
3 AuthorDate: Tue Aug 16 08:09:07 2022 +0000
4 Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 16 08:09:07 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a66bca5
7
8 net-misc/csync: treeclean
9
10 Closes: https://bugs.gentoo.org/791103
11 Closes: https://bugs.gentoo.org/833416
12 Closes: https://bugs.gentoo.org/836715
13 Closes: https://bugs.gentoo.org/857948
14 Closes: https://bugs.gentoo.org/527660
15 Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
16
17 net-misc/csync/Manifest | 1 -
18 net-misc/csync/csync-0.50.0-r2.ebuild | 49 ----------------------
19 .../csync/files/csync-0.50.0-gcc_5_and_8.patch | 36 ----------------
20 .../csync/files/csync-0.50.0-libssh-version.patch | 41 ------------------
21 net-misc/csync/metadata.xml | 11 -----
22 profiles/package.mask | 6 ---
23 6 files changed, 144 deletions(-)
24
25 diff --git a/net-misc/csync/Manifest b/net-misc/csync/Manifest
26 deleted file mode 100644
27 index d9dc7b493031..000000000000
28 --- a/net-misc/csync/Manifest
29 +++ /dev/null
30 @@ -1 +0,0 @@
31 -DIST csync-0.50.0.tar.xz 2705992 BLAKE2B b59ee573eea9bd7c46302d3db782b46f978d62219e3a3e70e97a012d1ea32681a1aa3133505c3833c5d1e6d0fcb90cc985d21553086ed8de28c7ca9fc8aa0099 SHA512 babe44af3a4f0bf58e011f1c33c7a6df9bc7751e03714dd64d8269c7c51bcc7f2ab32c4d286e5a11465c9498c988d1812c426a4f415f1138a4fb9fa341e1e29a
32
33 diff --git a/net-misc/csync/csync-0.50.0-r2.ebuild b/net-misc/csync/csync-0.50.0-r2.ebuild
34 deleted file mode 100644
35 index d749dab20f3e..000000000000
36 --- a/net-misc/csync/csync-0.50.0-r2.ebuild
37 +++ /dev/null
38 @@ -1,49 +0,0 @@
39 -# Copyright 1999-2021 Gentoo Authors
40 -# Distributed under the terms of the GNU General Public License v2
41 -
42 -EAPI=7
43 -
44 -inherit cmake
45 -
46 -DESCRIPTION="lightweight file synchronizer utility"
47 -HOMEPAGE="https://www.csync.org/"
48 -SRC_URI="https://open.cryptomilk.org/attachments/download/27/${P}.tar.xz"
49 -
50 -LICENSE="GPL-2"
51 -SLOT="0"
52 -KEYWORDS="~amd64 ~x86"
53 -IUSE="doc iconv samba +sftp test"
54 -RESTRICT="!test? ( test )"
55 -
56 -RDEPEND=">=dev-db/sqlite-3.4:3
57 - net-libs/neon[ssl]
58 - iconv? ( virtual/libiconv )
59 - samba? ( >=net-fs/samba-3.5 )
60 - sftp? ( >=net-libs/libssh-0.5[sftp] )
61 - !net-misc/ocsync"
62 -DEPEND="${RDEPEND}
63 - app-text/asciidoc
64 - doc? ( app-doc/doxygen )
65 - test? ( dev-util/cmocka )"
66 -
67 -PATCHES=( "${FILESDIR}"/${P}-gcc_5_and_8.patch
68 - "${FILESDIR}"/${P}-libssh-version.patch )
69 -src_prepare() {
70 - cmake_src_prepare
71 -
72 - # proper docdir
73 - sed -e "s:/doc/${PN}:/doc/${PF}:" \
74 - -i doc/CMakeLists.txt || die
75 -}
76 -
77 -src_configure() {
78 - local mycmakeargs=(
79 - -DSYSCONF_INSTALL_DIR="${EPREFIX}"/etc
80 - -DWITH_ICONV="$(usex iconv)"
81 - -DUNIT_TESTING="$(usex test)"
82 - $(cmake_use_find_package doc Doxygen)
83 - $(cmake_use_find_package samba SMBClient)
84 - $(cmake_use_find_package sftp LibSSH)
85 - )
86 - cmake_src_configure
87 -}
88
89 diff --git a/net-misc/csync/files/csync-0.50.0-gcc_5_and_8.patch b/net-misc/csync/files/csync-0.50.0-gcc_5_and_8.patch
90 deleted file mode 100644
91 index 44bcc3ed6819..000000000000
92 --- a/net-misc/csync/files/csync-0.50.0-gcc_5_and_8.patch
93 +++ /dev/null
94 @@ -1,36 +0,0 @@
95 -diff -Naur csync-0.50.0.orig/modules/csync_smb.c csync-0.50.0/modules/csync_smb.c
96 ---- csync-0.50.0.orig/modules/csync_smb.c 2013-07-29 14:04:37.000000000 +0200
97 -+++ csync-0.50.0/modules/csync_smb.c 2018-12-06 23:08:05.320992985 +0100
98 -@@ -49,7 +49,7 @@
99 - char *pw, int pwlen)
100 - {
101 - static int try_krb5 = 1;
102 -- char *h;
103 -+ const char *h;
104 -
105 - (void) smb_ctx;
106 - (void) shr;
107 -diff -Naur csync-0.50.0.orig/src/csync_log.h csync-0.50.0/src/csync_log.h
108 ---- csync-0.50.0.orig/src/csync_log.h 2013-07-29 14:04:37.000000000 +0200
109 -+++ csync-0.50.0/src/csync_log.h 2018-12-06 23:11:34.280239832 +0100
110 -@@ -55,7 +55,7 @@
111 - };
112 -
113 - #define CSYNC_LOG(priority, ...) \
114 -- csync_log(priority, __FUNCTION__, __VA_ARGS__)
115 -+ csync_log(priority, __func__, __VA_ARGS__)
116 -
117 - void csync_log(int verbosity,
118 - const char *function,
119 -diff -Naur csync-0.50.0.orig/tests/csync_tests/check_csync_log.c csync-0.50.0/tests/csync_tests/check_csync_log.c
120 ---- csync-0.50.0.orig/tests/csync_tests/check_csync_log.c 2013-04-22 13:00:35.000000000 +0200
121 -+++ csync-0.50.0/tests/csync_tests/check_csync_log.c 2018-12-06 23:11:34.280239832 +0100
122 -@@ -115,7 +115,7 @@
123 - rc = csync_set_log_callback(check_log_callback);
124 - assert_int_equal(rc, 0);
125 -
126 -- csync_log(1, __FUNCTION__, "rc = %d", rc);
127 -+ csync_log(1, __func__, "rc = %d", rc);
128 -
129 - rc = _tstat(path, &sb);
130 -
131
132 diff --git a/net-misc/csync/files/csync-0.50.0-libssh-version.patch b/net-misc/csync/files/csync-0.50.0-libssh-version.patch
133 deleted file mode 100644
134 index 77ce1cdafa14..000000000000
135 --- a/net-misc/csync/files/csync-0.50.0-libssh-version.patch
136 +++ /dev/null
137 @@ -1,41 +0,0 @@
138 -Index: csync-0.50.0/cmake/Modules/FindLibSSH.cmake
139 -===================================================================
140 ---- csync-0.50.0.orig/cmake/Modules/FindLibSSH.cmake
141 -+++ csync-0.50.0/cmake/Modules/FindLibSSH.cmake
142 -@@ -20,7 +20,7 @@ else (LIBSSH_LIBRARIES AND LIBSSH_INCLUD
143 -
144 - find_path(LIBSSH_INCLUDE_DIR
145 - NAMES
146 -- libssh/libssh.h
147 -+ libssh/libssh_version.h
148 - PATHS
149 - /usr/include
150 - /usr/local/include
151 -@@ -58,15 +58,15 @@ else (LIBSSH_LIBRARIES AND LIBSSH_INCLUD
152 - )
153 -
154 - if (LibSSH_FIND_VERSION)
155 -- file(STRINGS ${LIBSSH_INCLUDE_DIR}/libssh/libssh.h LIBSSH_VERSION_MAJOR
156 -+ file(STRINGS ${LIBSSH_INCLUDE_DIR}/libssh/libssh_version.h LIBSSH_VERSION_MAJOR
157 - REGEX "#define[ ]+LIBSSH_VERSION_MAJOR[ ]+[0-9]+")
158 - # Older versions of libssh like libssh-0.2 have LIBSSH_VERSION but not LIBSSH_VERSION_MAJOR
159 - if (LIBSSH_VERSION_MAJOR)
160 - string(REGEX MATCH "[0-9]+" LIBSSH_VERSION_MAJOR ${LIBSSH_VERSION_MAJOR})
161 -- file(STRINGS ${LIBSSH_INCLUDE_DIR}/libssh/libssh.h LIBSSH_VERSION_MINOR
162 -+ file(STRINGS ${LIBSSH_INCLUDE_DIR}/libssh/libssh_version.h LIBSSH_VERSION_MINOR
163 - REGEX "#define[ ]+LIBSSH_VERSION_MINOR[ ]+[0-9]+")
164 - string(REGEX MATCH "[0-9]+" LIBSSH_VERSION_MINOR ${LIBSSH_VERSION_MINOR})
165 -- file(STRINGS ${LIBSSH_INCLUDE_DIR}/libssh/libssh.h LIBSSH_VERSION_PATCH
166 -+ file(STRINGS ${LIBSSH_INCLUDE_DIR}/libssh/libssh_version.h LIBSSH_VERSION_PATCH
167 - REGEX "#define[ ]+LIBSSH_VERSION_MICRO[ ]+[0-9]+")
168 - string(REGEX MATCH "[0-9]+" LIBSSH_VERSION_PATCH ${LIBSSH_VERSION_PATCH})
169 -
170 -@@ -75,7 +75,7 @@ else (LIBSSH_LIBRARIES AND LIBSSH_INCLUD
171 - include(FindPackageVersionCheck)
172 - find_package_version_check(LibSSH DEFAULT_MSG)
173 - else (LIBSSH_VERSION_MAJOR)
174 -- message(STATUS "LIBSSH_VERSION_MAJOR not found in ${LIBSSH_INCLUDE_DIR}/libssh/libssh.h, assuming libssh is too old")
175 -+ message(STATUS "LIBSSH_VERSION_MAJOR not found in ${LIBSSH_INCLUDE_DIR}/libssh/libssh_version.h, assuming libssh is too old")
176 - set(LIBSSH_FOUND FALSE)
177 - endif (LIBSSH_VERSION_MAJOR)
178 - endif (LibSSH_FIND_VERSION)
179 \ No newline at end of file
180
181 diff --git a/net-misc/csync/metadata.xml b/net-misc/csync/metadata.xml
182 deleted file mode 100644
183 index 634008a187ee..000000000000
184 --- a/net-misc/csync/metadata.xml
185 +++ /dev/null
186 @@ -1,11 +0,0 @@
187 -<?xml version="1.0" encoding="UTF-8"?>
188 -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
189 -<pkgmetadata>
190 - <maintainer type="person">
191 - <email>voyageur@g.o</email>
192 - <name>Bernard Cafarelli</name>
193 - </maintainer>
194 - <use>
195 - <flag name="sftp">Enable sftp transfer support via <pkg>net-libs/libssh</pkg></flag>
196 - </use>
197 -</pkgmetadata>
198
199 diff --git a/profiles/package.mask b/profiles/package.mask
200 index 46f9088315d8..165e3cd8e1b2 100644
201 --- a/profiles/package.mask
202 +++ b/profiles/package.mask
203 @@ -507,12 +507,6 @@ dev-lang/ruby:2.6
204 # open bugs: bug #680358, bug #844694. Removal on 2022-08-15.
205 dev-util/docker-ls
206
207 -# Bernard Cafarelli <voyageur@g.o> (2022-07-14)
208 -# Dead upstream (last release in 2013, no tarballs or git download)
209 -# No reverse dependencies for a long time, several test and build failures
210 -# Bug #857948, removal on 2022-08-13.
211 -net-misc/csync
212 -
213 # Marek Szuba <marecki@g.o> (2022-07-13)
214 # Upstream has switched from CMake to hand-crafted Makefiles (yes, TO them),
215 # which have seriously messed up dependency handling and trigger several