Skip to content

Instantly share code, notes, and snippets.

@dlangille
Created October 29, 2019 17:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dlangille/8727daba2f0e0e9b2f150508efc2f0d4 to your computer and use it in GitHub Desktop.
Save dlangille/8727daba2f0e0e9b2f150508efc2f0d4 to your computer and use it in GitHub Desktop.
I can't get this DISTFILE to fetch
PORTNAME= netty-tcnative
PORTVERSION= 2.0.26
DISTVERSIONSUFFIX= .Final
CATEGORIES= vrt java devel
MASTER_SITES= GH
DISTNAME= ${PORTNAME}-parent-${PORTVERSION}${DISTVERSIONSUFFIX}
MAINTAINER= dvl@FreeBSD.org
COMMENT= A Mavenized fork of Tomcat Native which incorporates various patches
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BUILD_DEPENDS= maven>0:devel/maven \
cmake>0:devel/cmake \
autoconf>0:devel/autoconf \
automake>0:devel/automake \
libtool>0:devel/libtool \
openssl>0:security/openssl \
apr>0:devel/apr1 \
gcc8>0:lang/gcc8 \
ninja>0:devel/ninja \
USE_GITHUB= yes
GH_ACCOUNT= netty
GH_PROJECT= netty-tcnative
MAKE_JOBS_UNSAFE= yes
NO_ARCH= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-parent-${PORTVERSION}.Final
.include <bsd.port.mk>
@dlangille
Copy link
Author

The homedir is https://github.com/netty/netty-tcnative/releases

When I try to fetch I get:

$ make makesum
===>  License APACHE20 accepted by the user
===>  License APACHE20 accepted by the user
===>   netty-tcnative-2.0.26 depends on file: /usr/local/sbin/pkg - found
=> netty-netty-tcnative-2.0.26.Final_GH0.tar.gz doesn't seem to exist in /usr/local-data/dvl/ports-head/distfiles/.
=> Attempting to fetch https://codeload.github.com/netty/netty-tcnative/tar.gz/2.0.26.Final?dummy=/netty-netty-tcnative-2.0.26.Final_GH0.tar.gz
fetch: https://codeload.github.com/netty/netty-tcnative/tar.gz/2.0.26.Final?dummy=/netty-netty-tcnative-2.0.26.Final_GH0.tar.gz: Not Found
=> Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/netty-netty-tcnative-2.0.26.Final_GH0.tar.gz
fetch: http://distcache.FreeBSD.org/ports-distfiles/netty-netty-tcnative-2.0.26.Final_GH0.tar.gz: Not Found
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/local-data/dvl/ports-head/distfiles/ and try again.
*** Error code 1

Stop.
make[1]: stopped in /usr/local-data/dvl/ports-head/vrt/netty-tcnative
*** Error code 1

Stop.
make: stopped in /usr/local-data/dvl/ports-head/vrt/netty-tcnative

@spagu
Copy link

spagu commented Nov 8, 2019

Hi Dan,

  1. Bum version to 2.0.27 as it was released 2 days ago.
  2. A valid path format is: https://codeload.github.com/netty/netty-tcnative/tar.gz/netty-tcnative-parent-2.0.27.Final
  3. Use GH_TAGNAME
    When using GH as MASTER_SITES Macro, format is:
    ${GH_ACCOUNT}/${GH_PROJECT}/tar.gz/${GH_TAGNAME}?dummy=/

Good Luck!

@dlangille
Copy link
Author

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment