audio/alsa-utils: Switch master site to GitHub.

The original distfiles are getting hard to come by for some reason, so
switch to pulling source tarballs directly from GitHub.  Replace
patches that apply to generated files with patches that apply to their
sources.
This commit is contained in:
Dag-Erling Smørgrav 2021-10-13 00:21:23 +00:00
parent a4ab68d2ff
commit f305cf6bd0
4 changed files with 18 additions and 16 deletions

View file

@ -2,9 +2,14 @@
PORTNAME= alsa-utils
PORTVERSION= 1.2.2
PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= audio
MASTER_SITES= ftp://ftp.alsa-project.org/pub/utils/ \
GENTOO
MASTER_SITES= GH
USE_GITHUB= yes
GH_ACCOUNT= alsa-project
GH_PROJECT= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= ALSA compatibility utilities

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1615527978
SHA256 (alsa-utils-1.2.2.tar.bz2) = 44807bd578c5f6df6e91a11b8d37e546424a5a1ea8d8e659ee359fe01730e4f3
SIZE (alsa-utils-1.2.2.tar.bz2) = 1274821
TIMESTAMP = 1634081670
SHA256 (alsa-project-alsa-utils-v1.2.2_GH0.tar.gz) = 9da1ce4f12a4dd56d55cd5a8f6ae7d56ac91397c3d37fdfcd737adeeb34fce1c
SIZE (alsa-project-alsa-utils-v1.2.2_GH0.tar.gz) = 1252639

View file

@ -0,0 +1,8 @@
--- alsactl/Makefile.am.orig 2020-02-19 12:02:10 UTC
+++ alsactl/Makefile.am
@@ -66,4 +66,4 @@ CLEANFILES = \
90-alsa-restore.rules
%.7: %.xml
- xmlto man $?
+ $(xmlto) man $?

View file

@ -1,11 +0,0 @@
--- alsactl/Makefile.in.orig 2021-03-12 04:46:51 UTC
+++ alsactl/Makefile.in
@@ -1110,7 +1110,7 @@ alsa-restore.service: alsa-restore.service.in
$(edit)
%.7: %.xml
- xmlto man $?
+ $(xmlto) man $?
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.