From c635a4b7ddb6105bfc6fef130b188a087726677b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 1 Dec 2024 02:06:43 +0000 Subject: gentoo auto-resync : 01:12:2024 - 02:06:42 --- net-misc/Manifest.gz | Bin 54301 -> 54302 bytes net-misc/dropbear/Manifest | 4 +- net-misc/dropbear/dropbear-2024.86-r1.ebuild | 212 +++++++++++++++++++++++++++ net-misc/dropbear/dropbear-2024.86.ebuild | 201 ------------------------- net-misc/dropbear/metadata.xml | 6 + net-misc/smb4k/Manifest | 2 + net-misc/smb4k/smb4k-3.2.91.ebuild | 77 ++++++++++ 7 files changed, 299 insertions(+), 203 deletions(-) create mode 100644 net-misc/dropbear/dropbear-2024.86-r1.ebuild delete mode 100644 net-misc/dropbear/dropbear-2024.86.ebuild create mode 100644 net-misc/smb4k/smb4k-3.2.91.ebuild (limited to 'net-misc') diff --git a/net-misc/Manifest.gz b/net-misc/Manifest.gz index 609662b9b87c..28c4024714e7 100644 Binary files a/net-misc/Manifest.gz and b/net-misc/Manifest.gz differ diff --git a/net-misc/dropbear/Manifest b/net-misc/dropbear/Manifest index 0d32926c8740..ee07484256f8 100644 --- a/net-misc/dropbear/Manifest +++ b/net-misc/dropbear/Manifest @@ -19,5 +19,5 @@ DIST dropbear-2024.86.tar.bz2.asc 833 BLAKE2B 5fc35fb4135f099c2204972d3fc365b01b EBUILD dropbear-2022.83-r1.ebuild 4433 BLAKE2B 6cd0edb8789dcabbfaaed58db535ee6bca645ea687eb2e2d5f15d0fd16b370cdd1075d99960315492182065219b11823101db489233b8ea26392f0c4e9e41776 SHA512 61ab7e9ea1856586e8e15e4089be296a2d2730fe236ea3d07ddf2652ec3cf123d07ec782d0d7bb51e96ef537c09b4421f83a6ef04fa5253e4536740aa66f3854 EBUILD dropbear-2024.85-r1.ebuild 5062 BLAKE2B d6c63a168ef0e040794cca2cdbc4b77ad386bf34f3c6d3073d5d7fd30ebec8af213f709958e0832fc626e2c18bd38f5fcf1bca4b7573ffe28fa2c79555720af5 SHA512 033e4d740310b0ab6efd00ab1df08239058b613f31843aa679015755c25c75c8dfa248efe46ced583eb52fbe6f9c9d817936a9f4cbfb2f4de4e1ad6cfbd49ab3 EBUILD dropbear-2024.85-r2.ebuild 5403 BLAKE2B 65dbe02b17c3712815fc35c7d9a586585effd447d1dccc4251fa312ec467649289096c809a0255bf1af967b937e8eefe85a12e3d27f5065822cb92924357425f SHA512 6a096bc2b06b8dfe34e907fa9dcd8e06cd0309c8c6397ebc8cbfa38bc2aca6d928a65c673815903db537dadf79b520e89e87644304239487ba4822e9d44d1ab1 -EBUILD dropbear-2024.86.ebuild 5558 BLAKE2B bab3a449dbdecc68138de6e0c40e0b1b4becdcfd9a805ce9cd2fcc42aef8970afb282147480b58f9eb11156dbfe09be02de7563238c2c53bd7ce52644145cd00 SHA512 b3a560c5f3d5edf7c63739940e058e9da37df3e5509bd38f0cc59977688b8007bed87773fa61d1fb27a90849ab27a46a6f7e0f9371b2776e4f6c4fa208fc3693 -MISC metadata.xml 1866 BLAKE2B 820902b27de934f6d7f0edc5d9f8c7bccf5c5f51d0e81ebd13fb53d6ba9e385c924d4fd0a191096fb191c253800227ff6b30f7bd44edfb532307e7076f39df8f SHA512 8e073a34877f230207ef391084b99014db9482aec680a1b292ac95e3bade426ecf362092337b7fcb19091f273085a06ae81cfd7d5e69a46a28067ae68f615cd4 +EBUILD dropbear-2024.86-r1.ebuild 5864 BLAKE2B 97b6d8275016dd25d618957deac7f5035617cbfe6fe4b613bdb29879adadcf7f5951e260324488dee120cac30748e9f7b200a70f5654593cb4930291ea1535b6 SHA512 db37abe03347bb71f97b7b4b7e2367797fea44bb97b95577a51421acf84e0e437d1e3f0891bdfe85bacf87bd4f0a21e10fc38a1634a4530c6f8f030a928b2dd3 +MISC metadata.xml 2144 BLAKE2B 44954b29ea4dfb4008a9411303c502ef2fffee30f16df24a7f6fc7e1969c24209bf88f59a67e32ef422544ae51d46a846a819a8004efad825da702fff7f3af91 SHA512 ff59f6d316473fa41905ff92112f2b57b929668e04730fa88f7af405ee6a1e308a82119b896a5612120cd1cd2bdbea0e8dc8b0d419b7f472b22fa66a89638fe5 diff --git a/net-misc/dropbear/dropbear-2024.86-r1.ebuild b/net-misc/dropbear/dropbear-2024.86-r1.ebuild new file mode 100644 index 000000000000..c5f61a79f77c --- /dev/null +++ b/net-misc/dropbear/dropbear-2024.86-r1.ebuild @@ -0,0 +1,212 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/dropbear.asc +inherit pam python-any-r1 savedconfig verify-sig + +DESCRIPTION="Small SSH 2 client/server designed for small memory environments" +HOMEPAGE="https://matt.ucc.asn.au/dropbear/dropbear.html" +SRC_URI="https://matt.ucc.asn.au/dropbear/releases/${P}.tar.bz2 + https://matt.ucc.asn.au/dropbear/testing/${P}.tar.bz2" +SRC_URI+=" verify-sig? ( + https://matt.ucc.asn.au/dropbear/releases/${P}.tar.bz2.asc + https://matt.ucc.asn.au/dropbear/testing/${P}.tar.bz2.asc + )" + +LICENSE="MIT GPL-2" # (init script is GPL-2 #426056) +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +IUSE="bsdpty legacy-ciphers minimal multicall pam +shadow static +syslog test +test-async zlib" +RESTRICT="!test? ( test )" + +LIB_DEPEND=" + virtual/libcrypt[static-libs(+)] + zlib? ( sys-libs/zlib[static-libs(+)] ) +" +RDEPEND=" + acct-group/sshd + acct-user/sshd + !static? ( + >=dev-libs/libtomcrypt-1.18.2-r2[libtommath] + >=dev-libs/libtommath-1.2.0 + ${LIB_DEPEND//\[static-libs(+)]} + ) + pam? ( sys-libs/pam ) +" +DEPEND=" + ${RDEPEND} + static? ( ${LIB_DEPEND} ) +" +RDEPEND+=" pam? ( >=sys-auth/pambase-20080219.1 )" +BDEPEND=" + test? ( + sys-libs/nss_wrapper + $(python_gen_any_dep ' + dev-python/attrs[${PYTHON_USEDEP}] + dev-python/iniconfig[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/pluggy[${PYTHON_USEDEP}] + dev-python/py[${PYTHON_USEDEP}] + dev-python/pyparsing[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + ') + test-async? ( + $(python_gen_any_dep ' + dev-python/asyncssh[${PYTHON_USEDEP}] + ') + ) + ) + verify-sig? ( sec-keys/openpgp-keys-dropbear ) +" + +REQUIRED_USE="pam? ( !static )" + +PATCHES=( + "${FILESDIR}"/${PN}-2024.84-dbscp.patch + "${FILESDIR}"/${PN}-2024.86-tests.patch + "${FILESDIR}"/${PN}-2024.84-test-bg-sleep.patch +) + +set_options() { + progs=( + dropbear dbclient dropbearkey + $(usev !minimal "dropbearconvert scp") + ) + makeopts=( + MULTI=$(usex multicall 1 0) + ) +} + +python_check_deps() { + if use test-async; then + python_has_version "dev-python/asyncssh[${PYTHON_USEDEP}]" + fi + + python_has_version "dev-python/attrs[${PYTHON_USEDEP}]" && \ + python_has_version "dev-python/iniconfig[${PYTHON_USEDEP}]" && \ + python_has_version "dev-python/packaging[${PYTHON_USEDEP}]" && \ + python_has_version "dev-python/pluggy[${PYTHON_USEDEP}]" && \ + python_has_version "dev-python/py[${PYTHON_USEDEP}]" && \ + python_has_version "dev-python/pyparsing[${PYTHON_USEDEP}]" && \ + python_has_version "dev-python/pytest[${PYTHON_USEDEP}]" && \ + python_has_version "dev-python/psutil[${PYTHON_USEDEP}]" +} + +pkg_setup() { + use test && python-any-r1_pkg_setup + + if use static ; then + ewarn "Using bundled copies of libtommath and libtomcrypt" + fi +} + +src_prepare() { + default + + # dropbear does not accept -E if built w/o syslog support and fails the tests + if use syslog; then + eapply "${FILESDIR}"/${PN}-2024.84-non-interactive-tests.patch + else + eapply "${FILESDIR}"/${PN}-2024.84-non-interactive-tests-no-syslog.patch + fi + + sed \ + -e '/SFTPSERVER_PATH/s:".*":"/usr/lib/misc/sftp-server":' \ + -e '/DROPBEAR_X11FWD/s:0:1:' \ + -e "/DROPBEAR_DSS/s:0: "$(usex legacy-ciphers 1 0)":" \ + src/default_options.h > localoptions.h || die + sed \ + -e '/pam_start/s:sshd:dropbear:' \ + -i src/svr-authpam.c || die + restore_config localoptions.h + + use test && python_fix_shebang test/parent_dropbear_map.py + + # dropbearconvert is not built with USE minimal + # test_concurrent needs dropbearconvert to convert the key before running + if use minimal; then + rm test/test_dropbearconvert.py test/test_concurrent.py || die + elif ! use test-async; then + # remove this test on platforms where dev-python/asyncssh is not available + rm test/test_concurrent.py || die + fi + + # bsdpty requires CONFIG_LEGACY_PTYS in kernel; disable tests. + # bug #939601 + if use bsdpty; then + rm test/test_channels.py || die + fi +} + +src_configure() { + # Notes: + # 1) We use bundled libtom* when static build is enabled because + # libtomcrypt lacks it and we don't particularly want to add it. + # 2) We disable the hardening flags as our compiler already enables them + # by default as is appropriate for the target. + local myeconfargs=( + --disable-harden + + # bug #836900 + $(use_enable !elibc_musl lastlog) + $(use_enable !elibc_musl wtmp) + + $(use_enable static bundled-libtom) + $(use_enable zlib) + $(use_enable pam) + $(use_enable !bsdpty openpty) + $(use_enable shadow) + $(use_enable static) + $(use_enable syslog) + ) + + econf "${myeconfargs[@]}" +} + +src_compile() { + set_options + emake "${makeopts[@]}" PROGRAMS="${progs[*]}" + + # need symlinks for tests + if use multicall && use test; then + local x + for x in "${progs[@]}" ; do + ln -sf dropbearmulti ${x} || die "ln -s dropbearmulti to ${x} failed" + done + fi +} + +src_install() { + set_options + emake "${makeopts[@]}" PROGRAMS="${progs[*]}" DESTDIR="${D}" install + doman manpages/*.8 + newinitd "${FILESDIR}"/dropbear.init.d dropbear + newconfd "${FILESDIR}"/dropbear.conf.d dropbear + dodoc CHANGES README.md SMALL.md MULTI.md + + # The multi install target does not install the links right. + if use multicall ; then + pushd "${ED}"/usr/bin &> /dev/null || die + local x + for x in "${progs[@]}" ; do + ln -sf dropbearmulti ${x} || die "ln -s dropbearmulti to ${x} failed" + done + rm -f dropbear + dodir /usr/sbin + dosym -r /usr/bin/dropbearmulti /usr/sbin/dropbear + popd &> /dev/null || die + fi + save_config localoptions.h + + if ! use minimal ; then + mv "${ED}"/usr/bin/{,db}scp || die + fi + + if use pam; then + pamd_mimic system-remote-login dropbear auth account password session + fi +} diff --git a/net-misc/dropbear/dropbear-2024.86.ebuild b/net-misc/dropbear/dropbear-2024.86.ebuild deleted file mode 100644 index 7e1d6f159e8b..000000000000 --- a/net-misc/dropbear/dropbear-2024.86.ebuild +++ /dev/null @@ -1,201 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..13} ) -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/dropbear.asc -inherit pam python-any-r1 savedconfig verify-sig - -DESCRIPTION="Small SSH 2 client/server designed for small memory environments" -HOMEPAGE="https://matt.ucc.asn.au/dropbear/dropbear.html" -SRC_URI="https://matt.ucc.asn.au/dropbear/releases/${P}.tar.bz2 - https://matt.ucc.asn.au/dropbear/testing/${P}.tar.bz2" -SRC_URI+=" verify-sig? ( - https://matt.ucc.asn.au/dropbear/releases/${P}.tar.bz2.asc - https://matt.ucc.asn.au/dropbear/testing/${P}.tar.bz2.asc - )" - -LICENSE="MIT GPL-2" # (init script is GPL-2 #426056) -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" -IUSE="bsdpty minimal multicall pam +shadow static +syslog test zlib" -RESTRICT="!test? ( test )" - -LIB_DEPEND=" - virtual/libcrypt[static-libs(+)] - zlib? ( sys-libs/zlib[static-libs(+)] ) -" -RDEPEND=" - acct-group/sshd - acct-user/sshd - !static? ( - >=dev-libs/libtomcrypt-1.18.2-r2[libtommath] - >=dev-libs/libtommath-1.2.0 - ${LIB_DEPEND//\[static-libs(+)]} - ) - pam? ( sys-libs/pam ) -" -DEPEND=" - ${RDEPEND} - static? ( ${LIB_DEPEND} ) -" -RDEPEND+=" pam? ( >=sys-auth/pambase-20080219.1 )" -BDEPEND=" - test? ( - sys-libs/nss_wrapper - $(python_gen_any_dep ' - dev-python/asyncssh[${PYTHON_USEDEP}] - dev-python/attrs[${PYTHON_USEDEP}] - dev-python/iniconfig[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/pluggy[${PYTHON_USEDEP}] - dev-python/py[${PYTHON_USEDEP}] - dev-python/pyparsing[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - ') - ) - verify-sig? ( sec-keys/openpgp-keys-dropbear ) -" - -REQUIRED_USE="pam? ( !static )" - -PATCHES=( - "${FILESDIR}"/${PN}-2024.84-dbscp.patch - "${FILESDIR}"/${PN}-2024.86-tests.patch - "${FILESDIR}"/${PN}-2024.84-test-bg-sleep.patch -) - -set_options() { - progs=( - dropbear dbclient dropbearkey - $(usev !minimal "dropbearconvert scp") - ) - makeopts=( - MULTI=$(usex multicall 1 0) - ) -} - -python_check_deps() { - python_has_version "dev-python/asyncssh[${PYTHON_USEDEP}]" && \ - python_has_version "dev-python/attrs[${PYTHON_USEDEP}]" && \ - python_has_version "dev-python/iniconfig[${PYTHON_USEDEP}]" && \ - python_has_version "dev-python/packaging[${PYTHON_USEDEP}]" && \ - python_has_version "dev-python/pluggy[${PYTHON_USEDEP}]" && \ - python_has_version "dev-python/py[${PYTHON_USEDEP}]" && \ - python_has_version "dev-python/pyparsing[${PYTHON_USEDEP}]" && \ - python_has_version "dev-python/pytest[${PYTHON_USEDEP}]" && \ - python_has_version "dev-python/psutil[${PYTHON_USEDEP}]" -} - -pkg_setup() { - use test && python-any-r1_pkg_setup - - if use static ; then - ewarn "Using bundled copies of libtommath and libtomcrypt" - fi -} - -src_prepare() { - default - - # dropbear does not accept -E if built w/o syslog support and fails the tests - if use syslog; then - eapply "${FILESDIR}"/${PN}-2024.84-non-interactive-tests.patch - else - eapply "${FILESDIR}"/${PN}-2024.84-non-interactive-tests-no-syslog.patch - fi - - sed \ - -e '/SFTPSERVER_PATH/s:".*":"/usr/lib/misc/sftp-server":' \ - -e '/DROPBEAR_X11FWD/s:0:1:' \ - src/default_options.h > localoptions.h || die - sed \ - -e '/pam_start/s:sshd:dropbear:' \ - -i src/svr-authpam.c || die - restore_config localoptions.h - - use test && python_fix_shebang test/parent_dropbear_map.py - - # dropbearconvert is not built with USE minimal - # test_concurrent needs dropbearconvert to convert the key before running - if use minimal; then - rm test/test_dropbearconvert.py test/test_concurrent.py || die - fi - - # bsdpty requires CONFIG_LEGACY_PTYS in kernel; disable tests. - # bug #939601 - if use bsdpty; then - rm test/test_channels.py || die - fi -} - -src_configure() { - # Notes: - # 1) We use bundled libtom* when static build is enabled because - # libtomcrypt lacks it and we don't particularly want to add it. - # 2) We disable the hardening flags as our compiler already enables them - # by default as is appropriate for the target. - local myeconfargs=( - --disable-harden - - # bug #836900 - $(use_enable !elibc_musl lastlog) - $(use_enable !elibc_musl wtmp) - - $(use_enable static bundled-libtom) - $(use_enable zlib) - $(use_enable pam) - $(use_enable !bsdpty openpty) - $(use_enable shadow) - $(use_enable static) - $(use_enable syslog) - ) - - econf "${myeconfargs[@]}" -} - -src_compile() { - set_options - emake "${makeopts[@]}" PROGRAMS="${progs[*]}" - - # need symlinks for tests - if use multicall && use test; then - local x - for x in "${progs[@]}" ; do - ln -sf dropbearmulti ${x} || die "ln -s dropbearmulti to ${x} failed" - done - fi -} - -src_install() { - set_options - emake "${makeopts[@]}" PROGRAMS="${progs[*]}" DESTDIR="${D}" install - doman manpages/*.8 - newinitd "${FILESDIR}"/dropbear.init.d dropbear - newconfd "${FILESDIR}"/dropbear.conf.d dropbear - dodoc CHANGES README.md SMALL.md MULTI.md - - # The multi install target does not install the links right. - if use multicall ; then - pushd "${ED}"/usr/bin &> /dev/null || die - local x - for x in "${progs[@]}" ; do - ln -sf dropbearmulti ${x} || die "ln -s dropbearmulti to ${x} failed" - done - rm -f dropbear - dodir /usr/sbin - dosym -r /usr/bin/dropbearmulti /usr/sbin/dropbear - popd &> /dev/null || die - fi - save_config localoptions.h - - if ! use minimal ; then - mv "${ED}"/usr/bin/{,db}scp || die - fi - - if use pam; then - pamd_mimic system-remote-login dropbear auth account password session - fi -} diff --git a/net-misc/dropbear/metadata.xml b/net-misc/dropbear/metadata.xml index 80473cbd3d8f..65e554e7cd8b 100644 --- a/net-misc/dropbear/metadata.xml +++ b/net-misc/dropbear/metadata.xml @@ -22,8 +22,14 @@ Add support for legacy BSD pty's rather than dynamic UNIX pty's -- do not use this flag unless you are absolutely sure you actually want it + + Enable support for deprecated, soon-to-be-dropped DSA keys. + + See https://marc.info/?l=openssh-unix-dev>m=170494903207436>w=2. + Build all the programs as one little binary (to save space) Enable shadow password support + Enable tests using dev-python/asyncssh cpe:/a:matt_johnston:dropbear_ssh_server diff --git a/net-misc/smb4k/Manifest b/net-misc/smb4k/Manifest index ae9ea5b4cebf..82320386c396 100644 --- a/net-misc/smb4k/Manifest +++ b/net-misc/smb4k/Manifest @@ -1,5 +1,7 @@ DIST smb4k-3.2.81.tar.xz 4449776 BLAKE2B 729c304644cdbeed92b308062b27e1b0de14187b95c730cc288d919b620e8a437e0c1536fec9d5d20bad028c09527dd9b7421d2003a30902d96772bab29d5512 SHA512 a5c6aae11472184abc45863600de059e6cff2ed94bf263738c34d3aaa78023da4a4e43609da12abf3ba7249d3d93443622d5a0a07dc9128387931f389406dafe DIST smb4k-3.2.90.tar.xz 4454108 BLAKE2B 78a0aea75bc6f94438968369a43a1288da9cc9e43c5d0bc676621789c4fa779b5925cdfc2fd098c0c6a8b32629f9461294b37d3990579cc425939a1ee0b201f9 SHA512 27eae38add622bdf7a29c87da1266d394d7de45584988d393444afe48048de391c8ae0a822db26e817de970ece48de9969b4c7d96d8e4b46a1ed1d9c5d71b5dd +DIST smb4k-3.2.91.tar.xz 4714764 BLAKE2B ef7ebdd4af5852f7fc2a5cd36d1a7092f2cadbab26163c134292f9c7739969d1137089c1a169a9a72ccf12a2406b87dfd4c7aa92986cad603b583e53dd1f45c9 SHA512 f1dcb21f5b7de0193ee52df4a8c28b96525a4f4afd68a043026cdb9227aa385a22938890b8dc54dd399d1b52c2be2416d27b077fb5748fa7ef0940d9dc18d1c2 EBUILD smb4k-3.2.81.ebuild 2091 BLAKE2B b0144277db3e10f41401abe00067990d673a6ab802e39d811fc699cd462cd90de99c09f8edd0bc92a5e73405f4717efc1db7cf934101c2f69604b5f394ecb3fe SHA512 f367e9e01776b515097e6d64c894efc027983d4d460542b87e0490b596ebd4fb197517e943a3518c56d6f0ebe3f91028e418e3821b2be9a0d214abcdac9056c5 EBUILD smb4k-3.2.90.ebuild 2093 BLAKE2B edcd17a283183d1633c3bfec3bdf5a9fe62672f4d0ad9f7ff079a2d49a3bd4f13fce0277fc91ab0e2439548b19c9d1dcc6febef0d86c14fa2f49711744dbb2b0 SHA512 0377c2e14fee898a3d7323c8d173c15d69c5fa23c4e8071150a7dc0ec1bf3b6398fa8ce61dd621f6b41f3f7bd51825f987613abbca6770061e8e4b54ae87e904 +EBUILD smb4k-3.2.91.ebuild 2093 BLAKE2B edcd17a283183d1633c3bfec3bdf5a9fe62672f4d0ad9f7ff079a2d49a3bd4f13fce0277fc91ab0e2439548b19c9d1dcc6febef0d86c14fa2f49711744dbb2b0 SHA512 0377c2e14fee898a3d7323c8d173c15d69c5fa23c4e8071150a7dc0ec1bf3b6398fa8ce61dd621f6b41f3f7bd51825f987613abbca6770061e8e4b54ae87e904 MISC metadata.xml 593 BLAKE2B 087dedf151163d8d8f02f41a9aa08117219c50556e3e60c97bf3bf3175fbe41fe9cdc1f0ada27aacc660095b41edfcb9502d02568bcd9eea26e8cecdbceaebe9 SHA512 f090b6f9b968087c912cc88187089a0eb891e77713fd5aabed03931b9da6f2f6673e48b37edf57de5da3a421f25d82371f9568db302e9e35e64f5f8200a2418e diff --git a/net-misc/smb4k/smb4k-3.2.91.ebuild b/net-misc/smb4k/smb4k-3.2.91.ebuild new file mode 100644 index 000000000000..6ef6c2969e89 --- /dev/null +++ b/net-misc/smb4k/smb4k-3.2.91.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_HANDBOOK="forceoptional" +KFMIN=6.3.0 +QTMIN=6.6.2 +inherit ecm kde.org + +DESCRIPTION="Advanced network neighborhood browser" +HOMEPAGE="https://apps.kde.org/smb4k/ +https://sourceforge.net/p/smb4k/home/Home/" + +if [[ ${KDE_BUILD_TYPE} = release ]]; then + SRC_URI="https://downloads.sourceforge.net/${PN}/Development/${P}.tar.xz" + KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="+discovery plasma" + +DEPEND=" + >=dev-libs/qtkeychain-0.14.2:=[qt6(+)] + >=dev-qt/qtbase-${QTMIN}:6[gui,network,widgets] + >=dev-qt/qtdeclarative-${QTMIN}:6 + >=kde-frameworks/kauth-${KFMIN}:6 + >=kde-frameworks/kcompletion-${KFMIN}:6 + >=kde-frameworks/kconfig-${KFMIN}:6 + >=kde-frameworks/kconfigwidgets-${KFMIN}:6 + >=kde-frameworks/kcoreaddons-${KFMIN}:6 + >=kde-frameworks/kcrash-${KFMIN}:6 + >=kde-frameworks/kdbusaddons-${KFMIN}:6 + >=kde-frameworks/kdnssd-${KFMIN}:6 + >=kde-frameworks/ki18n-${KFMIN}:6 + >=kde-frameworks/kiconthemes-${KFMIN}:6 + >=kde-frameworks/kio-${KFMIN}:6 + >=kde-frameworks/kjobwidgets-${KFMIN}:6 + >=kde-frameworks/knotifications-${KFMIN}:6 + >=kde-frameworks/kstatusnotifieritem-${KFMIN}:6 + >=kde-frameworks/kwallet-${KFMIN}:6 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:6 + >=kde-frameworks/kwindowsystem-${KFMIN}:6 + >=kde-frameworks/kxmlgui-${KFMIN}:6 + >=kde-frameworks/solid-${KFMIN}:6 + net-fs/samba[cups] + discovery? ( + >=net-libs/kdsoap-2.2.0:=[qt6(+)] + >=net-libs/kdsoap-ws-discovery-client-0.4.0 + ) +" +RDEPEND="${DEPEND} + !${CATEGORY}/${PN}:5 + plasma? ( + >=kde-frameworks/kirigami-${KFMIN}:6 + kde-plasma/libplasma:6 + ) +" + +src_configure() { + local mycmakeargs=( + -DSMB4K_WITH_WS_DISCOVERY=$(usex discovery) + -DSMB4K_INSTALL_PLASMOID=$(usex plasma) + ) + ecm_src_configure +} + +pkg_postinst() { + ecm_pkg_postinst + elog "Users of Samba 4.7 and above please note that for the time being," + elog "the following setting has to be added to or changed in the [global]" + elog "section of the smb.conf file:" + elog + elog "[global]" + elog "client max protocol = NT1" +} -- cgit v1.2.3