commit:     a4717a7c2e9b7134b7272c51861c8105551224f9
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 26 08:28:44 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Dec 26 08:28:44 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4717a7c

sys-block/rts_pstor: Remove last-rited pkg

Closes: https://bugs.gentoo.org/756370
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 profiles/package.mask                              |  8 -----
 sys-block/rts_pstor/Manifest                       |  1 -
 .../rts_pstor/files/fix-compile-kernel-5.0.0.patch | 36 -------------------
 .../files/rts_pstor-makefile-kernel-5.1.patch      |  7 ----
 sys-block/rts_pstor/files/rts_pstor-makefile.patch |  8 -----
 sys-block/rts_pstor/metadata.xml                   | 11 ------
 .../rts_pstor/rts_pstor-1.10_p20160103-r1.ebuild   | 42 ----------------------
 7 files changed, 113 deletions(-)

diff --git a/profiles/package.mask b/profiles/package.mask
index 29cc70d6cb7..7cd75c9a8d1 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -218,14 +218,6 @@ dev-libs/libclangformat-ide
 # Bug #709512, #713300, #729518, Removal in 30 days.
 app-text/cook
 
-# Martin Dummer <[email protected]> (2020-11-25)
-# Does not compile with kernels >=5.5, no upstream development
-# since years, for most hardware the in-kernel module
-# rtsx_pci_sdmmc should be preferred over this driver.
-# Open bugs #712484 #717184 #741909.
-# Removal in 30 days. (bug #756370)
-sys-block/rts_pstor
-
 # Thomas Deutschmann <[email protected]> (2020-11-24)
 # Serious data corruption bug when using XFS, see 
https://www.spinics.net/lists/linux-xfs/msg47004.html
 # Feel free to manually unmask when not using XFS.

diff --git a/sys-block/rts_pstor/Manifest b/sys-block/rts_pstor/Manifest
deleted file mode 100644
index 283cf39a523..00000000000
--- a/sys-block/rts_pstor/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST rts_pstor-1.10_p20160103.tar.gz 108102 BLAKE2B 
9cbca345211f7c99c6d9cf71b0ed207a4c911569eee6c63bfbe15c094be08f64c4550f04d9df688969f43564b2ff6a91d5cc72b8ab281cfdffb6884688b354de
 SHA512 
d802a52b1e2da447a218472e77ca6ecc56e3b3767e3eb8daf634152675171c79c86e3b5ca9654b67cf32f63740c347bf7ecee5a1d20eb1c15a3a2ad3e9774311

diff --git a/sys-block/rts_pstor/files/fix-compile-kernel-5.0.0.patch 
b/sys-block/rts_pstor/files/fix-compile-kernel-5.0.0.patch
deleted file mode 100644
index 7ea6ba6fd26..00000000000
--- a/sys-block/rts_pstor/files/fix-compile-kernel-5.0.0.patch
+++ /dev/null
@@ -1,36 +0,0 @@
---- a/rtsx.h
-+++ b/rtsx.h
-@@ -81,6 +81,17 @@
-       pci_get_domain_bus_and_slot(0, (bus), (devfn))
- #endif
- 
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 0, 0)
-+static void do_gettimeofday(struct timeval *tv)
-+{
-+      struct timespec64 now;
-+
-+      ktime_get_real_ts64(&now);
-+      tv->tv_sec = now.tv_sec;
-+      tv->tv_usec = now.tv_nsec / 1000;
-+}
-+#endif
-+
- /*
-  * macros for easy use
-  */
---- a/rtsx.c
-+++ b/rtsx.c
-@@ -300,11 +300,13 @@
-       
-       .max_sectors =                  240,
- 
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 0, 0)
-       /* merge commands... this seems to help performance, but
-        * periodically someone should test to see which setting is more
-        * optimal.
-        */
-       .use_clustering =               1,
-+#endif
- 
-       
-       .emulated =                     1,

diff --git a/sys-block/rts_pstor/files/rts_pstor-makefile-kernel-5.1.patch 
b/sys-block/rts_pstor/files/rts_pstor-makefile-kernel-5.1.patch
deleted file mode 100644
index ff527e8a530..00000000000
--- a/sys-block/rts_pstor/files/rts_pstor-makefile-kernel-5.1.patch
+++ /dev/null
@@ -1,7 +0,0 @@
---- a/Makefile
-+++ b/Makefile
-@@ -36,3 +36,3 @@
-       cp -f ./define.release ./define.h
--      make -C /lib/modules/$(shell uname -r)/build/ SUBDIRS=$(PWD) modules
-+      +make -C $(KERNELDIR) M=$(PWD) modules
- debug:

