commit:     bba776291a3a1951e8c3b9ffb78458ddb0b01ae1
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 20 15:38:55 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Oct 20 15:52:09 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bba77629

sys-block/rts5229: Remove last-rited pkg

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 profiles/package.mask                            |  6 ---
 sys-block/rts5229/Manifest                       |  1 -
 sys-block/rts5229/files/rts5229-linux-3.10.patch | 53 ------------------------
 sys-block/rts5229/files/rts5229-linux-3.8.patch  | 29 -------------
 sys-block/rts5229/files/rts5229-vmalloc.patch    | 33 ---------------
 sys-block/rts5229/metadata.xml                   |  5 ---
 sys-block/rts5229/rts5229-1.07-r7.ebuild         | 40 ------------------
 7 files changed, 167 deletions(-)

diff --git a/profiles/package.mask b/profiles/package.mask
index 6a629efff37..8b4f09ed288 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -359,12 +359,6 @@ gnome-base/libgnomeui
 # Removal in 30 days.  Bug #726796.
 net-misc/gwget
 
-# David Seifert <[email protected]> (2020-09-20)
-# EAPI 4, last release in 2012, sandbox violations and
-# full of bugs. Mainlined since 3.14, Removal in 30 days.
-# Bug #679502, #701406, #701408, #742116.
-sys-block/rts5229
-
 # Michał Górny <[email protected]> (2020-09-09)
 # These packages (or package versions) still require Python 2.7.
 # They are either dead upstream, their Python 3 porting efforts are

diff --git a/sys-block/rts5229/Manifest b/sys-block/rts5229/Manifest
deleted file mode 100644
index 8cc9e1bf6ff..00000000000
--- a/sys-block/rts5229/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST rts5229-1.07.tar.bz2 67175 BLAKE2B 
43b1488ca788889ebbdcdcc03b3653a4323ce4550507e45f69f03caab5b37b561a17159b39a57eec7347f11fe6fb4e032c4c43c7b882a1a7e9eada2339d71575
 SHA512 
8df0396d5a08a22507e3a0a56321de6b17d1ca90b5cbdaa9712f56f5f4db026d1b49b9dacf244407889d354cb8eeac4e771388a0fc6eb00295b81456459a4503

