[gentoo-commits] repo/gentoo:master commit in: net-p2p/fms/
commit: a9a7eb42cf5b965a8750a060f1991b8df1e3eb10 Author: Michael Mair-Keimberger levelnine at> AuthorDate: Wed Mar 27 18:28:45 2024 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Apr 5 15:26:46 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9a7eb42 net-p2p/fms: add missing remote-id Signed-off-by: Michael Mair-Keimberger levelnine.at> Signed-off-by: Arthur Zamarin gentoo.org> net-p2p/fms/metadata.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net-p2p/fms/metadata.xml b/net-p2p/fms/metadata.xml index 69d5adf83bfd..f446dcf02934 100644 --- a/net-p2p/fms/metadata.xml +++ b/net-p2p/fms/metadata.xml @@ -6,4 +6,7 @@ Add support for frost boards Add support for FCP connection over SSL + + hyphanet/wiki +
[gentoo-commits] repo/gentoo:master commit in: net-p2p/fms/
commit: 2540121ca13a7988b85f7e9719fddf35626393ac Author: Michael Mair-Keimberger levelnine at> AuthorDate: Sun Jun 4 09:32:08 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sun Jun 4 16:18:52 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2540121c net-p2p/fms: update github link Signed-off-by: Michael Mair-Keimberger levelnine.at> Signed-off-by: Arthur Zamarin gentoo.org> net-p2p/fms/fms-0.3.84.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/net-p2p/fms/fms-0.3.84.ebuild b/net-p2p/fms/fms-0.3.84.ebuild index d99313f0e5f2..531325b08473 100644 --- a/net-p2p/fms/fms-0.3.84.ebuild +++ b/net-p2p/fms/fms-0.3.84.ebuild @@ -1,13 +1,13 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 inherit edos2unix cmake -DESCRIPTION="A spam-resistant message board application for Freenet" +DESCRIPTION="Spam-resistant message board application for Freenet" # FMS only has a homepage within freenet, so the closest is a wiki linking to it -HOMEPAGE="https://github.com/freenet/wiki/wiki/FMS; +HOMEPAGE="https://github.com/hyphanet/wiki/wiki/FMS; SRC_URI="https://dev.gentoo.org/~tommy/distfiles/${PN}-src-${PV}.zip; S="${WORKDIR}"
[gentoo-commits] repo/gentoo:master commit in: net-p2p/fms/
commit: 2325db9f8d7f957d7189d30fc8880a8f43f26816 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sat Jan 28 18:31:08 2023 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Wed Feb 1 19:26:39 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2325db9f net-p2p/fms: drop 0.3.82-r1, 0.3.83 Signed-off-by: Andreas Sturmlechner gentoo.org> net-p2p/fms/Manifest | 2 - net-p2p/fms/fms-0.3.82-r1.ebuild | 97 - net-p2p/fms/fms-0.3.83.ebuild| 101 --- 3 files changed, 200 deletions(-) diff --git a/net-p2p/fms/Manifest b/net-p2p/fms/Manifest index 557cd4fb9ecb..acba217e0e9b 100644 --- a/net-p2p/fms/Manifest +++ b/net-p2p/fms/Manifest @@ -1,3 +1 @@ -DIST fms-src-0.3.82.zip 4786920 BLAKE2B c18630b8b1b8871290f1d66c4638b99c110e0f49bef11517aa83760274707fd5d0b53c053ea3b38a0c35018de4a4b6f3dd426499228997bac377bb1f04f784fb SHA512 2a72cbc7e23eb16cc12bd373944d1da090030602a09d0c1cf2fd8688a7b1a98ff649f1d0aa8b525b65987394d81acbb9b7558fcb21cea90a7646067a16600673 -DIST fms-src-0.3.83.zip 4813813 BLAKE2B 07b28fa1ef151ca75e547515c8771fc425aa78003980f20134c4d3b670ccaa4c20b24dc0517194dd4675d9b3b8c8f84e929a94921945d156ae5b0b898a7fad56 SHA512 140f76f4a5c0582c3df031e4001f8870c761249d3af0226acefc9ee646973c9dee4f65ab8964ae43a6ec29de735bea0155603f596ec5a07ff7458d0ffd2ee4d3 DIST fms-src-0.3.84.zip 4913007 BLAKE2B ec96d26ea5fedaf2109c0b1aa00d1dfa82e5b45bfe7db8a58cab9f682c16f41b05a2d3e51a4ece2a148101d36472499d1592d9dab66dd544402e8cc8cc37a5ff SHA512 e3fe163e3aefafbdeebeb67601bb940db2015eb8d8ca334f9bcfc41c86b704fc450e039f1301106c299011ef02d5fb7c28b97782bf3252d320adf3bac230b744 diff --git a/net-p2p/fms/fms-0.3.82-r1.ebuild b/net-p2p/fms/fms-0.3.82-r1.ebuild deleted file mode 100644 index ca07782f8477.. --- a/net-p2p/fms/fms-0.3.82-r1.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit edos2unix cmake - -DESCRIPTION="A spam-resistant message board application for Freenet" -# FMS only has a homepage within freenet, so the closest is a wiki linking to it -HOMEPAGE="https://github.com/freenet/wiki/wiki/FMS; -SRC_URI="https://dev.gentoo.org/~tommy/distfiles/${PN}-src-${PV}.zip; -S="${WORKDIR}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="frost ssl" - -CDEPEND=" - acct-group/freenet - acct-user/freenet -" - -RDEPEND=" - ${CDEPEND} - dev-db/sqlite:3= - dev-libs/poco - frost? ( net-libs/mbedtls:0= ) - ssl? ( net-libs/mbedtls:0= ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - ${CDEPEND} - app-arch/unzip - virtual/libiconv -" - -PATCHES=( "${FILESDIR}/${PN}-use-system-libs4.patch" ) - -DOCS=( "readme.txt" ) - -src_prepare() { - # Convert encoding due applied patch - edos2unix src/http/pages/showfilepage.cpp - edos2unix CMakeLists.txt - - # Remove bundled libs - rm -fr libs || die - - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DDO_CHARSET_CONVERSION="ON" - -DFCP_SSL_SUPPORT="$(usex ssl 'ON' 'OFF')" - -DFROST_SUPPORT="$(usex frost 'ON' 'OFF')" - -DI_HAVE_READ_THE_README="ON" - -DUSE_BUNDLED_SQLITE="OFF" - ) - - cmake_src_configure -} - -src_install() { - dobin "${BUILD_DIR}"/fms - - insinto /var/freenet/fms - doins *.htm - doins -r fonts images styles translations - - fperms -R o-rwx /var/freenet/fms - fowners -R freenet:freenet /var/freenet/fms - - newinitd "${FILESDIR}/fms.initd" fms - - einstalldocs -} - -pkg_postinst() { - if ! has_version 'net-p2p/freenet' ; then - ewarn "FMS needs a freenet node to upload and download messages." - ewarn "Please make sure to have a node you can connect to" - ewarn "or install net-p2p/freenet to get FMS working." - fi - - einfo "By default, the FMS NNTP server will listen on port 1119," - einfo "and the web configuration interface will be running at" - einfo "http://localhost:8080.; - einfo "For more information, read the installed readme.txt." - - if use frost; then - einfo - einfo "You need to enable frost on the configuration page" - einfo "and restart FMS for frost support." - fi -} diff --git a/net-p2p/fms/fms-0.3.83.ebuild b/net-p2p/fms/fms-0.3.83.ebuild deleted file mode 100644 index 4923e8506423.. --- a/net-p2p/fms/fms-0.3.83.ebuild +++ /dev/null @@ -1,101 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit edos2unix cmake - -DESCRIPTION="A spam-resistant message board application for Freenet" -# FMS only has a homepage within freenet, so the closest
[gentoo-commits] repo/gentoo:master commit in: net-p2p/fms/
commit: 21ebedbd4a79a33c13ec481bcde4fafab324a4d3 Author: Thomas Sachau gentoo org> AuthorDate: Mon Oct 31 10:41:08 2022 + Commit: Thomas Sachau gentoo org> CommitDate: Sat Jan 21 13:37:23 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21ebedbd net-p2p/fms: Version bump Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Thomas Sachau gentoo.org> net-p2p/fms/Manifest | 1 + net-p2p/fms/fms-0.3.84.ebuild | 101 ++ 2 files changed, 102 insertions(+) diff --git a/net-p2p/fms/Manifest b/net-p2p/fms/Manifest index de7065ebaf96..557cd4fb9ecb 100644 --- a/net-p2p/fms/Manifest +++ b/net-p2p/fms/Manifest @@ -1,2 +1,3 @@ DIST fms-src-0.3.82.zip 4786920 BLAKE2B c18630b8b1b8871290f1d66c4638b99c110e0f49bef11517aa83760274707fd5d0b53c053ea3b38a0c35018de4a4b6f3dd426499228997bac377bb1f04f784fb SHA512 2a72cbc7e23eb16cc12bd373944d1da090030602a09d0c1cf2fd8688a7b1a98ff649f1d0aa8b525b65987394d81acbb9b7558fcb21cea90a7646067a16600673 DIST fms-src-0.3.83.zip 4813813 BLAKE2B 07b28fa1ef151ca75e547515c8771fc425aa78003980f20134c4d3b670ccaa4c20b24dc0517194dd4675d9b3b8c8f84e929a94921945d156ae5b0b898a7fad56 SHA512 140f76f4a5c0582c3df031e4001f8870c761249d3af0226acefc9ee646973c9dee4f65ab8964ae43a6ec29de735bea0155603f596ec5a07ff7458d0ffd2ee4d3 +DIST fms-src-0.3.84.zip 4913007 BLAKE2B ec96d26ea5fedaf2109c0b1aa00d1dfa82e5b45bfe7db8a58cab9f682c16f41b05a2d3e51a4ece2a148101d36472499d1592d9dab66dd544402e8cc8cc37a5ff SHA512 e3fe163e3aefafbdeebeb67601bb940db2015eb8d8ca334f9bcfc41c86b704fc450e039f1301106c299011ef02d5fb7c28b97782bf3252d320adf3bac230b744 diff --git a/net-p2p/fms/fms-0.3.84.ebuild b/net-p2p/fms/fms-0.3.84.ebuild new file mode 100644 index ..d99313f0e5f2 --- /dev/null +++ b/net-p2p/fms/fms-0.3.84.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit edos2unix cmake + +DESCRIPTION="A spam-resistant message board application for Freenet" +# FMS only has a homepage within freenet, so the closest is a wiki linking to it +HOMEPAGE="https://github.com/freenet/wiki/wiki/FMS; +SRC_URI="https://dev.gentoo.org/~tommy/distfiles/${PN}-src-${PV}.zip; +S="${WORKDIR}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="frost ssl" + +CDEPEND=" + acct-group/freenet + acct-user/freenet +" + +RDEPEND=" + ${CDEPEND} + dev-db/sqlite:3= + dev-libs/poco + frost? ( net-libs/mbedtls:0= ) + ssl? ( net-libs/mbedtls:0= ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + ${CDEPEND} + app-arch/unzip + virtual/libiconv +" + +PATCHES=( + "${FILESDIR}/${PN}-use-system-libs4.patch" + "${FILESDIR}/${PN}-0.3.83-fix-for-mbedtls-3.patch" +) + +DOCS=( "readme.txt" ) + +src_prepare() { + # Convert encoding due applied patch + edos2unix src/http/pages/showfilepage.cpp + edos2unix CMakeLists.txt + edos2unix include/freenet/fcpv2.h + + # Remove bundled libs + rm -fr libs || die + + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DDO_CHARSET_CONVERSION="ON" + -DFCP_SSL_SUPPORT="$(usex ssl 'ON' 'OFF')" + -DFROST_SUPPORT="$(usex frost 'ON' 'OFF')" + -DI_HAVE_READ_THE_README="ON" + -DUSE_BUNDLED_SQLITE="OFF" + ) + + cmake_src_configure +} + +src_install() { + dobin "${BUILD_DIR}"/fms + + insinto /var/freenet/fms + doins *.htm + doins -r fonts images styles translations + + fperms -R o-rwx /var/freenet/fms + fowners -R freenet:freenet /var/freenet/fms + + newinitd "${FILESDIR}/fms.initd" fms + + einstalldocs +} + +pkg_postinst() { + if ! has_version 'net-p2p/freenet' ; then + ewarn "FMS needs a freenet node to upload and download messages." + ewarn "Please make sure to have a node you can connect to" + ewarn "or install net-p2p/freenet to get FMS working." + fi + + einfo "By default, the FMS NNTP server will listen on port 1119," + einfo "and the web configuration interface will be running at" + einfo "http://localhost:8080.; + einfo "For more information, read the installed readme.txt." + + if use frost; then + einfo + einfo "You need to enable frost on the configuration page" + einfo "and restart FMS for frost support." + fi +}
[gentoo-commits] repo/gentoo:master commit in: net-p2p/fms/files/
commit: 7cd68b267177f60d00297ba2b6b05aa138048ec4 Author: David Seifert gentoo org> AuthorDate: Sun Oct 30 11:12:48 2022 + Commit: David Seifert gentoo org> CommitDate: Sun Oct 30 11:12:48 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cd68b26 net-p2p/fms/files: [QA] use git-format-patch style patches Signed-off-by: David Seifert gentoo.org> net-p2p/fms/files/fms-0.3.83-fix-for-mbedtls-3.patch | 4 ++-- net-p2p/fms/files/fms-use-system-libs4.patch | 19 ++- 2 files changed, 4 insertions(+), 19 deletions(-) diff --git a/net-p2p/fms/files/fms-0.3.83-fix-for-mbedtls-3.patch b/net-p2p/fms/files/fms-0.3.83-fix-for-mbedtls-3.patch index fdc1948abd82..88b5ad1189b1 100644 --- a/net-p2p/fms/files/fms-0.3.83-fix-for-mbedtls-3.patch +++ b/net-p2p/fms/files/fms-0.3.83-fix-for-mbedtls-3.patch @@ -1,5 +1,5 @@ /include/freenet/fcpv2.h 2016-06-04 18:16:06.0 +0200 -+++ /include/freenet/fcpv2.h.new 2021-10-29 11:38:04.0 +0200 +--- a/include/freenet/fcpv2.h b/include/freenet/fcpv2.h @@ -33,7 +33,7 @@ #endif diff --git a/net-p2p/fms/files/fms-use-system-libs4.patch b/net-p2p/fms/files/fms-use-system-libs4.patch index fc017ce0023b..07968b32bf7a 100644 --- a/net-p2p/fms/files/fms-use-system-libs4.patch +++ b/net-p2p/fms/files/fms-use-system-libs4.patch @@ -1,5 +1,5 @@ /CMakeLists.txt2016-06-04 22:18:20.0 +0200 -+++ /CMakeLists.txt.new2018-11-25 14:05:45.0 +0100 +--- a/CMakeLists.txt b/CMakeLists.txt @@ -373,11 +373,17 @@ ENDIF(AUDIO_CAPTCHA) @@ -23,18 +23,3 @@ IF(FROST_SUPPORT) ADD_DEFINITIONS(-DFROST_SUPPORT) -@@ -405,3 +411,14 @@ - IF(BUILD_PLUGIN) - ADD_SUBDIRECTORY(plugin) - ENDIF(BUILD_PLUGIN) -+ -+MESSAGE(STATUS "<<< Gentoo configuration >>> -+Build type ${CMAKE_BUILD_TYPE} -+Install path${CMAKE_INSTALL_PREFIX} -+Compiler flags: -+C ${CMAKE_C_FLAGS} -+C++ ${CMAKE_CXX_FLAGS} -+Linker flags: -+Executable ${CMAKE_EXE_LINKER_FLAGS} -+Module ${CMAKE_MODULE_LINKER_FLAGS} -+Shared ${CMAKE_SHARED_LINKER_FLAGS}\n")
[gentoo-commits] repo/gentoo:master commit in: net-p2p/fms/, net-p2p/fms/files/
commit: 14cc2e7dc4add659d0cb9afd60e2a824dd8cc3bf Author: Thomas Sachau gentoo org> AuthorDate: Fri Oct 29 09:49:38 2021 + Commit: Thomas Sachau gentoo org> CommitDate: Fri Oct 29 09:50:14 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14cc2e7d net-p2p/fms: Add patch for mbedtls-3, fixes bug 804960 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Thomas Sachau gentoo.org> net-p2p/fms/files/fms-0.3.83-fix-for-mbedtls-3.patch | 11 +++ net-p2p/fms/fms-0.3.83.ebuild| 6 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/net-p2p/fms/files/fms-0.3.83-fix-for-mbedtls-3.patch b/net-p2p/fms/files/fms-0.3.83-fix-for-mbedtls-3.patch new file mode 100644 index 000..fdc1948abd8 --- /dev/null +++ b/net-p2p/fms/files/fms-0.3.83-fix-for-mbedtls-3.patch @@ -0,0 +1,11 @@ +--- /include/freenet/fcpv2.h 2016-06-04 18:16:06.0 +0200 /include/freenet/fcpv2.h.new 2021-10-29 11:38:04.0 +0200 +@@ -33,7 +33,7 @@ + #endif + + #ifdef FCP_SSL +- #include ++ #include + #include + #include + #include diff --git a/net-p2p/fms/fms-0.3.83.ebuild b/net-p2p/fms/fms-0.3.83.ebuild index ca07782f847..4923e850642 100644 --- a/net-p2p/fms/fms-0.3.83.ebuild +++ b/net-p2p/fms/fms-0.3.83.ebuild @@ -35,7 +35,10 @@ BDEPEND=" virtual/libiconv " -PATCHES=( "${FILESDIR}/${PN}-use-system-libs4.patch" ) +PATCHES=( + "${FILESDIR}/${PN}-use-system-libs4.patch" + "${FILESDIR}/${P}-fix-for-mbedtls-3.patch" +) DOCS=( "readme.txt" ) @@ -43,6 +46,7 @@ src_prepare() { # Convert encoding due applied patch edos2unix src/http/pages/showfilepage.cpp edos2unix CMakeLists.txt + edos2unix include/freenet/fcpv2.h # Remove bundled libs rm -fr libs || die
[gentoo-commits] repo/gentoo:master commit in: net-p2p/fms/
commit: 2efbb43ba85b820f773b70f7c005d5123aa55a45 Author: Thomas Sachau gentoo org> AuthorDate: Fri Oct 29 08:59:08 2021 + Commit: Thomas Sachau gentoo org> CommitDate: Fri Oct 29 08:59:08 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2efbb43b net-p2p/fms: Version bump Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Thomas Sachau gentoo.org> net-p2p/fms/Manifest | 1 + net-p2p/fms/fms-0.3.83.ebuild | 97 +++ 2 files changed, 98 insertions(+) diff --git a/net-p2p/fms/Manifest b/net-p2p/fms/Manifest index 2bc83f745a6..de7065ebaf9 100644 --- a/net-p2p/fms/Manifest +++ b/net-p2p/fms/Manifest @@ -1 +1,2 @@ DIST fms-src-0.3.82.zip 4786920 BLAKE2B c18630b8b1b8871290f1d66c4638b99c110e0f49bef11517aa83760274707fd5d0b53c053ea3b38a0c35018de4a4b6f3dd426499228997bac377bb1f04f784fb SHA512 2a72cbc7e23eb16cc12bd373944d1da090030602a09d0c1cf2fd8688a7b1a98ff649f1d0aa8b525b65987394d81acbb9b7558fcb21cea90a7646067a16600673 +DIST fms-src-0.3.83.zip 4813813 BLAKE2B 07b28fa1ef151ca75e547515c8771fc425aa78003980f20134c4d3b670ccaa4c20b24dc0517194dd4675d9b3b8c8f84e929a94921945d156ae5b0b898a7fad56 SHA512 140f76f4a5c0582c3df031e4001f8870c761249d3af0226acefc9ee646973c9dee4f65ab8964ae43a6ec29de735bea0155603f596ec5a07ff7458d0ffd2ee4d3 diff --git a/net-p2p/fms/fms-0.3.83.ebuild b/net-p2p/fms/fms-0.3.83.ebuild new file mode 100644 index 000..ca07782f847 --- /dev/null +++ b/net-p2p/fms/fms-0.3.83.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit edos2unix cmake + +DESCRIPTION="A spam-resistant message board application for Freenet" +# FMS only has a homepage within freenet, so the closest is a wiki linking to it +HOMEPAGE="https://github.com/freenet/wiki/wiki/FMS; +SRC_URI="https://dev.gentoo.org/~tommy/distfiles/${PN}-src-${PV}.zip; +S="${WORKDIR}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="frost ssl" + +CDEPEND=" + acct-group/freenet + acct-user/freenet +" + +RDEPEND=" + ${CDEPEND} + dev-db/sqlite:3= + dev-libs/poco + frost? ( net-libs/mbedtls:0= ) + ssl? ( net-libs/mbedtls:0= ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + ${CDEPEND} + app-arch/unzip + virtual/libiconv +" + +PATCHES=( "${FILESDIR}/${PN}-use-system-libs4.patch" ) + +DOCS=( "readme.txt" ) + +src_prepare() { + # Convert encoding due applied patch + edos2unix src/http/pages/showfilepage.cpp + edos2unix CMakeLists.txt + + # Remove bundled libs + rm -fr libs || die + + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DDO_CHARSET_CONVERSION="ON" + -DFCP_SSL_SUPPORT="$(usex ssl 'ON' 'OFF')" + -DFROST_SUPPORT="$(usex frost 'ON' 'OFF')" + -DI_HAVE_READ_THE_README="ON" + -DUSE_BUNDLED_SQLITE="OFF" + ) + + cmake_src_configure +} + +src_install() { + dobin "${BUILD_DIR}"/fms + + insinto /var/freenet/fms + doins *.htm + doins -r fonts images styles translations + + fperms -R o-rwx /var/freenet/fms + fowners -R freenet:freenet /var/freenet/fms + + newinitd "${FILESDIR}/fms.initd" fms + + einstalldocs +} + +pkg_postinst() { + if ! has_version 'net-p2p/freenet' ; then + ewarn "FMS needs a freenet node to upload and download messages." + ewarn "Please make sure to have a node you can connect to" + ewarn "or install net-p2p/freenet to get FMS working." + fi + + einfo "By default, the FMS NNTP server will listen on port 1119," + einfo "and the web configuration interface will be running at" + einfo "http://localhost:8080.; + einfo "For more information, read the installed readme.txt." + + if use frost; then + einfo + einfo "You need to enable frost on the configuration page" + einfo "and restart FMS for frost support." + fi +}
[gentoo-commits] repo/gentoo:master commit in: net-p2p/fms/files/, net-p2p/fms/
commit: fbd440454a7a8cfc7849a3bbf1130e88005fa618 Author: Conrad Kostecki gentoo org> AuthorDate: Sat Jul 10 22:46:58 2021 + Commit: Conrad Kostecki gentoo org> CommitDate: Sat Jul 10 22:50:00 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbd44045 net-p2p/fms: drop old version Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Conrad Kostecki gentoo.org> net-p2p/fms/files/fms | 37 - net-p2p/fms/fms-0.3.82.ebuild | 77 --- 2 files changed, 114 deletions(-) diff --git a/net-p2p/fms/files/fms b/net-p2p/fms/files/fms deleted file mode 100644 index d7f0453f160..000 --- a/net-p2p/fms/files/fms +++ /dev/null @@ -1,37 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# Check for OpenRC/Baselayout 2 - see bug #270646 -is_openrc() { -[ -f /lib/librc.so -o -f /etc/init.d/sysfs -o -f /lib/rc/version ] -} - -start() { - ebegin "Starting FMS" - if is_openrc; then - start-stop-daemon -S -u freenet:freenet -d /var/freenet/fms -b -x /usr/bin/fms - eend $? - else - cd /var/freenet/fms - su -s /bin/sh -c "fms --daemon" freenet - eend $? - fi -} - -stop() { - ebegin "Stopping FMS" - if is_openrc; then - start-stop-daemon -K -u freenet:freenet -d /var/freenet/fms /usr/bin/fms - eend $? - else - pkill -u freenet -f "fms --daemon" - eend 0 - fi - if [[ $RC_CMD == "restart" ]]; then - ebegin "Waiting a few seconds to be sure FMS is ready for restart" - sleep 10 - #give fms time to stop and release the nntp port - fi -} - diff --git a/net-p2p/fms/fms-0.3.82.ebuild b/net-p2p/fms/fms-0.3.82.ebuild deleted file mode 100644 index 76a9a63fb5c..000 --- a/net-p2p/fms/fms-0.3.82.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit edos2unix cmake-utils user - -DESCRIPTION="A spam-resistant message board application for Freenet" -#FMS oly has a homepage within freenet, so the closest is a wiki linking to it -HOMEPAGE="https://github.com/freenet/wiki/wiki/FMS; -SRC_URI="https://dev.gentoo.org/~tommy/distfiles/${PN}-src-${PV}.zip; - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="frost ssl" - -RDEPEND="virtual/libiconv - frost? ( net-libs/mbedtls ) - ssl? ( net-libs/mbedtls ) - >=dev-libs/poco-1.4.3_p1 - >=dev-db/sqlite-3.6.15" -DEPEND="${RDEPEND} - app-arch/unzip" - -S=${WORKDIR} -PATCHES=( "${FILESDIR}"/${PN}-use-system-libs4.patch ) - -pkg_setup() { - enewgroup freenet - enewuser freenet -1 -1 /var/freenet freenet -} - -src_prepare() { - rm -rv libs - edos2unix src/http/pages/showfilepage.cpp - edos2unix CMakeLists.txt - - cmake-utils_src_prepare -} - -src_configure() { - local mycmakeargs=( -DI_HAVE_READ_THE_README=ON \ - -DUSE_BUNDLED_SQLITE=OFF \ - -DDO_CHARSET_CONVERSION=ON \ - -DFROST_SUPPORT=$(use frost && echo ON || echo OFF) \ - -DFCP_SSL_SUPPORT=$(use ssl && echo ON || echo OFF) ) - cmake-utils_src_configure -} - -src_install() { - insinto /var/freenet/fms - dobin "${CMAKE_BUILD_DIR}"/fms - doins *.htm - doins -r fonts images styles translations - fperms -R o-rwx /var/freenet/fms/ /usr/bin/fms - fowners -R freenet:freenet /var/freenet/fms/ /usr/bin/fms - doinitd "${FILESDIR}/fms" - dodoc readme.txt -} - -pkg_postinst() { - if ! has_version 'net-p2p/freenet' ; then - ewarn "FMS needs a freenet node to up-/download messages." - ewarn "Please make sure to have a node you can connect to" - ewarn "or install net-p2p/freenet to get FMS working." - fi - elog "By default, the FMS NNTP server will listen on port 1119," - elog "and the web configuration interface will be running at" - elog "http://localhost:8080. For more information, read" - elog "${ROOT}usr/share/doc/${PF}/readme.txt.bz2" - if use frost; then - elog " " - elog "You need to enable frost on the config page" - elog "and restart fms for frost support." - fi -}
[gentoo-commits] repo/gentoo:master commit in: net-p2p/fms/files/, net-p2p/fms/
commit: 31f7b22a93e4b5044a6697b84e66807d5f608731 Author: Conrad Kostecki gentoo org> AuthorDate: Sat Jul 10 22:46:15 2021 + Commit: Conrad Kostecki gentoo org> CommitDate: Sat Jul 10 22:49:59 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31f7b22a net-p2p/fms: migrate to EAPI 7, GLEP 81 Changes: - Updated deps - Updated init script for modern OpenRC - Updated docs in pkg_postinst - Update to EAPI 7 - Migrate to GLEP 81 Closes: https://bugs.gentoo.org/774516 Closes: https://bugs.gentoo.org/781446 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Conrad Kostecki gentoo.org> net-p2p/fms/files/fms.initd | 11 + net-p2p/fms/fms-0.3.82-r1.ebuild | 97 2 files changed, 108 insertions(+) diff --git a/net-p2p/fms/files/fms.initd b/net-p2p/fms/files/fms.initd new file mode 100644 index 000..fb76b701c51 --- /dev/null +++ b/net-p2p/fms/files/fms.initd @@ -0,0 +1,11 @@ +#!/sbin/openrc-run +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +pidfile="/run/fms.pid" +start_stop_daemon_args="--chdir /var/freenet/fms" + +command="/usr/bin/fms" +command_background="true" +command_group="freenet" +command_user="freenet" diff --git a/net-p2p/fms/fms-0.3.82-r1.ebuild b/net-p2p/fms/fms-0.3.82-r1.ebuild new file mode 100644 index 000..ca07782f847 --- /dev/null +++ b/net-p2p/fms/fms-0.3.82-r1.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit edos2unix cmake + +DESCRIPTION="A spam-resistant message board application for Freenet" +# FMS only has a homepage within freenet, so the closest is a wiki linking to it +HOMEPAGE="https://github.com/freenet/wiki/wiki/FMS; +SRC_URI="https://dev.gentoo.org/~tommy/distfiles/${PN}-src-${PV}.zip; +S="${WORKDIR}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="frost ssl" + +CDEPEND=" + acct-group/freenet + acct-user/freenet +" + +RDEPEND=" + ${CDEPEND} + dev-db/sqlite:3= + dev-libs/poco + frost? ( net-libs/mbedtls:0= ) + ssl? ( net-libs/mbedtls:0= ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + ${CDEPEND} + app-arch/unzip + virtual/libiconv +" + +PATCHES=( "${FILESDIR}/${PN}-use-system-libs4.patch" ) + +DOCS=( "readme.txt" ) + +src_prepare() { + # Convert encoding due applied patch + edos2unix src/http/pages/showfilepage.cpp + edos2unix CMakeLists.txt + + # Remove bundled libs + rm -fr libs || die + + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DDO_CHARSET_CONVERSION="ON" + -DFCP_SSL_SUPPORT="$(usex ssl 'ON' 'OFF')" + -DFROST_SUPPORT="$(usex frost 'ON' 'OFF')" + -DI_HAVE_READ_THE_README="ON" + -DUSE_BUNDLED_SQLITE="OFF" + ) + + cmake_src_configure +} + +src_install() { + dobin "${BUILD_DIR}"/fms + + insinto /var/freenet/fms + doins *.htm + doins -r fonts images styles translations + + fperms -R o-rwx /var/freenet/fms + fowners -R freenet:freenet /var/freenet/fms + + newinitd "${FILESDIR}/fms.initd" fms + + einstalldocs +} + +pkg_postinst() { + if ! has_version 'net-p2p/freenet' ; then + ewarn "FMS needs a freenet node to upload and download messages." + ewarn "Please make sure to have a node you can connect to" + ewarn "or install net-p2p/freenet to get FMS working." + fi + + einfo "By default, the FMS NNTP server will listen on port 1119," + einfo "and the web configuration interface will be running at" + einfo "http://localhost:8080.; + einfo "For more information, read the installed readme.txt." + + if use frost; then + einfo + einfo "You need to enable frost on the configuration page" + einfo "and restart FMS for frost support." + fi +}
[gentoo-commits] repo/gentoo:master commit in: net-p2p/fms/
commit: 171f5f3580800106362275e6f1d0cc13b03c2dff Author: Sam James gentoo org> AuthorDate: Mon Apr 12 00:54:46 2021 + Commit: Sam James gentoo org> CommitDate: Mon Apr 12 01:14:19 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=171f5f35 net-p2p/fms: eutils->edos2unix Signed-off-by: Sam James gentoo.org> net-p2p/fms/fms-0.3.82.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net-p2p/fms/fms-0.3.82.ebuild b/net-p2p/fms/fms-0.3.82.ebuild index 574d26fb3ac..e01b2b22cd0 100644 --- a/net-p2p/fms/fms-0.3.82.ebuild +++ b/net-p2p/fms/fms-0.3.82.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="6" -inherit eutils cmake-utils user +inherit edos2unix cmake-utils user DESCRIPTION="A spam-resistant message board application for Freenet" #FMS oly has a homepage within freenet, so the closest is a wiki linking to it
[gentoo-commits] repo/gentoo:master commit in: net-p2p/fms/files/
commit: c169b7b7a005cc012d03348b507316ddb8bb4b14 Author: Michael Mair-Keimberger gmail com> AuthorDate: Sat Jun 20 07:26:30 2020 + Commit: Michał Górny gentoo org> CommitDate: Sat Jun 20 07:50:39 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c169b7b7 net-p2p/fms: remove unused patch Package-Manager: Portage-2.3.101, Repoman-2.3.22 Signed-off-by: Michael Mair-Keimberger gmail.com> Closes: https://github.com/gentoo/gentoo/pull/16336 Signed-off-by: Michał Górny gentoo.org> net-p2p/fms/files/fms-use-system-libs3.patch | 41 1 file changed, 41 deletions(-) diff --git a/net-p2p/fms/files/fms-use-system-libs3.patch b/net-p2p/fms/files/fms-use-system-libs3.patch deleted file mode 100644 index 32a702511d5..000 --- a/net-p2p/fms/files/fms-use-system-libs3.patch +++ /dev/null @@ -1,41 +0,0 @@ CMakeLists.txt 2016-06-04 21:18:20.0 +0200 -+++ CMakeLists.txt.new 2017-01-12 17:12:10.0 +0100 -@@ -373,11 +373,18 @@ - ENDIF(AUDIO_CAPTCHA) - - IF(FROST_SUPPORT OR FCP_SSL_SUPPORT) -- ADD_SUBDIRECTORY(libs/mbedtls) -- TARGET_LINK_LIBRARIES(fms mbedtls) -- TARGET_LINK_LIBRARIES(fms mbedcrypto) -- TARGET_LINK_LIBRARIES(fms mbedx509) -- INCLUDE_DIRECTORIES(libs/mbedtls/include) -+ -+ FIND_LIBRARY(MBEDTLS_LIBRARY NAMES mbedtls ) -+ FIND_LIBRARY(MBEDCRYPTO_LIBRARY NAMES mbedcrypto mbedx509) -+ FIND_LIBRARY(MBEDX509_LIBRARY NAMES mbedx509) -+ -+ IF(MBEDTLS_LIBRARY) -+ TARGET_LINK_LIBRARIES(fms ${MBEDTLS_LIBRARY}) -+ TARGET_LINK_LIBRARIES(fms ${MBEDCRYPTO_LIBRARY}) -+ TARGET_LINK_LIBRARIES(fms ${MBEDX509_LIBRARY}) -+ ELSE(MBEDTLS_LIBRARY) -+ MESSAGE(FATAL ERROR: "Could not find mbedtls library.") -+ ENDIF(MBEDTLS_LIBRARY) - - IF(FROST_SUPPORT) - ADD_DEFINITIONS(-DFROST_SUPPORT) -@@ -405,3 +412,14 @@ - IF(BUILD_PLUGIN) - ADD_SUBDIRECTORY(plugin) - ENDIF(BUILD_PLUGIN) -+ -+MESSAGE(STATUS "<<< Gentoo configuration >>> -+Build type ${CMAKE_BUILD_TYPE} -+Install path${CMAKE_INSTALL_PREFIX} -+Compiler flags: -+C ${CMAKE_C_FLAGS} -+C++ ${CMAKE_CXX_FLAGS} -+Linker flags: -+Executable ${CMAKE_EXE_LINKER_FLAGS} -+Module ${CMAKE_MODULE_LINKER_FLAGS} -+Shared ${CMAKE_SHARED_LINKER_FLAGS}\n")
[gentoo-commits] repo/gentoo:master commit in: net-p2p/fms/
commit: a56dc312b9d5663176b719897e325fa7b4f9e265 Author: Thomas Sachau gentoo org> AuthorDate: Fri Mar 27 17:36:16 2020 + Commit: Thomas Sachau gentoo org> CommitDate: Fri Mar 27 17:36:16 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a56dc312 net-p2p/fms: Drop old version, bug 714704 Package-Manager: Portage-2.3.83, Repoman-2.3.20 Signed-off-by: Thomas Sachau gentoo.org> net-p2p/fms/Manifest | 1 - net-p2p/fms/fms-0.3.81.ebuild | 77 --- 2 files changed, 78 deletions(-) diff --git a/net-p2p/fms/Manifest b/net-p2p/fms/Manifest index 3668c75ee5d..2bc83f745a6 100644 --- a/net-p2p/fms/Manifest +++ b/net-p2p/fms/Manifest @@ -1,2 +1 @@ -DIST fms-src-0.3.81.zip 4732577 BLAKE2B a873fe4458a4abf4d19c7849d2045e49f556e001315d9112f50fd5c544481c64e00d0db5672ca20f1974e8d8b46e88b98e6a339536659a8a4c06b1a3c4439d21 SHA512 7e5efc2bf22fd3ba24d61fb4a7afbd3b6181a6ea4d038bc06bc2135dd9254835647cbb62be68982ee553212be9f2e038f50623916db3131b2fd19a77c3180af2 DIST fms-src-0.3.82.zip 4786920 BLAKE2B c18630b8b1b8871290f1d66c4638b99c110e0f49bef11517aa83760274707fd5d0b53c053ea3b38a0c35018de4a4b6f3dd426499228997bac377bb1f04f784fb SHA512 2a72cbc7e23eb16cc12bd373944d1da090030602a09d0c1cf2fd8688a7b1a98ff649f1d0aa8b525b65987394d81acbb9b7558fcb21cea90a7646067a16600673 diff --git a/net-p2p/fms/fms-0.3.81.ebuild b/net-p2p/fms/fms-0.3.81.ebuild deleted file mode 100644 index bed92b6fea6..000 --- a/net-p2p/fms/fms-0.3.81.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit eutils cmake-utils user - -DESCRIPTION="A spam-resistant message board application for Freenet" -#FMS oly has a homepage within freenet, so the closest is a wiki linking to it -HOMEPAGE="https://github.com/freenet/wiki/wiki/FMS; -SRC_URI="https://dev.gentoo.org/~tommy/distfiles/${PN}-src-${PV}.zip; - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="frost ssl" - -RDEPEND="virtual/libiconv - frost? ( net-libs/mbedtls:0/12 ) - ssl? ( net-libs/mbedtls:0/12 ) - >=dev-libs/poco-1.4.3_p1 - >=dev-db/sqlite-3.6.15" -DEPEND="${RDEPEND} - app-arch/unzip" - -S=${WORKDIR} -PATCHES=( "${FILESDIR}"/${PN}-use-system-libs4.patch ) - -pkg_setup() { - enewgroup freenet - enewuser freenet -1 -1 /var/freenet freenet -} - -src_prepare() { - rm -rv libs - edos2unix src/http/pages/showfilepage.cpp - edos2unix CMakeLists.txt - - cmake-utils_src_prepare -} - -src_configure() { - local mycmakeargs=( -DI_HAVE_READ_THE_README=ON \ - -DUSE_BUNDLED_SQLITE=OFF \ - -DDO_CHARSET_CONVERSION=ON \ - -DFROST_SUPPORT=$(use frost && echo ON || echo OFF) \ - -DFCP_SSL_SUPPORT=$(use ssl && echo ON || echo OFF) ) - cmake-utils_src_configure -} - -src_install() { - insinto /var/freenet/fms - dobin "${CMAKE_BUILD_DIR}"/fms || die - doins *.htm || die "doinstall failed" - doins -r fonts images styles translations || die - fperms -R o-rwx /var/freenet/fms/ /usr/bin/fms - fowners -R freenet:freenet /var/freenet/fms/ /usr/bin/fms - doinitd "${FILESDIR}/fms" || die "installing init.d file failed" - dodoc readme.txt || die "installing doc failed" -} - -pkg_postinst() { - if ! has_version 'net-p2p/freenet' ; then - ewarn "FMS needs a freenet node to up-/download #ssages." - ewarn "Please make sure to have a node you can connect to" - ewarn "or install net-p2p/freenet to get FMS working." - fi - elog "By default, the FMS NNTP server will listen on port 1119," - elog "and the web configuration interface will be running at" - elog "http://localhost:8080. For more information, read" - elog "${ROOT}usr/share/doc/${PF}/readme.txt.bz2" - if use frost; then - elog " " - elog "You need to enable frost on the config page" - elog "and restart fms for frost support." - fi -}
[gentoo-commits] repo/gentoo:master commit in: net-p2p/fms/
commit: b6d3f6a1bcf19e80cfce0b070d7d8c2c9b47ab18 Author: Thomas Sachau gentoo org> AuthorDate: Wed Mar 18 18:01:01 2020 + Commit: Thomas Sachau gentoo org> CommitDate: Wed Mar 18 18:01:01 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6d3f6a1 net-p2p/fms: Version bump Package-Manager: Portage-2.3.83, Repoman-2.3.20 Signed-off-by: Thomas Sachau gentoo.org> net-p2p/fms/Manifest | 1 + net-p2p/fms/fms-0.3.82.ebuild | 77 +++ 2 files changed, 78 insertions(+) diff --git a/net-p2p/fms/Manifest b/net-p2p/fms/Manifest index d1d553de607..bed5c3d4041 100644 --- a/net-p2p/fms/Manifest +++ b/net-p2p/fms/Manifest @@ -1,2 +1,3 @@ DIST fms-src-0.3.80.zip 4583891 BLAKE2B 363fe148c622d999398d2f435f49e312d3bea22ad6b69865a618593616b47b632c1a56bcc8fc75bd40590e3858aad7e3f1d70991a21936e38562e10f1813b49c SHA512 d3aa5eb7d417bb135d88a515702fac9c451054d071374bb7f475add9af7e1fda90f4d9c61569e3e9040b2a241efa7fcc7ecac32a7f652327d15ed8d1ea1418c4 DIST fms-src-0.3.81.zip 4732577 BLAKE2B a873fe4458a4abf4d19c7849d2045e49f556e001315d9112f50fd5c544481c64e00d0db5672ca20f1974e8d8b46e88b98e6a339536659a8a4c06b1a3c4439d21 SHA512 7e5efc2bf22fd3ba24d61fb4a7afbd3b6181a6ea4d038bc06bc2135dd9254835647cbb62be68982ee553212be9f2e038f50623916db3131b2fd19a77c3180af2 +DIST fms-src-0.3.82.zip 4786920 BLAKE2B c18630b8b1b8871290f1d66c4638b99c110e0f49bef11517aa83760274707fd5d0b53c053ea3b38a0c35018de4a4b6f3dd426499228997bac377bb1f04f784fb SHA512 2a72cbc7e23eb16cc12bd373944d1da090030602a09d0c1cf2fd8688a7b1a98ff649f1d0aa8b525b65987394d81acbb9b7558fcb21cea90a7646067a16600673 diff --git a/net-p2p/fms/fms-0.3.82.ebuild b/net-p2p/fms/fms-0.3.82.ebuild new file mode 100644 index 000..574d26fb3ac --- /dev/null +++ b/net-p2p/fms/fms-0.3.82.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit eutils cmake-utils user + +DESCRIPTION="A spam-resistant message board application for Freenet" +#FMS oly has a homepage within freenet, so the closest is a wiki linking to it +HOMEPAGE="https://github.com/freenet/wiki/wiki/FMS; +SRC_URI="https://dev.gentoo.org/~tommy/distfiles/${PN}-src-${PV}.zip; + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="frost ssl" + +RDEPEND="virtual/libiconv + frost? ( net-libs/mbedtls ) + ssl? ( net-libs/mbedtls ) + >=dev-libs/poco-1.4.3_p1 + >=dev-db/sqlite-3.6.15" +DEPEND="${RDEPEND} + app-arch/unzip" + +S=${WORKDIR} +PATCHES=( "${FILESDIR}"/${PN}-use-system-libs4.patch ) + +pkg_setup() { + enewgroup freenet + enewuser freenet -1 -1 /var/freenet freenet +} + +src_prepare() { + rm -rv libs + edos2unix src/http/pages/showfilepage.cpp + edos2unix CMakeLists.txt + + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( -DI_HAVE_READ_THE_README=ON \ + -DUSE_BUNDLED_SQLITE=OFF \ + -DDO_CHARSET_CONVERSION=ON \ + -DFROST_SUPPORT=$(use frost && echo ON || echo OFF) \ + -DFCP_SSL_SUPPORT=$(use ssl && echo ON || echo OFF) ) + cmake-utils_src_configure +} + +src_install() { + insinto /var/freenet/fms + dobin "${CMAKE_BUILD_DIR}"/fms || die + doins *.htm || die "doinstall failed" + doins -r fonts images styles translations || die + fperms -R o-rwx /var/freenet/fms/ /usr/bin/fms + fowners -R freenet:freenet /var/freenet/fms/ /usr/bin/fms + doinitd "${FILESDIR}/fms" || die "installing init.d file failed" + dodoc readme.txt || die "installing doc failed" +} + +pkg_postinst() { + if ! has_version 'net-p2p/freenet' ; then + ewarn "FMS needs a freenet node to up-/download messages." + ewarn "Please make sure to have a node you can connect to" + ewarn "or install net-p2p/freenet to get FMS working." + fi + elog "By default, the FMS NNTP server will listen on port 1119," + elog "and the web configuration interface will be running at" + elog "http://localhost:8080. For more information, read" + elog "${ROOT}usr/share/doc/${PF}/readme.txt.bz2" + if use frost; then + elog " " + elog "You need to enable frost on the config page" + elog "and restart fms for frost support." + fi +}
[gentoo-commits] repo/gentoo:master commit in: net-p2p/fms/
commit: 8ea23b9981566e6113fe9d9a2228be57541a47ba Author: Thomas Sachau gentoo org> AuthorDate: Wed Mar 18 18:01:31 2020 + Commit: Thomas Sachau gentoo org> CommitDate: Wed Mar 18 18:01:31 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ea23b99 net-p2p/fms: Drop old version Package-Manager: Portage-2.3.83, Repoman-2.3.20 Signed-off-by: Thomas Sachau gentoo.org> net-p2p/fms/Manifest | 1 - net-p2p/fms/fms-0.3.80.ebuild | 76 --- 2 files changed, 77 deletions(-) diff --git a/net-p2p/fms/Manifest b/net-p2p/fms/Manifest index bed5c3d4041..3668c75ee5d 100644 --- a/net-p2p/fms/Manifest +++ b/net-p2p/fms/Manifest @@ -1,3 +1,2 @@ -DIST fms-src-0.3.80.zip 4583891 BLAKE2B 363fe148c622d999398d2f435f49e312d3bea22ad6b69865a618593616b47b632c1a56bcc8fc75bd40590e3858aad7e3f1d70991a21936e38562e10f1813b49c SHA512 d3aa5eb7d417bb135d88a515702fac9c451054d071374bb7f475add9af7e1fda90f4d9c61569e3e9040b2a241efa7fcc7ecac32a7f652327d15ed8d1ea1418c4 DIST fms-src-0.3.81.zip 4732577 BLAKE2B a873fe4458a4abf4d19c7849d2045e49f556e001315d9112f50fd5c544481c64e00d0db5672ca20f1974e8d8b46e88b98e6a339536659a8a4c06b1a3c4439d21 SHA512 7e5efc2bf22fd3ba24d61fb4a7afbd3b6181a6ea4d038bc06bc2135dd9254835647cbb62be68982ee553212be9f2e038f50623916db3131b2fd19a77c3180af2 DIST fms-src-0.3.82.zip 4786920 BLAKE2B c18630b8b1b8871290f1d66c4638b99c110e0f49bef11517aa83760274707fd5d0b53c053ea3b38a0c35018de4a4b6f3dd426499228997bac377bb1f04f784fb SHA512 2a72cbc7e23eb16cc12bd373944d1da090030602a09d0c1cf2fd8688a7b1a98ff649f1d0aa8b525b65987394d81acbb9b7558fcb21cea90a7646067a16600673 diff --git a/net-p2p/fms/fms-0.3.80.ebuild b/net-p2p/fms/fms-0.3.80.ebuild deleted file mode 100644 index 057149a612c..000 --- a/net-p2p/fms/fms-0.3.80.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit eutils cmake-utils user - -DESCRIPTION="A spam-resistant message board application for Freenet" -HOMEPAGE="http://freenetproject.org/tools.html; -SRC_URI="mirror://gentoo/${PN}-src-${PV}.zip" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="frost ssl" - -RDEPEND="virtual/libiconv - frost? ( net-libs/mbedtls ) - ssl? ( net-libs/mbedtls ) - >=dev-libs/poco-1.4.3_p1 - >=dev-db/sqlite-3.6.15" -DEPEND="${RDEPEND} - app-arch/unzip" - -S=${WORKDIR} -PATCHES=( "${FILESDIR}"/${PN}-use-system-libs4.patch ) - -pkg_setup() { - enewgroup freenet - enewuser freenet -1 -1 /var/freenet freenet -} - -src_prepare() { - rm -rv libs - edos2unix src/http/pages/showfilepage.cpp - edos2unix CMakeLists.txt - - cmake-utils_src_prepare -} - -src_configure() { - local mycmakeargs=( -DI_HAVE_READ_THE_README=ON \ - -DUSE_BUNDLED_SQLITE=OFF \ - -DDO_CHARSET_CONVERSION=ON \ - -DFROST_SUPPORT=$(use frost && echo ON || echo OFF) \ - -DFCP_SSL_SUPPORT=$(use ssl && echo ON || echo OFF) ) - cmake-utils_src_configure -} - -src_install() { - insinto /var/freenet/fms - dobin "${CMAKE_BUILD_DIR}"/fms - doins *.htm - doins -r fonts images styles translations - fperms -R o-rwx /var/freenet/fms/ /usr/bin/fms - fowners -R freenet:freenet /var/freenet/fms/ /usr/bin/fms - doinitd "${FILESDIR}/fms" - dodoc readme.txt -} - -pkg_postinst() { - if ! has_version 'net-p2p/freenet' ; then - ewarn "FMS needs a freenet node to up-/download #ssages." - ewarn "Please make sure to have a node you can connect to" - ewarn "or install net-p2p/freenet to get FMS working." - fi - elog "By default, the FMS NNTP server will listen on port 1119," - elog "and the web configuration interface will be running at" - elog "http://localhost:8080. For more information, read" - elog "${ROOT}usr/share/doc/${PF}/readme.txt.bz2" - if use frost; then - elog " " - elog "You need to enable frost on the config page" - elog "and restart fms for frost support." - fi -}
[gentoo-commits] repo/gentoo:master commit in: net-p2p/fms/
commit: ff02facfd823872fccb0b79261cc0855359c5863 Author: Thomas Sachau gentoo org> AuthorDate: Sun Feb 9 08:29:31 2020 + Commit: Thomas Sachau gentoo org> CommitDate: Sun Feb 9 08:29:31 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff02facf net-p2p/fms:Restrict dependency on mbedtls, bug 703354 and bug 705050 Package-Manager: Portage-2.3.83, Repoman-2.3.20 Signed-off-by: Thomas Sachau gentoo.org> net-p2p/fms/fms-0.3.81.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net-p2p/fms/fms-0.3.81.ebuild b/net-p2p/fms/fms-0.3.81.ebuild index bdc8b22fc5a..bed92b6fea6 100644 --- a/net-p2p/fms/fms-0.3.81.ebuild +++ b/net-p2p/fms/fms-0.3.81.ebuild @@ -16,8 +16,8 @@ KEYWORDS="~amd64 ~x86" IUSE="frost ssl" RDEPEND="virtual/libiconv - frost? ( net-libs/mbedtls ) - ssl? ( net-libs/mbedtls ) + frost? ( net-libs/mbedtls:0/12 ) + ssl? ( net-libs/mbedtls:0/12 ) >=dev-libs/poco-1.4.3_p1 >=dev-db/sqlite-3.6.15" DEPEND="${RDEPEND}
[gentoo-commits] repo/gentoo:master commit in: net-p2p/fms/
commit: 9345d8eaa1c1798af8d11cf426c3f99ff0878257 Author: Thomas Sachau gentoo org> AuthorDate: Sun Feb 9 08:20:16 2020 + Commit: Thomas Sachau gentoo org> CommitDate: Sun Feb 9 08:20:16 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9345d8ea net-p2p/fms: Update HOMEPAGE link, fixes bug 708488 Package-Manager: Portage-2.3.83, Repoman-2.3.20 Signed-off-by: Thomas Sachau gentoo.org> net-p2p/fms/fms-0.3.81.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/net-p2p/fms/fms-0.3.81.ebuild b/net-p2p/fms/fms-0.3.81.ebuild index 125c6be8d35..bdc8b22fc5a 100644 --- a/net-p2p/fms/fms-0.3.81.ebuild +++ b/net-p2p/fms/fms-0.3.81.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="6" @@ -6,7 +6,8 @@ EAPI="6" inherit eutils cmake-utils user DESCRIPTION="A spam-resistant message board application for Freenet" -HOMEPAGE="http://freenetproject.org/tools.html; +#FMS oly has a homepage within freenet, so the closest is a wiki linking to it +HOMEPAGE="https://github.com/freenet/wiki/wiki/FMS; SRC_URI="https://dev.gentoo.org/~tommy/distfiles/${PN}-src-${PV}.zip; LICENSE="GPL-2"
[gentoo-commits] repo/gentoo:master commit in: net-p2p/fms/
commit: d2e0d0990086919e612cd8f241bfc3b4a2b83924 Author: Thomas Sachau gentoo org> AuthorDate: Mon Dec 30 10:38:34 2019 + Commit: Thomas Sachau gentoo org> CommitDate: Mon Dec 30 10:38:34 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2e0d099 net-p2p/fms: Version bump Package-Manager: Portage-2.3.83, Repoman-2.3.20 Signed-off-by: Thomas Sachau gentoo.org> net-p2p/fms/Manifest | 1 + net-p2p/fms/fms-0.3.81.ebuild | 76 +++ 2 files changed, 77 insertions(+) diff --git a/net-p2p/fms/Manifest b/net-p2p/fms/Manifest index 472d84ae559..28000ce9b3e 100644 --- a/net-p2p/fms/Manifest +++ b/net-p2p/fms/Manifest @@ -1,2 +1,3 @@ DIST fms-src-0.3.79.zip 3847775 BLAKE2B e6087ef6e0e22f79e3d399f08ed531e839faf8199bdb3d0c0e148553dd6b7cab9dd35dbc74081a628d4456fadc4f9dd83a7a767f1dab8ac511f94eac1685d2ee SHA512 aa9f505c5ef55b1f462b16de6d870d02dc102fd184cc353c6c6b8a346978a9953b34e878f262f4190a3d15d76c5a37f065c4e5ebdbc0e43a4a5c22d61fa9fba7 DIST fms-src-0.3.80.zip 4583891 BLAKE2B 363fe148c622d999398d2f435f49e312d3bea22ad6b69865a618593616b47b632c1a56bcc8fc75bd40590e3858aad7e3f1d70991a21936e38562e10f1813b49c SHA512 d3aa5eb7d417bb135d88a515702fac9c451054d071374bb7f475add9af7e1fda90f4d9c61569e3e9040b2a241efa7fcc7ecac32a7f652327d15ed8d1ea1418c4 +DIST fms-src-0.3.81.zip 4732577 BLAKE2B a873fe4458a4abf4d19c7849d2045e49f556e001315d9112f50fd5c544481c64e00d0db5672ca20f1974e8d8b46e88b98e6a339536659a8a4c06b1a3c4439d21 SHA512 7e5efc2bf22fd3ba24d61fb4a7afbd3b6181a6ea4d038bc06bc2135dd9254835647cbb62be68982ee553212be9f2e038f50623916db3131b2fd19a77c3180af2 diff --git a/net-p2p/fms/fms-0.3.81.ebuild b/net-p2p/fms/fms-0.3.81.ebuild new file mode 100644 index 000..125c6be8d35 --- /dev/null +++ b/net-p2p/fms/fms-0.3.81.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit eutils cmake-utils user + +DESCRIPTION="A spam-resistant message board application for Freenet" +HOMEPAGE="http://freenetproject.org/tools.html; +SRC_URI="https://dev.gentoo.org/~tommy/distfiles/${PN}-src-${PV}.zip; + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="frost ssl" + +RDEPEND="virtual/libiconv + frost? ( net-libs/mbedtls ) + ssl? ( net-libs/mbedtls ) + >=dev-libs/poco-1.4.3_p1 + >=dev-db/sqlite-3.6.15" +DEPEND="${RDEPEND} + app-arch/unzip" + +S=${WORKDIR} +PATCHES=( "${FILESDIR}"/${PN}-use-system-libs4.patch ) + +pkg_setup() { + enewgroup freenet + enewuser freenet -1 -1 /var/freenet freenet +} + +src_prepare() { + rm -rv libs + edos2unix src/http/pages/showfilepage.cpp + edos2unix CMakeLists.txt + + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( -DI_HAVE_READ_THE_README=ON \ + -DUSE_BUNDLED_SQLITE=OFF \ + -DDO_CHARSET_CONVERSION=ON \ + -DFROST_SUPPORT=$(use frost && echo ON || echo OFF) \ + -DFCP_SSL_SUPPORT=$(use ssl && echo ON || echo OFF) ) + cmake-utils_src_configure +} + +src_install() { + insinto /var/freenet/fms + dobin "${CMAKE_BUILD_DIR}"/fms || die + doins *.htm || die "doinstall failed" + doins -r fonts images styles translations || die + fperms -R o-rwx /var/freenet/fms/ /usr/bin/fms + fowners -R freenet:freenet /var/freenet/fms/ /usr/bin/fms + doinitd "${FILESDIR}/fms" || die "installing init.d file failed" + dodoc readme.txt || die "installing doc failed" +} + +pkg_postinst() { + if ! has_version 'net-p2p/freenet' ; then + ewarn "FMS needs a freenet node to up-/download #ssages." + ewarn "Please make sure to have a node you can connect to" + ewarn "or install net-p2p/freenet to get FMS working." + fi + elog "By default, the FMS NNTP server will listen on port 1119," + elog "and the web configuration interface will be running at" + elog "http://localhost:8080. For more information, read" + elog "${ROOT}usr/share/doc/${PF}/readme.txt.bz2" + if use frost; then + elog " " + elog "You need to enable frost on the config page" + elog "and restart fms for frost support." + fi +}
[gentoo-commits] repo/gentoo:master commit in: net-p2p/fms/
commit: 659e7f7b64ed72eaba9728d0d77cb537f6d2076e Author: Thomas Sachau gentoo org> AuthorDate: Mon Dec 30 10:39:29 2019 + Commit: Thomas Sachau gentoo org> CommitDate: Mon Dec 30 10:39:29 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=659e7f7b net-p2p/fms: Drop old version Package-Manager: Portage-2.3.83, Repoman-2.3.20 Signed-off-by: Thomas Sachau gentoo.org> net-p2p/fms/Manifest | 1 - net-p2p/fms/fms-0.3.79.ebuild | 73 --- 2 files changed, 74 deletions(-) diff --git a/net-p2p/fms/Manifest b/net-p2p/fms/Manifest index 28000ce9b3e..d1d553de607 100644 --- a/net-p2p/fms/Manifest +++ b/net-p2p/fms/Manifest @@ -1,3 +1,2 @@ -DIST fms-src-0.3.79.zip 3847775 BLAKE2B e6087ef6e0e22f79e3d399f08ed531e839faf8199bdb3d0c0e148553dd6b7cab9dd35dbc74081a628d4456fadc4f9dd83a7a767f1dab8ac511f94eac1685d2ee SHA512 aa9f505c5ef55b1f462b16de6d870d02dc102fd184cc353c6c6b8a346978a9953b34e878f262f4190a3d15d76c5a37f065c4e5ebdbc0e43a4a5c22d61fa9fba7 DIST fms-src-0.3.80.zip 4583891 BLAKE2B 363fe148c622d999398d2f435f49e312d3bea22ad6b69865a618593616b47b632c1a56bcc8fc75bd40590e3858aad7e3f1d70991a21936e38562e10f1813b49c SHA512 d3aa5eb7d417bb135d88a515702fac9c451054d071374bb7f475add9af7e1fda90f4d9c61569e3e9040b2a241efa7fcc7ecac32a7f652327d15ed8d1ea1418c4 DIST fms-src-0.3.81.zip 4732577 BLAKE2B a873fe4458a4abf4d19c7849d2045e49f556e001315d9112f50fd5c544481c64e00d0db5672ca20f1974e8d8b46e88b98e6a339536659a8a4c06b1a3c4439d21 SHA512 7e5efc2bf22fd3ba24d61fb4a7afbd3b6181a6ea4d038bc06bc2135dd9254835647cbb62be68982ee553212be9f2e038f50623916db3131b2fd19a77c3180af2 diff --git a/net-p2p/fms/fms-0.3.79.ebuild b/net-p2p/fms/fms-0.3.79.ebuild deleted file mode 100644 index 60669d4aaf8..000 --- a/net-p2p/fms/fms-0.3.79.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -inherit eutils cmake-utils user - -DESCRIPTION="A spam-resistant message board application for Freenet" -HOMEPAGE="http://freenetproject.org/tools.html; -SRC_URI="mirror://gentoo/${PN}-src-${PV}.zip" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="frost" - -RDEPEND="virtual/libiconv - frost? ( net-libs/mbedtls ) - >=dev-libs/poco-1.4.3_p1 - >=dev-db/sqlite-3.6.15" -DEPEND="${RDEPEND} - app-arch/unzip" - -S=${WORKDIR} -PATCHES=( "${FILESDIR}"/${PN}-use-system-libs3.patch ) - -pkg_setup() { - enewgroup freenet - enewuser freenet -1 -1 /var/freenet freenet -} - -src_prepare() { - rm -rv libs - edos2unix src/http/pages/showfilepage.cpp - - cmake-utils_src_prepare -} - -src_configure() { - local mycmakeargs="-DI_HAVE_READ_THE_README=ON \ - -DUSE_BUNDLED_SQLITE=OFF \ - -DDO_CHARSET_CONVERSION=ON \ - $(cmake-utils_use frost FROST_SUPPORT)" - cmake-utils_src_configure -} - -src_install() { - insinto /var/freenet/fms - dobin "${CMAKE_BUILD_DIR}"/fms - doins *.htm - doins -r fonts images styles translations - fperms -R o-rwx /var/freenet/fms/ /usr/bin/fms - fowners -R freenet:freenet /var/freenet/fms/ /usr/bin/fms - doinitd "${FILESDIR}/fms" - dodoc readme.txt -} - -pkg_postinst() { - if ! has_version 'net-p2p/freenet' ; then - ewarn "FMS needs a freenet node to up-/download #ssages." - ewarn "Please make sure to have a node you can connect to" - ewarn "or install net-p2p/freenet to get FMS working." - fi - elog "By default, the FMS NNTP server will listen on port 1119," - elog "and the web configuration interface will be running at" - elog "http://localhost:8080. For more information, read" - elog "${ROOT}usr/share/doc/${PF}/readme.txt.bz2" - if use frost; then - elog " " - elog "You need to enable frost on the config page" - elog "and restart fms for frost support." - fi -}
[gentoo-commits] repo/gentoo:master commit in: net-p2p/fms/files/
commit: ecbe7359c062620e4bea249c46dab99aa4aaa989 Author: Ulrich Müller gentoo org> AuthorDate: Tue Jan 22 20:25:17 2019 + Commit: Ulrich Müller gentoo org> CommitDate: Tue Jan 22 20:26:27 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecbe7359 net-p2p/fms: [QA] Drop stale CVS $Header$ from init script (again). Package-Manager: Portage-2.3.57, Repoman-2.3.12 Signed-off-by: Ulrich Müller gentoo.org> net-p2p/fms/files/fms | 1 - 1 file changed, 1 deletion(-) diff --git a/net-p2p/fms/files/fms b/net-p2p/fms/files/fms index d98f3b29e4a..d7f0453f160 100644 --- a/net-p2p/fms/files/fms +++ b/net-p2p/fms/files/fms @@ -1,7 +1,6 @@ #!/sbin/openrc-run # Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/fms/files/fms,v 1.4 2010/03/31 19:19:27 tommy Exp $ # Check for OpenRC/Baselayout 2 - see bug #270646 is_openrc() {
[gentoo-commits] repo/gentoo:master commit in: net-p2p/fms/, net-p2p/fms/files/
commit: a2a356041423c1d13e7ab8f350c6af9b99a39fc4 Author: Thomas Sachau gentoo org> AuthorDate: Sun Nov 25 14:05:56 2018 + Commit: Thomas Sachau gentoo org> CommitDate: Sun Nov 25 14:07:33 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2a35604 net-p2p/fms: Version bump, EAPI bump Bug: https://bugs.gentoo.org/605540 Package-Manager: Portage-2.3.48, Repoman-2.3.12 RepoMan-Options: --force Signed-off-by: Thomas Sachau gentoo.org> net-p2p/fms/Manifest | 1 + net-p2p/fms/files/fms| 3 +- net-p2p/fms/files/fms-use-system-libs4.patch | 40 +++ net-p2p/fms/fms-0.3.80.ebuild| 76 net-p2p/fms/metadata.xml | 3 +- 5 files changed, 121 insertions(+), 2 deletions(-) diff --git a/net-p2p/fms/Manifest b/net-p2p/fms/Manifest index f717d08dc01..472d84ae559 100644 --- a/net-p2p/fms/Manifest +++ b/net-p2p/fms/Manifest @@ -1 +1,2 @@ DIST fms-src-0.3.79.zip 3847775 BLAKE2B e6087ef6e0e22f79e3d399f08ed531e839faf8199bdb3d0c0e148553dd6b7cab9dd35dbc74081a628d4456fadc4f9dd83a7a767f1dab8ac511f94eac1685d2ee SHA512 aa9f505c5ef55b1f462b16de6d870d02dc102fd184cc353c6c6b8a346978a9953b34e878f262f4190a3d15d76c5a37f065c4e5ebdbc0e43a4a5c22d61fa9fba7 +DIST fms-src-0.3.80.zip 4583891 BLAKE2B 363fe148c622d999398d2f435f49e312d3bea22ad6b69865a618593616b47b632c1a56bcc8fc75bd40590e3858aad7e3f1d70991a21936e38562e10f1813b49c SHA512 d3aa5eb7d417bb135d88a515702fac9c451054d071374bb7f475add9af7e1fda90f4d9c61569e3e9040b2a241efa7fcc7ecac32a7f652327d15ed8d1ea1418c4 diff --git a/net-p2p/fms/files/fms b/net-p2p/fms/files/fms index 07f1a055163..d98f3b29e4a 100644 --- a/net-p2p/fms/files/fms +++ b/net-p2p/fms/files/fms @@ -1,6 +1,7 @@ #!/sbin/openrc-run -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/fms/files/fms,v 1.4 2010/03/31 19:19:27 tommy Exp $ # Check for OpenRC/Baselayout 2 - see bug #270646 is_openrc() { diff --git a/net-p2p/fms/files/fms-use-system-libs4.patch b/net-p2p/fms/files/fms-use-system-libs4.patch new file mode 100644 index 000..fc017ce0023 --- /dev/null +++ b/net-p2p/fms/files/fms-use-system-libs4.patch @@ -0,0 +1,40 @@ +--- /CMakeLists.txt2016-06-04 22:18:20.0 +0200 /CMakeLists.txt.new2018-11-25 14:05:45.0 +0100 +@@ -373,11 +373,17 @@ + ENDIF(AUDIO_CAPTCHA) + + IF(FROST_SUPPORT OR FCP_SSL_SUPPORT) +- ADD_SUBDIRECTORY(libs/mbedtls) +- TARGET_LINK_LIBRARIES(fms mbedtls) +- TARGET_LINK_LIBRARIES(fms mbedcrypto) +- TARGET_LINK_LIBRARIES(fms mbedx509) +- INCLUDE_DIRECTORIES(libs/mbedtls/include) ++ FIND_LIBRARY(MBEDTLS_LIBRARY NAMES mbedtls ) ++ FIND_LIBRARY(MBEDCRYPTO_LIBRARY NAMES mbedcrypto mbedx509) ++ FIND_LIBRARY(MBEDX509_LIBRARY NAMES mbedx509) ++ ++ IF(MBEDTLS_LIBRARY) ++ TARGET_LINK_LIBRARIES(fms ${MBEDTLS_LIBRARY}) ++ TARGET_LINK_LIBRARIES(fms ${MBEDCRYPTO_LIBRARY}) ++ TARGET_LINK_LIBRARIES(fms ${MBEDX509_LIBRARY}) ++ ELSE(MBEDTLS_LIBRARY) ++ MESSAGE(FATAL ERROR: "Could not find mbedtls library.") ++ ENDIF(MBEDTLS_LIBRARY) + + IF(FROST_SUPPORT) + ADD_DEFINITIONS(-DFROST_SUPPORT) +@@ -405,3 +411,14 @@ + IF(BUILD_PLUGIN) + ADD_SUBDIRECTORY(plugin) + ENDIF(BUILD_PLUGIN) ++ ++MESSAGE(STATUS "<<< Gentoo configuration >>> ++Build type ${CMAKE_BUILD_TYPE} ++Install path${CMAKE_INSTALL_PREFIX} ++Compiler flags: ++C ${CMAKE_C_FLAGS} ++C++ ${CMAKE_CXX_FLAGS} ++Linker flags: ++Executable ${CMAKE_EXE_LINKER_FLAGS} ++Module ${CMAKE_MODULE_LINKER_FLAGS} ++Shared ${CMAKE_SHARED_LINKER_FLAGS}\n") diff --git a/net-p2p/fms/fms-0.3.80.ebuild b/net-p2p/fms/fms-0.3.80.ebuild new file mode 100644 index 000..1b85e8e8366 --- /dev/null +++ b/net-p2p/fms/fms-0.3.80.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit eutils cmake-utils user + +DESCRIPTION="A spam-resistant message board application for Freenet" +HOMEPAGE="http://freenetproject.org/tools.html; +SRC_URI="mirror://gentoo/${PN}-src-${PV}.zip" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="frost ssl" + +RDEPEND="virtual/libiconv + frost? ( net-libs/mbedtls ) + ssl? ( net-libs/mbedtls ) + >=dev-libs/poco-1.4.3_p1 + >=dev-db/sqlite-3.6.15" +DEPEND="${RDEPEND} + app-arch/unzip" + +S=${WORKDIR} +PATCHES=( "${FILESDIR}"/${PN}-use-system-libs4.patch ) + +pkg_setup() { + enewgroup freenet + enewuser freenet -1 -1 /var/freenet freenet +} + +src_prepare() { + rm -rv libs + edos2unix src/http/pages/showfilepage.cpp + edos2unix CMakeLists.txt + +
[gentoo-commits] repo/gentoo:master commit in: net-p2p/fms/files/, net-p2p/fms/
commit: b4b64a7f95944638c36228267b2743d5bb7614c7 Author: Thomas Sachau gentoo org> AuthorDate: Thu Jan 12 17:46:23 2017 + Commit: Thomas Sachau gentoo org> CommitDate: Thu Jan 12 17:46:23 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4b64a7f Version bump, drop old Package-Manager: portage-2.2.27 net-p2p/fms/Manifest | 3 +- net-p2p/fms/files/fms-use-system-libs2.patch | 22 --- net-p2p/fms/files/fms-use-system-libs3.patch | 41 + net-p2p/fms/fms-0.3.75.ebuild | 71 -- .../fms/{fms-0.3.73.ebuild => fms-0.3.79.ebuild} | 7 ++- 5 files changed, 46 insertions(+), 98 deletions(-) diff --git a/net-p2p/fms/Manifest b/net-p2p/fms/Manifest index 1886ec7..42bf520 100644 --- a/net-p2p/fms/Manifest +++ b/net-p2p/fms/Manifest @@ -1,2 +1 @@ -DIST fms-src-0.3.73.zip 3519550 SHA256 f20985efa71c77c843f7cd16e437414ba2810c5a69d7917456e2a2e6e551a6e5 SHA512 457a6808e85dce8ac3cc31ac465eeb6e271294b6aac9436a12adb21f1dacc5ef8726c558dd6734a7418cff1ce92c172062e0eb5b4642e29a832359198d2c WHIRLPOOL 8fd8a4b59b003df5b3b91f9d9dde134b3832fb572a772e3129889c56c5c9be10040161cff8fcb1b6183ebe156b9b340bef2481d43519044a8cb54ed0887624a4 -DIST fms-src-0.3.75.zip 3691556 SHA256 1fe5e84aba572143fe95ffb384177e150d5cd4dff2930462b9df24b59c03d85e SHA512 ce5754c0f15c18c0e9692bb840119576ffa9eca05ca38060a0778fc170a614d394ffcc06274bcdc4db5659d176f00e993904a76099382e7eea5685c3a83d3cd8 WHIRLPOOL 405198eff290d8b55e5b5c164fbbd845c086ed76d6d17efa24ab630c109d09b83c8a956b45d6613672b08a19101275a6a8375ba06065e6d9e9b20e1da6c759af +DIST fms-src-0.3.79.zip 3847775 SHA256 b5dbb1e1d075e2134c692038ea95805a528807b0d777e2752f806f6935508f30 SHA512 aa9f505c5ef55b1f462b16de6d870d02dc102fd184cc353c6c6b8a346978a9953b34e878f262f4190a3d15d76c5a37f065c4e5ebdbc0e43a4a5c22d61fa9fba7 WHIRLPOOL ab799a0e318d4bfb750898bd544da31cad39ce81a633da43753bd4c4aa4179425bfeb1b283fc1acf1ec34c2947ce735d48528bd85b664ab50e2f8118f5f30d26 diff --git a/net-p2p/fms/files/fms-use-system-libs2.patch b/net-p2p/fms/files/fms-use-system-libs2.patch deleted file mode 100644 index 39e62e3.. --- a/net-p2p/fms/files/fms-use-system-libs2.patch +++ /dev/null @@ -1,22 +0,0 @@ CMakeLists.txt 2012-03-04 13:01:24.0 +0100 -+++ CMakeLists.txt.new 2012-03-08 22:14:27.0 +0100 -@@ -353,9 +353,16 @@ - ENDIF(AUDIO_CAPTCHA) - - IF(FROST_SUPPORT) -- ADD_SUBDIRECTORY(libs/polarssl) -- TARGET_LINK_LIBRARIES(fms polarssl) -- INCLUDE_DIRECTORIES(libs/polarssl/include) -+ -+ FIND_LIBRARY(POLARSSL_LIBRARY NAMES polarssl libpolarssl) -+ -+ IF(POLARSSL_LIBRARY) -+ TARGET_LINK_LIBRARIES(fms ${POLARSSL_LIBRARY}) -+ ELSE(POLARSSL_LIBRARY) -+ ADD_SUBDIRECTORY(libs/polarssl) -+ TARGET_LINK_LIBRARIES(fms polarssl) -+ INCLUDE_DIRECTORIES(libs/polarssl/include) -+ ENDIF(POLARSSL_LIBRARY) - - ADD_DEFINITIONS(-DFROST_SUPPORT) - diff --git a/net-p2p/fms/files/fms-use-system-libs3.patch b/net-p2p/fms/files/fms-use-system-libs3.patch new file mode 100644 index ..32a7025 --- /dev/null +++ b/net-p2p/fms/files/fms-use-system-libs3.patch @@ -0,0 +1,41 @@ +--- CMakeLists.txt 2016-06-04 21:18:20.0 +0200 CMakeLists.txt.new 2017-01-12 17:12:10.0 +0100 +@@ -373,11 +373,18 @@ + ENDIF(AUDIO_CAPTCHA) + + IF(FROST_SUPPORT OR FCP_SSL_SUPPORT) +- ADD_SUBDIRECTORY(libs/mbedtls) +- TARGET_LINK_LIBRARIES(fms mbedtls) +- TARGET_LINK_LIBRARIES(fms mbedcrypto) +- TARGET_LINK_LIBRARIES(fms mbedx509) +- INCLUDE_DIRECTORIES(libs/mbedtls/include) ++ ++ FIND_LIBRARY(MBEDTLS_LIBRARY NAMES mbedtls ) ++ FIND_LIBRARY(MBEDCRYPTO_LIBRARY NAMES mbedcrypto mbedx509) ++ FIND_LIBRARY(MBEDX509_LIBRARY NAMES mbedx509) ++ ++ IF(MBEDTLS_LIBRARY) ++ TARGET_LINK_LIBRARIES(fms ${MBEDTLS_LIBRARY}) ++ TARGET_LINK_LIBRARIES(fms ${MBEDCRYPTO_LIBRARY}) ++ TARGET_LINK_LIBRARIES(fms ${MBEDX509_LIBRARY}) ++ ELSE(MBEDTLS_LIBRARY) ++ MESSAGE(FATAL ERROR: "Could not find mbedtls library.") ++ ENDIF(MBEDTLS_LIBRARY) + + IF(FROST_SUPPORT) + ADD_DEFINITIONS(-DFROST_SUPPORT) +@@ -405,3 +412,14 @@ + IF(BUILD_PLUGIN) + ADD_SUBDIRECTORY(plugin) + ENDIF(BUILD_PLUGIN) ++ ++MESSAGE(STATUS "<<< Gentoo configuration >>> ++Build type ${CMAKE_BUILD_TYPE} ++Install path${CMAKE_INSTALL_PREFIX} ++Compiler flags: ++C ${CMAKE_C_FLAGS} ++C++ ${CMAKE_CXX_FLAGS} ++Linker flags: ++Executable ${CMAKE_EXE_LINKER_FLAGS} ++Module ${CMAKE_MODULE_LINKER_FLAGS} ++Shared ${CMAKE_SHARED_LINKER_FLAGS}\n") diff --git a/net-p2p/fms/fms-0.3.75.ebuild b/net-p2p/fms/fms-0.3.75.ebuild deleted file mode 100644 index c3014c2.. --- a/net-p2p/fms/fms-0.3.75.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright