mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 04:23:16 -04:00
Merge updates from master
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit multilib xdg cmake
|
||||
inherit xdg cmake
|
||||
|
||||
DESCRIPTION="A Qt based archiving solution with libarchive backend"
|
||||
HOMEPAGE="https://gitlab.com/marcusbritanicus/libarchive-qt"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit multilib xdg cmake
|
||||
inherit xdg cmake
|
||||
|
||||
DESCRIPTION="A Qt based archiving solution with libarchive backend"
|
||||
HOMEPAGE="https://gitlab.com/marcusbritanicus/libarchive-qt"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit multilib xdg cmake
|
||||
inherit xdg cmake
|
||||
|
||||
DESCRIPTION="A Qt based archiving solution with libarchive backend"
|
||||
HOMEPAGE="https://gitlab.com/marcusbritanicus/libarchive-qt"
|
||||
|
||||
@@ -3,14 +3,13 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit eutils
|
||||
|
||||
MY_PN=dict-gcide
|
||||
|
||||
DESCRIPTION="Collaborative International Dictionary of English (incl. Webster 1913) for dict"
|
||||
HOMEPAGE="https://tracker.debian.org/pkg/dict-gcide"
|
||||
SRC_URI="mirror://debian/pool/main/d/${MY_PN}/${MY_PN}_${PV}.tar.xz -> ${P}.tar.xz"
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
@@ -6,12 +6,13 @@ EAPI=7
|
||||
MY_PN="mueller-dict"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
inherit eutils autotools
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="V. K. Mueller English-Russian Dictionary"
|
||||
HOMEPAGE="http://mueller-dict.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/${MY_PN}/${MY_P}.tar.gz"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
IUSE="ipa"
|
||||
SLOT="0"
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
DIST gmid-1.7.2.tar.gz 78352 BLAKE2B 8efba7dcdb301f4cc2cf470408e55b7a939bd3cad850e32fa14ba1e752404da7a85a4758ad722ba81f8dd2e45a8a9aad14ec162bdc5947591e9411896bf3c522 SHA512 27cae5699f39afb55b087cbbe7fd134221e786c07664140ace656c483c79213c74abdf82f05de9f1cf09d20a560571f094cf5ad1b1ae2879e3429f3571cec9a5
|
||||
DIST gmid-1.7.3.tar.gz 81873 BLAKE2B 66c2b850c4e1a22c50503d9445f257ac045eb69fcc7ca59d72be2c79bab95ea6b3af638b6f8f5518cd92421e10e60d9a7c6a2b3d2c3954c0a3cd911b0d31b1d2 SHA512 9a3acc501c1c0cc6419a18b152345b0ca84418625d8328942f8bba82974655633cbf79d7cdd48ba235915842dd8f8433e84245085bb0b00a4b57e4bda4aa1bd3
|
||||
|
||||
106
net-misc/gmid/gmid-1.7.3.ebuild
Normal file
106
net-misc/gmid/gmid-1.7.3.ebuild
Normal file
@@ -0,0 +1,106 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
SSL_DAYS=36500
|
||||
SSL_CERT_MANDATORY=1
|
||||
inherit ssl-cert systemd toolchain-funcs
|
||||
|
||||
DESCRIPTION="Simple and secure Gemini server"
|
||||
HOMEPAGE="https://gmid.omarpolo.com"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
EGIT_REPO_URI="https://git.omarpolo.com/${PN} https://github.com/omar-polo/${PN}.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://git.omarpolo.com/${PN}/snapshot/${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="BSD ISC MIT"
|
||||
SLOT="0"
|
||||
IUSE="seccomp test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
!elibc_Darwin? ( dev-libs/libbsd )
|
||||
acct-user/gemini
|
||||
dev-libs/imsg-compat
|
||||
dev-libs/libevent:=
|
||||
dev-libs/libretls
|
||||
dev-libs/openssl:=
|
||||
"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
virtual/yacc
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( README.md ChangeLog contrib/README )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed \
|
||||
-e "s:/usr/local/bin/gmid:/usr/bin/gmid:" \
|
||||
-e "s:/etc/gmid.conf:/etc/gmid/gmid.conf:" \
|
||||
-i contrib/gmid.service || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local conf_args
|
||||
tc-export CC
|
||||
|
||||
# note: not an autoconf configure script
|
||||
conf_args=(
|
||||
PREFIX="${EPREFIX}"/usr/share
|
||||
BINDIR="${EPREFIX}"/usr/bin
|
||||
$(use_enable seccomp sandbox)
|
||||
)
|
||||
|
||||
./configure "${conf_args[@]}" || die
|
||||
|
||||
if use seccomp && has usersandbox ${FEATURES} ; then
|
||||
export SKIP_RUNTIME_TESTS=1
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake gmid
|
||||
if use test ; then
|
||||
emake -C regress gg data puny-test fcgi-test
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake regress
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
insinto /etc/gmid
|
||||
doins "${FILESDIR}"/gmid.conf
|
||||
|
||||
insinto /usr/share/vim/vimfiles
|
||||
doins -r contrib/vim/*
|
||||
|
||||
systemd_dounit contrib/gmid.service
|
||||
newinitd "${FILESDIR}"/gmid.initd gmid
|
||||
newconfd "${FILESDIR}"/gmid.confd gmid
|
||||
|
||||
keepdir /var/gemini/localhost
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ! -f "${EROOT}"/etc/ssl/${PN}/${PN}.key ]]; then
|
||||
install_cert /etc/ssl/${PN}/${PN}
|
||||
chown gemini:gemini "${EROOT}"/etc/ssl/${PN}/${PN}.{crt,csr,key,pem}
|
||||
fi
|
||||
|
||||
einfo "This gemini server can be run as a user with zero configuration.\n"
|
||||
einfo "In order to use it with the init service you will need to generate a"
|
||||
einfo "self-signed TLS certificate and a key and set up the configuration"
|
||||
einfo "file (see man 1 gmid for details)."
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EAPI=8
|
||||
|
||||
SSL_DAYS=36500
|
||||
SSL_CERT_MANDATORY=1
|
||||
@@ -11,24 +11,25 @@ DESCRIPTION="Simple and secure Gemini server"
|
||||
HOMEPAGE="https://gmid.omarpolo.com"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
EGIT_REPO_URI="https://github.com/omar-polo/${PN}.git https://git.omarpolo.com/${PN}"
|
||||
EGIT_REPO_URI="https://git.omarpolo.com/${PN} https://github.com/omar-polo/${PN}.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://git.omarpolo.com/${PN}/snapshot/${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="BSD ISC MIT"
|
||||
SLOT="0"
|
||||
IUSE="+seccomp test"
|
||||
IUSE="seccomp test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
!elibc_Darwin? ( dev-libs/libbsd )
|
||||
acct-user/gemini
|
||||
dev-libs/imsg-compat
|
||||
dev-libs/libbsd
|
||||
dev-libs/libevent
|
||||
dev-libs/libevent:=
|
||||
dev-libs/libretls
|
||||
dev-libs/openssl:=
|
||||
"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<upstream>
|
||||
<maintainer>
|
||||
@@ -8,7 +8,7 @@
|
||||
</maintainer>
|
||||
</upstream>
|
||||
<maintainer type="person">
|
||||
<email>cyber@sysrq.in</email>
|
||||
<email>cyber+gentoo@sysrq.in</email>
|
||||
<name>Anna</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
DIST telescope-0.5.1.tar.gz 270465 BLAKE2B d12a4cb5beccf15ff73bacacfa5f3679a6bbd6f97c12b476c20363032d50cc1750e315323d1a4b0e5577ee4430ef17419961b42d17f2c203c8e7f17a7ae390f4 SHA512 5d1f719d1be1146b1e81d2208688c4dced53893ed7c4c167480df733e5ad479551917cf2f80bf5f199806365796b83c7cccb27e13a7df05ca408373826e1adfa
|
||||
DIST telescope-0.5.tar.gz 270335 BLAKE2B ab4f964c092e84669033d9000d7943464a108a51a0e3e7e86b34e8d25388ee90b86ff3c554c5a937b60d5131d0e6ecdafea742da1097bd74e89f565fb8a96dd7 SHA512 014a9d96ce688a61edac3c917d8d0da1e7dc9f1291251e8143dfcfd4ad00b9729b7384aebdf0ee6ed2e3186959ac7c0dab4aa78038d45c10fd16443021a6ca21
|
||||
DIST telescope-0.5.2.tar.gz 270398 BLAKE2B e745eca6f259707036bed780956c57efad2320d66b40b13d644cff78a84d225d5dea58f19d2586d22b2ce43e193f37f47337ee229be09558bf16cd029515b8f4 SHA512 34e22fd2139c4e0ca04562d3f9542891a6cb743814cf8c1eae3c15e7ae65dd5bc9b609701788aa8b641ce30ce27ca602662ddad597093fa10966f0d588e85806
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>cyber+gentoo@sysrq.in</email>
|
||||
|
||||
Reference in New Issue
Block a user