diff options
Diffstat (limited to 'net')
32 files changed, 236 insertions, 603 deletions
diff --git a/net/Makefile b/net/Makefile index a2ef4aa10d57..229047267d99 100644 --- a/net/Makefile +++ b/net/Makefile @@ -293,6 +293,7 @@ SUBDIR += ipxe SUBDIR += irrd SUBDIR += isboot-kmod + SUBDIR += isboot-kmod-devel SUBDIR += isc-dhcp44-client SUBDIR += isc-dhcp44-relay SUBDIR += isc-dhcp44-server @@ -522,7 +523,6 @@ SUBDIR += ndproxy SUBDIR += neatvnc SUBDIR += nemesis - SUBDIR += netatalk3 SUBDIR += netatalk4 SUBDIR += netcat SUBDIR += netdiscover diff --git a/net/aquantia-atlantic-kmod/Makefile b/net/aquantia-atlantic-kmod/Makefile index 79f736182dbd..f9e8387b41b7 100644 --- a/net/aquantia-atlantic-kmod/Makefile +++ b/net/aquantia-atlantic-kmod/Makefile @@ -19,4 +19,12 @@ GH_TAGNAME= c61d27b PLIST_FILES= ${KMODDIR}/if_atlantic.ko +.include <bsd.port.options.mk> +# This patch is compliant with FreeBSD 14, but mandatory starting 15 +.if ${OPSYS} == FreeBSD && (${OSVERSION} >= 1500027) +EXTRA_PATCHES+= ${FILESDIR}/extra-patch-aq__media.c +EXTRA_PATCHES+= ${FILESDIR}/extra-patch-aq__ring.c +EXTRA_PATCHES+= ${FILESDIR}/extra-patch-aq__main.c +.endif + .include <bsd.port.mk> diff --git a/net/aquantia-atlantic-kmod/files/extra-patch-aq__main.c b/net/aquantia-atlantic-kmod/files/extra-patch-aq__main.c new file mode 100644 index 000000000000..3707f7d7214d --- /dev/null +++ b/net/aquantia-atlantic-kmod/files/extra-patch-aq__main.c @@ -0,0 +1,66 @@ +--- aq_main.c.orig 2022-01-25 07:53:28 UTC ++++ aq_main.c +@@ -379,7 +383,7 @@ static int aq_if_attach_pre(if_ctx_t ctx) + #else + if_t ifp; + ifp = iflib_get_ifp(ctx); +- ifp->if_capenable = IFCAP_RXCSUM | IFCAP_TXCSUM | IFCAP_HWCSUM | IFCAP_TSO | ++ if_setcapenable(ifp, IFCAP_RXCSUM | IFCAP_TXCSUM | IFCAP_HWCSUM | IFCAP_TSO | + IFCAP_JUMBO_MTU | IFCAP_VLAN_HWFILTER | + IFCAP_VLAN_MTU | IFCAP_VLAN_HWTAGGING | + IFCAP_VLAN_HWCSUM); +@@ -718,7 +722,7 @@ static uint64_t aq_if_get_counter(if_ctx_t ctx, ift_co + static uint64_t aq_if_get_counter(if_ctx_t ctx, ift_counter cnt) + { + struct aq_dev *softc = iflib_get_softc(ctx); +- struct ifnet *ifp = iflib_get_ifp(ctx); ++ if_t ifp = iflib_get_ifp(ctx); + + switch (cnt) { + case IFCOUNTER_IERRORS: +@@ -776,7 +780,7 @@ static void aq_if_multi_set(if_ctx_t ctx) + static void aq_if_multi_set(if_ctx_t ctx) + { + struct aq_dev *softc = iflib_get_softc(ctx); +- struct ifnet *ifp = iflib_get_ifp(ctx); ++ if_t ifp = iflib_get_ifp(ctx); + struct aq_hw *hw = &softc->hw; + AQ_DBG_ENTER(); + #if __FreeBSD_version >= 1300054 +@@ -786,9 +790,9 @@ static void aq_if_multi_set(if_ctx_t ctx) + #endif + if (softc->mcnt >= AQ_HW_MAC_MAX) + { +- aq_hw_set_promisc(hw, !!(ifp->if_flags & IFF_PROMISC), ++ aq_hw_set_promisc(hw, !!(if_getflags(ifp) & IFF_PROMISC), + aq_is_vlan_promisc_required(softc), +- !!(ifp->if_flags & IFF_ALLMULTI) || aq_is_mc_promisc_required(softc)); ++ !!(if_getflags(ifp) & IFF_ALLMULTI) || aq_is_mc_promisc_required(softc)); + }else{ + #if __FreeBSD_version >= 1300054 + if_foreach_llmaddr(iflib_get_ifp(ctx), &aq_mc_filter_apply, softc); +@@ -810,7 +814,7 @@ static void aq_if_media_status(if_ctx_t ctx, struct if + + static void aq_if_media_status(if_ctx_t ctx, struct ifmediareq *ifmr) + { +- struct ifnet *ifp; ++ if_t ifp; + + AQ_DBG_ENTER(); + +@@ -824,13 +828,13 @@ static int aq_if_media_change(if_ctx_t ctx) + static int aq_if_media_change(if_ctx_t ctx) + { + struct aq_dev *softc = iflib_get_softc(ctx); +- struct ifnet *ifp = iflib_get_ifp(ctx); ++ if_t ifp = iflib_get_ifp(ctx); + int rc = 0; + + AQ_DBG_ENTER(); + + /* Not allowd in UP state, since causes unsync of rings */ +- if ((ifp->if_flags & IFF_UP)){ ++ if ((if_getflags(ifp) & IFF_UP)){ + rc = EPERM; + goto exit; + } diff --git a/net/aquantia-atlantic-kmod/files/extra-patch-aq__media.c b/net/aquantia-atlantic-kmod/files/extra-patch-aq__media.c new file mode 100644 index 000000000000..a312d409e19b --- /dev/null +++ b/net/aquantia-atlantic-kmod/files/extra-patch-aq__media.c @@ -0,0 +1,38 @@ +--- aq_media.c.orig 2022-01-25 07:53:28 UTC ++++ aq_media.c +@@ -94,9 +94,9 @@ void aq_mediastatus_update(aq_dev_t *aq_dev, u32 link_ + aq_dev->media_active |= IFM_AUTO; + } + +-void aq_mediastatus(struct ifnet *ifp, struct ifmediareq *ifmr) ++void aq_mediastatus(if_t ifp, struct ifmediareq *ifmr) + { +- aq_dev_t *aq_dev = iflib_get_softc(ifp->if_softc); ++ aq_dev_t *aq_dev = iflib_get_softc(if_getsoftc(ifp)); + + ifmr->ifm_active = IFM_ETHER; + ifmr->ifm_status = IFM_AVALID; +@@ -107,11 +107,11 @@ void aq_mediastatus(struct ifnet *ifp, struct ifmediar + ifmr->ifm_active |= aq_dev->media_active; + } + +-int aq_mediachange(struct ifnet *ifp) ++int aq_mediachange(if_t ifp) + { +- aq_dev_t *aq_dev = iflib_get_softc(ifp->if_softc); ++ aq_dev_t *aq_dev = iflib_get_softc(if_getsoftc(ifp)); + struct aq_hw *hw = &aq_dev->hw; +- int old_media_rate = ifp->if_baudrate; ++ int old_media_rate = if_getbaudrate(ifp); + int old_link_speed = hw->link_rate; + struct ifmedia *ifm = iflib_get_media(aq_dev->ctx); + int user_media = IFM_SUBTYPE(ifm->ifm_media); +@@ -169,7 +169,7 @@ int aq_mediachange(struct ifnet *ifp) + hw->fc.fc_tx = (ifm->ifm_media & IFM_ETH_TXPAUSE) ? 1 : 0; + + /* In down state just remember new link speed */ +- if (!(ifp->if_flags & IFF_UP)) ++ if (!(if_getflags(ifp) & IFF_UP)) + return (0); + + if ((media_rate != old_media_rate) || (hw->link_rate != old_link_speed)) { diff --git a/net/aquantia-atlantic-kmod/files/extra-patch-aq__ring.c b/net/aquantia-atlantic-kmod/files/extra-patch-aq__ring.c new file mode 100644 index 000000000000..dcd566b653fd --- /dev/null +++ b/net/aquantia-atlantic-kmod/files/extra-patch-aq__ring.c @@ -0,0 +1,20 @@ +--- aq_ring.c.orig 2022-01-25 07:53:28 UTC ++++ aq_ring.c +@@ -331,7 +331,7 @@ static int aq_isc_rxd_pkt_get(void *arg, if_rxd_info_t + aq_dev_t *aq_dev = arg; + struct aq_ring *ring = aq_dev->rx_rings[ri->iri_qsidx]; + aq_rx_desc_t *rx_desc; +- struct ifnet *ifp; ++ if_t ifp; + int cidx, rc = 0, i; + size_t len, total_len; + +@@ -370,7 +370,7 @@ static int aq_isc_rxd_pkt_get(void *arg, if_rxd_info_t + cidx = aq_next(cidx, ring->rx_size - 1); + } while (!rx_desc->wb.eop); + +- if ((ifp->if_capenable & IFCAP_RXCSUM) != 0) { ++ if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) { + aq_rx_set_cso_flags(rx_desc, ri); + } + ri->iri_rsstype = bsd_rss_type[rx_desc->wb.rss_type & 0xF]; diff --git a/net/dataplaneapi/Makefile b/net/dataplaneapi/Makefile index ab9f63c2c849..4b1512c6aef4 100644 --- a/net/dataplaneapi/Makefile +++ b/net/dataplaneapi/Makefile @@ -1,7 +1,6 @@ PORTNAME= dataplaneapi DISTVERSIONPREFIX= v -DISTVERSION= 3.2.3 -PORTREVISION= 1 +DISTVERSION= 3.2.4 CATEGORIES= net MAINTAINER= dtxdf@FreeBSD.org diff --git a/net/dataplaneapi/distinfo b/net/dataplaneapi/distinfo index db8435462bdc..56a7bec3b9fb 100644 --- a/net/dataplaneapi/distinfo +++ b/net/dataplaneapi/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1755633380 -SHA256 (go/net_dataplaneapi/haproxytech-dataplaneapi-v3.2.3_GH0/go.mod) = a0658b7464999d581e29e79b9f8145e752f6103655bb81e585bae17079ac79c5 -SIZE (go/net_dataplaneapi/haproxytech-dataplaneapi-v3.2.3_GH0/go.mod) = 4279 -SHA256 (go/net_dataplaneapi/haproxytech-dataplaneapi-v3.2.3_GH0/haproxytech-dataplaneapi-v3.2.3_GH0.tar.gz) = e649d7acccc57a0922837b52044849985d7d1e749286c4d76b43fa0173afd8e6 -SIZE (go/net_dataplaneapi/haproxytech-dataplaneapi-v3.2.3_GH0/haproxytech-dataplaneapi-v3.2.3_GH0.tar.gz) = 1067890 +TIMESTAMP = 1759519276 +SHA256 (go/net_dataplaneapi/haproxytech-dataplaneapi-v3.2.4_GH0/go.mod) = 6761ed8f37903bb4eba98092869a75509f9b195eff289c57970a1f516fcbb6a1 +SIZE (go/net_dataplaneapi/haproxytech-dataplaneapi-v3.2.4_GH0/go.mod) = 4886 +SHA256 (go/net_dataplaneapi/haproxytech-dataplaneapi-v3.2.4_GH0/haproxytech-dataplaneapi-v3.2.4_GH0.tar.gz) = 13a0ef16151837849f9fb91ad6ff869495688a40e627dbf82ffe31101fdbf110 +SIZE (go/net_dataplaneapi/haproxytech-dataplaneapi-v3.2.4_GH0/haproxytech-dataplaneapi-v3.2.4_GH0.tar.gz) = 1086420 diff --git a/net/eturnal/Makefile b/net/eturnal/Makefile index c356bedca393..93e61b63934f 100644 --- a/net/eturnal/Makefile +++ b/net/eturnal/Makefile @@ -1,5 +1,6 @@ PORTNAME= eturnal DISTVERSION= 1.12.2 +PORTREVISION= 1 CATEGORIES= net MAINTAINER= yzrh@noema.org diff --git a/net/isboot-kmod-devel/Makefile b/net/isboot-kmod-devel/Makefile new file mode 100644 index 000000000000..e8c6acb4d5e1 --- /dev/null +++ b/net/isboot-kmod-devel/Makefile @@ -0,0 +1,40 @@ +PORTNAME= isboot-kmod +DISTVERSION= 0.2.16-beta1 +CATEGORIES= net +PKGNAMESUFFIX= -devel + +MAINTAINER= john@jnielsen.net +COMMENT= Kernel module enabling iSCSI/IBFT boot +WWW= https://github.com/jnielsendotnet/isboot + +LICENSE= BSD2CLAUSE + +ONLY_FOR_ARCHS= amd64 i386 +CONFLICTS_INSTALL= isboot-kmod + +USES= kmod uidfix +USE_GITHUB= yes +GH_ACCOUNT= jnielsendotnet +GH_PROJECT= isboot + +SUB_FILES= pkg-message + +WRKSRC_SUBDIR= src + +PLIST_FILES= ${KMODDIR}/isboot.ko +PORTDOCS= README + +OPTIONS_DEFINE= DOCS VIMAGE +OPTIONS_DEFAULT=DOCS VIMAGE + +VIMAGE_DESC= Build for a kernel with 'options VIMAGE' + +VIMAGE_CFLAGS= -DVIMAGE + +.include <bsd.port.options.mk> + +post-install-DOCS-on: + ${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC}/.. && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} + +.include <bsd.port.mk> diff --git a/net/isboot-kmod-devel/distinfo b/net/isboot-kmod-devel/distinfo new file mode 100644 index 000000000000..3e9dde237604 --- /dev/null +++ b/net/isboot-kmod-devel/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1758402182 +SHA256 (jnielsendotnet-isboot-0.2.16-beta1_GH0.tar.gz) = ecede983d5cc0706c12f180132e9183a168790112234c38b26d19394228c123a +SIZE (jnielsendotnet-isboot-0.2.16-beta1_GH0.tar.gz) = 31224 diff --git a/net/isboot-kmod-devel/files/pkg-message.in b/net/isboot-kmod-devel/files/pkg-message.in new file mode 100644 index 000000000000..af5435e0b503 --- /dev/null +++ b/net/isboot-kmod-devel/files/pkg-message.in @@ -0,0 +1,11 @@ +[ +{ type: install + message: <<EOM +Remember to have the module loaded at boot by adding the following to +/boot/loader.conf: + isboot_load="YES" + +See %%DOCSDIR%%/README for additional information. +EOM +} +] diff --git a/net/isboot-kmod-devel/pkg-descr b/net/isboot-kmod-devel/pkg-descr new file mode 100644 index 000000000000..ca4c56485b24 --- /dev/null +++ b/net/isboot-kmod-devel/pkg-descr @@ -0,0 +1,7 @@ +This installs Daisuke Aoyama's isboot kernel module, which allows +booting FreeBSD directly from an iSCSI root disk. If your BIOS +supports iSCSI you may configure your target settings in the BIOS +and boot directly. If not, you may PXE boot using software that +contains iSCSI support such as iPXE. The module reads the iSCSI +Boot Firmware Table (IBFT) to configure the network and re-attach +the volume once the kernel begins execution. diff --git a/net/isboot-kmod/Makefile b/net/isboot-kmod/Makefile index f1b380bb3cf4..5c5a2aab4e07 100644 --- a/net/isboot-kmod/Makefile +++ b/net/isboot-kmod/Makefile @@ -9,6 +9,7 @@ WWW= https://github.com/jnielsendotnet/isboot LICENSE= BSD2CLAUSE ONLY_FOR_ARCHS= amd64 i386 +CONFLICTS_INSTALL= isboot-kmod-devel USES= kmod uidfix USE_GITHUB= yes diff --git a/net/kea-devel/Makefile b/net/kea-devel/Makefile index 3efc9aa2dcd9..a3e5f66b8275 100644 --- a/net/kea-devel/Makefile +++ b/net/kea-devel/Makefile @@ -16,7 +16,7 @@ BUILD_DEPENDS= rst2man:textproc/py-docutils LIB_DEPENDS= libboost_system.so:devel/boost-libs \ liblog4cplus.so:devel/log4cplus -USES= compiler:c++11-lang cmake:indirect cpe iconv libtool meson \ +USES= compiler:c++11-lang cmake:indirect cpe iconv meson \ pathfix pkgconfig python tar:xz shebangfix ssl CPE_VENDOR= isc diff --git a/net/kea/Makefile b/net/kea/Makefile index a70dcc3cf3e7..ca7c2ed49f66 100644 --- a/net/kea/Makefile +++ b/net/kea/Makefile @@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libboost_date_time.so:devel/boost-libs \ liblog4cplus.so:devel/log4cplus -USES= compiler:c++11-lang cpe iconv libtool pathfix ssl python tar:xz meson pkgconfig cmake:indirect shebangfix +USES= compiler:c++11-lang cpe iconv pathfix ssl python tar:xz meson pkgconfig cmake:indirect shebangfix MESON_ARGS= --auto-features=disabled \ -Dcrypto=openssl \ -Dnetconf=disabled diff --git a/net/netatalk3/Makefile b/net/netatalk3/Makefile deleted file mode 100644 index 8d070adde5a4..000000000000 --- a/net/netatalk3/Makefile +++ /dev/null @@ -1,109 +0,0 @@ -PORTNAME= netatalk -PORTVERSION= 3.2.10 -PORTREVISION= 2 -PORTEPOCH= 1 -CATEGORIES= net -MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/netatalk-${PORTVERSION:S/./-/g}/ -PKGNAMESUFFIX= 3 - -MAINTAINER= marcus@FreeBSD.org -COMMENT= File server for Mac OS X -WWW= https://netatalk.io/ - -LICENSE= GPLv2 - -DEPRECATED= End of support; use net/netatalk4 instead -EXPIRATION_DATE=2025-10-04 - -LIB_DEPENDS= libgcrypt.so:security/libgcrypt \ - libevent.so:devel/libevent - -USES= bdb:18 cpe gettext iconv:wchar_t meson perl5 pkgconfig shebangfix ssl tar:xz -USE_LDCONFIG= yes -USE_RC_SUBR= netatalk -#INSTALL_TARGET=install-strip -CPE_VENDOR= netatalk_project - -MESON_ARGS= -Dwith-libgcrypt-path=${LOCALBASE} \ - -Dwith-bdb-path=${LOCALBASE} \ - -Dwith-libiconv-path=${LOCALBASE} \ - -Dwith-dtrace=false \ - -Dwith-init-hooks=false \ - -Dpkg_config_path=${LOCALBASE}/libdata/pkgconfig \ - -Dwith-shadow=false \ - -Dwith-pgp-uam=false \ - -Ddefault_library=both \ - --infodir=${PREFIX}/share/info - -OPTIONS_DEFINE=PAM KERBEROS5 LDAP SENDFILE KERBEROS DBUS MYSQL ACL LIBWRAP SPOTLIGHT -OPTIONS_DEFAULT=AVAHI DBUS KERBEROS LIBWRAP SENDFILE -OPTIONS_RADIO=ZEROCONF -OPTIONS_RADIO_ZEROCONF=AVAHI MDNSRESPONDER -ZEROCONF_DESC= Zeroconf(Bonjour) support -MYSQL_DESC= Enable MySQL CNID backend support -SENDFILE_DESC= Enable Sendfile support -ACL_DESC= Enable ACL support -SPOTLIGHT_DESC= Enable Spotlight search support -OPTIONS_SUB= yes -KERBEROS5_MESON_ON= -Dwith-krbV-uam=true \ - -Dwith-kerberos=true -KERBEROS5_MESON_OFF= -Dwith-krbV-uam=false \ - -Dwith-kerberos=false -KERBEROS_LIB_DEPENDS=libgpg-error.so:security/libgpg-error -PAM_MESON_ON= -Dwith-pam-path=${LOCALBASE} -PAM_MESON_OFF= -Dwith-pam=false -AVAHI_CFLAGS= -I${LOCALBASE}/include -L${LOCALBASE}/lib -AVAHI_LIB_DEPENDS= libavahi-client.so:net/avahi-app -AVAHI_SUB_LIST= ZEROCONF="avahi_daemon" -MDNSRESPONDER_CFLAGS= -I${LOCALBASE}/include -L${LOCALBASE}/lib -MDNSRESPONDER_LIB_DEPENDS= libdns_sd.so:net/mDNSResponder -MDNSRESPONDER_SUB_LIST= ZEROCONF="mdnsd" -LDAP_MESON_ON= -Dwith-ldap-path=${LOCALBASE} -LDAP_MESON_OFF= -Dwith-ldap=false -LDAP_CFLAGS= -I${LOCALBASE}/include -L${LOCALBASE}/lib -LDAP_USES= ldap -SENDFILE_MESON_OFF=-Dwith-sendfile=false -DBUS_USES= gnome python -DBUS_USE= GNOME=glib20 -DBUS_LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib \ - libdbus-1.so:devel/dbus -DBUS_RUN_DEPENDS= ${PYTHON_SITELIBDIR}/dbus/_dbus.py:devel/py-dbus@${PY_FLAVOR} -DBUS_MESON_ON= -Dwith-dbus-daemon-path=${LOCALBASE}/bin/dbus-daemon \ - -Dwith-dbus-sysconf-path=${LOCALBASE}/etc/dbus-1/system.d -DBUS_MESON_OFF= -Dwith-afpstats=false -MYSQL_USES= mysql -MYSQL_MESON_OFF=-Dwith-cnid-mysql-backend=false -ACL_LIB_DEPENDS= libsunacl.so:sysutils/libsunacl -ACL_MESON_OFF=-Dwith-acls=false -LIBWRAP_MESON_OFF=-Dwith-tcp-wrappers=false -SPOTLIGHT_LIB_DEPENDS= libtinysparql-3.0.so:devel/tinysparql -SPOTLIGHT_MESON_OFF= -Dwith-spotlight=false - -SHEBANG_GLOB= afpstats - -CONFLICTS= netatalk4 - -.include <bsd.port.pre.mk> - -.if ${PORT_OPTIONS:MAVAHI}=="" && ${PORT_OPTIONS:MMDNSRESPONDER}=="" -SUB_LIST+= ZEROCONF="" -MESON_ARGS+=-Dwith-zeroconf=false -.endif - -post-patch: - @${REINPLACE_CMD} -e 's|%%DB_NAME%%|${BDB_INCLUDE_DIR:T}|' \ - ${WRKSRC}/meson.build -# @${REINPLACE_CMD} -e 's|\.dist|\.sample|g' \ -# ${WRKSRC}/config/Makefile.in -# @${REINPLACE_CMD} -e 's|%%PYTHONCMD%%|${PYTHONCMD}|' \ -# ${WRKSRC}/contrib/shell_utils/afpstats - -post-install: - ${INSTALL_SCRIPT} ${BUILD_WRKSRC}/contrib/macusers/macusers \ - ${STAGEDIR}${PREFIX}/bin/macusers - -.if ${PORT_OPTIONS:MPAM} - ${INSTALL_DATA} ${FILESDIR}/pam.conf ${STAGEDIR}${PREFIX}/etc/pam.d/netatalk.sample -.endif - -.include <bsd.port.post.mk> diff --git a/net/netatalk3/distinfo b/net/netatalk3/distinfo deleted file mode 100644 index 9cc0e2fe6486..000000000000 --- a/net/netatalk3/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1727181648 -SHA256 (netatalk-3.2.10.tar.xz) = 7e2783237e3615010cbd5a6a9ba0b801daa282381d808b9c36459b0be8dc170f -SIZE (netatalk-3.2.10.tar.xz) = 1961828 diff --git a/net/netatalk3/files/netatalk.in b/net/netatalk3/files/netatalk.in deleted file mode 100644 index 36a36747f34d..000000000000 --- a/net/netatalk3/files/netatalk.in +++ /dev/null @@ -1,39 +0,0 @@ -#!/bin/sh - -# PROVIDE: netatalk -# REQUIRE: DAEMON %%ZEROCONF%% -# KEYWORD: shutdown -# -# AFP fileserver for Mac clients. Add the following to /etc/rc.conf to -# enable: -# -# netatalk_enable="YES" -# - -netatalk_enable=${netatalk_enable-"NO"} - -. /etc/rc.subr - -name=netatalk -rcvar=netatalk_enable - -load_rc_config ${name} - -command=%%PREFIX%%/sbin/${name} - -extra_commands="reload" -reload_cmd="netatalk_reload" - -netatalk_reload() -{ - local status - - if ! status=`run_rc_command status 2>&1`; then - echo $status - return 1 - fi - echo 'Reloading netatalk.' - kill -HUP $rc_pid -} - -run_rc_command "$1" diff --git a/net/netatalk3/files/pam.conf b/net/netatalk3/files/pam.conf deleted file mode 100644 index 05120315054d..000000000000 --- a/net/netatalk3/files/pam.conf +++ /dev/null @@ -1,14 +0,0 @@ -# PAM configuration for the "netatalk" service -# - -# auth -auth include system - -# account -account include system - -# password -password include system - -# session -session include system diff --git a/net/netatalk3/files/patch-config_meson.build b/net/netatalk3/files/patch-config_meson.build deleted file mode 100644 index 16883e06495e..000000000000 --- a/net/netatalk3/files/patch-config_meson.build +++ /dev/null @@ -1,46 +0,0 @@ ---- config/meson.build.orig 2024-09-24 08:58:45 UTC -+++ config/meson.build -@@ -7,39 +7,17 @@ custom_target( - custom_target( - 'dbus_session', - input: 'dbus-session.conf.tmpl', -- output: 'dbus-session.conf', -+ output: 'dbus-session.conf.netatalk', - command: sed_command, - capture: true, - install: true, - install_dir: pkgconfdir, - ) - --if ( -- fs.exists(pkgconfdir / 'afp.conf') -- and not get_option('with-overwrite') --) -- message('will not replace existing', pkgconfdir / 'afp.conf') --else -- install_data(afp_conf, install_dir: pkgconfdir) --endif -+install_data(afp_conf, rename: 'afp.conf.sample', install_dir: pkgconfdir) -+install_data('extmap.conf', rename: 'extmap.conf.sample', install_dir: pkgconfdir) - --if ( -- fs.exists(pkgconfdir / 'extmap.conf') -- and not get_option('with-overwrite') --) -- message('will not replace existing', pkgconfdir / 'extmap.conf') --else -- install_data('extmap.conf', install_dir: pkgconfdir) --endif -- --if ( -- fs.exists(dbus_sysconfpath / 'netatalk-dbus.conf') -- and not get_option('with-overwrite') --) -- message('will not replace existing', dbus_sysconfpath / 'netatalk-dbus.conf') --else -- install_data('netatalk-dbus.conf', install_dir: dbus_sysconfpath) --endif -+install_data('netatalk-dbus.conf', install_dir: dbus_sysconfpath) - - if ( - fs.exists('/etc/ld.so.conf.d') diff --git a/net/netatalk3/files/patch-etc_uams_meson.build b/net/netatalk3/files/patch-etc_uams_meson.build deleted file mode 100644 index e936f29f4566..000000000000 --- a/net/netatalk3/files/patch-etc_uams_meson.build +++ /dev/null @@ -1,138 +0,0 @@ ---- etc/uams/meson.build.orig 2024-08-05 19:30:23 UTC -+++ etc/uams/meson.build -@@ -20,7 +20,7 @@ library( - name_suffix: lib_suffix, - override_options: 'b_lundef=false', - install: true, -- install_dir: libdir / 'netatalk', -+ install_dir: libexecdir / 'netatalk-uams', - ) - - uams_passwd_sources = ['uams_passwd.c'] -@@ -34,7 +34,7 @@ library( - name_suffix: lib_suffix, - override_options: 'b_lundef=false', - install: true, -- install_dir: libdir / 'netatalk', -+ install_dir: libexecdir / 'netatalk-uams', - ) - - ssl_links = [] -@@ -57,7 +57,7 @@ if have_ssl - name_suffix: lib_suffix, - override_options: 'b_lundef=false', - install: true, -- install_dir: libdir / 'netatalk', -+ install_dir: libexecdir / 'netatalk-uams', - build_rpath: rpath_libdir, - install_rpath: rpath_libdir, - ) -@@ -72,7 +72,7 @@ if have_ssl - name_suffix: lib_suffix, - override_options: 'b_lundef=false', - install: true, -- install_dir: libdir / 'netatalk', -+ install_dir: libexecdir / 'netatalk-uams', - build_rpath: rpath_libdir, - install_rpath: rpath_libdir, - ) -@@ -90,7 +90,7 @@ if have_ssl - name_suffix: lib_suffix, - override_options: 'b_lundef=false', - install: true, -- install_dir: libdir / 'netatalk', -+ install_dir: libexecdir / 'netatalk-uams', - build_rpath: rpath_libdir, - install_rpath: rpath_libdir, - ) -@@ -98,14 +98,14 @@ if have_ssl - if build_shared_lib - install_symlink( - 'uams_dhx.so', -- install_dir: libdir / 'netatalk', -+ install_dir: libexecdir / 'netatalk-uams', - pointing_to: 'uams_dhx_pam.so', - ) - endif - elif build_shared_lib - install_symlink( - 'uams_dhx.so', -- install_dir: libdir / 'netatalk', -+ install_dir: libexecdir / 'netatalk-uams', - pointing_to: 'uams_dhx_passwd.so', - ) - endif -@@ -123,7 +123,7 @@ if have_libgcrypt - name_suffix: lib_suffix, - override_options: 'b_lundef=false', - install: true, -- install_dir: libdir / 'netatalk', -+ install_dir: libexecdir / 'netatalk-uams', - ) - if have_pam - uams_dhx2_pam_sources = ['uams_dhx2_pam.c'] -@@ -137,20 +137,20 @@ if have_libgcrypt - name_suffix: lib_suffix, - override_options: 'b_lundef=false', - install: true, -- install_dir: libdir / 'netatalk', -+ install_dir: libexecdir / 'netatalk-uams', - ) - - if build_shared_lib - install_symlink( - 'uams_dhx2.so', -- install_dir: libdir / 'netatalk', -+ install_dir: libexecdir / 'netatalk-uams', - pointing_to: 'uams_dhx2_pam.so', - ) - endif - elif build_shared_lib - install_symlink( - 'uams_dhx2.so', -- install_dir: libdir / 'netatalk', -+ install_dir: libexecdir / 'netatalk-uams', - pointing_to: 'uams_dhx2_passwd.so', - ) - endif -@@ -168,20 +168,20 @@ if have_pam - name_suffix: lib_suffix, - override_options: 'b_lundef=false', - install: true, -- install_dir: libdir / 'netatalk', -+ install_dir: libexecdir / 'netatalk-uams', - ) - - if build_shared_lib - install_symlink( - 'uams_clrtxt.so', -- install_dir: libdir / 'netatalk', -+ install_dir: libexecdir / 'netatalk-uams', - pointing_to: 'uams_pam.so', - ) - endif - elif build_shared_lib - install_symlink( - 'uams_clrtxt.so', -- install_dir: libdir / 'netatalk', -+ install_dir: libexecdir / 'netatalk-uams', - pointing_to: 'uams_passwd.so', - ) - endif -@@ -198,7 +198,7 @@ if have_pgp_uam - name_suffix: lib_suffix, - override_options: 'b_lundef=false', - install: true, -- install_dir: libdir / 'netatalk', -+ install_dir: libexecdir / 'netatalk-uams', - ) - endif - -@@ -215,6 +215,6 @@ if have_krb5_uam - name_suffix: lib_suffix, - override_options: 'b_lundef=false', - install: true, -- install_dir: libdir / 'netatalk', -+ install_dir: libexecdir / 'netatalk-uams', - ) - endif diff --git a/net/netatalk3/files/patch-meson.build b/net/netatalk3/files/patch-meson.build deleted file mode 100644 index 078d34e171f2..000000000000 --- a/net/netatalk3/files/patch-meson.build +++ /dev/null @@ -1,117 +0,0 @@ ---- meson.build.orig 2024-09-24 08:58:45 UTC -+++ meson.build -@@ -39,6 +39,7 @@ libdir = prefix / get_option('libdir') - datadir = prefix / get_option('datadir') - includedir = prefix / get_option('includedir') - libdir = prefix / get_option('libdir') -+libexecdir = prefix / get_option('libexecdir') - localstatedir = prefix / get_option('localstatedir') - mandir = prefix / get_option('mandir') - sbindir = prefix / get_option('sbindir') -@@ -78,7 +79,7 @@ statedir = '-D_PATH_STATEDIR="' + localstatedir + '/ne - dversion = '-DVERSION="' + netatalk_version + '"' - messagedir = '-DSERVERTEXT="' + localstatedir + '/netatalk/msg/"' - statedir = '-D_PATH_STATEDIR="' + localstatedir + '/netatalk/"' --uamdir = '-D_PATH_AFPDUAMPATH="' + libdir + '/netatalk/"' -+uamdir = '-D_PATH_AFPDUAMPATH="' + libexecdir + '/netatalk-uams/"' - - ############ - # Includes # -@@ -368,6 +369,7 @@ bdb_subdirs = [ - '/usr', - ] - bdb_subdirs = [ -+ '%%DB_NAME%%', - 'db4.6', - 'db4.7', - 'db4.8', -@@ -479,6 +481,11 @@ if crypt.found() - if crypt.found() - cdata.set('HAVE_CRYPT_H', 1) - cdata.set('HAVE_LIBCRYPT', 1) -+else -+ crypt = cc.find_library('crypt', has_headers: 'unistd.h', required: false) -+ if crypt.found() -+ cdata.set('HAVE_LIBCRYPT', 1) -+ endif - endif - - des = cc.find_library('des', required: false) -@@ -704,12 +711,12 @@ dns_sd_libs = [] - - dns_sd_libs = [] - --dns_sd = cc.find_library('dns_sd', required: false) -+dns_sd = cc.find_library('dns_sd', dirs: libsearch_dirs, required: false) - if dns_sd.found() - dns_sd_libs += dns_sd - endif - --system = cc.find_library('system', required: false) -+system = cc.find_library('system', dirs: libsearch_dirs, required: false) - if dns_sd.found() - dns_sd_libs += system - endif -@@ -726,6 +733,8 @@ have_dns = ( - ) - ) - -+threads = dependency('threads', required: true) -+ - if not enable_zeroconf - have_zeroconf = false - else -@@ -735,6 +744,7 @@ else - cdata.set('HAVE_MDNS', 1) - freebsd_zeroconf_daemon = 'mdnsd' - zeroconf_provider += 'mDNS' -+ dns_sd_libs += threads - else - have_zeroconf = avahi.found() - if avahi.found() -@@ -802,19 +812,7 @@ else - required: false, - ) - -- if tracker.found() -- cdata.set( -- 'TRACKER_MANAGING_COMMAND', -- '"tracker daemon"', -- ) -- cdata.set( -- 'TRACKER_PREFIX', -- '"' -- + tracker_sparql.get_variable(pkgconfig: 'prefix') -- + '"', -- ) -- tracker_manager += 'tracker' -- elif tracker3.found() -+ if tracker3.found() - cdata.set('HAVE_TRACKER3', 1) - cdata.set( - 'TRACKER_MANAGING_COMMAND', -@@ -855,7 +853,6 @@ else - endif - endif - endif --endif - - have_spotlight = ( - tracker_sparql.found() -@@ -864,6 +861,8 @@ have_spotlight = ( - and flex.found() - and bison.found() - ) -+endif -+ - if have_spotlight - cdata.set('WITH_SPOTLIGHT', 1) - endif -@@ -1556,6 +1555,7 @@ if not enable_pam - - if not enable_pam - have_pam = false -+ pam = dependency('', required: false) - else - if host_os != 'sunos' - pam_paths = [ diff --git a/net/netatalk3/pkg-descr b/net/netatalk3/pkg-descr deleted file mode 100644 index fb4d1633d741..000000000000 --- a/net/netatalk3/pkg-descr +++ /dev/null @@ -1,9 +0,0 @@ -Netatalk is an OpenSource software package, that can be used to turn an -inexpensive *NIX machine into an extremely high-performance and reliable -file server for Macintosh computers. - -Using Netatalk's AFP 3.4 compliant file-server leads to significantly higher -transmission speeds compared with Macs accessing a server via SaMBa/NFS -while providing clients with the best possible user experience (full support -for Macintosh metadata, flawlessly supporting mixed environments of classic -MacOS and MacOS X clients) diff --git a/net/netatalk3/pkg-install b/net/netatalk3/pkg-install deleted file mode 100644 index bcddbdd54a87..000000000000 --- a/net/netatalk3/pkg-install +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh -# -PATH=/bin:/usr/sbin:/usr/bin:/usr/sbin - -DBDIR=/var/netatalk - -case $2 in - POST-INSTALL) - tee $DBDIR/README > $DBDIR/CNID/README <<-'EOF' - This directory contains modifiable Netatalk configuration files and the CNID databases. - EOF - truncate -s -1 $DBDIR/README $DBDIR/CNID/README - ;; -esac diff --git a/net/netatalk3/pkg-plist b/net/netatalk3/pkg-plist deleted file mode 100644 index 593f620f6b73..000000000000 --- a/net/netatalk3/pkg-plist +++ /dev/null @@ -1,85 +0,0 @@ -bin/ad -%%LDAP%%bin/afpldaptest -bin/afppasswd -%%DBUS%%bin/afpstats -bin/apple_dump -bin/asip-status -bin/dbd -bin/macusers -bin/netatalk-config -@sample etc/afp.conf.sample -%%DBUS%%etc/dbus-1/system.d/netatalk-dbus.conf -%%DBUS%%etc/dbus-session.conf.netatalk -@sample etc/extmap.conf.sample -%%PAM%%@sample etc/pam.d/netatalk.sample -libexec/netatalk-uams/uams_clrtxt.so -libexec/netatalk-uams/uams_dhx.so -libexec/netatalk-uams/uams_dhx2.so -%%PAM%%libexec/netatalk-uams/uams_dhx2_pam.a -%%PAM%%libexec/netatalk-uams/uams_dhx2_pam.so -libexec/netatalk-uams/uams_dhx2_passwd.a -libexec/netatalk-uams/uams_dhx2_passwd.so -%%PAM%%libexec/netatalk-uams/uams_dhx_pam.a -%%PAM%%libexec/netatalk-uams/uams_dhx_pam.so -libexec/netatalk-uams/uams_dhx_passwd.a -libexec/netatalk-uams/uams_dhx_passwd.so -%%KERBEROS5%%libexec/netatalk-uams/uams_gss.a -%%KERBEROS5%%libexec/netatalk-uams/uams_gss.so -libexec/netatalk-uams/uams_guest.a -libexec/netatalk-uams/uams_guest.so -%%PAM%%libexec/netatalk-uams/uams_pam.a -%%PAM%%libexec/netatalk-uams/uams_pam.so -libexec/netatalk-uams/uams_passwd.a -libexec/netatalk-uams/uams_passwd.so -libexec/netatalk-uams/uams_randnum.a -libexec/netatalk-uams/uams_randnum.so -include/atalk/acl.h -include/atalk/adouble.h -include/atalk/afp.h -include/atalk/bstrlib.h -include/atalk/cnid.h -include/atalk/dictionary.h -include/atalk/ea.h -include/atalk/globals.h -include/atalk/hash.h -include/atalk/iniparser.h -include/atalk/list.h -include/atalk/logger.h -include/atalk/netatalk_conf.h -include/atalk/paths.h -include/atalk/standards.h -include/atalk/uam.h -include/atalk/unicode.h -include/atalk/unix.h -include/atalk/util.h -include/atalk/vfs.h -include/atalk/volume.h -lib/libatalk.a -lib/libatalk.so -lib/libatalk.so.18 -lib/libatalk.so.18.0.0 -sbin/afpd -sbin/cnid_dbd -sbin/cnid_metad -sbin/netatalk -share/man/man1/ad.1.gz -share/man/man1/afpldaptest.1.gz -share/man/man1/afppasswd.1.gz -%%DBUS%%share/man/man1/afpstats.1.gz -share/man/man1/apple_dump.1.gz -share/man/man1/asip-status.1.gz -share/man/man1/dbd.1.gz -share/man/man1/macusers.1.gz -share/man/man1/netatalk-config.1.gz -share/man/man5/afp.conf.5.gz -share/man/man5/afp_signature.conf.5.gz -share/man/man5/afp_voluuid.conf.5.gz -share/man/man5/extmap.conf.5.gz -share/man/man8/afpd.8.gz -share/man/man8/cnid_dbd.8.gz -share/man/man8/cnid_metad.8.gz -share/man/man8/netatalk.8.gz -/var/netatalk/CNID/README -/var/netatalk/README -@dir /var/netatalk/CNID -@dir /var/netatalk diff --git a/net/nncp/Makefile b/net/nncp/Makefile index e07dd68c8563..2bbe2330f7b1 100644 --- a/net/nncp/Makefile +++ b/net/nncp/Makefile @@ -1,5 +1,5 @@ PORTNAME= nncp -DISTVERSION= 8.8.3 +DISTVERSION= 8.13.0 CATEGORIES= net MASTER_SITES= http://www.nncpgo.org/download/ @@ -10,14 +10,10 @@ WWW= http://www.nncpgo.org/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING -USES= go:1.21,modules,no_targets tar:xz +USES= go:modules,no_targets tar:xz USE_RC_SUBR= nncp-caller nncp-daemon nncp-toss -MAKE_ARGS= INFODIR=${STAGEDIR}${PREFIX}/${INFO_PATH} -MAKE_ENV= ${GO_ENV} -INSTALL_TARGET= install-strip - SUB_FILES= pkg-message pkg-install pkg-deinstall INFO= nncp @@ -25,8 +21,21 @@ PORTDOCS= AUTHORS NEWS NEWS.RU README README.RU THANKS OPTIONS_DEFINE= DOCS +do-build: + GO=${GO_CMD} ${GO_ENV} GO_CFLAGS="${GO_BUILDFLAGS}" \ + CFGPATH=${PREFIX}/etc/nncp.hjson \ + INFODIR=${STAGEDIR}${PREFIX}/${INFO_PATH} \ + PREFIX=${STAGEDIR}${PREFIX} \ + GOCACHE="${WRKDIR}/.cache" ${WRKSRC}/build + +do-install: + PREFIX=${STAGEDIR}${PREFIX} INFODIR=${STAGEDIR}${PREFIX}/${INFO_PATH} \ + ${WRKSRC}/install + post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d - ${INSTALL_DATA} ${FILESDIR}/nncp.newsyslog.conf.sample ${STAGEDIR}${PREFIX}/etc/nncp.conf.sample + ${INSTALL_DATA} ${FILESDIR}/nncp.newsyslog.conf.sample \ + ${STAGEDIR}${PREFIX}/etc/nncp.conf.sample + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include <bsd.port.mk> diff --git a/net/nncp/distinfo b/net/nncp/distinfo index be44330c42cb..396067c2036c 100644 --- a/net/nncp/distinfo +++ b/net/nncp/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1758765432 -SHA256 (nncp-8.8.3.tar.xz) = 225750084747e970d82be0d6e6507fe47145146baad670e40b011a568eef22f1 -SIZE (nncp-8.8.3.tar.xz) = 1822068 +TIMESTAMP = 1759061549 +SHA256 (nncp-8.13.0.tar.xz) = 8ce3680e98005198d8975e031760b3a9b33be6d2d61844c799f778ca233d05f4 +SIZE (nncp-8.13.0.tar.xz) = 2662700 diff --git a/net/nncp/pkg-plist b/net/nncp/pkg-plist index e89c748f3046..d29cc7b61bcb 100644 --- a/net/nncp/pkg-plist +++ b/net/nncp/pkg-plist @@ -1,3 +1,4 @@ +bin/nncp bin/nncp-ack bin/nncp-bundle bin/nncp-call diff --git a/net/qt6-coap/distinfo b/net/qt6-coap/distinfo index 196205bd7d3e..501eb986e5c6 100644 --- a/net/qt6-coap/distinfo +++ b/net/qt6-coap/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1756197840 -SHA256 (KDE/Qt/6.9.2/qt-qtcoap-v6.9.2_GH0.tar.gz) = 4f5c504b4e3e09112b42c65b6ced639dacf8ed1598b994cd5065f66a8f97751f -SIZE (KDE/Qt/6.9.2/qt-qtcoap-v6.9.2_GH0.tar.gz) = 186810 +TIMESTAMP = 1759303887 +SHA256 (KDE/Qt/6.9.3/qt-qtcoap-v6.9.3_GH0.tar.gz) = c795e55428ef4d45c50ecb1c9eaba994d258b213bd6405ae3c9903c0724cf07b +SIZE (KDE/Qt/6.9.3/qt-qtcoap-v6.9.3_GH0.tar.gz) = 186772 diff --git a/net/qt6-mqtt/distinfo b/net/qt6-mqtt/distinfo index 407c54ee07ad..faa628afd19d 100644 --- a/net/qt6-mqtt/distinfo +++ b/net/qt6-mqtt/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1756197843 -SHA256 (KDE/Qt/6.9.2/qt-qtmqtt-v6.9.2_GH0.tar.gz) = 1d5edb5b78f3b3248211afb3bd98947ebefc0e3acdd2db2f000dcda1a0fb362b -SIZE (KDE/Qt/6.9.2/qt-qtmqtt-v6.9.2_GH0.tar.gz) = 210422 +TIMESTAMP = 1759303895 +SHA256 (KDE/Qt/6.9.3/qt-qtmqtt-v6.9.3_GH0.tar.gz) = 4fc80a4a0cbe6c696eed7c5c0209819470a0bcc48a2ceaec71e5572ce7be4b8b +SIZE (KDE/Qt/6.9.3/qt-qtmqtt-v6.9.3_GH0.tar.gz) = 210408 diff --git a/net/qt6-networkauth/distinfo b/net/qt6-networkauth/distinfo index 567768330824..58d68541f637 100644 --- a/net/qt6-networkauth/distinfo +++ b/net/qt6-networkauth/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1756197848 -SHA256 (KDE/Qt/6.9.2/qtnetworkauth-everywhere-src-6.9.2.tar.xz) = 2165d9568eb8ab9f3cb91abdb0e72c17fe7a70707150ef1738db94e75f318c84 -SIZE (KDE/Qt/6.9.2/qtnetworkauth-everywhere-src-6.9.2.tar.xz) = 432076 +TIMESTAMP = 1759303905 +SHA256 (KDE/Qt/6.9.3/qtnetworkauth-everywhere-src-6.9.3.tar.xz) = 67d9dc47ed133e22aa78bedef53963bee3761318e5e74dc98f82ad9814cc7ec7 +SIZE (KDE/Qt/6.9.3/qtnetworkauth-everywhere-src-6.9.3.tar.xz) = 432616 diff --git a/net/sems/Makefile b/net/sems/Makefile index a16818a51de1..ee8b4cc4c081 100644 --- a/net/sems/Makefile +++ b/net/sems/Makefile @@ -10,6 +10,9 @@ WWW= https://github.com/sems-server LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/doc/COPYING +BROKEN= Fails to detect declared dependencies +EXPIRATION_DATE=2025-12-31 + LIB_DEPENDS= libopus.so:audio/opus \ libcodec2.so:audio/codec2 \ libevent.so:devel/libevent \ |