diff --git a/sysutils/Makefile b/sysutils/Makefile index f536a5f510fd..3d46fd0988bb 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -1062,6 +1062,7 @@ SUBDIR += rsyncbackup SUBDIR += rsyncrypto SUBDIR += rsyslog8 + SUBDIR += rtsx-kmod SUBDIR += rtty SUBDIR += rubygem-backup SUBDIR += rubygem-bolt 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 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