net-p2p/fms: Drop old version

Package-Manager: Portage-2.3.83, Repoman-2.3.20
Signed-off-by: Thomas Sachau <tommy@gentoo.org>
This commit is contained in:
Thomas Sachau
2019-12-30 11:39:29 +01:00
parent d2e0d09900
commit 659e7f7b64
2 changed files with 0 additions and 74 deletions

View File

@@ -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

View File

@@ -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
}