diff --git a/sys-block/rts_pstor/files/rts_pstor-makefile.patch 
b/sys-block/rts_pstor/files/rts_pstor-makefile.patch
deleted file mode 100644
index dc12cd68f52..00000000000
--- a/sys-block/rts_pstor/files/rts_pstor-makefile.patch
+++ /dev/null
@@ -1,8 +0,0 @@
-diff -N -a -u1 a/Makefile b/Makefile
---- a/Makefile 2016-01-03 14:41:40.000000000 +0100
-+++ b/Makefile 2018-12-11 23:47:44.942218496 +0100
-@@ -36,3 +36,3 @@
-       cp -f ./define.release ./define.h
--      make -C /lib/modules/$(shell uname -r)/build/ SUBDIRS=$(PWD) modules
-+      +make -C $(KERNELDIR) SUBDIRS=$(PWD) modules
- debug:

diff --git a/sys-block/rts_pstor/metadata.xml b/sys-block/rts_pstor/metadata.xml
deleted file mode 100644
index 429074c44a3..00000000000
--- a/sys-block/rts_pstor/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
-<pkgmetadata>
-       <maintainer type="person">
-               <email>[email protected]</email>
-       </maintainer>
-       <maintainer type="project">
-               <email>[email protected]</email>
-               <name>Proxy Maintainers</name>
-       </maintainer>
-</pkgmetadata>

diff --git a/sys-block/rts_pstor/rts_pstor-1.10_p20160103-r1.ebuild 
b/sys-block/rts_pstor/rts_pstor-1.10_p20160103-r1.ebuild
deleted file mode 100644
index aebf0d373c1..00000000000
--- a/sys-block/rts_pstor/rts_pstor-1.10_p20160103-r1.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit linux-mod
-
-GIT_COMMIT="c8313abffe083ac63bf76d2cc90d3edf5b2d1188"
-
-DESCRIPTION="PCI-E RTS5209 card reader driver for Linux"
-HOMEPAGE="https://github.com/gexplorer/RTS5209-linux-driver";
-SRC_URI="https://github.com/gexplorer/RTS5209-linux-driver/archive/${GIT_COMMIT}.tar.gz
 -> ${P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-DEPEND="virtual/linux-sources"
-S="${WORKDIR}/RTS5209-linux-driver-${GIT_COMMIT}"
-
-MODULE_NAMES="rts_pstor(misc/drivers/scsi)"
-MODULESD_RTS_PSTOR_ADDITIONS=(
-       "# when rts_pstor is installed, blacklist in-kernel driver rtsx_pci"
-       "blacklist rtsx_pci"
-)
-BUILD_TARGETS="default"
-BUILD_PARAMS="KERNELDIR=${KERNEL_DIR}"
-CONFIG_CHECK="~!MISC_RTSX_PCI !FORTIFY_SOURCE"
-ERROR_MISC_RTSX_PCI="CONFIG_MISC_RTSX_PCI: The in-kernel driver rtsx_pci is 
configured, which may have the same functionality than this driver. To make 
sure that your kernel loads only rts_pstor, the rtsx_pci module will be 
blacklisted."
-ERROR_FORTIFY_SOURCE="CONFIG_FORTIFY_SOURCE: this module is known to fail 
compiling when the hardening option CONFIG_FORTIFY_SOURCE is set"
-
-src_prepare() {
-       default
-
-       eapply "${FILESDIR}/fix-compile-kernel-5.0.0.patch"
-       kernel_is le 5 0 && eapply "${FILESDIR}/rts_pstor-makefile.patch" || 
eapply "${FILESDIR}/rts_pstor-makefile-kernel-5.1.patch"
-}
-
-pkg_postinst() {
-       elog "This driver is based on code published by Realtek. There is a 
driver in the kernel named rtsx_pci which"
-       elog "should be preferred over this driver - but on some hardware only 
this driver is functional and rtsx_pci is not."
-}

Reply via email to