From 54c250e4c86ca17d7e411d54b1088ca67d2e48ec Mon Sep 17 00:00:00 2001 From: yo Date: Tue, 17 May 2022 11:02:12 +0200 Subject: [PATCH] Fetch go depends from github --- Makefile | 44 +++++++++++++++++++++++++++++++------------- distinfo | 18 +++++++++++++++++- 2 files changed, 48 insertions(+), 14 deletions(-) diff --git a/Makefile b/Makefile index 1dd05bc..df74725 100644 --- a/Makefile +++ b/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: diff --git a/distinfo b/distinfo index 0be4cad..7ee3f68 100644 --- a/distinfo +++ b/distinfo @@ -1,3 +1,19 @@ -TIMESTAMP = 1652702251 +TIMESTAMP = 1652770331 SHA256 (v1.0.0-rc2.tar.gz) = c8ca66bea5c29c9e6e557d114cea5ce4c6ea90ad16df1ab42e92b5e4f4b418a6 SIZE (v1.0.0-rc2.tar.gz) = 7723 +SHA256 (Azure-go-ntlmssp-48547f28849e_GH0.tar.gz) = ea089572abc1827301490e4fdb0def4047a26de60602b282bcdcb7798d35e898 +SIZE (Azure-go-ntlmssp-48547f28849e_GH0.tar.gz) = 8218 +SHA256 (go-asn1-ber-asn1-ber-v1.5.4_GH0.tar.gz) = 749c6318225eb3905f3ea7a05560019977755aaaaa2058b9c7f8a6c673484c4e +SIZE (go-asn1-ber-asn1-ber-v1.5.4_GH0.tar.gz) = 16483 +SHA256 (go-ldap-ldap-v3.4.3_GH0.tar.gz) = 6ca165f47acd91d1c3abc0bed31fd13aa210143c5b449f7e4ab099d6cebdcb18 +SIZE (go-ldap-ldap-v3.4.3_GH0.tar.gz) = 91166 +SHA256 (golang-crypto-ae2d96664a29_GH0.tar.gz) = 6b2031688c3ae29f96032c0e3e99a21858b8e5cbd4e9903441eec52cae9a698f +SIZE (golang-crypto-ae2d96664a29_GH0.tar.gz) = 1630594 +SHA256 (golang-sys-665e8c7367d1_GH0.tar.gz) = 19c3498496d91ac9c0c0226c9b832c23a0b042b9a707be811ef976e801d373f4 +SIZE (golang-sys-665e8c7367d1_GH0.tar.gz) = 1200405 +SHA256 (peterbourgon-ff-v1.7.1_GH0.tar.gz) = 745cc13513f04ba5bb69ab0ed857c5a297a9a5e67e70ff0d7fe2884d90ea7944 +SIZE (peterbourgon-ff-v1.7.1_GH0.tar.gz) = 19100 +SHA256 (sirupsen-logrus-v1.8.1_GH0.tar.gz) = e9492c08ac8f202b438ccfb992bf81b7860739cf8f2266958e0c574c7abfdd74 +SIZE (sirupsen-logrus-v1.8.1_GH0.tar.gz) = 47161 +SHA256 (tabalt-pidfile-v1.1.0_GH0.tar.gz) = 893a2cf199c48fef6f43969db23d987bec8290f080aff59820c851b82ddd3bac +SIZE (tabalt-pidfile-v1.1.0_GH0.tar.gz) = 2158