Fetch go depends from github
This commit is contained in:
44
Makefile
44
Makefile
@ -4,9 +4,21 @@ PORTNAME= mynettcptable
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 1.0.0-rc2
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= https://git.nosd.in/yo/mynettcptable/archive/
|
||||
MASTER_SITES= https://git.nosd.in/yo/mynettcptable/archive/ \
|
||||
https://codeload.github.com/Azure/go-ntlmssp/tar.gz/48547f28849e?dummy=/:SRC2 \
|
||||
https://codeload.github.com/go-asn1-ber/asn1-ber/tar.gz/v1.5.4?dummy=/:SRC3 \
|
||||
https://codeload.github.com/go-ldap/ldap/tar.gz/v3.4.3?dummy=/:SRC4 \
|
||||
https://codeload.github.com/golang/crypto/tar.gz/ae2d96664a29?dummy=/:SRC5 \
|
||||
https://codeload.github.com/golang/sys/tar.gz/665e8c7367d1?dummy=/:SRC6 \
|
||||
https://codeload.github.com/peterbourgon/ff/tar.gz/v1.7.1?dummy=/:SRC7 \
|
||||
https://codeload.github.com/sirupsen/logrus/tar.gz/v1.8.1?dummy=/:SRC8 \
|
||||
https://codeload.github.com/tabalt/pidfile/tar.gz/v1.1.0?dummy=/:SRC9
|
||||
# Gitea packaging need some tweaks
|
||||
DISTNAME= ${DISTVERSIONPREFIX}${DISTVERSION}
|
||||
DISTNAME= ${DISTVERSIONPREFIX}${DISTVERSION}${EXTRACT_SUFX} Azure-go-ntlmssp-48547f28849e_GH0.tar.gz:SRC2 \
|
||||
go-asn1-ber-asn1-ber-v1.5.4_GH0.tar.gz:SRC3 go-ldap-ldap-v3.4.3_GH0.tar.gz:SRC4 \
|
||||
golang-crypto-ae2d96664a29_GH0.tar.gz:SRC5 golang-sys-665e8c7367d1_GH0.tar.gz:SRC6 \
|
||||
peterbourgon-ff-v1.7.1_GH0.tar.gz:SRC7 sirupsen-logrus-v1.8.1_GH0.tar.gz:SRC8 \
|
||||
tabalt-pidfile-v1.1.0_GH0.tar.gz:SRC9
|
||||
|
||||
MAINTAINER= johan@nosd.in
|
||||
COMMENT= Postfix tcp_table service to get mynetworks from LDAP
|
||||
@ -17,21 +29,27 @@ USES= go
|
||||
|
||||
# Gitea packaging need some tweaks
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
|
||||
EXTRACT_AFTER_ARGS= && ${MV} ${PORTNAME} ${PORTNAME}-${DISTVERSION}
|
||||
EXTRACT_AFTER_ARGS= && ( [ -d ${PORTNAME} ] && ${MV} ${PORTNAME} ${PORTNAME}-${DISTVERSION} || /usr/bin/true ) \
|
||||
&& ( [ -d go-ntlmssp-48547f28849e ] && ( ${MKDIR} ${PORTNAME}-${DISTVERSION}/vendor/github.com/Azure && \
|
||||
${MV} go-ntlmssp-48547f28849e ${PORTNAME}-${DISTVERSION}/vendor/github.com/Azure/go-ntlmssp ) || /usr/bin/true ) \
|
||||
&& ( [ -d asn1-ber-1.5.4 ] && ( ${MKDIR} ${PORTNAME}-${DISTVERSION}/vendor/github.com/go-asn1-ber && \
|
||||
${MV} asn1-ber-1.5.4 ${PORTNAME}-${DISTVERSION}/vendor/github.com/go-asn1-ber/asn1-ber ) || /usr/bin/true ) \
|
||||
&& ( [ -d ldap-3.4.3 ] && ( ${MKDIR} ${PORTNAME}-${DISTVERSION}/vendor/github.com/go-ldap && \
|
||||
${MV} ldap-3.4.3 ${PORTNAME}-${DISTVERSION}/vendor/github.com/go-ldap/ldap ) || /usr/bin/true ) \
|
||||
&& ( [ -d crypto-ae2d96664a29 ] && ( ${MKDIR} ${PORTNAME}-${DISTVERSION}/vendor/golang.org/x && \
|
||||
${MV} crypto-ae2d96664a29 ${PORTNAME}-${DISTVERSION}/vendor/golang.org/x/crypto ) || /usr/bin/true ) \
|
||||
&& ( [ -d sys-665e8c7367d1 ] && ( ${MKDIR} ${PORTNAME}-${DISTVERSION}/vendor/golang.org/x && \
|
||||
${MV} sys-665e8c7367d1 ${PORTNAME}-${DISTVERSION}/vendor/golang.org/x/sys ) || /usr/bin/true ) \
|
||||
&& ( [ -d ff-1.7.1 ] && ( ${MKDIR} ${PORTNAME}-${DISTVERSION}/vendor/github.com/peterbourgon && \
|
||||
${MV} ff-1.7.1 ${PORTNAME}-${DISTVERSION}/vendor/github.com/peterbourgon/ff ) || /usr/bin/true ) \
|
||||
&& ( [ -d logrus-1.8.1 ] && ( ${MKDIR} ${PORTNAME}-${DISTVERSION}/vendor/github.com/sirupsen && \
|
||||
${MV} logrus-1.8.1 ${PORTNAME}-${DISTVERSION}/vendor/github.com/sirupsen/logrus ) || /usr/bin/true ) \
|
||||
&& ( [ -d pidfile-1.1.0 ] && ( ${MKDIR} ${PORTNAME}-${DISTVERSION}/vendor/github.com/tabalt && \
|
||||
${MV} pidfile-1.1.0 ${PORTNAME}-${DISTVERSION}/vendor/github.com/tabalt/pidfile ) || /usr/bin/true ) \
|
||||
|
||||
USERS= nobody
|
||||
GROUPS= nogroup
|
||||
|
||||
GH_TUPLE= \
|
||||
Azure:go-ntlmssp:48547f28849e:azure_go_ntlmssp/vendor/github.com/Azure/go-ntlmssp \
|
||||
go-asn1-ber:asn1-ber:v1.5.4:go_asn1_ber_asn1_ber/vendor/github.com/go-asn1-ber/asn1-ber \
|
||||
go-ldap:ldap:v3.4.3:go_ldap_ldap_v3/vendor/github.com/go-ldap/ldap \
|
||||
golang:crypto:ae2d96664a29:golang_crypto/vendor/golang.org/x/crypto \
|
||||
golang:sys:665e8c7367d1:golang_sys/vendor/golang.org/x/sys \
|
||||
peterbourgon:ff:v1.7.1:peterbourgon_ff/vendor/github.com/peterbourgon/ff \
|
||||
sirupsen:logrus:v1.8.1:sirupsen_logrus/vendor/github.com/sirupsen/logrus \
|
||||
tabalt:pidfile:v1.1.0:tabalt_pidfile/vendor/github.com/tabalt/pidfile
|
||||
|
||||
USE_RC_SUBR= mynettcptable
|
||||
|
||||
pre-test:
|
||||
|
Reference in New Issue
Block a user