From: Daniel Dickman Subject: Re: retire security/encfs (python 2) To: Daniel Dickman , ports@openbsd.org Date: Sat, 23 Aug 2025 18:50:01 -0400 On Sat, 23 Aug 2025, Stefan Sperling wrote: > On Fri, Aug 22, 2025 at 01:29:25PM -0400, Daniel Dickman wrote: > > encfs is no longer maintained and the project recommends moving to > > alternatives. > > > > This is a Python2 application which I'd like to remove at this point. > > No objections from me. I imported this in 2014 mostly out of idle > curiosity about fuse. I never used it for anything important. > > This removal should probably be mentioned in the port upgrade notes for 7.8. > Users who have data in encfs won't be able to read this data in a trivial > way after upgrading. They might want to migrate the data beforehand. > As pointed out by Hugo, we can keep the port and just turn off the Python 2 bits. Alternative diff below to do that instead. ok? Index: Makefile =================================================================== RCS file: /cvs/ports/security/encfs/Makefile,v diff -u -p -u -r1.28 Makefile --- Makefile 27 Sep 2023 16:34:31 -0000 1.28 +++ Makefile 23 Aug 2025 22:48:06 -0000 @@ -2,7 +2,7 @@ COMMENT = fuse-based cryptographic file V = 1.9.5 DISTNAME = encfs-$V -REVISION = 5 +REVISION = 6 CATEGORIES = security @@ -17,22 +17,22 @@ SITES = https://github.com/vgough/encf COMPILER = base-clang ports-gcc -MODULES = devel/cmake \ - lang/python -MODPY_VERSION = ${MODPY_DEFAULT_VERSION_2} - -MODPY_RUNDEP = No +MODULES = devel/cmake BUILD_DEPENDS = devel/gettext,-tools LIB_DEPENDS = devel/gettext,-runtime \ textproc/tinyxml2 CONFIGURE_ARGS = -DUSE_INTERNAL_TINYXML=Off \ - -DCMAKE_DISABLE_FIND_PACKAGE_Git=On + -DCMAKE_DISABLE_FIND_PACKAGE_Git=On \ + -DBUILD_UNIT_TESTS=Off CXXFLAGS+= -DHAVE_UTIMENSAT -D_DIRENT_HAVE_D_TYPE -TEST_TARGET = unittests test/test + +# XXX: Python2 +# TEST_TARGET = unittests test/test +NO_TEST = Yes .include Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/security/encfs/pkg/PLIST,v diff -u -p -u -r1.4 PLIST --- pkg/PLIST 11 Mar 2022 19:53:22 -0000 1.4 +++ pkg/PLIST 23 Aug 2025 22:48:06 -0000 @@ -4,30 +4,17 @@ bin/encfssh @man man/man1/encfs.1 @man man/man1/encfsctl.1 @man man/man1/encfssh.1 -share/locale/ share/locale/ar/ share/locale/ar/LC_MESSAGES/ share/locale/ar/LC_MESSAGES/encfs.mo -share/locale/be/ -share/locale/be/LC_MESSAGES/ share/locale/be/LC_MESSAGES/encfs.mo -share/locale/bg/ -share/locale/bg/LC_MESSAGES/ share/locale/bg/LC_MESSAGES/encfs.mo share/locale/bs/ share/locale/bs/LC_MESSAGES/ share/locale/bs/LC_MESSAGES/encfs.mo -share/locale/ca/ -share/locale/ca/LC_MESSAGES/ share/locale/ca/LC_MESSAGES/encfs.mo -share/locale/cs/ -share/locale/cs/LC_MESSAGES/ share/locale/cs/LC_MESSAGES/encfs.mo -share/locale/da/ -share/locale/da/LC_MESSAGES/ share/locale/da/LC_MESSAGES/encfs.mo -share/locale/de/ -share/locale/de/LC_MESSAGES/ share/locale/de/LC_MESSAGES/encfs.mo share/locale/de_AT/ share/locale/de_AT/LC_MESSAGES/ @@ -38,14 +25,8 @@ share/locale/de_CH/LC_MESSAGES/encfs.mo share/locale/de_DE/ share/locale/de_DE/LC_MESSAGES/ share/locale/de_DE/LC_MESSAGES/encfs.mo -share/locale/el/ -share/locale/el/LC_MESSAGES/ share/locale/el/LC_MESSAGES/encfs.mo -share/locale/eo/ -share/locale/eo/LC_MESSAGES/ share/locale/eo/LC_MESSAGES/encfs.mo -share/locale/es/ -share/locale/es/LC_MESSAGES/ share/locale/es/LC_MESSAGES/encfs.mo share/locale/es_ES/ share/locale/es_ES/LC_MESSAGES/ @@ -53,105 +34,47 @@ share/locale/es_ES/LC_MESSAGES/encfs.mo share/locale/es_PE/ share/locale/es_PE/LC_MESSAGES/ share/locale/es_PE/LC_MESSAGES/encfs.mo -share/locale/et/ -share/locale/et/LC_MESSAGES/ share/locale/et/LC_MESSAGES/encfs.mo -share/locale/fi/ -share/locale/fi/LC_MESSAGES/ share/locale/fi/LC_MESSAGES/encfs.mo -share/locale/fr/ -share/locale/fr/LC_MESSAGES/ share/locale/fr/LC_MESSAGES/encfs.mo share/locale/fr_FR/ share/locale/fr_FR/LC_MESSAGES/ share/locale/fr_FR/LC_MESSAGES/encfs.mo -share/locale/gl/ -share/locale/gl/LC_MESSAGES/ share/locale/gl/LC_MESSAGES/encfs.mo -share/locale/he/ -share/locale/he/LC_MESSAGES/ share/locale/he/LC_MESSAGES/encfs.mo -share/locale/hr/ -share/locale/hr/LC_MESSAGES/ share/locale/hr/LC_MESSAGES/encfs.mo -share/locale/hu/ -share/locale/hu/LC_MESSAGES/ share/locale/hu/LC_MESSAGES/encfs.mo -share/locale/id/ -share/locale/id/LC_MESSAGES/ share/locale/id/LC_MESSAGES/encfs.mo -share/locale/it/ -share/locale/it/LC_MESSAGES/ share/locale/it/LC_MESSAGES/encfs.mo -share/locale/ja/ -share/locale/ja/LC_MESSAGES/ share/locale/ja/LC_MESSAGES/encfs.mo -share/locale/ko/ -share/locale/ko/LC_MESSAGES/ share/locale/ko/LC_MESSAGES/encfs.mo -share/locale/lv/ -share/locale/lv/LC_MESSAGES/ share/locale/lv/LC_MESSAGES/encfs.mo -share/locale/nb/ -share/locale/nb/LC_MESSAGES/ share/locale/nb/LC_MESSAGES/encfs.mo share/locale/nds/ share/locale/nds/LC_MESSAGES/ share/locale/nds/LC_MESSAGES/encfs.mo -share/locale/nl/ -share/locale/nl/LC_MESSAGES/ share/locale/nl/LC_MESSAGES/encfs.mo -share/locale/nn/ -share/locale/nn/LC_MESSAGES/ share/locale/nn/LC_MESSAGES/encfs.mo share/locale/oc/ share/locale/oc/LC_MESSAGES/ share/locale/oc/LC_MESSAGES/encfs.mo -share/locale/pl/ -share/locale/pl/LC_MESSAGES/ share/locale/pl/LC_MESSAGES/encfs.mo -share/locale/pt/ -share/locale/pt/LC_MESSAGES/ share/locale/pt/LC_MESSAGES/encfs.mo -share/locale/pt_BR/ -share/locale/pt_BR/LC_MESSAGES/ share/locale/pt_BR/LC_MESSAGES/encfs.mo share/locale/pt_PT/ share/locale/pt_PT/LC_MESSAGES/ share/locale/pt_PT/LC_MESSAGES/encfs.mo -share/locale/ro/ -share/locale/ro/LC_MESSAGES/ share/locale/ro/LC_MESSAGES/encfs.mo -share/locale/ru/ -share/locale/ru/LC_MESSAGES/ share/locale/ru/LC_MESSAGES/encfs.mo -share/locale/sk/ -share/locale/sk/LC_MESSAGES/ share/locale/sk/LC_MESSAGES/encfs.mo -share/locale/sr/ -share/locale/sr/LC_MESSAGES/ share/locale/sr/LC_MESSAGES/encfs.mo -share/locale/sv/ -share/locale/sv/LC_MESSAGES/ share/locale/sv/LC_MESSAGES/encfs.mo share/locale/ta/ share/locale/ta/LC_MESSAGES/ share/locale/ta/LC_MESSAGES/encfs.mo -share/locale/tr/ -share/locale/tr/LC_MESSAGES/ share/locale/tr/LC_MESSAGES/encfs.mo -share/locale/uk/ -share/locale/uk/LC_MESSAGES/ share/locale/uk/LC_MESSAGES/encfs.mo -share/locale/vi/ -share/locale/vi/LC_MESSAGES/ share/locale/vi/LC_MESSAGES/encfs.mo -share/locale/zh_CN/ -share/locale/zh_CN/LC_MESSAGES/ share/locale/zh_CN/LC_MESSAGES/encfs.mo -share/locale/zh_HK/ -share/locale/zh_HK/LC_MESSAGES/ share/locale/zh_HK/LC_MESSAGES/encfs.mo -share/locale/zh_TW/ -share/locale/zh_TW/LC_MESSAGES/ share/locale/zh_TW/LC_MESSAGES/encfs.mo