mt-st: update to 1.7
authorRosen Penev <rosenp@gmail.com>
Sun, 30 Jun 2024 00:12:40 +0000 (17:12 -0700)
committerRosen Penev <rosenp@gmail.com>
Fri, 12 Jul 2024 20:15:33 +0000 (13:15 -0700)
New upstream.

Removed upstreamed patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
utils/mt-st/Makefile
utils/mt-st/patches/010-sysmacros.patch [deleted file]

index 71bfdcf995947e6fe51a9b0d947e9d0121d0fafb..31d6c4324f725f72ed4573cef8ed6e266d77878a 100644 (file)
@@ -8,15 +8,16 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=mt-st
-PKG_VERSION:=1.1
-PKG_RELEASE:=2
+PKG_VERSION:=1.7
+PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=ftp://ftp.ibiblio.org/pub/Linux/system/backup/
-PKG_HASH:=945cb4f3d9957dabe768f5941a9148b746396836c797b25f020c84319ba8170d
+PKG_SOURCE_URL:=https://github.com/iustin/mt-st/releases/download/v$(PKG_VERSION)
+PKG_HASH:=6d675488d89dad4fc76043afa379e7c967f3dd4d4306848e8cf69a20e582988d
 
 PKG_MAINTAINER:=Giuseppe Magnotta <giuseppe.magnotta@gmail.com>
-PKG_LICENSE:=GPL-2.0
+PKG_LICENSE:=GPL-2.0-or-later
+PKG_LICENSE_FILES:=COPYING
 
 include $(INCLUDE_DIR)/package.mk
 
@@ -24,7 +25,7 @@ define Package/mt-st
   SECTION:=utils
   CATEGORY:=Utilities
   TITLE:=Magnetic tape control tools for Linux SCSI tapes
-  URL:=http://ftp.ibiblio.org/pub/Linux/system/backup/
+  URL:=https://github.com/iustin/mt-st
 endef
 
 define Package/mt-st/description
diff --git a/utils/mt-st/patches/010-sysmacros.patch b/utils/mt-st/patches/010-sysmacros.patch
deleted file mode 100644 (file)
index 94abc2e..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
---- a/mt.c
-+++ b/mt.c
-@@ -20,6 +20,7 @@
- #include <fcntl.h>
- #include <sys/types.h>
- #include <sys/ioctl.h>
-+#include <sys/sysmacros.h>
- #include <sys/stat.h>
- #include <sys/utsname.h>
---- a/stinit.c
-+++ b/stinit.c
-@@ -16,6 +16,7 @@
- #include <errno.h>
- #include <fcntl.h>
- #include <dirent.h>
-+#include <limits.h>
- #include <sys/stat.h>
- #include <sys/ioctl.h>
- #include <sys/sysmacros.h>