Re: git: b1f10ca6b2ff - main - devel/libftdi: remove

From: Vladimir Druzenko <vvd_at_freebsd.org>
Date: Tue, 29 Sep 2026 09:39:38 UTC
Hello!

comms/lirc/Makefile:MINIMAL_LIB_DEPENDS_OFF=libftdi.so:devel/libftdi \
comms/owfs/Makefile:FTDI_LIB_DEPENDS=  libftdi.so:devel/libftdi
comms/ujprog/Makefile:LIB_DEPENDS=      libftdi.so:devel/libftdi
comms/linrad/Makefile:          libftdi.so:devel/libftdi
devel/openocd/Makefile:LIBFTDI_LIB_DEPENDS=           
  libftdi.so:devel/libftdi
devel/xc3sprog/Makefile:LIB_DEPENDS=    libftdi.so:devel/libftdi

Broken tree?

29.09.2026 11:43, Yuri Victorovich пишет:
> The branch main has been updated by yuri:
>
> URL: https://cgit.FreeBSD.org/ports/commit/?id=b1f10ca6b2ffbdad2ba2bd309584941063fcb7b3
>
> commit b1f10ca6b2ffbdad2ba2bd309584941063fcb7b3
> Author:     Yuri Victorovich <yuri@FreeBSD.org>
> AuthorDate: 2026-09-29 07:50:54 +0000
> Commit:     Yuri Victorovich <yuri@FreeBSD.org>
> CommitDate: 2026-09-29 08:43:33 +0000
>
>      devel/libftdi: remove
> ---
>   MOVED                                |  1 +
>   devel/Makefile                       |  1 -
>   devel/libftdi/Makefile               | 49 ------------------------------------
>   devel/libftdi/distinfo               |  2 --
>   devel/libftdi/files/patch-src_ftdi.c | 10 --------
>   devel/libftdi/pkg-descr              |  5 ----
>   devel/libftdi/pkg-plist              | 17 -------------
>   7 files changed, 1 insertion(+), 84 deletions(-)
>
> diff --git a/MOVED b/MOVED
> index 192c69517715..9555b5d4c7af 100644
> --- a/MOVED
> +++ b/MOVED
> @@ -5627,3 +5627,4 @@ net/openldap26-server|databases/openldap26-server|2026-09-24|Move all OpenLDAP p
>   graphics/hiptext||2026-09-25|Remove abandonware
>   devel/py-schematics-patched|devel/py-cattrs|2026-09-27|Has expired: Upstream inactive since +8 years.  Please use devel/py-cattrs instead
>   x11-toolkits/color-widgets-qt5|x11-toolkits/qt-color-widgets|2026-09-27|move to qt-color-widgets to match upstream naming
> +devel/libftdi|devel/libftdi1|2026-09-29|Remove old version, use devel/libftdi1 instead
> diff --git a/devel/Makefile b/devel/Makefile
> index 7079de2f16a1..1d569caf30e6 100644
> --- a/devel/Makefile
> +++ b/devel/Makefile
> @@ -1372,7 +1372,6 @@
>       SUBDIR += libfmt
>       SUBDIR += libfort
>       SUBDIR += libfreefare
> -    SUBDIR += libftdi
>       SUBDIR += libftdi1
>       SUBDIR += libfwnt
>       SUBDIR += libfwsi
> diff --git a/devel/libftdi/Makefile b/devel/libftdi/Makefile
> deleted file mode 100644
> index 017a0a773f88..000000000000
> --- a/devel/libftdi/Makefile
> +++ /dev/null
> @@ -1,49 +0,0 @@
> -PORTNAME=	libftdi
> -PORTVERSION=	0.20
> -PORTREVISION=	23
> -CATEGORIES=	devel
> -MASTER_SITES=	http://www.intra2net.com/en/developer/libftdi/download/
> -
> -MAINTAINER=	yuri@FreeBSD.org
> -COMMENT=	Library (using libusb) to talk to FTDI chips
> -WWW=		https://www.intra2net.com/de/produkte/opensource/ftdi/
> -
> -LICENSE=	GPLv2 LGPL21
> -LICENSE_COMB=	multi
> -LICENSE_FILE_GPLv2=	${WRKSRC}/COPYING.GPL
> -LICENSE_FILE_LGPL21=	${WRKSRC}/COPYING.LIB
> -
> -USES=		cmake pkgconfig
> -CMAKE_ARGS=	-DDOCUMENTATION:BOOL=OFF -DEXAMPLES:BOOL=OFF
> -USE_LDCONFIG=	yes
> -
> -OPTIONS_DEFINE=	BOOST PYTHON
> -OPTIONS_DEFAULT=BOOST PYTHON
> -OPTIONS_SUB=	yes
> -
> -BOOST_DESC=		C++ bindings (requires Boost)
> -BOOST_LIB_DEPENDS=	libboost_thread.so:devel/boost-libs
> -BOOST_CMAKE_BOOL=	FTDIPP
> -BOOST_CXXFLAGS=		-I${LOCALBASE}/include
> -
> -PYTHON_DESC=		Python bindings
> -PYTHON_BUILD_DEPENDS=	swig:devel/swig
> -PYTHON_CMAKE_BOOL=	PYTHON_BINDINGS
> -PYTHON_USES=		python
> -PYTHON_USE=		PYTHON=py3kplist
> -
> -post-patch:
> -	@${REINPLACE_CMD} \
> -		-e '/includedir/s|/$${PROJECT_NAME}||' \
> -		-e '/SET.*LIB_SUFFIX/s/64/""/' \
> -		-e 's|lib$${LIB_SUFFIX}/pkgconfig|libdata/pkgconfig|' \
> -		${WRKSRC}/CMakeLists.txt
> -	@${REINPLACE_CMD} 's|SITEPACKAGE.*ABSOLUTE|SITEPACKAGE ${PYTHON_SITELIBDIR} ABSOLUTE|' \
> -		${WRKSRC}/bindings/CMakeLists.txt
> -
> -post-install-PYTHON-on:
> -	${PYTHON_CMD} -m compileall -d ${PYTHON_SITELIBDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}
> -	${PYTHON_CMD} -O -m compileall -d ${PYTHON_SITELIBDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}
> -	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_ftdi.so
> -
> -.include <bsd.port.mk>
> diff --git a/devel/libftdi/distinfo b/devel/libftdi/distinfo
> deleted file mode 100644
> index d8bffde97a34..000000000000
> --- a/devel/libftdi/distinfo
> +++ /dev/null
> @@ -1,2 +0,0 @@
> -SHA256 (libftdi-0.20.tar.gz) = 3176d5b5986438f33f5208e690a8bfe90941be501cc0a72118ce3d338d4b838e
> -SIZE (libftdi-0.20.tar.gz) = 423570
> diff --git a/devel/libftdi/files/patch-src_ftdi.c b/devel/libftdi/files/patch-src_ftdi.c
> deleted file mode 100644
> index 9a6079fd7cfe..000000000000
> --- a/devel/libftdi/files/patch-src_ftdi.c
> +++ /dev/null
> @@ -1,10 +0,0 @@
> ---- src/ftdi.c.orig	2009-05-04 23:37:26.000000000 +0400
> -+++ src/ftdi.c	2009-05-04 23:37:46.000000000 +0400
> -@@ -28,6 +28,7 @@
> - /** \addtogroup libftdi */
> - /* @{ */
> -
> -+#include <stdlib.h>
> - #include <usb.h>
> - #include <string.h>
> - #include <errno.h>
> diff --git a/devel/libftdi/pkg-descr b/devel/libftdi/pkg-descr
> deleted file mode 100644
> index b8a7b5c35aa3..000000000000
> --- a/devel/libftdi/pkg-descr
> +++ /dev/null
> @@ -1,5 +0,0 @@
> -libftdi - A library (using libusb) to talk to FTDI's FT2232C,
> -FT232BM and FT245BM type chips including the popular bitbang mode.
> -
> -Note: When you get a -5 error "can't claim usb device" during
> -ftdi_usb_open(), make sure the kernel ftdi_sio driver is unloaded.
> diff --git a/devel/libftdi/pkg-plist b/devel/libftdi/pkg-plist
> deleted file mode 100644
> index 2f2b6b97cbf8..000000000000
> --- a/devel/libftdi/pkg-plist
> +++ /dev/null
> @@ -1,17 +0,0 @@
> -bin/libftdi-config
> -include/ftdi.h
> -%%BOOST%%include/ftdi.hpp
> -%%PYTHON%%%%PYTHON_SITELIBDIR%%/_ftdi.so
> -%%PYTHON%%%%PYTHON_SITELIBDIR%%/ftdi.py
> -%%PYTHON%%%%PYTHON_SITELIBDIR%%/ftdi.pyc
> -%%PYTHON%%%%PYTHON_SITELIBDIR%%/ftdi.pyo
> -lib/libftdi.a
> -lib/libftdi.so
> -lib/libftdi.so.1
> -lib/libftdi.so.1.20.0
> -%%BOOST%%lib/libftdipp.a
> -%%BOOST%%lib/libftdipp.so
> -%%BOOST%%lib/libftdipp.so.1
> -%%BOOST%%lib/libftdipp.so.1.20.0
> -libdata/pkgconfig/libftdi.pc
> -%%BOOST%%libdata/pkgconfig/libftdipp.pc


-- 
Best regards,
Vladimir Druzenko