aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2026-06-30 21:29:15 +0000
committerRene Ladan <rene@FreeBSD.org>2026-06-30 21:29:15 +0000
commit8345e8d48b5709d9d6f21a2c8e04c2746f3029bf (patch)
tree4628dc92feee0038db15433192169d9105762cc7
parent541c8e901e85943611a0169549995f59f81f8686 (diff)
net/unison251: Remove expired port
2026-06-30 net/unison251: Legacy release unsupported by upstream
-rw-r--r--MOVED1
-rw-r--r--net/Makefile1
-rw-r--r--net/unison251/Makefile117
-rw-r--r--net/unison251/distinfo3
-rw-r--r--net/unison251/files/patch-Makefile.OCaml46
-rw-r--r--net/unison251/files/patch-fsmonitor_linux_Makefile20
-rw-r--r--net/unison251/files/unison.desktop.in12
-rw-r--r--net/unison251/pkg-descr9
-rw-r--r--net/unison251/pkg-message8
-rw-r--r--net/unison251/pkg-message.nox117
-rw-r--r--net/unison251/pkg-plist7
11 files changed, 1 insertions, 230 deletions
diff --git a/MOVED b/MOVED
index 3d14d37b9bae..6d31ae39dc13 100644
--- a/MOVED
+++ b/MOVED
@@ -5454,3 +5454,4 @@ japanese/wnn7egg||2026-06-30|Has expired: Abandoned, A patch is needed for the c
www/node25|www/node26|2026-06-30|Has expired: Node.js 25.* will reach its EoL on 2026-06-01. Use Node.js 26.* (www/node26) instead
www/npm-node25|www/npm-node26|2026-06-30|Has expired: consumer of www/node25
www/yarn-node25|www/yarn-node26|2026-06-30|Has expired: consumer of www/node25
+net/unison251||2026-06-30|Has expired: Legacy release unsupported by upstream
diff --git a/net/Makefile b/net/Makefile
index 3f1cde3d5f7d..442a97425b1d 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1663,7 +1663,6 @@
SUBDIR += ulxmlrpcpp
SUBDIR += unfs3
SUBDIR += unison
- SUBDIR += unison251
SUBDIR += unison253
SUBDIR += unix2tcp
SUBDIR += urelay
diff --git a/net/unison251/Makefile b/net/unison251/Makefile
deleted file mode 100644
index 4d044f44ae42..000000000000
--- a/net/unison251/Makefile
+++ /dev/null
@@ -1,117 +0,0 @@
-PORTNAME= unison
-PORTVERSION= 2.51.5
-PORTREVISION= 3
-DISTVERSIONPREFIX= v
-CATEGORIES= net
-
-MAINTAINER= madpilot@FreeBSD.org
-COMMENT= User-level file synchronization tool
-WWW= https://www.cis.upenn.edu/~bcpierce/unison/
-
-LICENSE= GPLv3+
-LICENSE_FILE= ${WRKSRC}/COPYING
-
-FLAVORS= x11 nox11
-FLAVOR?= ${FLAVORS:[1]}
-
-VERSIONSUFFIX= 251
-
-DEPRECATED= Legacy release unsupported by upstream
-EXPIRATION_DATE= 2026-06-30
-
-nox11_PKGNAMESUFFIX= ${VERSIONSUFFIX}-nox11
-nox11_CONFLICTS_INSTALL= unison${VERSIONSUFFIX}
-
-x11_PKGNAMESUFFIX= ${VERSIONSUFFIX}
-x11_BUILD_DEPENDS= icotool:graphics/icoutils \
- lablgtk2:x11-toolkits/ocaml-lablgtk2
-x11_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
- libfreetype.so:print/freetype2 \
- libharfbuzz.so:print/harfbuzz
-x11_CONFLICTS_INSTALL= unison${VERSIONSUFFIX}-nox11
-
-USES= gmake localbase ocaml:build
-USE_GITHUB= yes
-GH_ACCOUNT= bcpierce00
-
-MAKE_ENV= CLIBS="${LIBS:S/^-/-ccopt -/}" \
- COFLAGS="${CFLAGS:C/ *(-[^ ]*) */ -ccopt \"\1 \"/gW}"
-ALL_TARGET= unison all
-
-DOCS= NEWS README
-
-WRKSRC_SUBDIR= src
-
-PLIST_SUB= PORTVERSION=${PORTVERSION} \
- VERSIONSUFFIX=${VERSIONSUFFIX}
-
-OPTIONS_DEFINE= DOCS FSMONITOR
-OPTIONS_DEFAULT= FSMONITOR
-OPTIONS_SUB= YES
-
-FSMONITOR_DESC= Compile and install fsmonitor plugin
-
-FSMONITOR_LIB_DEPENDS= libinotify.so:devel/libinotify
-
-.if ${FLAVOR} == nox11
-MAKE_ARGS= UISTYLE=text
-PKGMESSAGE= ${PKGDIR}/pkg-message.nox11
-PLIST_SUB+= X11="@comment "
-.else
-MAKE_ARGS= UISTYLE=gtk2
-SUB_FILES= ${PORTNAME}.desktop
-USE_GNOME+= atk cairo gdkpixbuf glib20 gtk20 pango
-USES+= gettext-runtime gnome
-PLIST_SUB+= X11=""
-.endif
-
-.include <bsd.port.options.mk>
-
-.if ${ARCH} == powerpc
-USE_BINUTILS= yes
-.endif
-
-post-patch-FSMONITOR-off:
- @${REINPLACE_CMD} -e 's/-include fsmonitor/#&/' \
- ${WRKSRC}/Makefile.OCaml
-
-post-patch-FSMONITOR-on:
- @${REINPLACE_CMD} \
- -e '/let suffix = if Util.osType/s/else "" in/else "${VERSIONSUFFIX}" in/' \
- ${WRKSRC}/fswatch.ml
-
-post-patch:
-.if ${FLAVOR} == nox11
- @${REINPLACE_CMD} -e 's/CFLAGS/COFLAGS/g' \
- ${WRKSRC}/Makefile.OCaml ${WRKSRC}/fsmonitor/linux/Makefile
-.else
- @${REINPLACE_CMD} -Ee 's@(\+|/)(lablgtk2)@\1site-lib/\2@' \
- -e 's/CFLAGS/COFLAGS/g' \
- ${WRKSRC}/Makefile.OCaml ${WRKSRC}/fsmonitor/linux/Makefile
-.endif
-
-post-build:
- (cd ${WRKSRC} && HOME=${WRKSRC} ./unison -selftest -ui text -batch)
-.if ${FLAVOR} == x11
- @${ECHO} Building text-only version
- @${ECHO} ${WRKSRC}
- ${SETENV} ${MAKE_ENV} ${MAKE_CMD} -C ${WRKSRC} UISTYLE=text NAME=unison-text
- @cd ${WRKSRC}/win32rc && ${LOCALBASE}/bin/icotool -x U.ico
-.endif
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}${VERSIONSUFFIX}
-.if ${FLAVOR} == x11
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}-text ${STAGEDIR}${PREFIX}/bin/${PORTNAME}${VERSIONSUFFIX}-text
- ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR}/${PORTNAME}${VERSIONSUFFIX}.desktop
- ${INSTALL_DATA} ${WRKSRC}/win32rc/U_4_48x48x32.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}${VERSIONSUFFIX}.png
-.endif
-
-do-install-DOCS-on:
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
- cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
-
-do-install-FSMONITOR-on:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}-fsmonitor ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-fsmonitor${VERSIONSUFFIX}
-
-.include <bsd.port.mk>
diff --git a/net/unison251/distinfo b/net/unison251/distinfo
deleted file mode 100644
index 2216a412a298..000000000000
--- a/net/unison251/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1639862759
-SHA256 (bcpierce00-unison-v2.51.5_GH0.tar.gz) = 7e876371992ebf890b60f32df880a98a75fe8c47c06b7b2ae2ad36be48013e83
-SIZE (bcpierce00-unison-v2.51.5_GH0.tar.gz) = 1385407
diff --git a/net/unison251/files/patch-Makefile.OCaml b/net/unison251/files/patch-Makefile.OCaml
deleted file mode 100644
index 147a3793331a..000000000000
--- a/net/unison251/files/patch-Makefile.OCaml
+++ /dev/null
@@ -1,46 +0,0 @@
---- Makefile.OCaml.orig 2021-12-18 15:04:56 UTC
-+++ Makefile.OCaml
-@@ -34,7 +34,11 @@ ifeq ($(shell uname),NetBSD)
- else
- ifeq ($(shell uname),NetBSD)
- OSARCH=NetBSD
-+else
-+ifeq ($(shell uname),FreeBSD)
-+ OSARCH=FreeBSD
- endif
-+endif
- ifeq ($(shell uname),Linux)
- OSARCH=Linux
- endif
-@@ -301,6 +305,11 @@ endif
- INCLFLAGS+=-I fsmonitor -I fsmonitor/linux
- endif
-
-+ifeq ($(OSARCH),FreeBSD)
-+-include fsmonitor/linux/Makefile src/fsmonitor/linux/Makefile
-+INCLFLAGS+=-I fsmonitor -I fsmonitor/linux
-+endif
-+
- ifeq ($(OSARCH),solaris)
- -include fsmonitor/solaris/Makefile src/fsmonitor/solaris/Makefile
- INCLFLAGS+=-I fsmonitor -I fsmonitor/solaris
-@@ -427,6 +436,10 @@ win32rc/unison.res.lib: win32rc/unison.res
- -$(RM) $@
- ocamllex $<
-
-+compat%.cmi: compat%.mli
-+ @echo "$(CAMLC): $< ---> $@"
-+ $(CAMLC) $(CAMLFLAGS) $(COMPATCAMLFLAGS) -c $(CWD)/$<
-+
- %.cmi : %.mli
- @echo "$(CAMLC): $< ---> $@"
- $(CAMLC) $(CAMLFLAGS) $(COMPATCAMLFLAGS) -c $(CWD)/$<
-@@ -451,7 +464,7 @@ compat%.cmx: compat%.ml
-
- %.o %.obj: %.c
- @echo "$(CAMLC): $< ---> $@"
-- $(CAMLC) $(CAMLFLAGS) -ccopt $(OUTPUT_SEL)$(CWD)/$@ -c $(CWD)/$<
-+ $(CAMLC) $(CAMLFLAGS) -ccopt $(OUTPUT_SEL)$(CWD)/$@ -c $(CFLAGS) $(CWD)/$<
-
- $(NAME)$(EXEC_EXT): $(CAMLOBJS) $(COBJS)
- @echo Linking $@
diff --git a/net/unison251/files/patch-fsmonitor_linux_Makefile b/net/unison251/files/patch-fsmonitor_linux_Makefile
deleted file mode 100644
index 820041472d23..000000000000
--- a/net/unison251/files/patch-fsmonitor_linux_Makefile
+++ /dev/null
@@ -1,20 +0,0 @@
---- fsmonitor/linux/Makefile.orig 2017-03-23 16:47:46 UTC
-+++ fsmonitor/linux/Makefile
-@@ -18,6 +18,10 @@ else
- FSMCAMLLIBS=$(FSMOCAMLLIBS)
- endif
-
-+ifeq ($(OSARCH),FreeBSD)
-+ CLIBS+=-cclib -linotify
-+endif
-+
- buildexecutable:: $(FSMONITOR)$(EXEC_EXT)
-
- $(FSMONITOR)$(EXEC_EXT): $(FSMCAMLOBJS) $(FSMCOBJS)
-@@ -26,4 +30,4 @@ $(FSMONITOR)$(EXEC_EXT): $(FSMCAMLOBJS) $(FSMCOBJS)
-
- clean::
- rm -f $(DIR)/*.cm[iox] $(DIR)/*.o $(DIR)/*~
-- rm -f $(FSMONITOR)$(EXEC_EXT)
-\ No newline at end of file
-+ rm -f $(FSMONITOR)$(EXEC_EXT)
diff --git a/net/unison251/files/unison.desktop.in b/net/unison251/files/unison.desktop.in
deleted file mode 100644
index 789ccaa366b6..000000000000
--- a/net/unison251/files/unison.desktop.in
+++ /dev/null
@@ -1,12 +0,0 @@
-[Desktop Entry]
-Encoding=UTF-8
-Name=Unison
-GenericName=File-synchronization tool
-Type=Application
-Terminal=false
-StartupNotify=true
-Categories=GTK;Utility;
-Exec=unison
-Icon=unison.png
-Comment=Synchronize files (directories) over different disks (hosts)
-Comment[ru]=Синхронизация файлов (каталогов) на нескольких дисках (компьютерах)
diff --git a/net/unison251/pkg-descr b/net/unison251/pkg-descr
deleted file mode 100644
index c96194d13db8..000000000000
--- a/net/unison251/pkg-descr
+++ /dev/null
@@ -1,9 +0,0 @@
-Unison is a file-synchronization tool for Unix and Windows. It allows two
-replicas of a collection of files and directories to be stored on different
-hosts (or different disks on the same host), modified separately, and then
-brought up to date by propagating the changes in each replica to the other.
-
-Unison shares a number of features with tools such as configuration
-management packages (CVS, PRCS, etc.) distributed filesystems (Coda, etc.)
-uni-directional mirroring utilities (rsync, etc.) and other synchronizers
-(Intellisync, Reconcile, etc).
diff --git a/net/unison251/pkg-message b/net/unison251/pkg-message
deleted file mode 100644
index 1795b612e0a8..000000000000
--- a/net/unison251/pkg-message
+++ /dev/null
@@ -1,8 +0,0 @@
-[
-{ type: install
- message: <<EOM
-Together with a gtk-enabled version, a text-only unison-text binary
-is installed as it depends on a smaller number of libraries.
-EOM
-}
-]
diff --git a/net/unison251/pkg-message.nox11 b/net/unison251/pkg-message.nox11
deleted file mode 100644
index 31b179babd46..000000000000
--- a/net/unison251/pkg-message.nox11
+++ /dev/null
@@ -1,7 +0,0 @@
-[
-{ type: install
- message: <<EOM
-A text-only unison binary is installed.
-EOM
-}
-]
diff --git a/net/unison251/pkg-plist b/net/unison251/pkg-plist
deleted file mode 100644
index 18aa92847fa3..000000000000
--- a/net/unison251/pkg-plist
+++ /dev/null
@@ -1,7 +0,0 @@
-bin/unison%%VERSIONSUFFIX%%
-%%FSMONITOR%%bin/unison-fsmonitor%%VERSIONSUFFIX%%
-%%X11%%share/applications/unison%%VERSIONSUFFIX%%.desktop
-%%X11%%bin/unison%%VERSIONSUFFIX%%-text
-%%X11%%share/pixmaps/unison%%VERSIONSUFFIX%%.png
-%%PORTDOCS%%%%DOCSDIR%%/NEWS
-%%PORTDOCS%%%%DOCSDIR%%/README