Re: scrypt homepage fix

2023-03-27 Thread James Turner
On Mon, Mar 27, 2023 at 09:48:37AM -0700, Jared Harper wrote:
> As of right now, the website redirects incorrectly:
> 
> ~% curl -I https://www.tarsnap.com/scrypt/
> HTTP/1.1 301 Moved Permanently
> Date: Mon, 27 Mar 2023 15:12:55 GMT
> Server: Apache/2.4.55 (FreeBSD)
> Location: http://www.tarsnap.com:8080/scrypt.html
> Content-Type: text/html; charset=iso-8859-1
> 
> Note that it redirects to port 8080 which is not exposed publicly.
> 
> Interestingly, port 80 does not have this issue:
> 
> ~% curl -I http://www.tarsnap.com/scrypt/
> HTTP/1.1 301 Moved Permanently
> Date: Mon, 27 Mar 2023 15:13:06 GMT
> Server: Apache/2.4.55 (FreeBSD)
> Location: http://www.tarsnap.com/scrypt.html
> Content-Type: text/html; charset=iso-8859-1
> 

Thanks. I'll fix this post unlock.

> Index: security/scrypt//Makefile
> ===
> RCS file: /cvs/ports/security/scrypt/Makefile,v
> retrieving revision 1.13
> diff -u -p -r1.13 Makefile
> --- security/scrypt//Makefile11 Mar 2022 19:54:02 -1.13
> +++ security/scrypt//Makefile27 Mar 2023 16:41:13 -
> @@ -6,7 +6,7 @@ SHARED_LIBS +=scrypt-kdf
> 
>  CATEGORIES =security
> 
> -HOMEPAGE =https://www.tarsnap.com/scrypt/
> +HOMEPAGE =https://www.tarsnap.com/scrypt.html
> 
>  # BSD
>  PERMIT_PACKAGE =Yes
> 



scrypt homepage fix

2023-03-27 Thread Jared Harper
As of right now, the website redirects incorrectly:

~% curl -I https://www.tarsnap.com/scrypt/
HTTP/1.1 301 Moved Permanently
Date: Mon, 27 Mar 2023 15:12:55 GMT
Server: Apache/2.4.55 (FreeBSD)
Location: http://www.tarsnap.com:8080/scrypt.html
Content-Type: text/html; charset=iso-8859-1

Note that it redirects to port 8080 which is not exposed publicly.

Interestingly, port 80 does not have this issue:

~% curl -I http://www.tarsnap.com/scrypt/
HTTP/1.1 301 Moved Permanently
Date: Mon, 27 Mar 2023 15:13:06 GMT
Server: Apache/2.4.55 (FreeBSD)
Location: http://www.tarsnap.com/scrypt.html
Content-Type: text/html; charset=iso-8859-1

Index: security/scrypt//Makefile
===
RCS file: /cvs/ports/security/scrypt/Makefile,v
retrieving revision 1.13
diff -u -p -r1.13 Makefile
--- security/scrypt//Makefile11 Mar 2022 19:54:02 -1.13
+++ security/scrypt//Makefile27 Mar 2023 16:41:13 -
@@ -6,7 +6,7 @@ SHARED_LIBS +=scrypt-kdf

 CATEGORIES =security

-HOMEPAGE =https://www.tarsnap.com/scrypt/
+HOMEPAGE =https://www.tarsnap.com/scrypt.html

 # BSD
 PERMIT_PACKAGE =Yes