Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Apr 2024 03:11:35 GMT
From:      Cy Schubert <cy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: a844c27abf9c - main - net/freebsd-route6d: Add net/freebsd-route6d
Message-ID:  <202404160311.43G3BZ6h001562@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by cy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a844c27abf9c4e705334f8c2bbba883af1996dbe

commit a844c27abf9c4e705334f8c2bbba883af1996dbe
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2024-04-16 03:10:53 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2024-04-16 03:11:29 +0000

    net/freebsd-route6d: Add net/freebsd-route6d
    
    This new port contains the legacy FreeBSD route6d which will be removed
    from FreeBSD-15.
---
 net/Makefile                          |  2 +-
 net/freebsd-route6d/Makefile          | 30 ++++++++++++++++++++++++++++++
 net/freebsd-route6d/distinfo          |  3 +++
 net/freebsd-route6d/files/Makefile.in |  5 +++++
 net/freebsd-route6d/pkg-descr         |  2 ++
 net/freebsd-route6d/pkg-plist         |  5 +++++
 6 files changed, 46 insertions(+), 1 deletion(-)

diff --git a/net/Makefile b/net/Makefile
index 72020e02c566..fc69e2b678e3 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -156,7 +156,7 @@
     SUBDIR += foreman-proxy
     SUBDIR += fort
     SUBDIR += fping
-    SUBDIR += freebsd-routed
+    SUBDIR += freebsd-route6d
     SUBDIR += freebsd-telnetd
     SUBDIR += freebsd-uucp
     SUBDIR += freediameter
diff --git a/net/freebsd-route6d/Makefile b/net/freebsd-route6d/Makefile
new file mode 100644
index 000000000000..e77a7826e4c7
--- /dev/null
+++ b/net/freebsd-route6d/Makefile
@@ -0,0 +1,30 @@
+PORTNAME=	freebsd-route6d
+DISTVERSIONPREFIX=	v
+DISTVERSION=	15.0
+CATEGORIES=	net
+
+MAINTAINER=	cy@FreeBSD.org
+COMMENT=	FreeBSD routed
+WWW=		https://github.com/cschuber/freebsd-routed
+
+LICENSE=	BSD3CLAUSE
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	cschuber
+GH_TAGNAME=	32fa35d
+GH_PROJECT=	freebsd-routed
+
+USES=		uidfix
+
+MAKE_ARGS+=		BINOWN=${BINOWN} BINMODE=${BINMODE}
+MAKE_ENV+=		MAKESYSPATH=/usr/src/share/mk \
+			BINDIR=${PREFIX}/sbin \
+			MANDIR=${PREFIX}/share/man/man \
+			MK_WERROR=no
+
+# WRKSRC_SUBDIR=		sbin/routed
+
+post-patch:
+	@${CP} ${FILESDIR}/Makefile.in ${WRKSRC}/Makefile
+
+.include <bsd.port.mk>
diff --git a/net/freebsd-route6d/distinfo b/net/freebsd-route6d/distinfo
new file mode 100644
index 000000000000..9ad73710e032
--- /dev/null
+++ b/net/freebsd-route6d/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1713236471
+SHA256 (cschuber-freebsd-routed-v15.0-32fa35d_GH0.tar.gz) = 6ab614badd1439df68a8bc7faec24977b65ec3d5e952aaf2201fb34969d7f72d
+SIZE (cschuber-freebsd-routed-v15.0-32fa35d_GH0.tar.gz) = 123758
diff --git a/net/freebsd-route6d/files/Makefile.in b/net/freebsd-route6d/files/Makefile.in
new file mode 100644
index 000000000000..cb2d39234ff2
--- /dev/null
+++ b/net/freebsd-route6d/files/Makefile.in
@@ -0,0 +1,5 @@
+.include <src.opts.mk>
+
+SUBDIR=	usr.sbin/route6d \
+
+.include <bsd.prog.mk>
diff --git a/net/freebsd-route6d/pkg-descr b/net/freebsd-route6d/pkg-descr
new file mode 100644
index 000000000000..59ee905649b6
--- /dev/null
+++ b/net/freebsd-route6d/pkg-descr
@@ -0,0 +1,2 @@
+FreeBSD-telnetd: This is/was FreeBSD libexec/telnetd prior to its removal
+in FreeBSD-14.
diff --git a/net/freebsd-route6d/pkg-plist b/net/freebsd-route6d/pkg-plist
new file mode 100644
index 000000000000..b3b14e01fbc1
--- /dev/null
+++ b/net/freebsd-route6d/pkg-plist
@@ -0,0 +1,5 @@
+sbin/route6d
+share/licenses/freebsd-route6d-15.0/BSD3CLAUSE
+share/licenses/freebsd-route6d-15.0/LICENSE
+share/licenses/freebsd-route6d-15.0/catalog.mk
+share/man/man8/route6d.8.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202404160311.43G3BZ6h001562>