Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: net/mfi
To:
Jasper Lievisse Adriaanse <j@jasper.la>, ports <ports@openbsd.org>
Date:
Thu, 28 Nov 2024 14:21:42 +0000

Download raw body.

Thread
  • Stuart Henderson:

    net/mfi

    • Bryan Vyhmeister:

      net/mfi

    • Stuart Henderson:

      net/mfi

      • Klemens Nanni:

        net/mfi

So nobody has reported still using this - I suggest removing (and
mongodb/36).

Any OKs?


On 2024/11/23 15:16, Stuart Henderson wrote:
> Wondering if anyone is still using net/mfi. It depends on an old version
> of mongodb which we'd like to remove if we can. If it's no longer useful
> then we could just remove it, if it is still useful then depending on
> the reason for using older mongodb, perhaps the approach I used to take
> with unifi will work (though it will be necessary to restore from a
> backup to cross mongodb versions).
> 
> 
> ---------------------
> PatchSet 216 
> Date: 2022/02/02 18:01:20
> Author: sthen
> Branch: HEAD
> Tag: (none) 
> Log:
> net/unifi/5.6: strip out --nohttpinterface in mongod command line, it's removed
> in mongodb 3.6+ (and was already deprecated)
> 
> Members: 
> 	Makefile.inc:1.32->1.33 
> 	5.6/Makefile:1.15->1.16 
> 
> Index: ports/net/unifi/Makefile.inc
> diff -u ports/net/unifi/Makefile.inc:1.32 ports/net/unifi/Makefile.inc:1.33
> --- ports/net/unifi/Makefile.inc:1.32	Mon Jan 24 16:35:12 2022
> +++ ports/net/unifi/Makefile.inc	Wed Feb  2 18:01:20 2022
> @@ -1,4 +1,4 @@
> -# $OpenBSD: Makefile.inc,v 1.32 2022/01/24 16:35:12 sthen Exp $
> +# $OpenBSD: Makefile.inc,v 1.33 2022/02/02 18:01:20 sthen Exp $
>  
>  .if defined(V)
>  COMMENT =	controller for Ubiquiti uniFi (wifi/routing/switching/voip)
> @@ -97,7 +97,12 @@
>  do-install:
>  	${INSTALL_DATA_DIR} ${INSTDIR}{,/backup,/data,/run,/work}
>  	cp -Rp ${WRKSRC}/* ${INSTDIR}
> +.if ${V:M5.6*}
> +	printf '#!/bin/ksh\nexec ${LOCALBASE}/bin/mongod $$(echo $$* | sed -e s/--nohttpinterface//)\n' > ${WRKDIR}/mongod
> +	${INSTALL_SCRIPT} ${WRKDIR}/mongod ${INSTDIR}/bin/mongod
> +.else
>  	ln -fs ${LOCALBASE}/bin/mongod ${INSTDIR}/bin/mongod
> +.endif
>  	ln -s /var/log/unifi ${INSTDIR}/logs
>  	chown -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
>  	find ${INSTDIR} -type f -exec chmod ${SHAREMODE} {} +
> @@ -110,5 +115,5 @@
>  	${INSTALL_DATA_DIR} ${PREFIX}/share/snmp/mibs/
>  	${INSTALL_DATA} ${FULLDISTDIR}/UBNT-{UniFi-,}MIB \
>  		${PREFIX}/share/snmp/mibs/
> -	@echo;echo 'Note: ignore the "symlink(s) point to non-existent" warnings during packaging.';echo
> +	@echo;echo 'Note: ignore "symlink(s) point to non-existent" warnings during packaging.';echo
>  .endif
> Index: ports/net/unifi/5.6/Makefile
> diff -u ports/net/unifi/5.6/Makefile:1.15 ports/net/unifi/5.6/Makefile:1.16
> --- ports/net/unifi/5.6/Makefile:1.15	Tue Dec 14 10:09:15 2021
> +++ ports/net/unifi/5.6/Makefile	Wed Feb  2 18:01:20 2022
> @@ -1,8 +1,8 @@
> -# $OpenBSD: Makefile,v 1.15 2021/12/14 10:09:15 sthen Exp $
> +# $OpenBSD: Makefile,v 1.16 2022/02/02 18:01:20 sthen Exp $
>  
>  V=		5.6.42
>  SNAPPY_V=	1.1.2.6
>  SNAPPY_S=
> -REVISION=	11
> +REVISION=	12
>  
>  .include <bsd.port.mk>