aboutsummaryrefslogtreecommitdiff
path: root/sysutils/rtsx-kmod
diff options
context:
space:
mode:
authorGleb Popov <arrowd@FreeBSD.org>2020-06-11 16:02:21 +0000
committerGleb Popov <arrowd@FreeBSD.org>2020-06-11 16:02:21 +0000
commit83c896cf2f607bf617d2357c2f85aff07246a070 (patch)
treefb38e3c4ea6e8d3ddc4ca8dd25e1a2332584aa65 /sysutils/rtsx-kmod
parent74d894471ee37ec7cd5330e47405ebb5a73369de (diff)
downloadports-83c896cf2f607bf617d2357c2f85aff07246a070.tar.gz
ports-83c896cf2f607bf617d2357c2f85aff07246a070.zip
sysutils/rtsx-kmod: Add a port for a development version of the Realtek card readers driver.
PR: 204521
Notes
Notes: svn path=/head/; revision=538502
Diffstat (limited to 'sysutils/rtsx-kmod')
-rw-r--r--sysutils/rtsx-kmod/Makefile25
-rw-r--r--sysutils/rtsx-kmod/distinfo3
-rw-r--r--sysutils/rtsx-kmod/pkg-descr3
-rw-r--r--sysutils/rtsx-kmod/pkg-message5
4 files changed, 36 insertions, 0 deletions
diff --git a/sysutils/rtsx-kmod/Makefile b/sysutils/rtsx-kmod/Makefile
new file mode 100644
index 000000000000..dd16f377146b
--- /dev/null
+++ b/sysutils/rtsx-kmod/Makefile
@@ -0,0 +1,25 @@
+# $FreeBSD$
+
+PORTNAME= rtsx
+DISTVERSION= ${GH_TAGNAME}
+CATEGORIES= sysutils
+
+MAINTAINER= arrowd@FreeBSD.org
+COMMENT= FreeBSD driver for Realtec card readers
+
+LICENSE= BSD2CLAUSE
+
+USES= kmod uidfix
+
+USE_GITHUB= yes
+GH_ACCOUNT= hlh-restart
+GH_TAGNAME= 2020-06-11
+
+OPTIONS_DEFINE= INVERSION
+
+INVERSION_DESC= Invert codes for card detection and read-only switch
+INVERSION_CFLAGS= -DRTSX_INVERSION
+
+PLIST_FILES= ${KMODDIR}/rtsx.ko
+
+.include <bsd.port.mk>
diff --git a/sysutils/rtsx-kmod/distinfo b/sysutils/rtsx-kmod/distinfo
new file mode 100644
index 000000000000..92f2e0cf0984
--- /dev/null
+++ b/sysutils/rtsx-kmod/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1591890870
+SHA256 (hlh-restart-rtsx-2020-06-11_GH0.tar.gz) = 1155cfdb5b2af27734a02cb6e7292bd07a3120c1d03caddea28bda1298e8b677
+SIZE (hlh-restart-rtsx-2020-06-11_GH0.tar.gz) = 24203
diff --git a/sysutils/rtsx-kmod/pkg-descr b/sysutils/rtsx-kmod/pkg-descr
new file mode 100644
index 000000000000..a55fb7b98b68
--- /dev/null
+++ b/sysutils/rtsx-kmod/pkg-descr
@@ -0,0 +1,3 @@
+Development version of rtsx FreeBSD driver for Realtek card readers
+
+WWW: https://github.com/hlh-restart/rtsx
diff --git a/sysutils/rtsx-kmod/pkg-message b/sysutils/rtsx-kmod/pkg-message
new file mode 100644
index 000000000000..5e285f68af53
--- /dev/null
+++ b/sysutils/rtsx-kmod/pkg-message
@@ -0,0 +1,5 @@
+rtsx is currently in-development and EXPERIMENTAL. This port provides
+an easy and quick method for users to test this code to encourage early
+testing, feedback and bug reports.
+
+Please report successes and issues to: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204521