diff --git a/sys-block/rts5229/files/rts5229-linux-3.10.patch 
b/sys-block/rts5229/files/rts5229-linux-3.10.patch
deleted file mode 100644
index 5044234fe07..00000000000
--- a/sys-block/rts5229/files/rts5229-linux-3.10.patch
+++ /dev/null
@@ -1,53 +0,0 @@
---- rts5229.a/rtsx.c   2013-07-03 05:24:40.728296993 +0530
-+++ rts5229.b/rtsx.c   2013-07-03 05:20:56.452568592 +0530
-@@ -126,38 +126,18 @@
- 
- 
- #undef SPRINTF
--#define SPRINTF(args...) \
--      do { if (pos < buffer+length) pos += sprintf(pos, ## args); } while (0)
-+#define SPRINTF(args...) seq_printf(m, ##args)
- 
--static int proc_info (struct Scsi_Host *host, char *buffer,
--              char **start, off_t offset, int length, int inout)
-+static int show_info(struct seq_file *m, struct Scsi_Host *host)
- {
--      char *pos = buffer;
- 
--      
--      if (inout)
--              return length;
--
--      
-       SPRINTF("   Host scsi%d: %s\n", host->host_no, CR_DRIVER_NAME);
--
-       
-       SPRINTF("       Vendor: Realtek Corp.\n");
-       SPRINTF("      Product: RTS5229\n");
-       SPRINTF("      Version: %s\n", DRIVER_VERSION);
-       SPRINTF("        Build: %s, %s\n", __DATE__, __TIME__);
--
--      /*
--       * Calculate start of next buffer, and return value.
--       */
--      *start = buffer + offset;
--
--      if ((pos - buffer) < offset)
--              return (0);
--      else if ((pos - buffer - offset) < length)
--              return (pos - buffer - offset);
--      else
--              return (length);
-+    return 0;
- }
- 
- 
-@@ -263,7 +243,7 @@
-       
-       .name =                         CR_DRIVER_NAME,
-       .proc_name =                    CR_DRIVER_NAME,
--      .proc_info =                    proc_info,
-+      .show_info =                    show_info,
-       .info =                         host_info,
- 
-       

diff --git a/sys-block/rts5229/files/rts5229-linux-3.8.patch 
b/sys-block/rts5229/files/rts5229-linux-3.8.patch
deleted file mode 100644
index 81779aef276..00000000000
--- a/sys-block/rts5229/files/rts5229-linux-3.8.patch
+++ /dev/null
@@ -1,29 +0,0 @@
---- rts5229.a/rtsx.c   2012-03-21 07:10:18.000000000 +0530
-+++ rts5229.b/rtsx.c   2013-05-29 01:06:32.333737569 +0530
-@@ -911,7 +911,7 @@
-       chip->support_mmc = 1;
- }
- 
--static int __devinit rtsx_probe(struct pci_dev *pci, const struct 
pci_device_id *pci_id)
-+static int rtsx_probe(struct pci_dev *pci, const struct pci_device_id *pci_id)
- {
-       struct Scsi_Host *host;
-       struct rtsx_dev *dev;
-@@ -1066,7 +1066,7 @@
- }
- 
- 
--static void __devexit rtsx_remove(struct pci_dev *pci)
-+static void rtsx_remove(struct pci_dev *pci)
- {
-       struct rtsx_dev *dev = (struct rtsx_dev *)pci_get_drvdata(pci);
- 
-@@ -1092,7 +1092,7 @@
-       .name = CR_DRIVER_NAME,
-       .id_table = rts5229_ids,
-       .probe = rtsx_probe,
--      .remove = __devexit_p(rtsx_remove),
-+      .remove = rtsx_remove,
- #ifdef CONFIG_PM
-       .suspend = rtsx_suspend,
-       .resume = rtsx_resume,

diff --git a/sys-block/rts5229/files/rts5229-vmalloc.patch 
b/sys-block/rts5229/files/rts5229-vmalloc.patch
deleted file mode 100644
index 51058cfb6f0..00000000000
--- a/sys-block/rts5229/files/rts5229-vmalloc.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-diff -Naur rts5229.a/ms.c rts5229.b/ms.c
---- rts5229.a/ms.c     2012-03-20 21:40:18.000000000 -0400
-+++ rts5229.b/ms.c     2015-09-17 01:13:54.830723253 -0400
-@@ -23,6 +23,7 @@
- #include <linux/blkdev.h>
- #include <linux/kthread.h>
- #include <linux/sched.h>
-+#include <linux/vmalloc.h>
- 
- #include "rtsx.h"
- #include "rtsx_transport.h"
-diff -Naur rts5229.a/rtsx_chip.c rts5229.b/rtsx_chip.c
---- rts5229.a/rtsx_chip.c      2012-03-20 21:40:18.000000000 -0400
-+++ rts5229.b/rtsx_chip.c      2015-09-17 01:13:29.574133449 -0400
-@@ -24,6 +24,7 @@
- #include <linux/kthread.h>
- #include <linux/sched.h>
- #include <linux/workqueue.h>
-+#include <linux/vmalloc.h>
- 
- #include "rtsx.h"
- #include "rtsx_transport.h"
-diff -Naur rts5229.a/rtsx_scsi.c rts5229.b/rtsx_scsi.c
---- rts5229.a/rtsx_scsi.c      2012-03-20 21:40:18.000000000 -0400
-+++ rts5229.b/rtsx_scsi.c      2015-09-17 01:13:44.035898653 -0400
-@@ -23,6 +23,7 @@
- #include <linux/blkdev.h>
- #include <linux/kthread.h>
- #include <linux/sched.h>
-+#include <linux/vmalloc.h>
- 
- #include "rtsx.h"
- #include "rtsx_transport.h"

diff --git a/sys-block/rts5229/metadata.xml b/sys-block/rts5229/metadata.xml
deleted file mode 100644
index 58f638b2ac3..00000000000
--- a/sys-block/rts5229/metadata.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
-<pkgmetadata>
-       <!--maintainer-needed-->
-</pkgmetadata>

diff --git a/sys-block/rts5229/rts5229-1.07-r7.ebuild 
b/sys-block/rts5229/rts5229-1.07-r7.ebuild
deleted file mode 100644
index a8fbcc63313..00000000000
--- a/sys-block/rts5229/rts5229-1.07-r7.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-
-inherit linux-mod
-
-DESCRIPTION="PCIE RTS5229 card reader driver for Linux"
-HOMEPAGE="http://www.realtek.com.tw/Downloads/downloadsView.aspx?PNid=15&PFid=25&Level=4&Conn=3&DownTypeID=3";
-SRC_URI="https://dev.gentoo.org/~vikraman/distfiles/${P}.tar.bz2";
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND=""
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${PN}"
-
-MODULE_NAMES="rts5229(misc/drivers/scsi)"
-BUILD_TARGETS="default"
-
-src_prepare() {
-       sed -e 's/\/lib\/modules\/\$(shell uname -r)\/build\//\$(KERNELDIR)/g' \
-               -i Makefile || die "Sed failed!"
-       ([ ${KV_MAJOR} -gt 3 ] || ([ ${KV_MAJOR} -eq 3 ] && [ ${KV_MINOR} -ge 8 
])) \
-               && epatch "${FILESDIR}/${PN}-linux-3.8.patch"
-       ([ ${KV_MAJOR} -gt 3 ] || ([ ${KV_MAJOR} -eq 3 ] && [ ${KV_MINOR} -ge 
10 ])) \
-               && epatch "${FILESDIR}/${PN}-linux-3.10.patch"
-       sed -e '/__DATE__/d' \
-               -i rtsx.c || die "Sed failed!"
-       epatch "${FILESDIR}/${PN}-vmalloc.patch"
-}
-
-pkg_setup() {
-       linux-mod_pkg_setup
-       BUILD_PARAMS="KERNELDIR=${KERNEL_DIR}"
-}

Reply via email to