use new SITES.x/DISTFILES.x in a few ports

This commit is contained in:
sthen
2023-09-19 17:32:05 +00:00
parent 0bbc72f667
commit 3d6f7cd4e1
10 changed files with 56 additions and 63 deletions
+4 -6
View File
@@ -23,10 +23,8 @@ PERMIT_PACKAGE = Yes
WANTLIB = c pthread
MASTER_SITES = https://golang.org/dl/
MASTER_SITES0 = https://download.exigere.com.au/pub/go/
DISTFILES = ${DISTNAME}${EXTRACT_SUFX}
SITES = https://golang.org/dl/
SITES.bootstrap = https://download.exigere.com.au/pub/go/
BUILD_DEPENDS = shells/bash
@@ -69,10 +67,10 @@ MAKE_ENV += TMPDIR="${WRKBUILD}"
MAKE_ENV += GO386=softfloat
.for arch in ${BIN_BOOTSTRAP_GOARCHS}
SUPDISTFILES += go-openbsd-${arch}-bootstrap-${BIN_BOOTSTRAP_VERSION}${EXTRACT_SUFX}:0
SUPDISTFILES.bootstrap += go-openbsd-${arch}-bootstrap-${BIN_BOOTSTRAP_VERSION}${EXTRACT_SUFX}
.if ${GOARCH} == ${arch} && !${FLAVOR:Mnative_bootstrap}
DISTFILES += go-openbsd-${GOARCH}-bootstrap-${BIN_BOOTSTRAP_VERSION}${EXTRACT_SUFX}:0
DISTFILES.bootstrap += go-openbsd-${GOARCH}-bootstrap-${BIN_BOOTSTRAP_VERSION}${EXTRACT_SUFX}
GOROOT_BOOTSTRAP = ${WRKDIR}/go-openbsd-${GOARCH}-bootstrap
.endif
.endfor
+18 -18
View File
@@ -1,13 +1,13 @@
COMMENT= browser for a large lexical database of English
DISTNAME= WordNet-3.0
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} wn3.1.dict.tar.gz:0
DISTFILES.dict= wn3.1.dict.tar.gz
PKGNAME= wordnet-3.1
REVISION= 2
REVISION= 3
CATEGORIES= misc
HOMEPAGE= http://wordnet.princeton.edu/
HOMEPAGE= https://wordnet.princeton.edu/
# BSD
PERMIT_PACKAGE= Yes
@@ -15,29 +15,29 @@ PERMIT_PACKAGE= Yes
WANTLIB += X11 Xau Xdmcp Xext Xft Xrender Xss c expat fontconfig
WANTLIB += freetype m xcb z ${MODTK_WANTLIB}
MASTER_SITES= http://wordnetcode.princeton.edu/3.0/
MASTER_SITES0= http://wordnetcode.princeton.edu/
SITES= https://wordnetcode.princeton.edu/3.0/
SITES.dict= https://wordnetcode.princeton.edu/
MODULES= x11/tk
MODULES= x11/tk
RUN_DEPENDS += devel/desktop-file-utils
LIB_DEPENDS += ${MODTK_LIB_DEPENDS}
RUN_DEPENDS += devel/desktop-file-utils
LIB_DEPENDS += ${MODTK_LIB_DEPENDS}
CONFIGURE_STYLE= simple
CONFIGURE_ARGS= --prefix='${PREFIX}/share/wordnet' \
--exec-prefix='${PREFIX}' \
--sysconfdir='${SYSCONFDIR}' \
--mandir='${PREFIX}/man' \
--includedir='${PREFIX}/include' \
--with-tcl=${MODTCL_LIBDIR} \
--with-tk=${MODTK_LIBDIR}
CONFIGURE_ARGS= --prefix='${PREFIX}/share/wordnet' \
--exec-prefix='${PREFIX}' \
--sysconfdir='${SYSCONFDIR}' \
--mandir='${PREFIX}/man' \
--includedir='${PREFIX}/include' \
--with-tcl=${MODTCL_LIBDIR} \
--with-tk=${MODTK_LIBDIR}
CFLAGS+= -I${MODTK_INCDIR} -I${MODTCL_INCDIR}
CFLAGS+= -I${MODTK_INCDIR} -I${MODTCL_INCDIR}
CONFIGURE_ENV+= CFLAGS="${CFLAGS}"
CONFIGURE_ENV+= CFLAGS="${CFLAGS}"
NO_TEST= Yes
NO_TEST= Yes
pre-configure:
@${SUBST_CMD} ${WRKSRC}/include/wn.h ${WRKSRC}/src/wnb
+3 -5
View File
@@ -13,11 +13,9 @@ CATEGORIES= net
MAINTAINER= Stuart Henderson <stu.ports@spacehopper.org>
MASTER_SITES= https://github.com/royhills/arp-scan/releases/download/$V/
MASTER_SITES0= https://spacehopper.org/mirrors/
DISTFILES= ${DISTNAME}.tar.gz \
oui-iab-$M.tar.xz:0
SITES= https://github.com/royhills/arp-scan/releases/download/$V/
SITES.iab= https://spacehopper.org/mirrors/
DISTFILES.iab= oui-iab-$M.tar.xz
# GPLv3+
PERMIT_PACKAGE= Yes
+4 -4
View File
@@ -1,4 +1,4 @@
MASTER_SITES= ${MASTER_SITE_APACHE:=guacamole/$V/binary/}
SITES= ${SITE_APACHE:=guacamole/$V/binary/}
DISTNAME= guacamole-$V
DISTFILES= guacamole-$V.war
@@ -24,8 +24,8 @@ EXTRACT_ONLY+= guacamole-$a-$V.tar.gz
PKGNAME-$a= guacamole-$a-$V
.endfor
MASTER_SITES0= https://
# yes this is intentional
SITES.multi= https://
# hold at 9.x MS driver; 10.x defaults to using TLS encryption and needs
# a connection string to disable, but guacamole-auth-jdbc-sqlserver doesn't
# allow setting this, only host/user/pass.
@@ -33,7 +33,7 @@ MASTER_SITES0= https://
github.com/microsoft/mssql-jdbc/releases/download/v9.4.1 mssql-jdbc -9.4.1.jre8 \
jdbc.postgresql.org/download postgresql -42.3.3 \
downloads.mariadb.com/Connectors/java/connector-java-2.7.3 mariadb-java-client -2.7.3
DISTFILES+= {${liburl}/}${libjar}${libver}.jar:0
DISTFILES.multi+= {${liburl}/}${libjar}${libver}.jar
LIBS+= ${libjar}${libver}.jar ${libjar}.jar
.endfor
+1 -1
View File
@@ -1,4 +1,4 @@
MASTER_SITES= ${MASTER_SITE_APACHE:=guacamole/$V/source/}
SITES= ${MASTER_SITE_APACHE:=guacamole/$V/source/}
DISTNAME= guacamole-server-$V
COMMENT= clientless remote desktop gateway
+1 -2
View File
@@ -15,8 +15,7 @@ PERMIT_PACKAGE= Yes
WANTLIB += c curses event_core event_extra pthread readline
MASTER_SITES= https://media.luffy.cx/files/lldpd/
MASTER_SITES0= https://www.ieee802.org/1/files/public/MIBs/
SITES= https://media.luffy.cx/files/lldpd/
FLAVORS= snmp
FLAVOR?=
+12 -12
View File
@@ -2,20 +2,20 @@
COMMENT = controller for Ubiquiti uniFi (wifi/routing/switching/voip)
_BV = ${BUILD_V:C/^http[^-]*-([0-9a-f]{10}).*/-\1/}
MASTER_SITES ?= https://dl.ui.com/unifi/${V}${_BV}/
MASTER_SITES0 = https://spacehopper.org/mirrors/
MASTER_SITES1 = https://dl.ubnt-ut.com/snmp/
SITES ?= https://dl.ui.com/unifi/${V}${_BV}/
DISTFILES = unifi-$V{UniFi.unix}.zip \
unifi_sh_api-$V{unifi_sh_api}
SITES.sh = https://spacehopper.org/mirrors/
LOG4J_V = 2.17.1
MASTER_SITES2 = https://dlcdn.apache.org/logging/log4j/${LOG4J_V}/
SITES.log4j = ${SITE_APACHE:=logging/log4j/${LOG4J_V}/}
COMMONSTEXT_V = 1.10.0
MASTER_SITES3 = https://dlcdn.apache.org/commons/text/binaries/
SITES.commons = ${SITE_APACHE:=commons/text/binaries/}
DISTFILES += unifi-$V{UniFi.unix}.zip \
unifi_sh_api-$V{unifi_sh_api} \
UBNT-MIB:1 \
UBNT-UniFi-MIB:1
SITES.snmp = https://dl.ubnt-ut.com/snmp/
DISTFILES.snmp = UBNT-MIB UBNT-UniFi-MIB
EXTRACT_ONLY = unifi-$V.zip
PKGNAME = unifi-$V
@@ -26,16 +26,16 @@ PKGNAME = unifi-$V
#
# typical symptom of failure: APs stuck in "adopting".
SNAPPY_S ?= -libc++.9.0
DISTFILES += snappy-java-${SNAPPY_V}${SNAPPY_S}.jar:0
DISTFILES.sh += snappy-java-${SNAPPY_V}${SNAPPY_S}.jar
REPLACE_LOG4J ?= No
.if ${REPLACE_LOG4J} == Yes
DISTFILES += apache-log4j-${LOG4J_V}-bin.tar.gz:2
DISTFILES.log4j += apache-log4j-${LOG4J_V}-bin.tar.gz
EXTRACT_ONLY += apache-log4j-${LOG4J_V}-bin.tar.gz
.endif
REPLACE_COMMONSTEXT ?= No
.if ${REPLACE_COMMONSTEXT} == Yes
DISTFILES += commons-text-${COMMONSTEXT_V}-bin.tar.gz:3
DISTFILES.commons += commons-text-${COMMONSTEXT_V}-bin.tar.gz
EXTRACT_ONLY += commons-text-${COMMONSTEXT_V}-bin.tar.gz
.endif
+5 -6
View File
@@ -19,12 +19,11 @@ PERMIT_PACKAGE= Yes
HOMEPAGE= https://gitlab.com/pdftk-java/
MASTER_SITES= https://gitlab.com/pdftk-java/pdftk/-/archive/v$V/
MASTER_SITES0= ${MASTER_SITE_APACHE:=commons/lang/binaries/}
MASTER_SITES1= https://www.bouncycastle.org/download/
DISTFILES= pdftk-v$V.tar.gz \
commons-lang3-${CL3}-bin.tar.gz:0 \
bcprov-jdk18on-${BC}.jar:1
SITES= https://gitlab.com/pdftk-java/pdftk/-/archive/v$V/
SITES.comm= ${SITE_APACHE:=commons/lang/binaries/}
DISTFILES.comm= commons-lang3-${CL3}-bin.tar.gz
SITES.bc= https://www.bouncycastle.org/download/
DISTFILES.bc= bcprov-jdk18on-${BC}.jar
MODULES= java
MODJAVA_VER= 1.8+
+3 -3
View File
@@ -8,8 +8,9 @@ GH_PROJECT = sphinx_rtd_theme
GH_TAGNAME = ${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
DISTFILES = ${DISTNAME}.tar.gz \
sphinx-rtd-theme_${MODPY_EGG_VERSION}+dfsg-1.debian.tar.xz:0
SITES.deb = ${SITE_DEBIAN:=main/s/sphinx-rtd-theme/}
DISTFILES.deb = sphinx-rtd-theme_${MODPY_EGG_VERSION}+dfsg-1.debian.tar.xz
CATEGORIES = textproc
@@ -21,7 +22,6 @@ BUILD_DEPENDS = textproc/py-sphinxcontrib/jquery${MODPY_FLAVOR}
RUN_DEPENDS = textproc/py-sphinxcontrib/jquery${MODPY_FLAVOR}
MODPY_PYBUILD = setuptools
MASTER_SITES0 = ${MASTER_SITE_DEBIAN:=main/s/sphinx-rtd-theme/}
FLAVORS = python3
FLAVOR = python3
+5 -6
View File
@@ -6,8 +6,7 @@ GH_TAGNAME= v1.13.1
REVISION= 0
# update the post-patch target if moving to a new major branch of xorg-server
DISTFILES= ${GH_DISTFILE} \
xorg-server-21.1.1.tar.xz:0
DISTFILES.x= xorg-server-21.1.1.tar.xz
CATEGORIES= x11 net
EPOCH= 0
@@ -28,15 +27,15 @@ WANTLIB += iconv idn2 intl jpeg kvm m nettle p11-kit
WANTLIB += pixman-1 swscale tasn1 unistring xcb xshmfence
WANTLIB += z zstd
MASTER_SITES0= https://www.x.org/releases/individual/xserver/
MASTER_SITES.x= https://www.x.org/releases/individual/xserver/
# the vncserver script in 1.11.0+ is no longer useful for us (systemd/pam
# dependencies) so fetch an old working one from the v1.10.1 tag.
SCRIPTV= 1.10.1
MASTER_SITES1= https://raw.githubusercontent.com/TigerVNC/tigervnc/v${SCRIPTV}/unix/
MASTER_SITES.t= https://raw.githubusercontent.com/TigerVNC/tigervnc/v${SCRIPTV}/unix/
EXTRACT_ONLY= ${GH_DISTFILE} xorg-server-21.1.1.tar.xz
DISTFILES+= tigervnc-vncserver-${SCRIPTV}.pl{vncserver}:1 \
tigervnc-vncserver-${SCRIPTV}.man{vncserver.man}:1
DISTFILES.t= tigervnc-vncserver-${SCRIPTV}.pl{vncserver} \
tigervnc-vncserver-${SCRIPTV}.man{vncserver.man}
# main parts use cmake, Xvnc uses autoconf
# Xvnc requires files generated in the cmake build stage that aren't