diff --git a/sysutils/acerhdf-kmod/Makefile b/sysutils/acerhdf-kmod/Makefile index 816702fd65b0..7ab97c150dfd 100644 --- a/sysutils/acerhdf-kmod/Makefile +++ b/sysutils/acerhdf-kmod/Makefile @@ -1,22 +1,19 @@ PORTNAME= acerhdf-kmod -DISTVERSIONPREFIX= v -DISTVERSION= 0.1.3 +DISTVERSION= 0.1.4 CATEGORIES= sysutils +MASTER_SITES= https://codeberg.org/attachments/c87b1205-eb13-4500-8066-254e7237277b?dummy=/ MAINTAINER= ports@FreeBSD.org COMMENT= Acer Aspire One fan control LICENSE= GPLv2 ONLY_FOR_ARCHS= amd64 i386 ONLY_FOR_ARCHS_REASON= specific to one machine USES= kmod uidfix -USE_GITHUB= yes -GH_ACCOUNT= t6 -GH_PROJECT= kmod-acerhdf post-install: ${INSTALL_MAN} ${WRKSRC}/acerhdf.4 ${STAGEDIR}${PREFIX}/man/man4 .include diff --git a/sysutils/acerhdf-kmod/distinfo b/sysutils/acerhdf-kmod/distinfo index 45de7beac5ff..3254581225cf 100644 --- a/sysutils/acerhdf-kmod/distinfo +++ b/sysutils/acerhdf-kmod/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1570257585 -SHA256 (t6-kmod-acerhdf-v0.1.3_GH0.tar.gz) = e8dc8ec6bf4fe706a45eaca92cb93cede328af1c86a11e666c188d4c66b6eb76 -SIZE (t6-kmod-acerhdf-v0.1.3_GH0.tar.gz) = 8610 +TIMESTAMP = 1662059361 +SHA256 (acerhdf-kmod-0.1.4.tar.gz) = 60b1dab64caa55f735de0cbd56b13bdf6c2dc1a4f6e7bfc916a7cc35dddc42c6 +SIZE (acerhdf-kmod-0.1.4.tar.gz) = 8629 diff --git a/sysutils/acerhdf-kmod/files/patch-acerhdf.c b/sysutils/acerhdf-kmod/files/patch-acerhdf.c deleted file mode 100644 index 5ac4bb73f8eb..000000000000 --- a/sysutils/acerhdf-kmod/files/patch-acerhdf.c +++ /dev/null @@ -1,23 +0,0 @@ ---- acerhdf.c.orig 2022-05-17 23:02:21 UTC -+++ acerhdf.c -@@ -246,8 +246,6 @@ struct acerhdf_softc { - struct sysctl_oid *sysctl_tree; - }; - --static devclass_t acerhdf_devclass; -- - ACPI_SERIAL_DECL(acerhdf, "Acer Aspire One fan control"); - - static const struct bios_settings *bios_cfg = NULL; -@@ -740,5 +738,11 @@ static driver_t acerhdf_driver = { - sizeof(struct acerhdf_softc), - }; - -+#if __FreeBSD_version >= 1400058 -+DRIVER_MODULE(acerhdf, acpi, acerhdf_driver, 0, 0); -+#else -+static devclass_t acerhdf_devclass; -+ - DRIVER_MODULE(acerhdf, acpi, acerhdf_driver, acerhdf_devclass, 0, 0); -+#endif - MODULE_DEPEND(acerhdf, acpi, 1, 1, 1); diff --git a/sysutils/acerhdf-kmod/pkg-descr b/sysutils/acerhdf-kmod/pkg-descr index eeff293c4db1..4f4daf6166a3 100644 --- a/sysutils/acerhdf-kmod/pkg-descr +++ b/sysutils/acerhdf-kmod/pkg-descr @@ -1,12 +1,12 @@ The acerhdf kernel module allows you to control the fans of some of the Acer Aspire One netbook models. This includes the models Acer AO521, Acer AO531h, Acer AO751h Acer Aspire 1410, Acer Aspire 1810T, Acer Aspire 1810TZ, Acer Aspire 1825PTZ, Acer Aspire 5315, Acer Aspire 5739G, Acer Aspire 5755G, Acer Aspire One 753, Acer Aspire One A110, Acer Aspire One A150, Acer Extensa 5420, Acer LT-10Q, Acer TM8573T, Acer TravelMate 7730G, Gateway AOA110, Gateway AOA150, Gateway LT31, Packard Bell AOA110, Packard Bell AOA150, Packard Bell DOA150, Packard Bell DOTMA, Packard Bell DOTMU, Packard Bell DOTVR46, and Packard Bell ENBFT. -WWW: https://github.com/t6/kmod-acerhdf +WWW: https://coderberg.org/tobik/acerhdf-kmod