Commit 21d10b6f authored by Rene Ladan's avatar Rene Ladan
Browse files

net/unison240: Remove expired port

2026-02-28 net/unison240: Legacy release unsupported by upstream
parent affd7471
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -5156,3 +5156,4 @@ graphics/imlib2-jxl|graphics/imlib2|2026-02-28|Has expired: jxl support is handl
graphics/imlib2-webp|graphics/imlib2|2026-02-28|Has expired: webp support is handled by graphics/imlib2 and it is enabled by default
devel/godot35|devel/godot|2026-02-28|Has expired: Legacy version should have been removed with devel/godot35-tools, consider migrating to devel/godot
www/nginx-vts-exporter|www/nginx-prometheus-exporter|2026-02-28|Has expired: Upstream is unmaintained; use www/nginx-prometheus-exporter instead
net/unison240||2026-02-28|Has expired: Legacy release unsupported by upstream
+0 −1
Original line number Diff line number Diff line
@@ -1645,7 +1645,6 @@
    SUBDIR += ulxmlrpcpp
    SUBDIR += unfs3
    SUBDIR += unison
    SUBDIR += unison240
    SUBDIR += unison248
    SUBDIR += unison251
    SUBDIR += unix2tcp

net/unison240/Makefile

deleted100644 → 0
+0 −93
Original line number Diff line number Diff line
PORTNAME=	unison
PORTVERSION=	2.40.128
PORTREVISION=	8
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

VERSIONSUFFIX=	240

DEPRECATED=	Legacy release unsupported by upstream
EXPIRATION_DATE=	2026-02-28

FLAVORS=	x11 nox11
FLAVOR?=	${FLAVORS:[1]}

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
x11_CONFLICTS_INSTALL=	unison${VERSIONSUFFIX}-nox11
USES=			gmake ocaml:build
USE_GITHUB=		yes
GH_ACCOUNT=		bcpierce00
GH_TAGNAME=		2.40

MAKE_ARGS=	CFLAGS=""
ALL_TARGET=	unison all
TEST_TARGET=	selftest

DOCS=		BUGS.txt NEWS README
DOCSDIR=	${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}

WRKSRC_SUBDIR=	src

PLIST_SUB=	PORTVERSION=${PORTVERSION} \
		VERSIONSUFFIX=${VERSIONSUFFIX}

.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

OPTIONS_DEFINE=		DOCS

.include <bsd.port.options.mk>

.if ${ARCH} == powerpc
USE_BINUTILS=	yes
.endif

pre-patch:
# BCP 5/16: Eta-expand for backward compatibility with OCaml >4.02
	@${REINPLACE_CMD} -e 's,= Unix\.symlink,s1 s2 & s1 s2,' \
		${WRKSRC}/system/system_generic.ml

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} CFLAGS="" 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}

.include <bsd.port.mk>

net/unison240/distinfo

deleted100644 → 0
+0 −3
Original line number Diff line number Diff line
TIMESTAMP = 1763914825
SHA256 (bcpierce00-unison-2.40.128-2.40_GH0.tar.gz) = 7e8ed59b1ceacc67fdfb5c585dbefd12cb81d8da8b338ac3e105867553b135cd
SIZE (bcpierce00-unison-2.40.128-2.40_GH0.tar.gz) = 3438271
+0 −38
Original line number Diff line number Diff line
--- Makefile.OCaml.orig	2014-12-30 02:21:28 UTC
+++ Makefile.OCaml
@@ -72,7 +72,7 @@ LABLGTKLIB=$(OCAMLLIBDIR)/lablgtk
 # This should be set to an appropriate value automatically, depending
 # on whether the lablgtk library is available
 LABLGTKLIB=$(OCAMLLIBDIR)/lablgtk
-LABLGTK2LIB=$(OCAMLLIBDIR)/lablgtk2
+LABLGTK2LIB=$(OCAMLLIBDIR)/site-lib/lablgtk2
 ##BCP [3/2007]: Removed temporarily, since the OSX UI is not working well 
 ## at the moment and we don't want to confuse people by building it by default
 ifeq ($(OSARCH),osx)
@@ -91,7 +91,7 @@ INCLFLAGS=-I lwt -I ubase -I system
 ### Default parameters
 
 INCLFLAGS=-I lwt -I ubase -I system
-CAMLFLAGS+=$(INCLFLAGS)
+CAMLFLAGS+=$(INCLFLAGS) -unsafe-string
 CAMLFLAGS+=-I system/$(SYSTEM) -I lwt/$(SYSTEM)
 
 ifeq ($(OSARCH),win32)
@@ -233,7 +233,7 @@ OCAMLLIBS+=unix.cma str.cma bigarray.cma
 # File extensions will be substituted for the native code version
 OCAMLLIBS+=unix.cma str.cma bigarray.cma
 
-COBJS+=osxsupport$(OBJ_EXT) pty$(OBJ_EXT) bytearray_stubs$(OBJ_EXT)
+COBJS+=osxsupport$(OBJ_EXT) pty$(OBJ_EXT) bytearray_stubs$(OBJ_EXT) hash_compat$(OBJ_EXT)
 
 ########################################################################
 ### User Interface setup
@@ -292,7 +292,7 @@ ifeq ($(UISTYLE), gtk2)
 
 # Gtk2 GUI
 ifeq ($(UISTYLE), gtk2)
-  CAMLFLAGS+=-I +lablgtk2
+  CAMLFLAGS+=-I +site-lib/lablgtk2
   OCAMLOBJS+=pixmaps.cmo uigtk2.cmo linkgtk2.cmo
   OCAMLLIBS+=lablgtk.cma
 endif
Loading