From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1634779-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5BBA21581D3 for <garchives@archives.gentoo.org>; Fri, 24 May 2024 18:36:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7D9C5E2A85; Fri, 24 May 2024 18:36:26 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 57DFCE2A85 for <gentoo-commits@lists.gentoo.org>; Fri, 24 May 2024 18:36:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7A38733BF41 for <gentoo-commits@lists.gentoo.org>; Fri, 24 May 2024 18:36:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 17B9A1B45 for <gentoo-commits@lists.gentoo.org>; Fri, 24 May 2024 18:36:24 +0000 (UTC) From: "Julien Roy" <julien@jroy.ca> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Julien Roy" <julien@jroy.ca> Message-ID: <1716575756.3f07a28bc0ea114e5e280c37b0231e4a3c373783.julien@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: www-apps/nitter/, www-apps/nitter/files/ X-VCS-Repository: repo/proj/guru X-VCS-Files: www-apps/nitter/Manifest www-apps/nitter/files/nitter.conf.example www-apps/nitter/files/nitter.initd www-apps/nitter/files/nitter.service www-apps/nitter/metadata.xml www-apps/nitter/nitter-2023.05.20.ebuild www-apps/nitter/nitter-2023.07.12.ebuild X-VCS-Directories: www-apps/nitter/ www-apps/nitter/files/ X-VCS-Committer: julien X-VCS-Committer-Name: Julien Roy X-VCS-Revision: 3f07a28bc0ea114e5e280c37b0231e4a3c373783 X-VCS-Branch: dev Date: Fri, 24 May 2024 18:36:24 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 33db84ee-1f92-456c-b385-c7d36f7336d0 X-Archives-Hash: 23288d76cf7a71fc0369b423d037bdfa Message-ID: <20240524183624.4i6wsmYIWk8dCwVezqniO6Jh761gveJhiPWPsyEQKww@z> commit: 3f07a28bc0ea114e5e280c37b0231e4a3c373783 Author: Julien Roy <julien <AT> jroy <DOT> ca> AuthorDate: Fri May 24 18:29:44 2024 +0000 Commit: Julien Roy <julien <AT> jroy <DOT> ca> CommitDate: Fri May 24 18:35:56 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3f07a28b www-apps/nitter: treeclean Bug: https://bugs.gentoo.org/907344 Signed-off-by: Julien Roy <julien <AT> jroy.ca> www-apps/nitter/Manifest | 2 - www-apps/nitter/files/nitter.conf.example | 48 ----------------------- www-apps/nitter/files/nitter.initd | 30 --------------- www-apps/nitter/files/nitter.service | 12 ------ www-apps/nitter/metadata.xml | 8 ---- www-apps/nitter/nitter-2023.05.20.ebuild | 64 ------------------------------- www-apps/nitter/nitter-2023.07.12.ebuild | 64 ------------------------------- 7 files changed, 228 deletions(-) diff --git a/www-apps/nitter/Manifest b/www-apps/nitter/Manifest deleted file mode 100644 index 7e3752ba7..000000000 --- a/www-apps/nitter/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST nitter-2023.05.20.tar.gz 1184325 BLAKE2B aefeade24bd8b34303d3b0bd1280ad48e2b898c603bbaf5bf93a712fc0e59aec507340209483a72378bd4e72f94b262f13c37bca6323e07911e1f50d4cf556fd SHA512 03cbfef15eed61092cc03549755f3eb96be42999d1af652210df112fe41aea4b68aadd7a45faedb84702e8b852fa09c7ee29c908c983a5a9a8ec2d509d063c9a -DIST nitter-2023.07.12.tar.gz 1184928 BLAKE2B 02658a4d89205c5ac8d302e51b9628714c72e2bedb40785c0018ccddc3ca74185e1894228792e05e0c67f6527f7bd98cd10f76a9a880ee2c2083f43948fbf0ca SHA512 9ac70ae5e5f954e14dd1dd8cfc82d8ec8058ae228b61f5639a23a5959d7611833f99b7e6dd90b6cc26ab5ed4244c2027d5b5ca91daac338f877b63eabd275f8b diff --git a/www-apps/nitter/files/nitter.conf.example b/www-apps/nitter/files/nitter.conf.example deleted file mode 100644 index 277f55773..000000000 --- a/www-apps/nitter/files/nitter.conf.example +++ /dev/null @@ -1,48 +0,0 @@ -# This is an example. Copy this file to /etc/nitter/nitter.conf and edit to -# match your preferences. - -[Server] -address = "0.0.0.0" -port = 8080 -https = false # disable to enable cookies when not using https -httpMaxConnections = 100 -staticDir = "/usr/share/nitter/public" -title = "nitter" -hostname = "nitter.net" - -[Cache] -listMinutes = 240 # how long to cache list info (not the tweets, so keep it high) -rssMinutes = 10 # how long to cache rss queries -redisHost = "localhost" # Change to "nitter-redis" if using docker-compose -redisPort = 6379 -redisPassword = "" -redisConnections = 20 # connection pool size -redisMaxConnections = 30 -# max, new connections are opened when none are available, but if the pool size -# goes above this, they're closed when released. don't worry about this unless -# you receive tons of requests per second - -[Config] -hmacKey = "secretkey" # random key for cryptographic signing of video urls -base64Media = false # use base64 encoding for proxied media urls -enableRSS = true # set this to false to disable RSS feeds -enableDebug = false # enable request logs and debug endpoints -proxy = "" # http/https url, SOCKS proxies are not supported -proxyAuth = "" -tokenCount = 10 -# minimum amount of usable tokens. tokens are used to authorize API requests, -# but they expire after ~1 hour, and have a limit of 187 requests. -# the limit gets reset every 15 minutes, and the pool is filled up so there's -# always at least $tokenCount usable tokens. again, only increase this if -# you receive major bursts all the time - -# Change default preferences here, see src/prefs_impl.nim for a complete list -[Preferences] -theme = "Nitter" -replaceTwitter = "nitter.net" -replaceYouTube = "piped.kavin.rocks" -replaceReddit = "teddit.net" -replaceInstagram = "bibliogram.art" -proxyVideos = true -hlsPlayback = false -infiniteScroll = false diff --git a/www-apps/nitter/files/nitter.initd b/www-apps/nitter/files/nitter.initd deleted file mode 100644 index 1d26ed1cf..000000000 --- a/www-apps/nitter/files/nitter.initd +++ /dev/null @@ -1,30 +0,0 @@ -#!/sbin/openrc-run -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -: ${NITTER_CONF_FILE:="/etc/nitter/${RC_SVCNAME}.conf"} -export NITTER_CONF_FILE - -command="/usr/bin/nitter" -command_background=yes -command_user="nitter:nitter" -pidfile="/run/${RC_SVCNAME}.pid" - -logpath="/var/log/nitter" -output_log="${logpath}/${RC_SVCNAME}.log" -error_log="${output_log}" - -depend() { - need redis - use net -} - -start_pre() { - checkpath -do "${command_user}" "${logpath}" - checkpath -fo "${command_user}" "${output_log}" - - if [ ! -f "${NITTER_CONF_FILE}" ]; then - eerror "Configuration file '${NITTER_CONF_FILE}' not found" - return 1 - fi -} diff --git a/www-apps/nitter/files/nitter.service b/www-apps/nitter/files/nitter.service deleted file mode 100644 index 443fecd49..000000000 --- a/www-apps/nitter/files/nitter.service +++ /dev/null @@ -1,12 +0,0 @@ -[Unit] -Description=Nitter -After=network.service -Requires=redis.service - -[Service] -User=nitter -Environment="NITTER_CONF_FILE=/etc/nitter/nitter.conf" -ExecStart=/usr/bin/nitter - -[Install] -WantedBy=multi-user.target diff --git a/www-apps/nitter/metadata.xml b/www-apps/nitter/metadata.xml deleted file mode 100644 index 5b8c50c6d..000000000 --- a/www-apps/nitter/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <!-- maintainer-needed --> - <upstream> - <remote-id type="github">zedeus/nitter</remote-id> - </upstream> -</pkgmetadata> diff --git a/www-apps/nitter/nitter-2023.05.20.ebuild b/www-apps/nitter/nitter-2023.05.20.ebuild deleted file mode 100644 index 7f90476a8..000000000 --- a/www-apps/nitter/nitter-2023.05.20.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit nimble systemd - -COMMIT="e3b3b38a2d43a83b5fc2239ab41e864ee686fb2f" -DESCRIPTION="Alternative front-end for Twitter" -HOMEPAGE="https://github.com/zedeus/nitter" -SRC_URI="https://github.com/zedeus/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${PN}-${COMMIT}" - -LICENSE="AGPL-3" -SLOT="0" -KEYWORDS="~amd64" - -RESTRICT="test" -PROPERTIES="test_network" - -RDEPEND=" - acct-user/nitter - dev-db/redis -" -DEPEND=" - dev-nim/flatty - dev-nim/jester - dev-nim/jsony - dev-nim/karax - dev-nim/markdown - dev-nim/nimcrypto - dev-nim/packedjson - dev-nim/redpool - dev-nim/sass - dev-nim/supersnappy - dev-nim/zedeus_redis - dev-nim/zippy -" - -src_configure() { - nimble_src_configure - - # Error: unhandled exception: cannot open: public/lp.svg - ln -s "${S}"/public "${BUILD_DIR}/public" || die -} - -src_compile() { - nimble_src_compile - enim r tools/gencss - enim r tools/rendermd -} - -src_install() { - nimble_src_install - - newinitd "${FILESDIR}"/nitter.initd ${PN} - systemd_dounit "${FILESDIR}"/nitter.service - - insinto /etc/nitter - doins "${FILESDIR}"/nitter.conf.example - - insinto /usr/share/nitter - doins -r public -} diff --git a/www-apps/nitter/nitter-2023.07.12.ebuild b/www-apps/nitter/nitter-2023.07.12.ebuild deleted file mode 100644 index 66560453d..000000000 --- a/www-apps/nitter/nitter-2023.07.12.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit nimble systemd - -COMMIT="afbdbd293e30f614ee288731717868c6d618b55f" -DESCRIPTION="Alternative front-end for Twitter" -HOMEPAGE="https://github.com/zedeus/nitter" -SRC_URI="https://github.com/zedeus/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${PN}-${COMMIT}" - -LICENSE="AGPL-3" -SLOT="0" -KEYWORDS="~amd64" - -RESTRICT="test" -PROPERTIES="test_network" - -RDEPEND=" - acct-user/nitter - dev-db/redis -" -DEPEND=" - dev-nim/flatty - dev-nim/jester - dev-nim/jsony - dev-nim/karax - dev-nim/markdown - dev-nim/nimcrypto - dev-nim/packedjson - dev-nim/redpool - dev-nim/sass - dev-nim/supersnappy - dev-nim/zedeus_redis - dev-nim/zippy -" - -src_configure() { - nimble_src_configure - - # Error: unhandled exception: cannot open: public/lp.svg - ln -s "${S}"/public "${BUILD_DIR}/public" || die -} - -src_compile() { - nimble_src_compile - enim r tools/gencss - enim r tools/rendermd -} - -src_install() { - nimble_src_install - - newinitd "${FILESDIR}"/nitter.initd ${PN} - systemd_dounit "${FILESDIR}"/nitter.service - - insinto /etc/nitter - doins "${FILESDIR}"/nitter.conf.example - - insinto /usr/share/nitter - doins -r public -}