Compare commits
18 Commits
6fbd971cb3
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
54ac49be30 | ||
|
|
e2cb317136 | ||
|
|
e9bb0d01bf | ||
|
|
9ef66744ae | ||
|
|
7b4942a513 | ||
|
|
1d02c683d8 | ||
|
|
396b96453f | ||
|
|
841823e509 | ||
|
|
ca93c1d792 | ||
|
|
c671b42549 | ||
|
|
e0c1884822 | ||
|
|
abebad3080 | ||
|
|
d87518dfc4 | ||
|
|
96bcdcb41b | ||
|
|
a9d192c1f0 | ||
|
|
918c3e0388 | ||
|
|
1508ca1664 | ||
|
|
180f4e0df7 |
@@ -1,2 +0,0 @@
|
|||||||
EBUILD rcm-9999.ebuild 416 SHA256 57fb70579fa668e0e36ec69a25fe6602373dae0f43a8c486198b9d20a1ca0a47 SHA512 9551e347b4f8529481064658d5ccb6363c2e1710042e90197a996eb50d242c02ca9dadec1dfcfcdb6f8c367e3c02b24065da51e794a5efe40c97ce0d676ef92e WHIRLPOOL 6157d7db5c71345da96e520605bba9b47f46a3acf4241e1bdfcde2998a8ef9d9190ac25ba180e20b71d87e04ad6ecb00b8fcfd49796f5a4cf79e021ee6d26686
|
|
||||||
MISC metadata.xml 611 SHA256 fcf271608ad4d7dd7c9662cc1977eeacb0c3a0656636809df0998f591afddb49 SHA512 508ce28286fa519f6d071d06b1c75e23113f67b9d96d879d4fdd0ab9bfc9bbfaef5fa8e33c0e8a617aeaf58c3e979cb19fc2171779a8cd7e4de06ebad733bbb0 WHIRLPOOL bd1a656747fd4a4ed5069bd5caf0266479aa1f0d26ce6556b533205513e6a10d17d3b878f0175b48416444d8bf30013a3fd765e3706c92f8d20041911681363e
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<maintainer type="person">
|
|
||||||
<email>fgtham+genbugs@gmail.com</email>
|
|
||||||
<name>Florian Tham</name>
|
|
||||||
<description>Proxy maintainer - set to assignee on bugs</description>
|
|
||||||
</maintainer>
|
|
||||||
<maintainer type="project">
|
|
||||||
<email>proxy-maint@gentoo.org</email>
|
|
||||||
<name>Proxy Maintainers</name>
|
|
||||||
</maintainer>
|
|
||||||
<upstream>
|
|
||||||
<remote-id type="github">thoughtbot/rcm</remote-id>
|
|
||||||
</upstream>
|
|
||||||
<longdescription lang="en">
|
|
||||||
rcm is a management suite for dotfiles.
|
|
||||||
</longdescription>
|
|
||||||
</pkgmetadata>
|
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
# Copyright 1999-2017 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Id$
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
inherit git-r3
|
|
||||||
|
|
||||||
DESCRIPTION="rc file (dotfile) management"
|
|
||||||
HOMEPAGE="https://github.com/thoughtbot/rcm"
|
|
||||||
EGIT_REPO_URI="https://github.com/thoughtbot/rcm.git"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS=""
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
DEPEND="dev-ruby/mustache"
|
|
||||||
RDEPEND="${DEPEND}"
|
|
||||||
|
|
||||||
src_prepare () {
|
|
||||||
./autogen.sh
|
|
||||||
default
|
|
||||||
}
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
AUX anki-2.1.0_beta25-web-folder.patch 498 SHA256 c5faabfa528904f47c6262c7096d97be6ab8c9f4fa18f436f4124d0670b29e74 SHA512 779806afd6c0eaaac149c89bbe8da2394630aa5a611001307808339f29237b4d7f3db7e1f66241ef67e179a5ab96d64371e1b198044cd9f88389d03a5c9d8478 WHIRLPOOL eb37b16f5a983ead6d1ca2b0d2230a976176901393f2b63d5540b0d3bbd1785091249f1ae03a1aa16c497434cf315682b576e5cd19aa1eaf91c1d6e258fdcf37
|
|
||||||
DIST anki-2.1.0_beta37.tgz 4146403 SHA256 459e01d3bc132b0cb26d846e6d48b20eb416d55d7d19b569690b4f4961021860 SHA512 77b41b3b4d02e1f31d8b93a5f78c7e1187fe9ee97d83b0bbe900ef463caa792bebe1d06d6610002c5615df69f426b61c7bbf3bc53c035ca7933f3011663bb909 WHIRLPOOL d81f3e8085b518f8dc4a17dfec6f340c930fc5b2a44177bd72340e3a7b062fea6e6b5d325900d9ebd266c8e290b803c83e56721190e2f0e2feb5de9e8fa78057
|
|
||||||
EBUILD anki-2.1.0_beta37.ebuild 1917 SHA256 30069185e246b9d8f6fcee9e4e2e5269f13deb9ea3cbb7f176aa3bbbb43dd55f SHA512 3c8e2f3056028d8de9cb6ad2510c9838fc2450e0b992dfaee69fc40fa60ad8a16eebb30c0ccb573a66a33b506475239482b5bf2598c2b881e2e1a52dadf9d81d WHIRLPOOL f722225f0d14ce1e2fdc185ab5e7a2c290668a1877e988c0da3bf919642950d1efce15789bbb1e2131af8f9198e395a3650454efbc3bbbf3ca8652c520dfc66b
|
|
||||||
MISC metadata.xml 619 SHA256 3087a19894696285b894be483ae3974f72eba2b194187c7763a9c7d5fbfc6ef9 SHA512 8b6656964a3c2cee9761b278839f31546a3fe2a4efd500cd015658af3502b548888e939bbeee45ead9c88632ade12c7f0ed33fcf8cdfc6d0ac91de63ac8bb351 WHIRLPOOL 897e92fd6fd8a6e3e1b5bb1cc2fb192e97e951474dd39fd75c7fd16f2fd24449be35a304b79b7aacfcfbe13de54fa831ffc89b835e1afa74e05b553e66790c1c
|
|
||||||
@@ -1,86 +0,0 @@
|
|||||||
# Copyright 1999-2018 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_6 )
|
|
||||||
PYTHON_REQ_USE="sqlite"
|
|
||||||
|
|
||||||
inherit eutils python-single-r1 xdg
|
|
||||||
|
|
||||||
DESCRIPTION="A spaced-repetition memory training program (flash cards)"
|
|
||||||
HOMEPAGE="https://apps.ankiweb.net"
|
|
||||||
|
|
||||||
MY_P="${P/_/}"
|
|
||||||
SRC_URI="https://apps.ankiweb.net/downloads/beta/${MY_P}-source.tgz -> ${P}.tgz"
|
|
||||||
S="${WORKDIR}/${MY_P}"
|
|
||||||
|
|
||||||
LICENSE="GPL-3"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
IUSE="latex +recording +sound test"
|
|
||||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
||||||
|
|
||||||
RDEPEND="${PYTHON_DEPS}
|
|
||||||
dev-python/PyQt5[gui,svg,webengine,widgets,${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/httplib2-0.7.4[${PYTHON_USEDEP}]
|
|
||||||
dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
|
|
||||||
dev-python/decorator[${PYTHON_USEDEP}]
|
|
||||||
dev-python/markdown[${PYTHON_USEDEP}]
|
|
||||||
dev-python/requests[${PYTHON_USEDEP}]
|
|
||||||
dev-python/send2trash[${PYTHON_USEDEP}]
|
|
||||||
recording? (
|
|
||||||
media-sound/lame
|
|
||||||
>=dev-python/pyaudio-0.2.4[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
sound? ( media-video/mplayer )
|
|
||||||
latex? (
|
|
||||||
app-text/texlive
|
|
||||||
app-text/dvipng
|
|
||||||
)
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
test? ( dev-python/nose[${PYTHON_USEDEP}] )
|
|
||||||
"
|
|
||||||
|
|
||||||
PATCHES=( "${FILESDIR}"/${PN}-2.1.0_beta25-web-folder.patch )
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
python-single-r1_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
sed -i -e "s/updates=True/updates=False/" \
|
|
||||||
aqt/profiles.py || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
:;
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
sed -e "s:nosetests:${EPYTHON} ${EROOT}usr/bin/nosetests:" \
|
|
||||||
-i tools/tests.sh || die
|
|
||||||
./tools/tests.sh || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
cp tools/runanki.system tools/anki
|
|
||||||
doicon ${PN}.png
|
|
||||||
domenu ${PN}.desktop
|
|
||||||
doman ${PN}.1
|
|
||||||
|
|
||||||
dodoc README.md README.development
|
|
||||||
python_domodule aqt anki
|
|
||||||
python_doscript tools/anki
|
|
||||||
|
|
||||||
# Localization files go into the anki directory:
|
|
||||||
python_moduleinto anki
|
|
||||||
python_domodule locale
|
|
||||||
|
|
||||||
# not sure if this is correct, but
|
|
||||||
# site-packages/aqt/mediasrv.py wants the directory
|
|
||||||
insinto /usr/share/anki
|
|
||||||
doins -r web
|
|
||||||
}
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
--- anki-2.1.0beta25/aqt/mediasrv.py
|
|
||||||
+++ anki-2.1.0beta25/aqt/mediasrv.py
|
|
||||||
@@ -13,7 +13,7 @@
|
|
||||||
# locate web folder in source/binary distribution
|
|
||||||
def _getExportFolder():
|
|
||||||
# running from source?
|
|
||||||
- srcFolder = os.path.join(os.path.dirname(__file__), "..")
|
|
||||||
+ srcFolder = os.path.join(os.path.dirname(__file__), "..", "..", "..", "..", "share", "anki")
|
|
||||||
webInSrcFolder = os.path.abspath(os.path.join(srcFolder, "web"))
|
|
||||||
if os.path.exists(webInSrcFolder):
|
|
||||||
return webInSrcFolder
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<maintainer type="person">
|
|
||||||
<email>patrick@gentoo.org</email>
|
|
||||||
<name>Patrick Lauer</name>
|
|
||||||
</maintainer>
|
|
||||||
<longdescription lang="en">
|
|
||||||
Anki is a program designed to help you remember facts
|
|
||||||
(such as words and phrases in a foreign language) as
|
|
||||||
quickly, easily and efficiently as possible.
|
|
||||||
</longdescription>
|
|
||||||
<use>
|
|
||||||
<flag name="recording">
|
|
||||||
Enable support for audio recording
|
|
||||||
</flag>
|
|
||||||
<flag name="sound">
|
|
||||||
Enable support for adding sound to cards
|
|
||||||
</flag>
|
|
||||||
</use>
|
|
||||||
</pkgmetadata>
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
EBUILD buku-9999.ebuild 708 SHA256 97ecf67a883daf7619dcd1e544909ac562d44aca393cacb2a8dcd0d21a78bb94 SHA512 e2db18d20dc13f0525012aaec6635d9f486be061f9862b6f77a4a3b3aaee47d43ac03716029509d1ce8aacd50fb1fd0a244a05e2d53df781d24f79e6c190daff WHIRLPOOL 8ff5a6f9a936dbb7282ad8c792f878d4b8b9fb6b4d0228ddaba848a1828db37be467d9d0bfe4ceb5134a40f767bb9ea265c97d4ad195df36ed53edd810ca139d
|
|
||||||
@@ -1,36 +0,0 @@
|
|||||||
# Copyright 1999-2017 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python{3_3,3_4,3_5,3_6} )
|
|
||||||
PYTHON_REQ_USE="ncurses"
|
|
||||||
|
|
||||||
inherit autotools git-r3 bash-completion-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Powerful command-line bookmark manager. Your mini-web!"
|
|
||||||
HOMEPAGE="https://github.com/jarun/buku"
|
|
||||||
EGIT_REPO_URI="https://github.com/jarun/${PN}"
|
|
||||||
EGIT_CLONE_TYPE=shallow
|
|
||||||
|
|
||||||
LICENSE="GPL-3"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS=""
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
dev-python/urllib3
|
|
||||||
>=dev-python/beautifulsoup-4.0
|
|
||||||
dev-python/cryptography
|
|
||||||
dev-python/requests
|
|
||||||
"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
export PREFIX="/usr"
|
|
||||||
default
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
default
|
|
||||||
newbashcomp auto-completion/bash/${PN}-completion.bash ${PN}
|
|
||||||
}
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
EBUILD googler-9999.ebuild 562 SHA256 9df2a3d4284bb95fb2842e1f8cb8e9ff24c8d56fcbf8e129ef1399118fc8c484 SHA512 806c696c2d6292cf8449f0dc89382eb96d469d34025f08d959680e3c679b63160c494155446b4cc37e0b01a6408d7cd0350f6ace5ae08dcf1e7101aca4339293 WHIRLPOOL deaee5c81b79546bf872a4a1012c86da916ff5fffa36ab16ca26b6421b286c24bda506e53822d53aff29f1f479e764b7e1bf0047d104881758bdc29b9049154e
|
|
||||||
@@ -1,28 +0,0 @@
|
|||||||
# Copyright 1999-2017 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
inherit autotools git-r3 bash-completion-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Google Search, Google Site Search, Google News from the terminal"
|
|
||||||
HOMEPAGE="https://github.com/jarun/googler"
|
|
||||||
EGIT_REPO_URI="https://github.com/jarun/${PN}"
|
|
||||||
EGIT_CLONE_TYPE=shallow
|
|
||||||
|
|
||||||
LICENSE="GPL-3"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS=""
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RDEPEND=""
|
|
||||||
DEPEND=""
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
export PREFIX="/usr"
|
|
||||||
default
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
default
|
|
||||||
newbashcomp auto-completion/bash/${PN}-completion.bash ${PN}
|
|
||||||
}
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
EBUILD nnn-9999.ebuild 541 SHA256 135737d7fafe78b36d49698c77a0accace6cd5bc7a6925bf2725dac047e06c47 SHA512 f117f065de21368419089dc2d33ea2bc15e38fcd9568358f37a4641fdbab3f55b75efd8a94584e336bc419633e267d4cb4d8dcb7a3836607f93f593aa3d16f69 WHIRLPOOL 0a8670735725b71324e873cbcea23266912ef52794adf6adce2aee81ac3248d1bb7c4fec5814b2c7e7fb94dac3ed09ee2745f70c06ac83649bd43f2233d65981
|
|
||||||
@@ -1,28 +0,0 @@
|
|||||||
# Copyright 1999-2017 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
inherit autotools git-r3 bash-completion-r1
|
|
||||||
|
|
||||||
DESCRIPTION="The missing terminal file browser for X"
|
|
||||||
HOMEPAGE="https://github.com/jarun/nnn"
|
|
||||||
EGIT_REPO_URI="https://github.com/jarun/${PN}"
|
|
||||||
EGIT_CLONE_TYPE=shallow
|
|
||||||
|
|
||||||
LICENSE="BSD-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS=""
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RDEPEND=""
|
|
||||||
DEPEND=""
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
export PREFIX="/usr"
|
|
||||||
default
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
default
|
|
||||||
newbashcomp scripts/auto-completion/bash/${PN}-completion.bash ${PN}
|
|
||||||
}
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
DIST tasksh-1.1.0.tar.gz 419407 SHA256 eef7c6677d6291b1c0e13595e8c9606d7f8dc1060d197a0d088cc1fddcb70024 SHA512 ba8820c26a86085f996cf884c57e8fd7913cded40ea81d3f17242295e865ed1058b2c0af78d76b2f64aebf96c981665fb2482808d41312e5ff40ecb1eba7bf8a WHIRLPOOL 6d380a830c9124a0b73752eba1b93e53d782c44e58cea2deb23d48b4ee99320a887884a75d03171a1f4d4ddef5cc13808bfee161b3f2c7e8717a81da6016f625
|
|
||||||
EBUILD tasksh-1.1.0.ebuild 641 SHA256 e66296721bbb371a061c51e0814e78c25fbd7313522604938a66b4f694b54437 SHA512 d34dfe1f4c1a94c1f50c9b0696247d8e0709d9bb0e463a819ce3b2a12bf72177b901d13ecea92b00fb328f57eac7df8f1808d3716903fe362eb2e6b119e3a0c5 WHIRLPOOL d91c2e6c27a02824805b72035191fcaf625e1b5f1b3e6d95cd06a23965dd85c00cfaf843e53267e81d53208358b0ee294e451102b59a3304b646a835b9eba6d2
|
|
||||||
@@ -1,30 +0,0 @@
|
|||||||
# Copyright 1999-2016 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Id$
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
DESCRIPTION="Tasksh is a shell command that wraps Taskwarrior commands."
|
|
||||||
HOMEPAGE="https://tasktools.org/projects/tasksh.html"
|
|
||||||
SRC_URI="https://taskwarrior.org/download/tasksh-1.1.0.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
DEPEND="dev-util/cmake
|
|
||||||
sys-libs/readline"
|
|
||||||
RDEPEND="${DEPEND}"
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
cmake -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=/usr ${S}
|
|
||||||
make
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dobin src/tasksh
|
|
||||||
doman doc/man/tasksh.1
|
|
||||||
|
|
||||||
dodoc AUTHORS ChangeLog COPYING INSTALL NEWS README.md
|
|
||||||
}
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
DIST timew-1.0.0.tar.gz 140539 SHA256 ac027910e1e8365bdd218a8b42389b26d017d38d3c96516c408db6d5a44e0bb5 SHA512 0539ff93b2375c154d126c39aa84f21b57b62f51c220c80b2e323a4d6aefd2eda6f87c04112e096222102b019ee3683a78b9ee9d6fbf6736d4a34c529f6152f5 WHIRLPOOL 77ede6c679203071c3da95f708326f626906266547301b9ce2f2c8ae768f6b4082fb32bcc325a22e7295f5894477786960632ff201771b3512d978bf8c379c75
|
|
||||||
EBUILD timew-1.0.0.ebuild 781 SHA256 fb1e4ba08f77cbe64199b5a5d34d3b6e453a42335c4b662752c2b91f9532f8ab SHA512 3b4545f616ffac7ccc48c1b6b4f9fe6cc2bac40d373b9fd29b55b21c8aaccc5d67d326b92e566ceeef9b24d6ad625310975f38949373b4434eeb7ef69ee68834 WHIRLPOOL 6fb88462fd64380c3264e1a09c62c2a49efe028cd35aa1e0256db58a73bd551e2b2d9e73da9147b09504213bb95290ef164d4df5f049d1dc0a051a7f357da5b6
|
|
||||||
@@ -1,36 +0,0 @@
|
|||||||
# Copyright 1999-2016 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Id$
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
DESCRIPTION="Timewarrior is a command-line time tracker."
|
|
||||||
HOMEPAGE="https://timewarrior.net"
|
|
||||||
SRC_URI="https://taskwarrior.org/download/timew-1.0.0.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
DEPEND="dev-util/cmake"
|
|
||||||
RDEPEND="${DEPEND}"
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
cmake -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=/usr ${S}
|
|
||||||
make
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dobin src/timew
|
|
||||||
doman doc/man/timew.1
|
|
||||||
|
|
||||||
dodoc ChangeLog README.md LICENSE AUTHORS NEWS
|
|
||||||
docinto holidays
|
|
||||||
dodoc doc/holidays/{README,holidays.en-US,refresh}
|
|
||||||
docinto themes
|
|
||||||
dodoc doc/themes/{README,*.theme}
|
|
||||||
docinto ext
|
|
||||||
dodoc ext/{README,csv.py,debug.py,on-modify.timewarrior,totals.py}
|
|
||||||
|
|
||||||
}
|
|
||||||
7
app-misc/tmux/Manifest
Normal file
7
app-misc/tmux/Manifest
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
AUX tmux-2.4-flags.patch 456 BLAKE2B df85b32486894e8e3c5531937461ad46ca5effc5dd4d31b4f7a3f9bcf8d3dfa38fc186a603a90fe734b25781b9d517115c2b089648c29e4605fa9610f6dc311a SHA512 505d5ec4fa1d7844870c67aedccac3a147db1971464fc21d19319bb343fb6fd73b696e85298f8592e46900774b35b250cc53841b05514333c44c3e973bcdb860
|
||||||
|
AUX tmux-3.5-fix-xterm-sym.patch 1263 BLAKE2B ec47a799cd7301cb53eb24d3435a3772017af05b92c414874c3cb413cb913d18a3dabe773ca28474488ef1921011de2010df483e833fec52d411d2f88e9ae07b SHA512 50bea66e52fa86021e2d56c7bcb702d8361f34832dbcb20efda99de037d438ca6a3d114b5c19f8bcf1b8aaf66289871bb4cf7d4d44da6985c7c907fa322f4471
|
||||||
|
AUX tmux.service 124 BLAKE2B a4eecfeb4baa24433408c9dfb4848d420da4d54a2c62f6a4e05b0538e7b4c75bcec113d6ca86fea5085264903122e92e9adf7572e94ffafa3fe7f2038148b717 SHA512 73d3daf5362222da3e91641cc776c66fdaea50048000827a5eaa8693c769da73a320c19488aec6fd7660095eb6c44ef02f3473b2443909d55451442dfea70d28
|
||||||
|
AUX tmux.socket 132 BLAKE2B 9aa90b43f2eaedfce327287cc8eee4808c7870364668c54d0ffd4b5064d45a4c986702fdf64dde5fe24496635e700e1385a92a02060cb07819b48ab9d381b65b SHA512 fd2a8feb7474702515e9186a801fa5601feca5aedd39138d0f0623911b93255bc7cf4aa0ee066ba2c059601a21f2eb29794fe041d5a8cff91c63584e579aaff9
|
||||||
|
DIST tmux-3.4.tar.gz 707213 BLAKE2B 2b1990b95d7439702e9287402d9828d4ecab573202c099aa482969c047b540d4b899f79d87587fc712e727d9cebf5fa7393512087e469fc355b4a30b1894e229 SHA512 bd3880211d99d8ee15947000abf8a1832fdfa48b29b2df81b66d5969cf3f4e64e746f984f6139bfc57e3ebee7fe8dc7cbb6bccb779307607de6c376969fecbff
|
||||||
|
EBUILD tmux-3.4-r101.ebuild 2216 BLAKE2B 78e3d6cf46a6626940ca87188119c5852f0c3a28519be278dc076c424455fcd55df8e253f1727d9dbe71214a7d7684913c8933c3a978f9815d4123a33a5630fa SHA512 88f8e253a1a5bff023fa4529fc8d688319cd43857fdabc0b5fcb89174bb6c5526704b0c0cee45a50f923ba33f0e6993847344d77366068368ca87c3f734600f0
|
||||||
|
MISC metadata.xml 768 BLAKE2B c443cc60d807e1ffbfaa0499585f050566543a7337d4fa61569e03a6405077ebee7d81487530e75ccb3923aa5a1428e54c55b3cf7480a0aa786ad089c5e8a18b SHA512 cc26ffb4a98b8d207a3fc0aeaafe56b335bdf5d8b33b79a4b405e0c9220fe56d36b1d8a0203d611081c42ab81ecc476ded90ae98cc0fd4fe4bf6e47d312ee2ec
|
||||||
15
app-misc/tmux/files/tmux-2.4-flags.patch
Normal file
15
app-misc/tmux/files/tmux-2.4-flags.patch
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
Makefile.am | 3 +--
|
||||||
|
1 file changed, 1 insertion(+), 2 deletions(-)
|
||||||
|
--- tmux-2.4/Makefile.am
|
||||||
|
+++ tmux-2.4/Makefile.am
|
||||||
|
@@ -17,9 +17,8 @@
|
||||||
|
|
||||||
|
# Set flags for gcc.
|
||||||
|
if IS_GCC
|
||||||
|
-AM_CFLAGS += -std=gnu99 -O2
|
||||||
|
+AM_CFLAGS += -std=gnu99
|
||||||
|
if IS_DEBUG
|
||||||
|
-AM_CFLAGS += -g
|
||||||
|
AM_CFLAGS += -Wno-long-long -Wall -W -Wformat=2
|
||||||
|
AM_CFLAGS += -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
|
||||||
|
AM_CFLAGS += -Wwrite-strings -Wshadow -Wpointer-arith -Wsign-compare
|
||||||
38
app-misc/tmux/files/tmux-3.5-fix-xterm-sym.patch
Normal file
38
app-misc/tmux/files/tmux-3.5-fix-xterm-sym.patch
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
https://github.com/tmux/tmux/commit/934035db7197d4510b330df8d8963f78e9c8756d
|
||||||
|
|
||||||
|
From: nicm <nicm>
|
||||||
|
Date: Mon, 14 Oct 2024 20:26:45 +0000
|
||||||
|
Subject: [PATCH] Set ACS flag for REP. Reported by Romain Francoise, GitHub
|
||||||
|
issue 4182.
|
||||||
|
|
||||||
|
--- a/input.c
|
||||||
|
+++ b/input.c
|
||||||
|
@@ -1145,7 +1145,6 @@ input_print(struct input_ctx *ictx)
|
||||||
|
ictx->cell.cell.attr |= GRID_ATTR_CHARSET;
|
||||||
|
else
|
||||||
|
ictx->cell.cell.attr &= ~GRID_ATTR_CHARSET;
|
||||||
|
-
|
||||||
|
utf8_set(&ictx->cell.cell.data, ictx->ch);
|
||||||
|
screen_write_collect_add(sctx, &ictx->cell.cell);
|
||||||
|
|
||||||
|
@@ -1349,7 +1348,7 @@ input_csi_dispatch(struct input_ctx *ictx)
|
||||||
|
struct screen_write_ctx *sctx = &ictx->ctx;
|
||||||
|
struct screen *s = sctx->s;
|
||||||
|
struct input_table_entry *entry;
|
||||||
|
- int i, n, m, ek;
|
||||||
|
+ int i, n, m, ek, set;
|
||||||
|
u_int cx, bg = ictx->cell.cell.bg;
|
||||||
|
|
||||||
|
if (ictx->flags & INPUT_DISCARD)
|
||||||
|
@@ -1592,6 +1591,11 @@ input_csi_dispatch(struct input_ctx *ictx)
|
||||||
|
if (~ictx->flags & INPUT_LAST)
|
||||||
|
break;
|
||||||
|
|
||||||
|
+ set = ictx->cell.set == 0 ? ictx->cell.g0set : ictx->cell.g1set;
|
||||||
|
+ if (set == 1)
|
||||||
|
+ ictx->cell.cell.attr |= GRID_ATTR_CHARSET;
|
||||||
|
+ else
|
||||||
|
+ ictx->cell.cell.attr &= ~GRID_ATTR_CHARSET;
|
||||||
|
utf8_copy(&ictx->cell.cell.data, &ictx->last);
|
||||||
|
for (i = 0; i < n; i++)
|
||||||
|
screen_write_collect_add(sctx, &ictx->cell.cell);
|
||||||
9
app-misc/tmux/files/tmux.service
Normal file
9
app-misc/tmux/files/tmux.service
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
[Unit]
|
||||||
|
Requires=tmux@%i.socket
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=/usr/bin/tmux -D
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
Also=tmux@%i.socket
|
||||||
|
DefaultInstance=default
|
||||||
8
app-misc/tmux/files/tmux.socket
Normal file
8
app-misc/tmux/files/tmux.socket
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
[Socket]
|
||||||
|
ListenStream=/tmp/tmux-%U/%i
|
||||||
|
DirectoryMode=0700
|
||||||
|
SocketMode=0660
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=sockets.target
|
||||||
|
DefaultInstance=default
|
||||||
21
app-misc/tmux/metadata.xml
Normal file
21
app-misc/tmux/metadata.xml
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="project">
|
||||||
|
<email>shell-tools@gentoo.org</email>
|
||||||
|
<name>Gentoo Shell Tools Project</name>
|
||||||
|
</maintainer>
|
||||||
|
<use>
|
||||||
|
<flag name="utempter">Include libutempter support</flag>
|
||||||
|
<flag name="sixel">Include SIXEL graphics support</flag>
|
||||||
|
</use>
|
||||||
|
<longdescription>
|
||||||
|
tmux is a "terminal multiplexer", it enables a number of terminals
|
||||||
|
(or windows) to be accessed and controlled from a single terminal.
|
||||||
|
tmux is intended to be a simple, modern, BSD-licensed alternative to
|
||||||
|
programs such as <pkg>app-misc/screen</pkg>.
|
||||||
|
</longdescription>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="github">tmux/tmux</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
||||||
96
app-misc/tmux/tmux-3.4-r101.ebuild
Normal file
96
app-misc/tmux/tmux-3.4-r101.ebuild
Normal file
@@ -0,0 +1,96 @@
|
|||||||
|
# Copyright 1999-2024 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit autotools flag-o-matic systemd
|
||||||
|
|
||||||
|
DESCRIPTION="Terminal multiplexer"
|
||||||
|
HOMEPAGE="https://tmux.github.io/"
|
||||||
|
if [[ ${PV} == 9999 ]] ; then
|
||||||
|
inherit git-r3
|
||||||
|
SRC_URI="https://raw.githubusercontent.com/przepompownia/tmux-bash-completion/678a27616b70c649c6701cae9cd8c92b58cc051b/completions/tmux -> tmux-bash-completion-678a27616b70c649c6701cae9cd8c92b58cc051b"
|
||||||
|
EGIT_REPO_URI="https://github.com/tmux/tmux.git"
|
||||||
|
else
|
||||||
|
SRC_URI="https://github.com/tmux/tmux/releases/download/${PV}/${P/_/-}.tar.gz"
|
||||||
|
if [[ ${PV} != *_rc* ]] ; then
|
||||||
|
KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
|
||||||
|
fi
|
||||||
|
S="${WORKDIR}/${P/_/-}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="ISC"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="debug selinux systemd utempter vim-syntax +sixel"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
dev-libs/libevent:=
|
||||||
|
sys-libs/ncurses:=
|
||||||
|
systemd? ( sys-apps/systemd:= )
|
||||||
|
utempter? ( sys-libs/libutempter )
|
||||||
|
kernel_Darwin? ( dev-libs/libutf8proc:= )
|
||||||
|
"
|
||||||
|
|
||||||
|
BDEPEND="
|
||||||
|
virtual/pkgconfig
|
||||||
|
app-alternatives/yacc
|
||||||
|
"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
${DEPEND}
|
||||||
|
selinux? ( sec-policy/selinux-screen )
|
||||||
|
vim-syntax? ( app-vim/vim-tmux )
|
||||||
|
"
|
||||||
|
|
||||||
|
QA_CONFIG_IMPL_DECL_SKIP=(
|
||||||
|
# BSD only functions
|
||||||
|
strtonum recallocarray
|
||||||
|
# missing on musl, tmux has fallback impl which it uses
|
||||||
|
b64_ntop
|
||||||
|
)
|
||||||
|
|
||||||
|
DOCS=( CHANGES README )
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/${PN}-2.4-flags.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
# bug 438558
|
||||||
|
# 1.7 segfaults when entering copy mode if compiled with -Os
|
||||||
|
replace-flags -Os -O2
|
||||||
|
|
||||||
|
local myeconfargs=(
|
||||||
|
--sysconfdir="${EPREFIX}"/etc
|
||||||
|
$(use_enable debug)
|
||||||
|
$(use_enable systemd)
|
||||||
|
$(use_enable utempter)
|
||||||
|
$(use_enable sixel)
|
||||||
|
|
||||||
|
# For now, we only expose this for macOS, because
|
||||||
|
# upstream strongly encourage it. I'm not sure it's
|
||||||
|
# needed on Linux right now.
|
||||||
|
$(use_enable kernel_Darwin utf8proc)
|
||||||
|
)
|
||||||
|
|
||||||
|
econf "${myeconfargs[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
|
||||||
|
einstalldocs
|
||||||
|
|
||||||
|
dodoc example_tmux.conf
|
||||||
|
docompress -x /usr/share/doc/${PF}/example_tmux.conf
|
||||||
|
|
||||||
|
if use systemd; then
|
||||||
|
systemd_newuserunit "${FILESDIR}"/tmux.service tmux@.service
|
||||||
|
systemd_newuserunit "${FILESDIR}"/tmux.socket tmux@.socket
|
||||||
|
fi
|
||||||
|
}
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
AUX calibre-2.9.0-no_updates_dialog.patch 1661 BLAKE2B c75fc49a621e8dbd16ee1bad748110399cf09a404b4a905d3f723bac1827787e4749f464ba026700b6e5b3cc0ee646a92de00f1f58d10cf12dc9bc91195ee8b6 SHA512 9663b95ed64bdc2bc40692922384d1c6073177eee58a49c412883c4d2ae098e4e0b4ea51b80443108b7c0c3e4f3fda60c00fc3be4d0b62a5d79d982697927235
|
|
||||||
AUX calibre-5.16.1-zeroconf.patch 1457 BLAKE2B 104ba007fbb051cf07bf55fcc30f58469e989dc842a4a046c8e212a2f971b27c497346466a15b380080fd54cc8c561bdbad5bbaa5b1917d7f8a748bb289d1b2d SHA512 e15a2659f1663e77a80b9148180b0636228d483cef7395aa0e7a45eb41e57b541bc91c1a87ed1439e3a3e43a167882af5ce6d493e4723220c8665c1d1341e302
|
|
||||||
AUX calibre-disable_plugins.patch 1042 BLAKE2B 92a56016c2c54f1b156bc91031420594445545b98b701f7cce99cf4bb86847eebad1ccebdc20a0d1b67f9fa88a9250fc4926d7c04cb36405323388b3171cf502 SHA512 c152ddd92728a89db10c75a4d00a968bf119bef68da8b9116c76827e3cdc8f8a7e5c45fbb973f6ca8db1f79e461518351ce2d47e5e059c282f36d2df499d1629
|
|
||||||
AUX calibre-server-3.conf 541 BLAKE2B 06593633721e6adf2cf2077dffa83953eea46ccdcdc857ad468a9b74788326e9424f6ab9058be344dbbac8e49d343f5a1e53ddb486f2018b77319a7f8f713cf4 SHA512 12ef793a5b6ffd4413f780a13cad63927a95f15d17d85d4229eb5005ead68e51779abb822f9898ab5ae8c2094affeec1f9e85c34f109499739e6726b7641542a
|
|
||||||
AUX calibre-server-3.init 1796 BLAKE2B f87d785d6f6fc10fa648d40944ec8538027854bb872d9a3be6b5b35b0abf3cda1e4e93874a9422914da5eb4287f193459733956e3f1e25e61bec0c214c552c99 SHA512 88110ded1b9c6cf8d3bfc3d5889654f77578f9d299e88daea9023767b930082e00fbddbb92a6e43c46d900248f3684232d93396ec1d0e784c7ec14b44783f98a
|
|
||||||
DIST calibre-5.16.0-SIP-v4.patch.xz 6768 BLAKE2B b939233266c7cab0fa71ccdeb748bbcffbf16248081ccf0ab313420fe3898954da71e0796b3d6c44e93c636113221f95fa6affc6be97bf41f4086a909b2849f9 SHA512 eb19e6bb328f60eb4af2c38d54c3d2a09989d41d71d27de10ab5ae443af902c3c12fc70042d4735dd785573cb63bb7d7a10ae5f7ed72afc1e1a9c6aacaf64aec
|
|
||||||
DIST calibre-5.16.1.tar.xz 36757204 BLAKE2B 71114eed723180142f5428a680d8c5ceabcd007acbc6a70a9298e45a9f21fc793f0ef86bf60b36c96bbd15e9e3f8d8638d179872fb6ff1f9b9f5e31a93e65ba1 SHA512 41cf29cc32c7af08215baf80609f8f099d44f2b82d34181451cbf3ed1648e07d64712dba9ff0ddec5bad3d342c7d8bde40bb822f6bd5fb93a4b29d25cf188aae
|
|
||||||
EBUILD calibre-5.16.1-r100.ebuild 8637 BLAKE2B 0f3a2176fe0cbb96fa4ebdea6382684fc0e9b63423eeb34adc164c9908f65d76eac0c93f1cdce0e50cfa4026299e98c9951732797b2e1a28f857e17ed6fae326 SHA512 da22edc92b8e4abc5657a3fc75d34c46fbb00a6c95cd5a6ed92bf4cdad4527f037e3b6e3fbbd1a425ebbbe7eb3e29f211f2971f0775c8d893119eed307a3384a
|
|
||||||
MISC metadata.xml 303 BLAKE2B f50da5b3e8c1e9b4553180ccce38939e7c8e11e5a0527f94c3df7ac4d93a37d5e838c633e58b3fe960dc60ce52c6c6ec6901eedbcd99039c0cc1ccf6dc8a0a44 SHA512 38da4e43d91a3a1d1adf6daf32e4ec69696ab7df6179788fbda75a40219acf01cedbff28943c0b169b2de9f490f3a324285294a9b2783c90757c8cd23aa9e847
|
|
||||||
@@ -1,268 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{8..9} )
|
|
||||||
PYTHON_REQ_USE="ipv6,sqlite,ssl"
|
|
||||||
|
|
||||||
inherit bash-completion-r1 desktop toolchain-funcs python-single-r1 xdg-utils
|
|
||||||
|
|
||||||
DESCRIPTION="Ebook management application"
|
|
||||||
HOMEPAGE="https://calibre-ebook.com/"
|
|
||||||
SRC_URI="https://download.calibre-ebook.com/${PV}/${P}.tar.xz
|
|
||||||
https://dev.gentoo.org/~zmedico/dist/calibre-5.16.0-SIP-v4.patch.xz"
|
|
||||||
|
|
||||||
LICENSE="
|
|
||||||
GPL-3+
|
|
||||||
GPL-3
|
|
||||||
GPL-2+
|
|
||||||
GPL-2
|
|
||||||
GPL-1+
|
|
||||||
LGPL-3+
|
|
||||||
LGPL-2.1+
|
|
||||||
LGPL-2.1
|
|
||||||
BSD
|
|
||||||
MIT
|
|
||||||
Old-MIT
|
|
||||||
Apache-2.0
|
|
||||||
public-domain
|
|
||||||
|| ( Artistic GPL-1+ )
|
|
||||||
CC-BY-3.0
|
|
||||||
OFL-1.1
|
|
||||||
PSF-2
|
|
||||||
"
|
|
||||||
KEYWORDS="amd64 ~arm x86"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="ios +udisks"
|
|
||||||
|
|
||||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
||||||
|
|
||||||
COMMON_DEPEND="${PYTHON_DEPS}
|
|
||||||
>=app-text/hunspell-1.7:=
|
|
||||||
>=app-text/podofo-0.9.6_pre20171027:=
|
|
||||||
>=app-text/poppler-0.26.5[qt5]
|
|
||||||
dev-libs/glib:2=
|
|
||||||
dev-libs/hyphen:=
|
|
||||||
>=dev-libs/icu-57.1:=
|
|
||||||
dev-libs/libinput:=
|
|
||||||
>=dev-libs/dbus-glib-0.106
|
|
||||||
>=sys-apps/dbus-1.10.8
|
|
||||||
$(python_gen_cond_dep '
|
|
||||||
>=dev-python/apsw-3.25.2_p1[${PYTHON_USEDEP}]
|
|
||||||
dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/chardet-3.0.3[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/cssselect-0.7.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/css-parser-1.0.4[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/dbus-python-1.2.4[${PYTHON_USEDEP}]
|
|
||||||
dev-python/dnspython[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/feedparser-5.2.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/html2text-2019.8.11[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/html5-parser-0.4.9[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/lxml-3.8.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/markdown-3.0.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/mechanize-0.3.5[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/msgpack-0.6.2[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/netifaces-0.10.5[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pillow-3.2.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/psutil-4.3.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pychm-0.8.6[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pygments-2.3.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/python-dateutil-2.5.3[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/PyQt5-5.12[gui,svg,widgets,network,printsupport,${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/PyQtWebEngine-5.12[${PYTHON_USEDEP}]
|
|
||||||
dev-python/regex[${PYTHON_USEDEP}]
|
|
||||||
dev-python/zeroconf[${PYTHON_USEDEP}]
|
|
||||||
')
|
|
||||||
dev-qt/qtcore:5=
|
|
||||||
dev-qt/qtdbus:5=
|
|
||||||
dev-qt/qtgui:5=[jpeg]
|
|
||||||
>=dev-qt/qtwebengine-5.12
|
|
||||||
dev-qt/qtwidgets:5=
|
|
||||||
dev-util/desktop-file-utils
|
|
||||||
dev-util/gtk-update-icon-cache
|
|
||||||
media-fonts/liberation-fonts
|
|
||||||
media-libs/fontconfig:=
|
|
||||||
>=media-libs/freetype-2:=
|
|
||||||
>=media-libs/libmtp-1.1.11:=
|
|
||||||
>=media-libs/libwmf-0.2.8
|
|
||||||
>=media-gfx/optipng-0.7.6
|
|
||||||
>=sys-libs/zlib-1.2.11:=
|
|
||||||
virtual/libusb:1=
|
|
||||||
x11-libs/libxkbcommon:=
|
|
||||||
x11-libs/libX11:=
|
|
||||||
x11-libs/libXext:=
|
|
||||||
x11-libs/libXrender:=
|
|
||||||
x11-misc/shared-mime-info
|
|
||||||
>=x11-misc/xdg-utils-1.0.2-r2
|
|
||||||
ios? (
|
|
||||||
>=app-pda/usbmuxd-1.0.8
|
|
||||||
>=app-pda/libimobiledevice-1.2.0
|
|
||||||
)
|
|
||||||
udisks? ( virtual/libudev )"
|
|
||||||
RDEPEND="${COMMON_DEPEND}
|
|
||||||
udisks? ( sys-fs/udisks:2 )"
|
|
||||||
DEPEND="${COMMON_DEPEND}
|
|
||||||
$(python_gen_cond_dep '
|
|
||||||
>=dev-python/setuptools-23.1.0[${PYTHON_USEDEP}]
|
|
||||||
<dev-python/sip-5[${PYTHON_USEDEP}]
|
|
||||||
')
|
|
||||||
>=virtual/podofo-build-0.9.6_pre20171027
|
|
||||||
virtual/pkgconfig"
|
|
||||||
|
|
||||||
pkg_pretend() {
|
|
||||||
if [[ ${MERGE_TYPE} != binary ]] && tc-is-gcc && [[ $(gcc-major-version) -lt 6 ]]; then
|
|
||||||
eerror "Calibre cannot be built with this version of gcc."
|
|
||||||
eerror "You need at least gcc-6.0"
|
|
||||||
die "Your C compiler is too old for this package."
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
# no_updates: do not annoy user with "new version is availible all the time
|
|
||||||
# disable_plugins: walking sec-hole, wait for upstream to use GHNS interface
|
|
||||||
eapply \
|
|
||||||
"${FILESDIR}/${PN}-2.9.0-no_updates_dialog.patch" \
|
|
||||||
"${FILESDIR}/${PN}-disable_plugins.patch"
|
|
||||||
|
|
||||||
eapply "${FILESDIR}/${P}-zeroconf.patch"
|
|
||||||
|
|
||||||
if ! has_version ">=dev-python/sip-5"; then
|
|
||||||
einfo "Applying SIP v4 patch because SIP v5 was not detected"
|
|
||||||
eapply "${WORKDIR}/${PN}-5.16.0-SIP-v4.patch"
|
|
||||||
fi
|
|
||||||
|
|
||||||
eapply_user
|
|
||||||
|
|
||||||
# Fix outdated version constant.
|
|
||||||
#sed -e "s#\\(^numeric_version =\\).*#\\1 (${PV//./, })#" \
|
|
||||||
# -i src/calibre/constants.py || \
|
|
||||||
# die "sed failed to patch constants.py"
|
|
||||||
|
|
||||||
# Avoid sandbox violation in /usr/share/gnome/apps when linux.py
|
|
||||||
# calls xdg-* (bug #258938).
|
|
||||||
sed -e "s|'xdg-desktop-menu', 'install'|\\0, '--mode', 'user'|" \
|
|
||||||
-e "s|check_call(\\['xdg-desktop-menu', 'forceupdate'\\])|#\\0|" \
|
|
||||||
-e "s|\\(CurrentDir(tdir)\\), \\\\\$|\\1:|" \
|
|
||||||
-e "s|, PreserveMIMEDefaults():|:|" \
|
|
||||||
-e "s|'xdg-icon-resource', 'install'|\\0, '--mode', 'user'|" \
|
|
||||||
-e "s|cmd\[2\]|cmd[4]|" \
|
|
||||||
-e "s|cc(\\['xdg-desktop-menu', 'forceupdate'\\])|#\\0|" \
|
|
||||||
-e "s|'xdg-mime', 'install'|\\0, '--mode', 'user'|" \
|
|
||||||
-i src/calibre/linux.py || die "sed failed to patch linux.py"
|
|
||||||
|
|
||||||
# Disable unnecessary privilege dropping for bug #287067.
|
|
||||||
sed -e "s:if os.geteuid() == 0:if False and os.geteuid() == 0:" \
|
|
||||||
-i setup/install.py || die "sed failed to patch install.py"
|
|
||||||
|
|
||||||
sed -e "/^ self.check_call(\\[QMAKE\\] + qmc + \\[proname\\])$/a\
|
|
||||||
\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ self.check_call(['sed', \
|
|
||||||
'-e', 's|^CFLAGS .*|\\\\\\\\0 ${CFLAGS}|', \
|
|
||||||
'-e', 's|^CXXFLAGS .*|\\\\\\\\0 ${CXXFLAGS}|', \
|
|
||||||
'-e', 's|^LFLAGS .*|\\\\\\\\0 ${LDFLAGS}|', \
|
|
||||||
'-i', 'Makefile'])" \
|
|
||||||
-e "s|open(self.j(bdir, '.qmake.conf'), 'wb').close()|open(self.j(bdir, '.qmake.conf'), 'wb').write(b'QMAKE_LFLAGS += ${LDFLAGS}')|" \
|
|
||||||
-i setup/build.py || die "sed failed to patch build.py"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
# calibre works with python 3, so remove the python 2 constraint
|
|
||||||
export CALIBRE_PY3_PORT=1
|
|
||||||
|
|
||||||
# Bypass kbuildsycoca and update-mime-database in order to
|
|
||||||
# avoid sandbox violations if xdg-mime tries to call them.
|
|
||||||
mkdir "${T}/bin" || die
|
|
||||||
cat - > "${T}/bin/kbuildsycoca" <<-EOF
|
|
||||||
#!${BASH}
|
|
||||||
echo $0 : $@
|
|
||||||
exit 0
|
|
||||||
EOF
|
|
||||||
|
|
||||||
cp "${T}"/bin/{kbuildsycoca,update-mime-database} || die
|
|
||||||
chmod +x "${T}"/bin/{kbuildsycoca,update-mime-database} || die
|
|
||||||
|
|
||||||
export QMAKE="${EPREFIX}/usr/$(get_libdir)/qt5/bin/qmake"
|
|
||||||
|
|
||||||
# Unset DISPLAY in order to prevent xdg-mime from triggering a sandbox
|
|
||||||
# violation with kbuildsycoca as in bug #287067, comment #13.
|
|
||||||
export -n DISPLAY
|
|
||||||
|
|
||||||
# Bug #352625 - Some LANGUAGE values can trigger the following ValueError:
|
|
||||||
# File "/usr/lib/python2.6/locale.py", line 486, in getdefaultlocale
|
|
||||||
# return _parse_localename(localename)
|
|
||||||
# File "/usr/lib/python2.6/locale.py", line 418, in _parse_localename
|
|
||||||
# raise ValueError, 'unknown locale: %s' % localename
|
|
||||||
#ValueError: unknown locale: 46
|
|
||||||
export -n LANG LANGUAGE ${!LC_*}
|
|
||||||
export LC_ALL=C.utf8 #709682
|
|
||||||
|
|
||||||
# Bug #295672 - Avoid sandbox violation in ~/.config by forcing
|
|
||||||
# variables to point to our fake temporary $HOME.
|
|
||||||
export HOME="${T}/fake_homedir"
|
|
||||||
export XDG_CONFIG_HOME="${HOME}/.config"
|
|
||||||
export XDG_DATA_HOME="${HOME}/.local/share"
|
|
||||||
export CALIBRE_CONFIG_DIRECTORY="${XDG_CONFIG_HOME}/calibre"
|
|
||||||
mkdir -p "${XDG_DATA_HOME}" "${CALIBRE_CONFIG_DIRECTORY}" || die
|
|
||||||
|
|
||||||
tc-export CC CXX
|
|
||||||
# Bug #334243 - respect LDFLAGS when building extensions
|
|
||||||
export OVERRIDE_CFLAGS="$CFLAGS" OVERRIDE_LDFLAGS="$LDFLAGS"
|
|
||||||
local libdir=$(get_libdir)
|
|
||||||
[[ -n $libdir ]] || die "get_libdir returned an empty string"
|
|
||||||
|
|
||||||
addpredict /dev/dri #665310
|
|
||||||
|
|
||||||
PATH=${T}/bin:${PATH} PYTHONPATH=${S}/src${PYTHONPATH:+:}${PYTHONPATH} \
|
|
||||||
"${PYTHON}" setup.py install \
|
|
||||||
--root="${D}" \
|
|
||||||
--prefix="${EPREFIX}/usr" \
|
|
||||||
--libdir="${EPREFIX}/usr/${libdir}" \
|
|
||||||
--staging-root="${ED}/usr" \
|
|
||||||
--staging-libdir="${ED}/usr/${libdir}" || die
|
|
||||||
|
|
||||||
find "${ED}"/usr/share -type d -empty -delete
|
|
||||||
|
|
||||||
cd "${ED}"/usr/share/calibre/fonts/liberation || die
|
|
||||||
local x
|
|
||||||
for x in * ; do
|
|
||||||
[[ -f ${EPREFIX}/usr/share/fonts/liberation-fonts/${x} ]] || continue
|
|
||||||
ln -sf "../../../fonts/liberation-fonts/${x}" "${x}" || die
|
|
||||||
done
|
|
||||||
|
|
||||||
einfo "Converting python shebangs"
|
|
||||||
python_fix_shebang --force "${ED}"
|
|
||||||
|
|
||||||
einfo "Compiling python modules"
|
|
||||||
python_optimize "${ED}"/usr/$(get_libdir)/calibre "${D}/$(python_get_sitedir)"
|
|
||||||
|
|
||||||
newinitd "${FILESDIR}"/calibre-server-3.init calibre-server
|
|
||||||
newconfd "${FILESDIR}"/calibre-server-3.conf calibre-server
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_preinst() {
|
|
||||||
# Indentify stray directories from upstream's "Binary install"
|
|
||||||
# method (see bug 622728).
|
|
||||||
CALIBRE_LIB_DIR=/usr/$(get_libdir)/calibre
|
|
||||||
CALIBRE_LIB_CONTENT=$(for x in "${ED}${CALIBRE_LIB_DIR}"/*; do
|
|
||||||
printf -- "${x##*/} "; done) || die "Failed to list ${ED}${CALIBRE_LIB_DIR}"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
[[ -n ${CALIBRE_LIB_DIR} ]] || die "CALIBRE_LIB_DIR is unset"
|
|
||||||
local x
|
|
||||||
for x in "${EROOT}${CALIBRE_LIB_DIR}"/*; do
|
|
||||||
if [[ " ${CALIBRE_LIB_CONTENT} " != *" ${x##*/} "* ]]; then
|
|
||||||
elog "Purging '${x}'"
|
|
||||||
rm -rf "${x}"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
xdg_desktop_database_update
|
|
||||||
xdg_mimeinfo_database_update
|
|
||||||
xdg_icon_cache_update
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
xdg_desktop_database_update
|
|
||||||
xdg_mimeinfo_database_update
|
|
||||||
xdg_icon_cache_update
|
|
||||||
}
|
|
||||||
@@ -1,27 +0,0 @@
|
|||||||
diff -burN calibre-2.9.0.orig/src/calibre/gui2/main.py calibre-2.9.0/src/calibre/gui2/main.py
|
|
||||||
--- calibre-2.9.0.orig/src/calibre/gui2/main.py 2014-11-09 20:09:54.081231882 +0800
|
|
||||||
+++ calibre-2.9.0/src/calibre/gui2/main.py 2014-11-09 20:15:48.193033844 +0800
|
|
||||||
@@ -37,8 +37,9 @@
|
|
||||||
help=_('Start minimized to system tray.'))
|
|
||||||
parser.add_option('-v', '--verbose', default=0, action='count',
|
|
||||||
help=_('Ignored, do not use. Present only for legacy reasons'))
|
|
||||||
- parser.add_option('--no-update-check', default=False, action='store_true',
|
|
||||||
- help=_('Do not check for updates'))
|
|
||||||
+ parser.add_option('--update-check', dest='no_update_check', default=True,
|
|
||||||
+ action='store_false',
|
|
||||||
+ help=_('Check for updates'))
|
|
||||||
parser.add_option('--ignore-plugins', default=False, action='store_true',
|
|
||||||
help=_('Ignore custom plugins, useful if you installed a plugin'
|
|
||||||
' that is preventing calibre from starting'))
|
|
||||||
diff -burN calibre-2.9.0.orig/src/calibre/gui2/update.py calibre-2.9.0/src/calibre/gui2/update.py
|
|
||||||
--- calibre-2.9.0.orig/src/calibre/gui2/update.py 2014-11-09 20:09:54.082231864 +0800
|
|
||||||
+++ calibre-2.9.0/src/calibre/gui2/update.py 2014-11-09 20:17:49.954767115 +0800
|
|
||||||
@@ -154,6 +154,8 @@
|
|
||||||
self.update_checker.signal.update_found.connect(self.update_found,
|
|
||||||
type=Qt.QueuedConnection)
|
|
||||||
self.update_checker.start()
|
|
||||||
+ else:
|
|
||||||
+ self.update_checker = None
|
|
||||||
|
|
||||||
def recalc_update_label(self, number_of_plugin_updates):
|
|
||||||
self.update_found(self.last_newest_calibre_version, number_of_plugin_updates)
|
|
||||||
@@ -1,30 +0,0 @@
|
|||||||
diff --color -Naru a/src/calibre/devices/smart_device_app/driver.py b/src/calibre/devices/smart_device_app/driver.py
|
|
||||||
--- a/src/calibre/devices/smart_device_app/driver.py 2021-08-08 08:32:03.104016444 +0200
|
|
||||||
+++ b/src/calibre/devices/smart_device_app/driver.py 2021-08-08 08:33:30.699018403 +0200
|
|
||||||
@@ -2040,13 +2040,6 @@
|
|
||||||
# Function to monkeypatch zeroconf to remove the 15 character name length restriction.
|
|
||||||
# Copied from https://github.com/jstasiak/python-zeroconf version 0.28.1
|
|
||||||
|
|
||||||
-
|
|
||||||
-from zeroconf import (BadTypeInNameException, _HAS_A_TO_Z,
|
|
||||||
- _HAS_ONLY_A_TO_Z_NUM_HYPHEN_UNDERSCORE,
|
|
||||||
- _HAS_ASCII_CONTROL_CHARS,
|
|
||||||
- _HAS_ONLY_A_TO_Z_NUM_HYPHEN)
|
|
||||||
-
|
|
||||||
-
|
|
||||||
def service_type_name(type_: str, *, allow_underscores: bool = False) -> str:
|
|
||||||
"""
|
|
||||||
Validate a fully qualified service name, instance or subtype. [rfc6763]
|
|
||||||
@@ -2087,6 +2080,12 @@
|
|
||||||
:param type_: Type, SubType or service name to validate
|
|
||||||
:return: fully qualified service name (eg: _http._tcp.local.)
|
|
||||||
"""
|
|
||||||
+
|
|
||||||
+ from zeroconf import (BadTypeInNameException, _HAS_A_TO_Z,
|
|
||||||
+ _HAS_ONLY_A_TO_Z_NUM_HYPHEN_UNDERSCORE,
|
|
||||||
+ _HAS_ASCII_CONTROL_CHARS,
|
|
||||||
+ _HAS_ONLY_A_TO_Z_NUM_HYPHEN)
|
|
||||||
+
|
|
||||||
if not (type_.endswith('._tcp.local.') or type_.endswith('._udp.local.')):
|
|
||||||
raise BadTypeInNameException("Type '%s' must end with '._tcp.local.' or '._udp.local.'" % type_)
|
|
||||||
|
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
Description: Disable plugin dialog. It uses a totally non-authenticated and non-trusted way of installing arbitrary code.
|
|
||||||
Author: Martin Pitt <mpitt@debian.org>
|
|
||||||
Bug-Debian: http://bugs.debian.org/640026
|
|
||||||
|
|
||||||
Index: calibre-0.8.29+dfsg/src/calibre/gui2/actions/preferences.py
|
|
||||||
===================================================================
|
|
||||||
--- calibre-0.8.29+dfsg.orig/src/calibre/gui2/actions/preferences.py 2011-12-16 05:49:14.000000000 +0100
|
|
||||||
+++ calibre-0.8.29+dfsg/src/calibre/gui2/actions/preferences.py 2011-12-20 19:29:04.798468930 +0100
|
|
||||||
@@ -28,8 +28,6 @@
|
|
||||||
pm.addAction(QIcon(I('config.png')), _('Preferences'), self.do_config)
|
|
||||||
cm('welcome wizard', _('Run welcome wizard'),
|
|
||||||
icon='wizard.png', triggered=self.gui.run_wizard)
|
|
||||||
- cm('plugin updater', _('Get plugins to enhance calibre'),
|
|
||||||
- icon='plugins/plugin_updater.png', triggered=self.get_plugins)
|
|
||||||
if not DEBUG:
|
|
||||||
pm.addSeparator()
|
|
||||||
cm('restart', _('Restart in debug mode'), icon='debug.png',
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
# /etc/conf.d/calibre-server
|
|
||||||
# Change this to the user you want to run calibre-server as.
|
|
||||||
# You may specify a group too, after a colon
|
|
||||||
# NOTE: This must be set and not to root!
|
|
||||||
CALIBRE_USER=
|
|
||||||
|
|
||||||
# Set the path of the library to serve.
|
|
||||||
# Defaults to the default location for CALIBRE_USER.
|
|
||||||
#CALIBRE_LIBRARY='<user home directory>/Calibre Library'
|
|
||||||
|
|
||||||
# Extra options to pass to calibre-server.
|
|
||||||
# See the calibre-server man page for more options.
|
|
||||||
#CALIBRE_SERVER_OPTS="--userdb /srv/calibre/users.sqlite --enable-auth --worker-count 10 --port 8080"
|
|
||||||
@@ -1,58 +0,0 @@
|
|||||||
#!/sbin/openrc-run
|
|
||||||
# Copyright 1999-2012 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License, v2 or later
|
|
||||||
|
|
||||||
depend() {
|
|
||||||
need net
|
|
||||||
need localmount
|
|
||||||
after bootmisc
|
|
||||||
}
|
|
||||||
|
|
||||||
checkconfig() {
|
|
||||||
if [ "${CALIBRE_USER}" = "" -o "${CALIBRE_USER}" = "root" ] ; then
|
|
||||||
eerror "Please edit /etc/conf.d/calibre-server"
|
|
||||||
eerror "You have to specify a user to run calibre-server as, as we will not run it as root!"
|
|
||||||
eerror "Modify CALIBRE_USER to your needs (you can also add a group, after a colon)"
|
|
||||||
return 1
|
|
||||||
fi
|
|
||||||
if ! getent passwd "${CALIBRE_USER%:*}" >/dev/null ; then
|
|
||||||
eerror "Please edit /etc/conf.d/calibre-server"
|
|
||||||
eerror "Your user has to exist!"
|
|
||||||
return 1
|
|
||||||
fi
|
|
||||||
if [ "${CALIBRE_USER%:*}" != "${CALIBRE_USER}" ] ; then
|
|
||||||
if ! getent group "${CALIBRE_USER#*:}" >/dev/null ; then
|
|
||||||
eerror "Please edit /etc/conf.d/calibre-server"
|
|
||||||
eerror "Your group has to exist too!"
|
|
||||||
return 1
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
if [ "${CALIBRE_LIBRARY}" = "" ] ; then
|
|
||||||
CALIBRE_USER_HOME=$(getent passwd "${CALIBRE_USER%:*}" | cut -d ':' -f 6)
|
|
||||||
CALIBRE_LIBRARY="${CALIBRE_USER_HOME}/Calibre Library"
|
|
||||||
fi
|
|
||||||
if [ ! -d "${CALIBRE_LIBRARY}" ] ; then
|
|
||||||
eerror "Please edit /etc/conf.d/calibre-server"
|
|
||||||
eerror "The Calibre library, '${CALIBRE_LIBRARY},' does not exist."
|
|
||||||
eerror "Please modify CALIBRE_LIBRARY to point to a valid library."
|
|
||||||
return 1
|
|
||||||
fi
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
start() {
|
|
||||||
checkconfig || return $?
|
|
||||||
local pidfile=/var/run/calibre-server.pid
|
|
||||||
ebegin "Starting calibre-server"
|
|
||||||
start-stop-daemon --user "${CALIBRE_USER}" \
|
|
||||||
--pidfile "${pidfile}" --make-pidfile --background --exec /usr/bin/calibre-server \
|
|
||||||
-- ${CALIBRE_OPTS} "${CALIBRE_LIBRARY}"
|
|
||||||
eend $?
|
|
||||||
}
|
|
||||||
|
|
||||||
stop() {
|
|
||||||
ebegin "Stopping calibre-server"
|
|
||||||
start-stop-daemon --stop --user "${CALIBRE_USER}" \
|
|
||||||
--pidfile /var/run/calibre-server.pid
|
|
||||||
eend $?
|
|
||||||
}
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<maintainer type="person">
|
|
||||||
<email>zmedico@gentoo.org</email>
|
|
||||||
</maintainer>
|
|
||||||
<upstream>
|
|
||||||
<remote-id type="sourceforge">calibre</remote-id>
|
|
||||||
</upstream>
|
|
||||||
</pkgmetadata>
|
|
||||||
@@ -1 +1 @@
|
|||||||
EBUILD git-remote-gcrypt-9999.ebuild 546 SHA256 50bf2d60b4347f5b0194522e7618f3e7aa19e89b1c52fd4a664976f05a9c4693 SHA512 01a900a4c7bb413a19db56cd0af2fd58775998fc2c31c73184336aaba50b7afb405e229bf89ae2524eee4fde57500efbf70a8f8b0ca4cf2121eee63b42d0b164 WHIRLPOOL 4eebbddeb7307c5f547b77404218efadb96277ebd3ad5867c3ad4975da108d984d13c4bf766ac09a9cdfe85098835b8b390d57bb68fd1b219aa1d3e7dc15bfe5
|
EBUILD git-remote-gcrypt-9999.ebuild 546 BLAKE2B e918b16ce379e4072e0b4defa26853646b4b34789396beeb7d9842f12e294222a6324362113efe88c30888873aa50ddadf4b91e8b5448aa88d1849ff3a50a50e SHA512 8730662c9b7644205b854c3f391d018dcc1242d82ad3be1ca09f9eeaceac7ca8ee0e239510effc90e7095ea8970c42eae4c7209ca39c006d2e4d51e27a3fd1f6
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
EAPI=6
|
EAPI=7
|
||||||
|
|
||||||
inherit git-r3
|
inherit git-r3
|
||||||
|
|
||||||
|
|||||||
2
gui-apps/swaync/Manifest
Normal file
2
gui-apps/swaync/Manifest
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
DIST swaync-0.12.3.tar.gz 146516 BLAKE2B cf90caa755e533043320f5a9b37ee1bde806e7ae3f6648c45b347e899d4a93934bfdbcaff5d81ff72329f5c1240466c6ff603aaaaf9282844ca848971df6be78 SHA512 847fa8b46f432d40f4c1c7a8559d5b3f5b431784e3dc7afb90edb57533c6662116af2d78965b2e4b9f635432b108e3a1ad518d739c6fa13ee317b0d80bcbb8cf
|
||||||
|
EBUILD swaync-0.12.3.ebuild 1373 BLAKE2B 61d2806a20ac189c9aa8215f79cda3c89204c5517d2ba0b5270f2f6647a6ba53b6e3d2350ca413ffa05e46c4ca10d41ee981c918901deb1f55dcf45209b190a6 SHA512 fdd2bc40c5badd707fcd473fe62713ed6d7c31d71c699e1d8025101cd8113c73c5d2535fda7c11a8684898dce995cf611a955d33fe4444690a5ba365bda23c03
|
||||||
66
gui-apps/swaync/swaync-0.12.3.ebuild
Normal file
66
gui-apps/swaync/swaync-0.12.3.ebuild
Normal file
@@ -0,0 +1,66 @@
|
|||||||
|
# Copyright 2022-2025 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{12..14} )
|
||||||
|
inherit meson vala gnome2-utils python-any-r1
|
||||||
|
VALA_USE_DEPEND="vapigen"
|
||||||
|
|
||||||
|
MY_PN="SwayNotificationCenter"
|
||||||
|
DESCRIPTION="A simple notification daemon with a GTK gui for notifications and control center"
|
||||||
|
HOMEPAGE="https://github.com/ErikReider/SwayNotificationCenter"
|
||||||
|
SRC_URI="https://github.com/ErikReider/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||||
|
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
IUSE="pulseaudio"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
dev-lang/sassc
|
||||||
|
dev-libs/glib:2
|
||||||
|
dev-libs/gobject-introspection
|
||||||
|
>=dev-libs/granite-7.0.0:=
|
||||||
|
dev-libs/json-glib
|
||||||
|
dev-libs/libgee:0.8=
|
||||||
|
gui-libs/gtk4-layer-shell[introspection,vala]
|
||||||
|
gui-libs/gtk:4[introspection,wayland]
|
||||||
|
gui-libs/libadwaita
|
||||||
|
gui-libs/libhandy:1
|
||||||
|
pulseaudio? ( media-libs/libpulse )
|
||||||
|
sys-apps/dbus
|
||||||
|
x11-libs/gdk-pixbuf:2
|
||||||
|
"
|
||||||
|
RDEPEND="
|
||||||
|
${DEPEND}
|
||||||
|
x11-libs/cairo
|
||||||
|
x11-libs/pango
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
${PYTHON_DEPS}
|
||||||
|
$(vala_depend)
|
||||||
|
app-text/scdoc
|
||||||
|
dev-util/blueprint-compiler
|
||||||
|
"
|
||||||
|
# https://bugs.gentoo.org/961696
|
||||||
|
BDEPEND+=">=dev-build/meson-1.8.2"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local emesonargs=($(meson_use pulseaudio pulse-audio))
|
||||||
|
meson_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
vala_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
gnome2_schemas_update
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
gnome2_schemas_update
|
||||||
|
}
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
DIST glyr-1.0.10.tar.gz 416414 SHA256 77e8da60221c8d27612e4a36482069f26f8ed74a1b2768ebc373c8144ca806e8 SHA512 dc5a579c84c321de7c28861e42196d42ef73bbdbe86b5d662d7ace1d79efe8d6d8d0a8086092ed9c32af9651db8cb11bf1678c5582b17192b23e20a66812bb21 WHIRLPOOL 9f6077d80b6b22a35405a620ad9d34e739549992ad99805600fdb0e85de5d498300a57ebdb0e29d5c5e67670bab67ff6d05551c8d8c016f7b10ceb352450d9fd
|
|
||||||
EBUILD glyr-1.0.10.ebuild 721 SHA256 3714dc080e91c3f84201e230d00ca6b8e2c736314e899329f9eac11ea7965c58 SHA512 f20489097f427ea8368539a0d866b99bba1a95cf4ff377737c516a8c70897172599b87df6fc149249eb8ecbc8674ee156467a000e935cbf7a639399b59def03c WHIRLPOOL 8de54766272004ac8fec023aa475658b1a1739d1bb5eee40b569a74fcd903b885a414145efa9fbbe2be6354debf9f6c1cb838fa9ba4f84b16d23b7a06b77fa99
|
|
||||||
@@ -1,31 +0,0 @@
|
|||||||
# Copyright 1999-2014 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Id$
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
inherit cmake-utils
|
|
||||||
|
|
||||||
DESCRIPTION="A music related metadata searchengine, both with commandline interface and C API"
|
|
||||||
HOMEPAGE="https://github.com/sahib/glyr"
|
|
||||||
SRC_URI="https://github.com/sahib/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-3"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RDEPEND="dev-db/sqlite:3
|
|
||||||
>=dev-libs/glib-2.10:2
|
|
||||||
net-misc/curl"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
virtual/pkgconfig"
|
|
||||||
|
|
||||||
DOCS="AUTHORS README*" # CHANGELOG is obsolete in favour of git history
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
sed -i \
|
|
||||||
-e '/GCC_ONLY_OPT.*-s/d' \
|
|
||||||
-e '/FLAGS/s:-Os::' \
|
|
||||||
-e '/FLAGS/s:-g3::' \
|
|
||||||
CMakeLists.txt || die
|
|
||||||
}
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
EBUILD libpredict-9999.ebuild 523 SHA256 21f00554b256bdfefbedbeaf3c9f9f991d2d66d680414c493ae6bda4c83df7b2 SHA512 4de50ed8203aa7dc3bdec61d08de59c5d6de518b9e73acd79fcb5b9edcc48fccf2b48eb1bfbf243325a4476a8f67c4340547889e788ff652e12d8fcc81e66f83 WHIRLPOOL efcec4d74c782f60005e2897360623fd2b4cc181f9ec0b2546f7351b5dcdbd898dab29d9193a7fb5ce7a95528f96a9260524d43ebc8e23a9fdd8b7f603c1c5dd
|
|
||||||
@@ -1,34 +0,0 @@
|
|||||||
# Copyright 1999-2015 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
inherit cmake-utils git-r3
|
|
||||||
|
|
||||||
DESCRIPTION="A satellite orbit prediction library"
|
|
||||||
HOMEPAGE="https://github.com/la1k/libpredict"
|
|
||||||
|
|
||||||
SRC_URI=""
|
|
||||||
EGIT_REPO_URI="https://github.com/la1k/libpredict.git"
|
|
||||||
KEYWORDS=""
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0/${PV}"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RDEPEND=""
|
|
||||||
DEPEND=""
|
|
||||||
|
|
||||||
REQUIRED_USE=""
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
eapply_user
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
cmake-utils_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
cmake-utils_src_install
|
|
||||||
}
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
EBUILD flyby-9999.ebuild 526 SHA256 3b71e9083a84eca72e5d2680d31c74bc0c7c4525b427928313a7e15238ea5552 SHA512 4d81a529b20b26343c478e29a30f142d8404f06664a973f720d932df8f8c393d562533503de73315f36956e920a18b54ac50c12954b44f6605c24d98a0c89088 WHIRLPOOL 021ebf0cf54c3d086095a8ccf8defc417f74c6b7c0ca786f70ef517de799663ad344fdccbe610f4370fa02a8ec92e969a696c15e9c0fa97ffc3d3b8996f69ae6
|
|
||||||
@@ -1,34 +0,0 @@
|
|||||||
# Copyright 1999-2015 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
inherit cmake-utils git-r3
|
|
||||||
|
|
||||||
DESCRIPTION="A satellite tracking program"
|
|
||||||
HOMEPAGE="https://github.com/la1k/flyby"
|
|
||||||
|
|
||||||
SRC_URI=""
|
|
||||||
EGIT_REPO_URI="https://github.com/la1k/flyby.git"
|
|
||||||
KEYWORDS=""
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0/${PV}"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RDEPEND="media-libs/libpredict"
|
|
||||||
DEPEND=""
|
|
||||||
|
|
||||||
REQUIRED_USE=""
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
eapply_user
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
cmake-utils_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
cmake-utils_src_install
|
|
||||||
}
|
|
||||||
12
metadata/md5-cache/app-admin/rcm-1.3.6
Normal file
12
metadata/md5-cache/app-admin/rcm-1.3.6
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
DEFINED_PHASES=test
|
||||||
|
DEPEND=test? ( dev-util/cram )
|
||||||
|
DESCRIPTION=rc file (dotfile) management
|
||||||
|
EAPI=8
|
||||||
|
HOMEPAGE=https://github.com/thoughtbot/rcm
|
||||||
|
IUSE=test
|
||||||
|
KEYWORDS=~amd64 ~x86
|
||||||
|
LICENSE=BSD
|
||||||
|
RESTRICT=!test? ( test )
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=https://thoughtbot.github.io/rcm/dist/rcm-1.3.6.tar.gz
|
||||||
|
_md5_=a118c39fa98921a1ac199d336833d7dd
|
||||||
12
metadata/md5-cache/app-admin/rcm-9999
Normal file
12
metadata/md5-cache/app-admin/rcm-9999
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
DEFINED_PHASES=prepare unpack
|
||||||
|
DEPEND=dev-ruby/mustache >=dev-vcs/git-1.8.2.1[curl]
|
||||||
|
DESCRIPTION=rc file (dotfile) management
|
||||||
|
EAPI=6
|
||||||
|
HOMEPAGE=https://github.com/thoughtbot/rcm
|
||||||
|
INHERIT=git-r3
|
||||||
|
LICENSE=BSD
|
||||||
|
PROPERTIES=live
|
||||||
|
RDEPEND=dev-ruby/mustache
|
||||||
|
SLOT=0
|
||||||
|
_eclasses_=git-r3 2347f8fe2d392b2a091191f94be37e6f
|
||||||
|
_md5_=3330083eee7e1151d1126b13077f0cd2
|
||||||
@@ -1 +0,0 @@
|
|||||||
EBUILD testssl-9999.ebuild 796 SHA256 3d382c48ae688b08d54a5d79eba77e416d8e35a01881b116b013b8ec1690bc61 SHA512 2ac3c00da3e0536a6ef27b38a703f599b87ddd8982aa19f0ed95d669eb761c28dd6bc8c0c25b01b524a560e89fdac119d6e909d529dfa98a8a3d07cdf4b96893 WHIRLPOOL 9458f6905f31442c16b32391f35a9952d1df683cb77cb00afc9899e70349f8adbeffe044b42908637b155fe890def137ef0dbd652ac7f3c6ece6b4844297981e
|
|
||||||
@@ -1,40 +0,0 @@
|
|||||||
# Copyright 1999-2015 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: $
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
inherit git-r3
|
|
||||||
|
|
||||||
DESCRIPTION="Testing TLS/SSL encryption"
|
|
||||||
HOMEPAGE="https://testssl.sh"
|
|
||||||
EGIT_REPO_URI="https://github.com/drwetter/testssl.sh.git"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS=""
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
DEPEND=""
|
|
||||||
RDEPEND="${DEPEND}"
|
|
||||||
# Don't strip debug symbols from the provided OpenSSL binaries.
|
|
||||||
RESTRICT="strip"
|
|
||||||
|
|
||||||
INSTALLDIR="/usr/share/${PN}"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}/follow_symlinks.patch"
|
|
||||||
)
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dodir "${INSTALLDIR}"
|
|
||||||
dodir "${INSTALLDIR}/bin"
|
|
||||||
dodir "${INSTALLDIR}/etc"
|
|
||||||
exeinto "${INSTALLDIR}"
|
|
||||||
doexe testssl.sh
|
|
||||||
insinto "${INSTALLDIR}/etc"
|
|
||||||
doins etc/*
|
|
||||||
exeinto "${INSTALLDIR}/bin"
|
|
||||||
doexe bin/openssl.*
|
|
||||||
dosym "${INSTALLDIR}/testssl.sh" /usr/bin/testssl
|
|
||||||
}
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
DIST ferm-2.3.tar.gz 125706 SHA256 9de83d3e5f6e459f27140ae50610ed9419ac4f7b90d8d51e54c1172ea11ba64b SHA512 0df172fcae0d862df1d2840c401ebf5a20a609f447301c398c0d5f9992d07af23b09530f4214d3debd231f35b1d7c76324f57d134225cf884008daec1c3c76f8 WHIRLPOOL 327b870c191cb25839bd2a08cf5ab1e9d2b87ccffdd81cc4f004c68492fb2914d712332553fbd5b1d189e9beedf64b6f4622073a76e931da9f20f9cf418f77fe
|
|
||||||
EBUILD ferm-2.3.ebuild 799 SHA256 b7a83a523d4706fa9922bac8d74ac8f709e680f3ecbdc42ca71626c44856554b SHA512 fcf9625cf4a3d07cd3ed37ca0b9ec31b6e29d78c56d49babeacf681fef54aa089c21c0052c15031425abd2f57c32065cae382a09185517105cdd298aab04eab8 WHIRLPOOL db7e92484d1474ce4838f5d057b5a5b2b584d3c5a3633fa24d6f3e1541ec1bd6a8add6cfd1312c0a87f1d8443d82bfd5abd305fa597134c254d00eec7e4ec03f
|
|
||||||
MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
|
|
||||||
@@ -1,38 +0,0 @@
|
|||||||
# Copyright 1999-2015 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Id$
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
inherit versionator systemd
|
|
||||||
|
|
||||||
MY_PV="$(get_version_component_range 1-2)"
|
|
||||||
|
|
||||||
DESCRIPTION="Command line util for managing firewall rules"
|
|
||||||
HOMEPAGE="http://ferm.foo-projects.org/"
|
|
||||||
SRC_URI="http://ferm.foo-projects.org/download/${MY_PV}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ppc x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
# does not install any perl libs
|
|
||||||
RDEPEND="dev-lang/perl:*
|
|
||||||
net-firewall/iptables
|
|
||||||
virtual/perl-File-Spec"
|
|
||||||
|
|
||||||
src_compile() { :; }
|
|
||||||
|
|
||||||
src_install () {
|
|
||||||
dobin src/{,import-}ferm
|
|
||||||
dodoc -r AUTHORS NEWS README TODO doc/*.txt examples
|
|
||||||
doman doc/*.1
|
|
||||||
dohtml doc/*.html
|
|
||||||
|
|
||||||
systemd_dounit ferm.service
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
elog "See /usr/share/doc/${PF}/examples for sample configs"
|
|
||||||
}
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<!-- maintainer-needed -->
|
|
||||||
</pkgmetadata>
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
AUX firehol-2.0.2-autosave.patch 769 SHA256 a31010e0c0c448292b5dc496852ffa6bec823b175b8cad061357764a398f68d4 SHA512 c6042c4732f760af8d712e5775e3a839c1675496d3af903a63e125b38e278facf99593780ee7513eabfadc8400fed4e7448ffe0be555026e83ac9a0c5c80e566 WHIRLPOOL 5132d96d342677b581178c9d9af7f0194fb9cdede7c47a569e551e4378b4bb69dd7c7a64546cb94a6840d9993a6223721e92dfbaee3f2721de6d1ccdc9b5ebee
|
|
||||||
AUX firehol.conf.d 70 SHA256 0e6bae0a5329d6b527cf0ae7183acf04f0f08f5a931bf5e82a789053faed4e3c SHA512 e6b21b493526770bf5619d09b63f8e6cf7f94fb8059fc8ff2d1f19776cab1320218e103d73219534817464314430faca4e437644befa5330610d948c2ade1a35 WHIRLPOOL f5a4db182e7f04200686a4ab2c2fd76929fed12ba2c7cf36461a5e01ece9d2eaac3caaf98def21dd0a7be4902220f51a82f0281ef0eef3724efc88af4cea4643
|
|
||||||
AUX firehol.initrd 1151 SHA256 fac0691dc6d8482b9b62728536b26d2a7593ceef786db4566d1b5fdfba9911e8 SHA512 4551f7b3ec1fe0738994a7ddd245746e475441b30025046e508c9bce3d4c9c2f7b1fb3a8beb97049bd57f9f7a763b4ed7ea42fca521e6437fe26cdca1326e7c2 WHIRLPOOL 2b9341049c0b59b8a5e2a6acab620cfb17aea27ac9e304efb695c5dbf06c4f19c938676d5da02b31f7926362d36f5c5638833aa73eabcc88dc20eb0b6fb4a7a6
|
|
||||||
AUX fireqos.conf.d 65 SHA256 c18e2f224ac8e33971c632d7492ed3142059e8fce370713cf72df35cbd0a3b6a SHA512 4dd394f3d896d8bf782cf1157f5bf420ca0e9b2c6238986f3fb17630ec0e12bfcad4ffc6fe2258a7d257e157fed11e01aef26965f3d97c78643c6467639a822c WHIRLPOOL 05cded3032f1db543e1b35eb84963ebadb59a72d3b4cffcf00c31b18346a85795f21bc836eb461688152c8abcd0a221ec46d47dac5302c692c9bb3d67e835d14
|
|
||||||
AUX fireqos.initrd 839 SHA256 c3837183ae3cc861f467d47177207c028654a35610936a72fef28292776b43ae SHA512 4abb89b27fadcafd24de6cc89a1a84f6436589e9327899140c90a82f2869ef00f4498f052dcb551f1b885fef5640c326f9e52c9b728a3cdf3d9e968894e6c2b4 WHIRLPOOL 16462b081ae136dde5a88732979c38e0cc5899a41ddc6b51bc103c52c2a1599df42ec3d4d5c13db20431ff395b42dac6ed9e48c055b4ca04f1ddfa78fc7eeffb
|
|
||||||
DIST firehol-3.1.0.tar.xz 1474744 SHA256 31da099f21c8845eeef43fb46c218baee720992cbbc1075be511c57e7acca365 SHA512 9c366490785d4690d49501eaaf8d35890c7170404aaa1a89afd7ea3a5e43daf5a94196ba7519c1054d8af8b420c3cf76804f9ad4fafe0cd7c70e6eb153cf6ba3 WHIRLPOOL d2d0b59e1d6bc95afca68260f8bf7212a782f0b9e8bd868c16494b693ed9de1d4dea8fbba8aef1218e32a93784c1bb76fe97fe63fd798a50f37232473d7304ea
|
|
||||||
EBUILD firehol-3.1.0.ebuild 1371 SHA256 7587f6337bf2494b0387dd5318d1c0a935f6c8e09b4ce19990503d17dfbb8bce SHA512 c3e26322868866eca1190de0e155250e32b21ad6137a64776f418b778740fe223d7a74554f7baa11a4273391581d0e36978b932d79734b9b98cfbc56d1abc5b5 WHIRLPOOL 12d375374de325b876239b32540bd3d4e68d600b3147b1105e0c018386481829a067f68193147ed788c7199fa323a3888bcae3c941183ef091f422bb469a9455
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
diff -urNp firehol-2.0.1/sbin/firehol.in firehol-2.0.1.new/sbin/firehol.in
|
|
||||||
--- firehol-2.0.1/sbin/firehol.in 2015-02-15 17:08:03.000000000 +0200
|
|
||||||
+++ firehol-2.0.1.new/sbin/firehol.in 2015-04-14 18:05:22.262234003 +0300
|
|
||||||
@@ -846,12 +846,12 @@ test -z "$FIREHOL_ROUTING" && \
|
|
||||||
# Where /etc/init.d/iptables expects its configuration?
|
|
||||||
# Leave it empty for automatic detection
|
|
||||||
test -z "$FIREHOL_AUTOSAVE" && \
|
|
||||||
- FIREHOL_AUTOSAVE=
|
|
||||||
+ FIREHOL_AUTOSAVE="@FIREHOL_AUTOSAVE@"
|
|
||||||
|
|
||||||
# Where /etc/init.d/ip6tables expects its configuration?
|
|
||||||
# Leave it empty for automatic detection
|
|
||||||
test -z "$FIREHOL_AUTOSAVE6" && \
|
|
||||||
- FIREHOL_AUTOSAVE6=
|
|
||||||
+ FIREHOL_AUTOSAVE6="@FIREHOL_AUTOSAVE6@"
|
|
||||||
|
|
||||||
# Set to non-empty to wait (max 60 seconds) for a network interface
|
|
||||||
test -z "$WAIT_FOR_IFACE" && \
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
#Locate of FireHOL conf file
|
|
||||||
FIREHOL_CONF="/etc/firehol/firehol.conf"
|
|
||||||
@@ -1,67 +0,0 @@
|
|||||||
#!/sbin/openrc-run
|
|
||||||
# Copyright 1999-2015 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Id$
|
|
||||||
|
|
||||||
extra_commands="save panic try"
|
|
||||||
extra_started_commands="reload"
|
|
||||||
|
|
||||||
depend() {
|
|
||||||
need localmount
|
|
||||||
after bootmisc
|
|
||||||
before net
|
|
||||||
provide firewall
|
|
||||||
}
|
|
||||||
|
|
||||||
checkrules() {
|
|
||||||
if [ ! -f ${FIREHOL_CONF} ]; then
|
|
||||||
eerror "Not starting FireHOL. Create ${FIREHOL_CONF}"
|
|
||||||
eerror "and fill it with some rules."
|
|
||||||
eerror "man firehol.conf for more info."
|
|
||||||
return 1
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
start() {
|
|
||||||
checkrules || return 1
|
|
||||||
ebegin "Starting FireHOL"
|
|
||||||
/usr/sbin/firehol ${FIREHOL_CONF} start > /dev/null
|
|
||||||
eend $?
|
|
||||||
}
|
|
||||||
|
|
||||||
stop() {
|
|
||||||
ebegin "Stopping FireHOL"
|
|
||||||
/usr/sbin/firehol stop > /dev/null
|
|
||||||
eend $?
|
|
||||||
}
|
|
||||||
|
|
||||||
restart() {
|
|
||||||
ebegin "Restarting Firewall"
|
|
||||||
svc_stop;
|
|
||||||
svc_start;
|
|
||||||
eend $?
|
|
||||||
}
|
|
||||||
|
|
||||||
try() {
|
|
||||||
ebegin "Trying FireHOL configuration"
|
|
||||||
/usr/sbin/firehol ${FIREHOL_CONF} try
|
|
||||||
eend $?
|
|
||||||
}
|
|
||||||
|
|
||||||
status() {
|
|
||||||
ebegin "Showing FireHOL status"
|
|
||||||
/usr/sbin/firehol status
|
|
||||||
eend $?
|
|
||||||
}
|
|
||||||
|
|
||||||
panic() {
|
|
||||||
ebegin "FireHOL PANIC"
|
|
||||||
/usr/sbin/firehol panic
|
|
||||||
eend $?
|
|
||||||
}
|
|
||||||
|
|
||||||
save() {
|
|
||||||
ebegin "Saving FireHOL configuration"
|
|
||||||
/usr/sbin/firehol save
|
|
||||||
eend $?
|
|
||||||
}
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
#Locate of FireQOS conf file
|
|
||||||
FIREQOS="/etc/firehol/fireqos.conf"
|
|
||||||
@@ -1,45 +0,0 @@
|
|||||||
#!/sbin/openrc-run
|
|
||||||
# Copyright 1999-2015 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Id$
|
|
||||||
|
|
||||||
depend() {
|
|
||||||
need localmount
|
|
||||||
after bootmisc
|
|
||||||
before net
|
|
||||||
}
|
|
||||||
|
|
||||||
checkrules() {
|
|
||||||
if [ ! -f ${FIREQOS_CONF} ]; then
|
|
||||||
eerror "Not starting FireQOS. Create ${FIREQOS_CONF}"
|
|
||||||
eerror "and fill it with some rules."
|
|
||||||
eerror "man fireqos.conf for more info."
|
|
||||||
return 1
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
start() {
|
|
||||||
checkrules || return 1
|
|
||||||
ebegin "Starting FireQOS"
|
|
||||||
/usr/sbin/fireqos start ${FIREQOS_CONF} -- ${FIREQOS_EXTRA_ARGS} > /dev/null
|
|
||||||
eend $?
|
|
||||||
}
|
|
||||||
|
|
||||||
stop() {
|
|
||||||
ebegin "Stopping FireQOS"
|
|
||||||
/usr/sbin/fireqos stop > /dev/null
|
|
||||||
eend $?
|
|
||||||
}
|
|
||||||
|
|
||||||
restart() {
|
|
||||||
ebegin "Restarting FireQOS"
|
|
||||||
svc_stop;
|
|
||||||
svc_start;
|
|
||||||
eend $?
|
|
||||||
}
|
|
||||||
|
|
||||||
status() {
|
|
||||||
ebegin "Showing FireQOS status"
|
|
||||||
/usr/sbin/fireqos status
|
|
||||||
eend $?
|
|
||||||
}
|
|
||||||
@@ -1,53 +0,0 @@
|
|||||||
# Copyright 1999-2016 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Id$
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
inherit eutils linux-info
|
|
||||||
|
|
||||||
DESCRIPTION="iptables firewall generator"
|
|
||||||
HOMEPAGE="http://firehol.sourceforge.net/"
|
|
||||||
SRC_URI="https://firehol.org/download/firehol/releases/v${PV}/${P}.tar.xz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="doc ipv6"
|
|
||||||
KEYWORDS="~amd64 ~arm"
|
|
||||||
|
|
||||||
RDEPEND="net-firewall/iptables
|
|
||||||
sys-apps/iproute2[-minimal,ipv6?]
|
|
||||||
net-misc/iputils[ipv6?]
|
|
||||||
net-misc/iprange
|
|
||||||
net-analyzer/traceroute
|
|
||||||
virtual/modutils
|
|
||||||
app-arch/gzip"
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
local KCONFIG_OPTS="~NF_CONNTRACK_IPV4 ~NF_CONNTRACK_MARK ~NF_NAT ~NF_NAT_FTP ~NF_NAT_IRC \
|
|
||||||
~IP_NF_IPTABLES ~IP_NF_FILTER ~IP_NF_TARGET_REJECT ~NF_LOG_IPV4 ~NF_LOG_IPV6 \
|
|
||||||
~IP_NF_TARGET_MASQUERADE ~IP_NF_TARGET_REDIRECT ~IP_NF_MANGLE \
|
|
||||||
~NETFILTER_XT_MATCH_LIMIT ~NETFILTER_XT_MATCH_STATE ~NETFILTER_XT_MATCH_OWNER"
|
|
||||||
|
|
||||||
get_version
|
|
||||||
CONFIG_CHECK="~NF_CONNTRACK ${KCONFIG_OPTS}"
|
|
||||||
linux-info_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
econf \
|
|
||||||
--docdir="${EPREFIX}/usr/share/doc/${PF}" \
|
|
||||||
--disable-vnetbuild \
|
|
||||||
--disable-update-ipsets \
|
|
||||||
$(use_enable doc) \
|
|
||||||
$(use_enable ipv6)
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
default
|
|
||||||
|
|
||||||
newconfd "${FILESDIR}"/firehol.conf.d firehol
|
|
||||||
newinitd "${FILESDIR}"/firehol.initrd firehol
|
|
||||||
newconfd "${FILESDIR}"/fireqos.conf.d fireqos
|
|
||||||
newinitd "${FILESDIR}"/fireqos.initrd fireqos
|
|
||||||
}
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
AUX xephem-3.7.7-fix_gsc_lookup.patch 1809 BLAKE2B ab4cffe222761f79e1cee37dc5933f1c2f02aee491aec95595b7422f6643ef29eb0315366bed6a0358ad50d158c56f92741f1403b661aabeca2a68a3dc93f8f9 SHA512 37155ec90da672940bc603ea4f91202d5ca018cea3f3ccbf12e1fa72f5c7fa470376c8288be4bc8b8b66bc0e62e5685b85c8b4dacbf126665f22b47a079bc9d4
|
|
||||||
AUX xephem-3.7.7-implicits.patch 305 BLAKE2B ad16733b6d44619528af60a33710f3b558a16ebd24bad15b2c1ccf728a113f5495c5f26ded2c1ac61a3fedb9f916571b8bf8076527c7c2ee1353e212e710b319 SHA512 220186bb7f72fe0de6ca75a67df7b1a4d4cc57cc4768d565dc8225e20df93738c7bdd62bde6297941d1ec6638800950ef56e355de8ca1e3e8192b903b021adba
|
|
||||||
AUX xephem-3.7.7-no_xprint.patch 262 BLAKE2B 6676f7e94978d4433f3f26ff3ec4738fd3f5735462806b7f19e7aa4b7671e62e8f7e894071a04f5a90510782b8a57ab0de0a722d4c5520d5c1cf5bbc0c4c9f52 SHA512 d0277edb3c011bf606803a280461410263fe9986d164df28a6801d3bcd7a0a21405728f9d27fd3dfa1a620e4b364d1d8b65843382bd99a2cf2c3e05755a277c2
|
|
||||||
AUX xephem-3.7.7-respect_env_vars.patch 3781 BLAKE2B e596c7216c0f70145a189696ff890e136ba282113dc5c9acee4808f7a6474f7e0d9295997ee4dbc595dd8a50d1cb67d22e138b465a82a13a2e294a093f0a7061 SHA512 84a9697c3b05ed28bcc59f4b30807aad76c3228e1aec3db898995d36cae3ef58557ff984a57f60b99e15dd04670a65061451dc00437498c14ed081c0cf06830d
|
|
||||||
AUX xephem-3.7.7_openssl.patch 20456 BLAKE2B 668162e05035c419e3f0624f5f2fbf4678778283d96ea920a7e472ce5bffa868b2f13ec7934cb4685192f0c0e73feb3441c1e623ce316825cb04c975a0baae92 SHA512 0609495c3e9af08e072862d804db2999b4493b6a8daa1586278f4e01443269d1158c8cec1cd4c2d04baaa42d1288538cd778382f6636d63073da8238dd0d57d1
|
|
||||||
AUX xephem-3.7.7_openssl_earthmenu.patch 2536 BLAKE2B 22c18a98db2c8c03e9c96be4524e4cd1a433038d45d767da8e61881626824a5499809c9f8ae5cb6c0628c937bfc602c98885c7413adf7f89ccb1613d31951099 SHA512 8263df72d8275a2abddf3a6ace10d1db88693d98064e8bdca0adbf131798e02956db4106978f0516583e59ecdb130f556081afc2e4de88bafdc2e34dabd23d35
|
|
||||||
DIST xephem-3.7.7.tar.gz 18128523 BLAKE2B 85173bfb21e31198aab9231f6020267beadd4750c832d514f06983ea9c88487c4175d3ac0e7b973a8fb41785658e0155e23be6cb89ac370f9a908e6eff8ea5e8 SHA512 d9cfecf0ce8aa495f66fcf6772ca7df0638cef8b9f18d9d6cbf013846a7575786ae9b5c515abc2058783baa7610320c893ddbc6f68bae28c65661a1c73b88634
|
|
||||||
EBUILD xephem-3.7.7-r100.ebuild 1377 BLAKE2B b59d387b2462ac5428429826a9668ee468fc43a6f56be1520de0835c9bc6f467a5b1f8feb60ae9707c36c7609c263cd0c1b30b23b12d35c7a5018f97ca278474 SHA512 757e40b5deba336f8b2a515af8c5aa86765d15ba1ef2c7ab8a457bde88e4e1c22abb7da590f3a4c3b35a30963c80a319c5dd1a7ad466aa17597f38d1f72a329c
|
|
||||||
EBUILD xephem-3.7.7-r101.ebuild 1418 BLAKE2B d232241f8e8eb19f0795fc45b7ca0bb70a86876c1d6b294ef90edc3cc83e4891a7fe60c93ad44bb56b0f055da8119f9fa57ce771fcc6e267fba1f0e1fd4c59d7 SHA512 6f6b2283174599cedf6e54bd89397bbd05e165f6ae6cffa6a8c988cf49d887accce54a04ef0fe5e48c79861f989173dfe3178175af96014c27f1e1399dfaa03b
|
|
||||||
MISC metadata.xml 730 BLAKE2B c1e84de3e52a140cf7641db3d63d47176a50d2dced49c61dbc0d2b4e8eb8a6a8e689cfbec88e67eba9a0372b3ff7cbcd13938da68add5f558058d11b9e07b7df SHA512 faf972aa6cc2761a5aa05994b3718af494c9cc3e4130204128dff553f35c54db96556d713fbc648b0aff9e4058af94eb9e74edfc697423a82e821b1ddfaae8c8
|
|
||||||
@@ -1,41 +0,0 @@
|
|||||||
--- a/GUI/xephem/gscnet.c 2020-01-24 12:20:10.210100009 +0100
|
|
||||||
+++ b/GUI/xephem/gscnet.c 2020-01-24 12:20:43.711842644 +0100
|
|
||||||
@@ -29,7 +29,7 @@
|
|
||||||
{
|
|
||||||
#define GSC23MAXFOV degrad(30./60.0) /* max fov */
|
|
||||||
/* http://gsss.stsci.edu/webservices/vo/ConeSearch.aspx?RA=10.0&DEC=5.0&SR=0.2&FORMAT=CSV */
|
|
||||||
- static char ifmt[] = "%[^,],%lf,%lf,%*[^,],%*[^,],%*[^,],%*[^,],%lf,%lf,%*[^,],%*[^,],%lf,%lf,%lf,%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%d";
|
|
||||||
+ static char ifmt[] = "%[^,],%*[^,],%lf,%lf,%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%lf,%*[^,],%*[^,],%lf,%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%lf,%*[^,],%*[^,],%lf,%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%d";
|
|
||||||
static char gfmt[] = " GET http://%s%s?RA=%g&DEC=%g&SR=%g&FORMAT=CSV HTTP/1.0\r\nUser-Agent: xephem/%s\r\n\r\n";
|
|
||||||
char host[1024];
|
|
||||||
char buf[2048];
|
|
||||||
@@ -80,7 +80,7 @@
|
|
||||||
while ((n = recvlineb (sockfd, buf, sizeof(buf))) > 0) {
|
|
||||||
char name[1024];
|
|
||||||
double radeg, decdeg;
|
|
||||||
- double fmag, jmag, bmag, vmag, rmag;
|
|
||||||
+ double fmag, jmag, bmag, vmag;
|
|
||||||
int class;
|
|
||||||
Obj *op;
|
|
||||||
|
|
||||||
@@ -90,9 +90,9 @@
|
|
||||||
|
|
||||||
/* crack */
|
|
||||||
if (sscanf (buf, ifmt, name, &radeg, &decdeg, &fmag, &jmag, &bmag,
|
|
||||||
- &vmag, &rmag, &class) != 9)
|
|
||||||
+ &vmag, &class) != 8)
|
|
||||||
continue;
|
|
||||||
- if (fmag>lmag && jmag>lmag && bmag>lmag && vmag>lmag && rmag>lmag)
|
|
||||||
+ if (fmag>lmag && jmag>lmag && bmag>lmag && vmag>lmag)
|
|
||||||
continue;
|
|
||||||
|
|
||||||
/* good -- grow list */
|
|
||||||
@@ -120,8 +120,6 @@
|
|
||||||
set_fmag (op, vmag);
|
|
||||||
else if (bmag<=lmag)
|
|
||||||
set_fmag (op, bmag);
|
|
||||||
- else if (rmag<=lmag)
|
|
||||||
- set_fmag (op, rmag);
|
|
||||||
else if (fmag<=lmag)
|
|
||||||
set_fmag (op, fmag);
|
|
||||||
else
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
sunmenu.c:920:3: warning: implicit declaration of function ‘strptime’
|
|
||||||
|
|
||||||
--- a/GUI/xephem/sunmenu.c
|
|
||||||
+++ b/GUI/xephem/sunmenu.c
|
|
||||||
@@ -1,6 +1,7 @@
|
|
||||||
/* code to manage the sun display
|
|
||||||
*/
|
|
||||||
|
|
||||||
+#define _XOPEN_SOURCE /* See feature_test_macros(7) */
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <errno.h>
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
--- a/GUI/xephem/Makefile
|
|
||||||
+++ b/GUI/xephem/Makefile
|
|
||||||
@@ -30,7 +30,7 @@
|
|
||||||
endif
|
|
||||||
|
|
||||||
# for linux and Apple OS X
|
|
||||||
-XLIBS = -lXm -lXp -lXt -lXext -lXmu -lX11
|
|
||||||
+XLIBS = -lXm -lXt -lXext -lXmu -lX11
|
|
||||||
CFLAGS := $(LIBINC) $(CFLAGS)
|
|
||||||
LIBS = $(LIBLNK) $(XLIBS) $(LIBLIB) -lm
|
|
||||||
|
|
||||||
@@ -1,137 +0,0 @@
|
|||||||
diff -ruN a/GUI/xephem/Makefile b/GUI/xephem/Makefile
|
|
||||||
--- a/GUI/xephem/Makefile 2015-08-09 22:36:50.000000000 +0100
|
|
||||||
+++ b/GUI/xephem/Makefile 2016-01-24 09:34:24.378578717 +0000
|
|
||||||
@@ -10,9 +10,9 @@
|
|
||||||
# one executable, xephem.
|
|
||||||
|
|
||||||
# These -I and -L flags point to the supporting XEphem libraries
|
|
||||||
-LIBINC = -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz
|
|
||||||
-LIBLNK = -L../../libastro -L../../libip -L../../liblilxml -L../../libjpegd -L../../libpng -L../../libz
|
|
||||||
-LIBLIB = -lastro -lip -llilxml -ljpegd -lpng -lz
|
|
||||||
+LIBINC = -I../../libastro -I../../libip -I../../liblilxml
|
|
||||||
+LIBLNK = -L../../libastro -L../../libip -L../../liblilxml
|
|
||||||
+LIBLIB = -lastro -lip -llilxml -ljpeg -lpng -lz
|
|
||||||
|
|
||||||
# MOTIFI is the directory containing the Xm directory of include files.
|
|
||||||
# MOTIFL is the directory containing the libXm.a library.
|
|
||||||
@@ -30,12 +30,9 @@
|
|
||||||
endif
|
|
||||||
|
|
||||||
# for linux and Apple OS X
|
|
||||||
-CC = gcc
|
|
||||||
-CLDFLAGS = -g
|
|
||||||
-CFLAGS = $(LIBINC) $(CLDFLAGS) -O2 -Wall -I$(MOTIFI) -I/opt/X11/include
|
|
||||||
-LDFLAGS = $(LIBLNK) $(CLDFLAGS) -L$(MOTIFL) -L/opt/X11/lib
|
|
||||||
XLIBS = -lXm -lXp -lXt -lXext -lXmu -lX11
|
|
||||||
-LIBS = $(XLIBS) $(LIBLIB) -lm
|
|
||||||
+CFLAGS := $(LIBINC) $(CFLAGS)
|
|
||||||
+LIBS = $(LIBLNK) $(XLIBS) $(LIBLIB) -lm
|
|
||||||
|
|
||||||
# static linking on Apple using X11 libs from ports
|
|
||||||
# CC = gcc
|
|
||||||
@@ -68,9 +65,9 @@
|
|
||||||
# MOTIFI = -I/usr/include
|
|
||||||
# MOTIFL = -L/usr/lib
|
|
||||||
# CC = cc
|
|
||||||
-# CLDFLAGS =
|
|
||||||
+# CLDFLAGS =
|
|
||||||
# CFLAGS = $(LIBINC) $(CLDFLAGS) -O -I$(MOTIFI)
|
|
||||||
-# LDFLAGS = $(LIBLNK) $(CLDFLAGS) -L$(MOTIFL)
|
|
||||||
+# LDFLAGS = $(LIBLNK) $(CLDFLAGS) -L$(MOTIFL)
|
|
||||||
# XLIBS = -lXm -lXt -lX11
|
|
||||||
# LIBS = $(XLIBS) $(LIBLIB) -lsocket -lnsl -lc -lm /usr/ucblib/libucb.a
|
|
||||||
# Note: if you get regex undefined, add -lgen to the end of LIBS.
|
|
||||||
@@ -195,12 +192,9 @@
|
|
||||||
nroff -man $? > $@
|
|
||||||
|
|
||||||
libs:
|
|
||||||
- cd ../../libastro; make
|
|
||||||
- cd ../../libip; make
|
|
||||||
- cd ../../libjpegd; make
|
|
||||||
- cd ../../liblilxml; make
|
|
||||||
- cd ../../libpng; make
|
|
||||||
- cd ../../libz; make
|
|
||||||
+ $(MAKE) -C ../../libastro
|
|
||||||
+ $(MAKE) -C ../../libip
|
|
||||||
+ $(MAKE) -C ../../liblilxml
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -fr *.o ../../lib*/*.[ao]
|
|
||||||
diff -ruN a/libastro/Makefile b/libastro/Makefile
|
|
||||||
--- a/libastro/Makefile 2006-02-24 03:37:31.000000000 +0000
|
|
||||||
+++ b/libastro/Makefile 2016-01-24 09:30:28.745982455 +0000
|
|
||||||
@@ -4,8 +4,6 @@
|
|
||||||
# compiler and flags
|
|
||||||
|
|
||||||
# gcc
|
|
||||||
-CC = gcc
|
|
||||||
-CFLAGS= -O2 -Wall
|
|
||||||
|
|
||||||
# macosx universal binary
|
|
||||||
# CFLAGS= -O2 -Wall -arch i386 -arch ppc
|
|
||||||
@@ -83,11 +81,11 @@
|
|
||||||
vsop87_data.o
|
|
||||||
|
|
||||||
libastro.a: $(HS) $(OBJS)
|
|
||||||
- ar rv $@ $(OBJS)
|
|
||||||
- ranlib $@
|
|
||||||
+ $(AR) rv $@ $(OBJS)
|
|
||||||
+ $(RANLIB) $@
|
|
||||||
|
|
||||||
libastro.so: $(HS) $(OBJS)
|
|
||||||
- $(CC) -shared -o $@ $(OBJS)
|
|
||||||
+ $(CC) $(LDFLAGS) -shared -o $@ $(OBJS)
|
|
||||||
|
|
||||||
clobber:
|
|
||||||
rm -f *.o libastro.a
|
|
||||||
diff -ruN a/libip/Makefile b/libip/Makefile
|
|
||||||
--- a/libip/Makefile 2009-01-05 20:53:46.000000000 +0000
|
|
||||||
+++ b/libip/Makefile 2016-01-24 09:30:28.745982455 +0000
|
|
||||||
@@ -2,8 +2,7 @@
|
|
||||||
# (C) 2001 Elwood Charles Downey
|
|
||||||
|
|
||||||
# gcc
|
|
||||||
-CC = gcc
|
|
||||||
-CFLAGS= -I../libastro -O2 -Wall
|
|
||||||
+CFLAGS += -I../libastro
|
|
||||||
|
|
||||||
# macosx universal binary
|
|
||||||
# CFLAGS= -I../libastro -O2 -Wall -arch i386 -arch ppc
|
|
||||||
@@ -36,11 +35,11 @@
|
|
||||||
HS = ip.h fsmatch.h
|
|
||||||
|
|
||||||
libip.a: $(HS) $(OBJS)
|
|
||||||
- ar rv $@ $(OBJS)
|
|
||||||
- ranlib $@
|
|
||||||
+ $(AR) rv $@ $(OBJS)
|
|
||||||
+ $(RANLIB) $@
|
|
||||||
|
|
||||||
libip.so: $(OBJS)
|
|
||||||
- gcc -shared -o $@ $(OBJS)
|
|
||||||
+ $(CC) $(LDFLAGS) -shared -o $@ $(OBJS)
|
|
||||||
|
|
||||||
clobber:
|
|
||||||
rm -f *.o libip.a
|
|
||||||
diff -ruN a/liblilxml/Makefile b/liblilxml/Makefile
|
|
||||||
--- a/liblilxml/Makefile 2006-02-24 03:37:32.000000000 +0000
|
|
||||||
+++ b/liblilxml/Makefile 2016-01-24 09:30:28.745982455 +0000
|
|
||||||
@@ -4,8 +4,6 @@
|
|
||||||
# compiler and flags
|
|
||||||
|
|
||||||
# gcc
|
|
||||||
-CC = gcc
|
|
||||||
-CFLAGS= -O2 -Wall
|
|
||||||
|
|
||||||
# macosx universal binary
|
|
||||||
# CFLAGS= -O2 -Wall -arch i386 -arch ppc
|
|
||||||
@@ -27,8 +25,8 @@
|
|
||||||
OBJS = lilxml.o base64.o
|
|
||||||
|
|
||||||
liblilxml.a: $(HS) $(OBJS)
|
|
||||||
- ar r $@ $(OBJS)
|
|
||||||
- ranlib $@
|
|
||||||
+ $(AR) r $@ $(OBJS)
|
|
||||||
+ $(RANLIB) $@
|
|
||||||
|
|
||||||
liltest: liltest.o liblilxml.a
|
|
||||||
$(CC) $(LDFLAGS) -o liltest liltest.o liblilxml.a
|
|
||||||
@@ -1,671 +0,0 @@
|
|||||||
diff -Naur a/GUI/xephem/auxil/mpcorb2edb.pl b/GUI/xephem/auxil/mpcorb2edb.pl
|
|
||||||
--- a/GUI/xephem/auxil/mpcorb2edb.pl 2014-07-11 04:46:35.000000000 +0200
|
|
||||||
+++ b/GUI/xephem/auxil/mpcorb2edb.pl 2018-01-08 02:54:53.603935652 +0100
|
|
||||||
@@ -78,7 +78,7 @@
|
|
||||||
# setup cutoff mag
|
|
||||||
my $dimmag = 13; # dimmest mag to be saved in "bright" file
|
|
||||||
# set site and file in case of -f
|
|
||||||
-my $MPCSITE = "http://www.minorplanetcenter.net";
|
|
||||||
+my $MPCSITE = "https://www.minorplanetcenter.net";
|
|
||||||
my $MPCFTPDIR = "/iau/MPCORB";
|
|
||||||
my $MPCFILE = "MPCORB.DAT";
|
|
||||||
my $MPCZIPFILE = "MPCORB.DAT.gz";
|
|
||||||
diff -Naur a/GUI/xephem/fallbacks.c b/GUI/xephem/fallbacks.c
|
|
||||||
--- a/GUI/xephem/fallbacks.c 2015-04-09 02:20:19.000000000 +0200
|
|
||||||
+++ b/GUI/xephem/fallbacks.c 2018-01-08 21:26:23.529915768 +0100
|
|
||||||
@@ -747,10 +747,10 @@
|
|
||||||
"XEphem*WebDB*URL1.value: http://celestrak.com/NORAD/elements/science.txt",
|
|
||||||
"XEphem*WebDB*URL2.value: http://celestrak.com/NORAD/elements/tle-new.txt",
|
|
||||||
"XEphem*WebDB*URL3.value: http://celestrak.com/NORAD/elements/amateur.txt",
|
|
||||||
- "XEphem*WebDB*URL4.value: http://www.minorplanetcenter.org/iau/Ephemerides/Comets/Soft03Cmt.txt",
|
|
||||||
- "XEphem*WebDB*URL5.value: http://www.minorplanetcenter.org/iau/Ephemerides/CritList/Soft03CritList.txt",
|
|
||||||
- "XEphem*WebDB*URL6.value: http://www.minorplanetcenter.org/iau/Ephemerides/Distant/Soft03Distant.txt",
|
|
||||||
- "XEphem*WebDB*URL7.value: http://www.minorplanetcenter.org/iau/Ephemerides/Unusual/Soft03Unusual.txt",
|
|
||||||
+ "XEphem*WebDB*URL4.value: https://www.minorplanetcenter.org/iau/Ephemerides/Comets/Soft03Cmt.txt",
|
|
||||||
+ "XEphem*WebDB*URL5.value: https://www.minorplanetcenter.org/iau/Ephemerides/CritList/Soft03CritList.txt",
|
|
||||||
+ "XEphem*WebDB*URL6.value: https://www.minorplanetcenter.org/iau/Ephemerides/Distant/Soft03Distant.txt",
|
|
||||||
+ "XEphem*WebDB*URL7.value: https://www.minorplanetcenter.org/iau/Ephemerides/Unusual/Soft03Unusual.txt",
|
|
||||||
"XEphem*WebDB.x: 200",
|
|
||||||
"XEphem*WebDB.y: 200",
|
|
||||||
"XEphem*WeekStart.Monday.set: False",
|
|
||||||
diff -Naur a/GUI/xephem/Makefile b/GUI/xephem/Makefile
|
|
||||||
--- a/GUI/xephem/Makefile 2015-08-09 23:36:50.000000000 +0200
|
|
||||||
+++ b/GUI/xephem/Makefile 2018-01-08 21:20:45.200717791 +0100
|
|
||||||
@@ -32,7 +32,7 @@
|
|
||||||
# for linux and Apple OS X
|
|
||||||
XLIBS = -lXm -lXt -lXext -lXmu -lX11
|
|
||||||
CFLAGS := $(LIBINC) $(CFLAGS)
|
|
||||||
-LIBS = $(LIBLNK) $(XLIBS) $(LIBLIB) -lm
|
|
||||||
+LIBS = $(LIBLNK) $(XLIBS) $(LIBLIB) -lm -lssl
|
|
||||||
|
|
||||||
# static linking on Apple using X11 libs from ports
|
|
||||||
# CC = gcc
|
|
||||||
diff -Naur a/GUI/xephem/net.h b/GUI/xephem/net.h
|
|
||||||
--- a/GUI/xephem/net.h 2005-03-20 12:04:50.000000000 +0100
|
|
||||||
+++ b/GUI/xephem/net.h 2018-01-08 19:45:27.561208366 +0100
|
|
||||||
@@ -20,6 +20,13 @@
|
|
||||||
#include <sys/select.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
+#include <openssl/ssl.h>
|
|
||||||
+
|
|
||||||
+typedef struct {
|
|
||||||
+ int fd; //file desciptor for the underlying connection socket
|
|
||||||
+ SSL *ssl; //ssl connection for use with SSL_read( )and SSL_write()
|
|
||||||
+} XE_SSL_FD;
|
|
||||||
+
|
|
||||||
/* support functions */
|
|
||||||
|
|
||||||
extern int httpGET (char *host, char *GETcmd, char msg[]);
|
|
||||||
@@ -29,8 +36,11 @@
|
|
||||||
extern int recvline (int fd, char buf[], int max);
|
|
||||||
extern int recvlineb (int sock, char *buf, int size);
|
|
||||||
extern int sendbytes (int fd, unsigned char buf[], int n);
|
|
||||||
-
|
|
||||||
-
|
|
||||||
+extern int httpsGET (char *host, char *GETcmd, char msg[], XE_SSL_FD *ssl_fd);
|
|
||||||
+extern int ssl_recvbytes (XE_SSL_FD *ssl_fd, unsigned char buf[], int n);
|
|
||||||
+extern int ssl_readbytes (XE_SSL_FD *ssl_fd, unsigned char buf[], int n);
|
|
||||||
+extern int ssl_recvline (XE_SSL_FD *ssl_fd, char buf[], int max);
|
|
||||||
+extern int ssl_recvlineb (XE_SSL_FD *ssl_fd, char *buf, int size);
|
|
||||||
|
|
||||||
/* For RCS Only -- Do Not Edit
|
|
||||||
* @(#) $RCSfile: net.h,v $ $Date: 2003/03/17 07:26:21 $ $Revision: 1.3 $ $Name: $
|
|
||||||
diff -Naur a/GUI/xephem/netmenu.c b/GUI/xephem/netmenu.c
|
|
||||||
--- a/GUI/xephem/netmenu.c 2010-10-06 23:12:40.000000000 +0200
|
|
||||||
+++ b/GUI/xephem/netmenu.c 2018-01-08 22:02:16.090940142 +0100
|
|
||||||
@@ -9,6 +9,8 @@
|
|
||||||
#include <string.h>
|
|
||||||
#include <unistd.h>
|
|
||||||
|
|
||||||
+#include <openssl/ssl.h>
|
|
||||||
+
|
|
||||||
#include <Xm/Form.h>
|
|
||||||
#include <Xm/Label.h>
|
|
||||||
#include <Xm/PushB.h>
|
|
||||||
@@ -70,12 +72,24 @@
|
|
||||||
|
|
||||||
static char netcategory[] = "Network"; /* Save category */
|
|
||||||
|
|
||||||
+static SSL_METHOD *ssl_method; /* global ssl dispatch structure for creating a ssl context */
|
|
||||||
+static SSL_CTX *ssl_ctx; /* global ssl context structure for creating ssl connections */
|
|
||||||
+
|
|
||||||
/* call to set up without actually bringing up the menus.
|
|
||||||
*/
|
|
||||||
void
|
|
||||||
net_create()
|
|
||||||
{
|
|
||||||
if (!netshell_w) {
|
|
||||||
+ if (SSL_library_init() < 0) {
|
|
||||||
+ fprintf (stderr, "Could not initialize the OpenSSL library !\n");
|
|
||||||
+ } else {
|
|
||||||
+ ssl_method = SSLv23_client_method(); /* deprecated since openssl 1.1.x */
|
|
||||||
+// ssl_method = TLS_client_method(); /* since openssl 1.1.x */
|
|
||||||
+ ssl_ctx = SSL_CTX_new (ssl_method);
|
|
||||||
+ SSL_CTX_set_options (ssl_ctx, SSL_OP_NO_SSLv2);
|
|
||||||
+ };
|
|
||||||
+
|
|
||||||
net_create_form();
|
|
||||||
(void) net_save(); /* confirming here is just annoying */
|
|
||||||
}
|
|
||||||
@@ -251,8 +265,8 @@
|
|
||||||
struct {
|
|
||||||
unsigned char VN; /* version number */
|
|
||||||
unsigned char CD; /* command code */
|
|
||||||
- unsigned short DSTPORT; /* destination port */
|
|
||||||
- unsigned long DSTIP; /* destination IP addres */
|
|
||||||
+ uint16_t DSTPORT; /* destination port */
|
|
||||||
+ uint32_t DSTIP; /* destination IP address */
|
|
||||||
} SocksPacket;
|
|
||||||
|
|
||||||
struct hostent *hs = gethostbyname (socks_host);
|
|
||||||
@@ -390,7 +404,7 @@
|
|
||||||
|
|
||||||
/* read up to and including the next '\n' from socket fd into buf[max].
|
|
||||||
* we silently ignore all '\r'. we add a trailing '\0'.
|
|
||||||
- * return line lenth (not counting \0) if all ok, else -1.
|
|
||||||
+ * return line length (not counting \0) if all ok, else -1.
|
|
||||||
* N.B. this never reads ahead -- if that's ok, recvlineb() is better
|
|
||||||
*/
|
|
||||||
int
|
|
||||||
@@ -445,6 +459,216 @@
|
|
||||||
if (nr <= 0) {
|
|
||||||
ok = nr;
|
|
||||||
rb_next = 0;
|
|
||||||
+ rb_unk = 0;
|
|
||||||
+ break;
|
|
||||||
+ }
|
|
||||||
+ rb_next = 0;
|
|
||||||
+ rb_unk = nr;
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
+ if ((c = rb_linebuf[rb_next++]) != '\r')
|
|
||||||
+ *buf++ = c;
|
|
||||||
+
|
|
||||||
+ } while (buf-origbuf < size && c != '\n');
|
|
||||||
+
|
|
||||||
+ /* always give back a real line regardless, else status */
|
|
||||||
+ if (ok > 0) {
|
|
||||||
+ *buf = '\0';
|
|
||||||
+ ok = buf - origbuf;
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
+ return (ok);
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
+/* open the host, do the given GET cmd, and return a socket fd for the result.
|
|
||||||
+ * on success it fills the XE_SSL_FD structure for later use by SSL_read() and necessary cleanup.
|
|
||||||
+ * return -1 and with excuse in msg[], else 0 if ok.
|
|
||||||
+ * N.B. can be called before we are created if net set in app defaults.
|
|
||||||
+ */
|
|
||||||
+int
|
|
||||||
+httpsGET (char *host, char *GETcmd, char msg[], XE_SSL_FD *ssl_fd)
|
|
||||||
+{
|
|
||||||
+ char buf[2048];
|
|
||||||
+ int fd;
|
|
||||||
+ int connected;
|
|
||||||
+ SSL *ssl;
|
|
||||||
+ int n;
|
|
||||||
+ int ret;
|
|
||||||
+ int httpsport = 443;
|
|
||||||
+
|
|
||||||
+ /* open connection */
|
|
||||||
+ if (proxy_on) {
|
|
||||||
+ fd = mkconnection (proxy_host, proxy_port, msg);
|
|
||||||
+ if (fd < 0)
|
|
||||||
+ return (-1);
|
|
||||||
+
|
|
||||||
+ /* fill buf with CONNECT */
|
|
||||||
+ (void) sprintf (buf, "CONNECT %1$s:%2$d HTTP/1.0\r\nUser-Agent: xephem/%3$s\r\nHost: %1$s:%2$d\r\n\r\n", host, httpsport, PATCHLEVEL);
|
|
||||||
+
|
|
||||||
+ /* add proxy auth if enabled */
|
|
||||||
+ if (!auth_w)
|
|
||||||
+ net_create_form();
|
|
||||||
+ if (XmToggleButtonGetState (auth_w))
|
|
||||||
+ addAuth(buf);
|
|
||||||
+
|
|
||||||
+ /* log it */
|
|
||||||
+ xe_msg (0, "https proxy connect: %s", buf);
|
|
||||||
+
|
|
||||||
+ /* send it */
|
|
||||||
+ n = strlen (buf);
|
|
||||||
+ if (sendbytes(fd, (unsigned char *)buf, n) < 0) {
|
|
||||||
+ (void) sprintf (msg, "%s: send error: %s", proxy_host, syserrstr());
|
|
||||||
+ (void) close (fd);
|
|
||||||
+ return (-1);
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
+ connected = 0;
|
|
||||||
+ while (recvline (fd, buf, sizeof(buf)) > 1) {
|
|
||||||
+ xe_msg (0, "Rcv: %s", buf);
|
|
||||||
+ if (strstr (buf, "200 "))
|
|
||||||
+ connected = 1;
|
|
||||||
+ }
|
|
||||||
+ if (!connected) {
|
|
||||||
+ (void) sprintf (msg, "%s: connect error: %s", proxy_host, syserrstr());
|
|
||||||
+ (void) close (fd);
|
|
||||||
+ return (-1);
|
|
||||||
+ }
|
|
||||||
+ } else {
|
|
||||||
+ /* SOCKS or direct are both handled by mkconnection() */
|
|
||||||
+ fd = mkconnection (host, httpsport, msg);
|
|
||||||
+ if (fd < 0)
|
|
||||||
+ return (-1);
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
+ /* fill buf with GETcmd */
|
|
||||||
+ (void) sprintf (buf, "%s", GETcmd);
|
|
||||||
+
|
|
||||||
+ /* start ssl connection */
|
|
||||||
+ ssl = SSL_new (ssl_ctx);
|
|
||||||
+ SSL_set_fd (ssl, fd);
|
|
||||||
+ SSL_connect (ssl);
|
|
||||||
+
|
|
||||||
+ /* log it */
|
|
||||||
+ xe_msg (0, "https: %s", buf);
|
|
||||||
+
|
|
||||||
+ /* send it */
|
|
||||||
+ n = strlen (buf);
|
|
||||||
+ ret = SSL_write (ssl, (unsigned char *)buf, n);
|
|
||||||
+ if (ret <= 0) {
|
|
||||||
+ (void) sprintf (msg, "%s: ssl send error code: %d", host, SSL_get_error (ssl, ret));
|
|
||||||
+ (void) SSL_free (ssl);
|
|
||||||
+ (void) close (fd);
|
|
||||||
+ return (-1);
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
+ /* caller can read response */
|
|
||||||
+ ssl_fd->fd = fd;
|
|
||||||
+ ssl_fd->ssl = ssl;
|
|
||||||
+ return (fd);
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
+/* receive exactly n bytes from ssl connection ssl_fd into buf.
|
|
||||||
+ * return -1, 0 or n.
|
|
||||||
+ * N.B. with fallback to ordinary read from socket if ssl_fd->ssl is NULL
|
|
||||||
+ */
|
|
||||||
+int
|
|
||||||
+ssl_recvbytes (XE_SSL_FD *ssl_fd, unsigned char buf[], int n)
|
|
||||||
+{
|
|
||||||
+ int ns, tot;
|
|
||||||
+
|
|
||||||
+ for (tot = 0; tot < n; tot += ns) {
|
|
||||||
+ if (tout (TOUT, ssl_fd->fd, 0) < 0)
|
|
||||||
+ return (-1);
|
|
||||||
+ if (ssl_fd->ssl)
|
|
||||||
+ ns = SSL_read (ssl_fd->ssl, (void *)(buf+tot), n-tot);
|
|
||||||
+ else
|
|
||||||
+ ns = read (ssl_fd->fd, (void *)(buf+tot), n-tot);
|
|
||||||
+ if (ns <= 0)
|
|
||||||
+ return (ns);
|
|
||||||
+ }
|
|
||||||
+ return (n);
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
+/* like read(2) except we time out and allow user to cancel.
|
|
||||||
+ * receive up to n bytes from ssl connection ssl_fd into buf.
|
|
||||||
+ * return count, or 0 on eof or -1 on error.
|
|
||||||
+ * N.B. with fallback to ordinary read from socket if ssl_fd->ssl is NULL
|
|
||||||
+ */
|
|
||||||
+int
|
|
||||||
+ssl_readbytes (XE_SSL_FD *ssl_fd, unsigned char buf[], int n)
|
|
||||||
+{
|
|
||||||
+ int ns;
|
|
||||||
+
|
|
||||||
+ if (tout (TOUT, ssl_fd->fd, 0) < 0)
|
|
||||||
+ return (-1);
|
|
||||||
+ if (ssl_fd->ssl)
|
|
||||||
+ ns = SSL_read (ssl_fd->ssl, (void *)buf, n);
|
|
||||||
+ else
|
|
||||||
+ ns = read (ssl_fd->fd, (void *)buf, n);
|
|
||||||
+ return (ns);
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
+/* read up to and including the next '\n' from ssl into buf[max].
|
|
||||||
+ * we silently ignore all '\r'. we add a trailing '\0'.
|
|
||||||
+ * return line length (not counting \0) if all ok, else -1.
|
|
||||||
+ * N.B. with fallback to ordinary read from socket if ssl_fd->ssl is NULL
|
|
||||||
+ */
|
|
||||||
+int
|
|
||||||
+ssl_recvline (XE_SSL_FD *ssl_fd, char buf[], int max)
|
|
||||||
+{
|
|
||||||
+ unsigned char c;
|
|
||||||
+ int n;
|
|
||||||
+
|
|
||||||
+ max--; /* leave room for trailing \0 */
|
|
||||||
+
|
|
||||||
+ for (n = 0; n < max && ssl_recvbytes (ssl_fd, &c, 1) == 1; ) {
|
|
||||||
+ if (c != '\r') {
|
|
||||||
+ buf[n++] = c;
|
|
||||||
+ if (c == '\n') {
|
|
||||||
+ buf[n] = '\0';
|
|
||||||
+ return (n);
|
|
||||||
+ }
|
|
||||||
+ }
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
+ return (-1);
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
+/* rather like ssl_recvline but reads ahead in big chunk for efficiency.
|
|
||||||
+ * return length if read a line ok, 0 if hit eof, -1 if error.
|
|
||||||
+ * N.B. we silently swallow all '\r'.
|
|
||||||
+ * N.B. we read ahead and can hide bytes after each call.
|
|
||||||
+ * N.B. with fallback to ordinary read from socket if ssl_fd->ssl is NULL
|
|
||||||
+ */
|
|
||||||
+int
|
|
||||||
+ssl_recvlineb (XE_SSL_FD *ssl_fd, char *buf, int size)
|
|
||||||
+{
|
|
||||||
+ char *origbuf = buf; /* save to prevent overfilling buf */
|
|
||||||
+ char c = '\0';
|
|
||||||
+ int ok = 1;
|
|
||||||
+
|
|
||||||
+ /* always leave room for trailing \n */
|
|
||||||
+ size -= 1;
|
|
||||||
+
|
|
||||||
+ /* read and copy linebuf[next] to buf until buf fills or copied a \n */
|
|
||||||
+ do {
|
|
||||||
+
|
|
||||||
+ if (rb_next >= rb_unk) {
|
|
||||||
+ /* linebuf is empty -- refill */
|
|
||||||
+
|
|
||||||
+ int nr;
|
|
||||||
+
|
|
||||||
+ if (tout (TOUT, ssl_fd->fd, 0) < 0) {
|
|
||||||
+ nr = -1;
|
|
||||||
+ break;
|
|
||||||
+ }
|
|
||||||
+ if (ssl_fd->ssl)
|
|
||||||
+ nr = SSL_read (ssl_fd->ssl, rb_linebuf, sizeof(rb_linebuf));
|
|
||||||
+ else
|
|
||||||
+ nr = read (ssl_fd->fd, rb_linebuf, sizeof(rb_linebuf));
|
|
||||||
+ if (nr <= 0) {
|
|
||||||
+ ok = nr;
|
|
||||||
+ rb_next = 0;
|
|
||||||
rb_unk = 0;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
diff -Naur a/GUI/xephem/sunmenu.c b/GUI/xephem/sunmenu.c
|
|
||||||
--- a/GUI/xephem/sunmenu.c 2012-04-02 00:38:50.000000000 +0200
|
|
||||||
+++ b/GUI/xephem/sunmenu.c 2018-01-08 22:09:43.585825210 +0100
|
|
||||||
@@ -885,9 +885,11 @@
|
|
||||||
int isjpeg, jpegl;
|
|
||||||
int njpeg;
|
|
||||||
unsigned char *jpeg;
|
|
||||||
+ XE_SSL_FD ssl_fd;
|
|
||||||
int fd, nr;
|
|
||||||
struct tm tm;
|
|
||||||
|
|
||||||
+ memset(&ssl_fd, 0, sizeof(ssl_fd));
|
|
||||||
memset(&tm, 0, sizeof(struct tm));
|
|
||||||
|
|
||||||
/* get desired type and size */
|
|
||||||
@@ -900,18 +902,18 @@
|
|
||||||
|
|
||||||
/* build GET command */
|
|
||||||
sprintf (get, "GET http://%s%s HTTP/1.0\r\nUser-Agent: xephem/%s\r\n\r\n", sohohost, fn, PATCHLEVEL);
|
|
||||||
-
|
|
||||||
+
|
|
||||||
/* query server */
|
|
||||||
- fd = httpGET (sohohost, get, buf);
|
|
||||||
+ fd = httpsGET (sohohost, get, buf, &ssl_fd);
|
|
||||||
if (fd < 0) {
|
|
||||||
- xe_msg (1, "http get: %s", buf);
|
|
||||||
+ xe_msg (1, "https get: %s", buf);
|
|
||||||
return (-1);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* read header (everything to first blank line), looking for jpeg */
|
|
||||||
isjpeg = 0;
|
|
||||||
jpegl = 0;
|
|
||||||
- while (recvline (fd, buf, sizeof(buf)) > 1) {
|
|
||||||
+ while (ssl_recvline (&ssl_fd, buf, sizeof(buf)) > 1) {
|
|
||||||
xe_msg (0, "Rcv: %s", buf);
|
|
||||||
if (strstr (buf, "Content-Type:") && strstr (buf, "image/jpeg"))
|
|
||||||
isjpeg = 1;
|
|
||||||
@@ -924,15 +926,17 @@
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (!isjpeg) {
|
|
||||||
- while (recvline (fd, buf, sizeof(buf)) > 0)
|
|
||||||
+ while (ssl_recvline (&ssl_fd, buf, sizeof(buf)) > 0)
|
|
||||||
xe_msg (0, "Rcv: %s", buf);
|
|
||||||
xe_msg (1, "Error talking to SOHO .. see File->System log\n");
|
|
||||||
- close (fd);
|
|
||||||
+ SSL_free (ssl_fd.ssl);
|
|
||||||
+ close (ssl_fd.fd);
|
|
||||||
return (-1);
|
|
||||||
}
|
|
||||||
if (jpegl == 0) {
|
|
||||||
xe_msg (1, "No Content-Length in header");
|
|
||||||
- close (fd);
|
|
||||||
+ SSL_free (ssl_fd.ssl);
|
|
||||||
+ close (ssl_fd.fd);
|
|
||||||
return (-1);
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -942,20 +946,22 @@
|
|
||||||
for (njpeg = 0; njpeg < jpegl; njpeg += nr) {
|
|
||||||
pm_set (100*njpeg/jpegl);
|
|
||||||
jpeg = (unsigned char *) XtRealloc ((char*)jpeg, njpeg+NSREAD);
|
|
||||||
- nr = readbytes (fd, jpeg+njpeg, NSREAD);
|
|
||||||
- if (nr < 0) {
|
|
||||||
- xe_msg (1, "%s:\n%s", sohohost, syserrstr());
|
|
||||||
+ nr = SSL_read (ssl_fd.ssl, jpeg+njpeg, NSREAD);
|
|
||||||
+ if (nr <= 0) {
|
|
||||||
+ xe_msg (1, "%s: ssl read error code: %d", sohohost, SSL_get_error(ssl_fd.ssl, nr));
|
|
||||||
pm_down();
|
|
||||||
- close (fd);
|
|
||||||
+ SSL_free (ssl_fd.ssl);
|
|
||||||
+ close (ssl_fd.fd);
|
|
||||||
return (-1);
|
|
||||||
}
|
|
||||||
if (nr == 0)
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
pm_down();
|
|
||||||
- close (fd);
|
|
||||||
+ SSL_free (ssl_fd.ssl);
|
|
||||||
+ close (ssl_fd.fd);
|
|
||||||
|
|
||||||
- sprintf (fn, "/%s_%s.jpg", filetime, filetype);
|
|
||||||
+ sprintf (fn, "/%s_%s.jpg", filetime, filetype);
|
|
||||||
/* display jpeg */
|
|
||||||
if (displayPic (fn, jpeg, njpeg) < 0)
|
|
||||||
return (-1);
|
|
||||||
diff -Naur a/GUI/xephem/ucac.c b/GUI/xephem/ucac.c
|
|
||||||
--- a/GUI/xephem/ucac.c 2013-03-02 03:41:37.000000000 +0100
|
|
||||||
+++ b/GUI/xephem/ucac.c 2018-01-08 21:53:08.398538689 +0100
|
|
||||||
@@ -18,15 +18,15 @@
|
|
||||||
|
|
||||||
#define MAXFOV 15.0 /* max fov, degs */
|
|
||||||
|
|
||||||
-typedef unsigned char UC; /* byte */
|
|
||||||
-typedef unsigned int UI; /* unsigned integer */
|
|
||||||
+typedef unsigned char XE_UC; /* byte */
|
|
||||||
+typedef unsigned int XE_UI; /* unsigned integer */
|
|
||||||
|
|
||||||
/* access an I*2 or I*4 at offset i in UC array a in little-endian byte order.
|
|
||||||
* a bit slow but ultra portable.
|
|
||||||
*/
|
|
||||||
-#define I2(a,i) ((int)(short)((((UI)(a)[i]) | (((UI)(a)[i+1])<<8))))
|
|
||||||
-#define I4(a,i) ((int)((((UI)(a)[i]) | (((UI)(a)[i+1])<<8) | \
|
|
||||||
- (((UI)(a)[i+2])<<16) | (((UI)(a)[i+3])<<24))))
|
|
||||||
+#define I2(a,i) ((int)(short)((((XE_UI)(a)[i]) | (((XE_UI)(a)[i+1])<<8))))
|
|
||||||
+#define I4(a,i) ((int)((((XE_UI)(a)[i]) | (((XE_UI)(a)[i+1])<<8) | \
|
|
||||||
+ (((XE_UI)(a)[i+2])<<16) | (((XE_UI)(a)[i+3])<<24))))
|
|
||||||
|
|
||||||
/* keep track of an array of ObjF */
|
|
||||||
typedef struct {
|
|
||||||
@@ -48,9 +48,9 @@
|
|
||||||
|
|
||||||
#define DPMAS (1.0/3600000.0) /* degrees per milliarcsecond */
|
|
||||||
|
|
||||||
-typedef UC U2Star[44]; /* UCAC2 record */
|
|
||||||
-typedef UC U3Star[84]; /* UCAC3 record */
|
|
||||||
-typedef UC U4Star[78]; /* UCAC4 record */
|
|
||||||
+typedef XE_UC U2Star[44]; /* UCAC2 record */
|
|
||||||
+typedef XE_UC U3Star[84]; /* UCAC3 record */
|
|
||||||
+typedef XE_UC U4Star[78]; /* UCAC4 record */
|
|
||||||
static char *basedir; /* full dir with zone files and index */
|
|
||||||
static FILE *indexfp; /* index file handle */
|
|
||||||
|
|
||||||
@@ -293,7 +293,7 @@
|
|
||||||
read4Index (int rz, int dz, int *nskip, int *nnew)
|
|
||||||
{
|
|
||||||
off_t offset;
|
|
||||||
- UC i4[4];
|
|
||||||
+ XE_UC i4[4];
|
|
||||||
|
|
||||||
offset = (rz*NZH4 + dz)*sizeof(i4);
|
|
||||||
if (fseek (indexfp, offset, SEEK_SET) < 0) {
|
|
||||||
@@ -508,7 +508,7 @@
|
|
||||||
read3Index (int rz, int dz, int *nskip, int *nnew)
|
|
||||||
{
|
|
||||||
off_t offset;
|
|
||||||
- UC i4[4];
|
|
||||||
+ XE_UC i4[4];
|
|
||||||
|
|
||||||
offset = (rz*NZH + dz)*sizeof(i4);
|
|
||||||
if (fseek (indexfp, offset, SEEK_SET) < 0) {
|
|
||||||
@@ -663,7 +663,7 @@
|
|
||||||
get2N (int rz, int dz, int *idp)
|
|
||||||
{
|
|
||||||
off_t offset;
|
|
||||||
- UC nat[4];
|
|
||||||
+ XE_UC nat[4];
|
|
||||||
|
|
||||||
offset = (dz*NZW + rz)*sizeof(nat);
|
|
||||||
if (fseek (indexfp, offset, SEEK_SET) < 0)
|
|
||||||
diff -Naur a/GUI/xephem/usno.c b/GUI/xephem/usno.c
|
|
||||||
--- a/GUI/xephem/usno.c 2005-03-20 12:04:51.000000000 +0100
|
|
||||||
+++ b/GUI/xephem/usno.c 2016-10-26 18:59:16.469149437 +0200
|
|
||||||
@@ -14,8 +14,8 @@
|
|
||||||
#define CATBPR 12 /* bytes per star record in .cat file */
|
|
||||||
#define ACCBPR 30 /* bytes per record in .acc file */
|
|
||||||
|
|
||||||
-typedef unsigned int UI;
|
|
||||||
-typedef unsigned char UC;
|
|
||||||
+typedef unsigned int XE_UI;
|
|
||||||
+typedef unsigned char XE_UC;
|
|
||||||
|
|
||||||
/* One Field star */
|
|
||||||
typedef struct {
|
|
||||||
@@ -36,7 +36,7 @@
|
|
||||||
double lr[2], int *nd, double fd[2], double ld[2], int zone[2], char msg[]);
|
|
||||||
static int fetchSwath (int zone, double maxmag, double fr, double lr,
|
|
||||||
double fd, double ld, StarArray *sap, char msg[]);
|
|
||||||
-static int crackCatBuf (UC buf[CATBPR], FieldStar *fsp);
|
|
||||||
+static int crackCatBuf (XE_UC buf[CATBPR], FieldStar *fsp);
|
|
||||||
static int addGS (StarArray *sap, FieldStar *fsp);
|
|
||||||
|
|
||||||
static char *cdpath; /* where CD rom is mounted */
|
|
||||||
@@ -236,7 +236,7 @@
|
|
||||||
{
|
|
||||||
char fn[1024];
|
|
||||||
char buf[ACCBPR];
|
|
||||||
- UC catbuf[CATBPR];
|
|
||||||
+ XE_UC catbuf[CATBPR];
|
|
||||||
FieldStar fs;
|
|
||||||
long frec;
|
|
||||||
long os;
|
|
||||||
@@ -314,13 +314,13 @@
|
|
||||||
* return 0 if ok, else -1.
|
|
||||||
*/
|
|
||||||
static int
|
|
||||||
-crackCatBuf (UC buf[CATBPR], FieldStar *fsp)
|
|
||||||
+crackCatBuf (XE_UC buf[CATBPR], FieldStar *fsp)
|
|
||||||
{
|
|
||||||
-#define BEUPACK(b) (((UI)((b)[0])<<24) | ((UI)((b)[1])<<16) | ((UI)((b)[2])<<8)\
|
|
||||||
- | ((UI)((b)[3])))
|
|
||||||
+#define BEUPACK(b) (((XE_UI)((b)[0])<<24) | ((XE_UI)((b)[1])<<16) | ((XE_UI)((b)[2])<<8)\
|
|
||||||
+ | ((XE_UI)((b)[3])))
|
|
||||||
double ra, dec;
|
|
||||||
int red, blu;
|
|
||||||
- UI mag;
|
|
||||||
+ XE_UI mag;
|
|
||||||
|
|
||||||
/* first 4 bytes are packed RA, big-endian */
|
|
||||||
ra = BEUPACK(buf)/(100.0*3600.0*15.0);
|
|
||||||
diff -Naur a/GUI/xephem/webdbmenu.c b/GUI/xephem/webdbmenu.c
|
|
||||||
--- a/GUI/xephem/webdbmenu.c 2012-11-23 06:22:09.000000000 +0100
|
|
||||||
+++ b/GUI/xephem/webdbmenu.c 2018-01-08 21:58:01.975042039 +0100
|
|
||||||
@@ -404,6 +404,10 @@
|
|
||||||
char *url;
|
|
||||||
{
|
|
||||||
static char http[] = "http://";
|
|
||||||
+ static char https[] = "https://";
|
|
||||||
+ char *transport = http;
|
|
||||||
+ int ltransport = strlen (transport);
|
|
||||||
+ int ishttp = 0;
|
|
||||||
char buf[512], msg[1024];
|
|
||||||
char l0[512], l1[512], l2[512];
|
|
||||||
char *l0p = l0, *l1p = l1, *l2p = l2;
|
|
||||||
@@ -411,21 +415,31 @@
|
|
||||||
char *slash, *dot;
|
|
||||||
char filename[256];
|
|
||||||
FILE *fp;
|
|
||||||
+ XE_SSL_FD ssl_fd;
|
|
||||||
int sockfd;
|
|
||||||
int nfound;
|
|
||||||
|
|
||||||
+ memset(&ssl_fd, 0, sizeof(ssl_fd));
|
|
||||||
+
|
|
||||||
/* start */
|
|
||||||
watch_cursor(1);
|
|
||||||
l0[0] = l1[0] = l2[0] = '\0';
|
|
||||||
|
|
||||||
/* find transport and host */
|
|
||||||
- if (strncmp (url, http, 7)) {
|
|
||||||
- xe_msg (1, "URL must begin with %s", http);
|
|
||||||
+ if (!strncmp (url, transport, ltransport)) {
|
|
||||||
+ ishttp = 1;
|
|
||||||
+ } else {
|
|
||||||
+ transport = https;
|
|
||||||
+ ltransport = strlen (transport);
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
+ if ((!ishttp) && (strncmp (url, transport, ltransport))) {
|
|
||||||
+ xe_msg (1, "URL must begin with %s or %s", http, https);
|
|
||||||
watch_cursor (0);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
- slash = strchr (url+7, '/');
|
|
||||||
+ slash = strchr (url+ltransport, '/');
|
|
||||||
dot = strrchr (url, '.');
|
|
||||||
if (!slash || !dot) {
|
|
||||||
xe_msg (1, "Badly formed URL");
|
|
||||||
@@ -434,11 +448,16 @@
|
|
||||||
}
|
|
||||||
|
|
||||||
/* connect to check url */
|
|
||||||
- sprintf (host, "%.*s", (int)(slash-url-7), url+7);
|
|
||||||
+ sprintf (host, "%.*s", (int)(slash-url-ltransport), url+ltransport);
|
|
||||||
sprintf (buf, "GET %s HTTP/1.1\r\nHost: %s\r\nConnection: close\r\nUser-Agent: xephem/%s\r\n\r\n",
|
|
||||||
url, host, PATCHLEVEL);
|
|
||||||
stopd_up();
|
|
||||||
- sockfd = httpGET (host, buf, msg);
|
|
||||||
+ if (ishttp) {
|
|
||||||
+ sockfd = httpGET (host, buf, msg);
|
|
||||||
+ ssl_fd.fd = sockfd;
|
|
||||||
+ } else {
|
|
||||||
+ sockfd = httpsGET (host, buf, msg, &ssl_fd);
|
|
||||||
+ }
|
|
||||||
if (sockfd < 0) {
|
|
||||||
xe_msg (1, "http GET to %s failed: %s%s\n", host, buf, msg);
|
|
||||||
stopd_down();
|
|
||||||
@@ -447,20 +466,22 @@
|
|
||||||
}
|
|
||||||
|
|
||||||
/* create local file */
|
|
||||||
- slash = strrchr (url+7, '/');
|
|
||||||
+ slash = strrchr (url+ltransport, '/');
|
|
||||||
sprintf (filename, "%s/%.*sedb", getPrivateDir(), (int)(dot-slash), slash+1);
|
|
||||||
fp = fopen (filename, "w");
|
|
||||||
if (!fp) {
|
|
||||||
xe_msg (1, "%s:\n%s", filename, syserrstr());
|
|
||||||
watch_cursor (0);
|
|
||||||
- close (sockfd);
|
|
||||||
+ if (!ishttp)
|
|
||||||
+ SSL_free (ssl_fd.ssl);
|
|
||||||
+ close (ssl_fd.fd);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* copy to file, insuring only .edb lines.
|
|
||||||
*/
|
|
||||||
nfound = 0;
|
|
||||||
- while (recvlineb (sockfd, l2p, sizeof(l2)) > 0) {
|
|
||||||
+ while (ssl_recvlineb (&ssl_fd, l2p, sizeof(l2)) > 0) {
|
|
||||||
char *lrot;
|
|
||||||
Obj o;
|
|
||||||
|
|
||||||
@@ -484,7 +505,9 @@
|
|
||||||
|
|
||||||
/* tidy up and done */
|
|
||||||
fclose (fp);
|
|
||||||
- close (sockfd);
|
|
||||||
+ if (!ishttp)
|
|
||||||
+ SSL_free (ssl_fd.ssl);
|
|
||||||
+ close (ssl_fd.fd);
|
|
||||||
if (!nfound) {
|
|
||||||
xe_msg (1, "No objects in file");
|
|
||||||
remove (filename);
|
|
||||||
diff -Naur a/GUI/xephem/xephem.h b/GUI/xephem/xephem.h
|
|
||||||
--- a/GUI/xephem/xephem.h 2012-12-30 18:01:12.000000000 +0100
|
|
||||||
+++ b/GUI/xephem/xephem.h 2016-10-26 20:09:47.000000000 +0200
|
|
||||||
@@ -12,12 +12,12 @@
|
|
||||||
|
|
||||||
#include <stdarg.h> /* be kind to those who don't use xe_msg() */
|
|
||||||
|
|
||||||
+#include "net.h" /* has to be included before astro.h because of openssl */
|
|
||||||
#include "astro.h"
|
|
||||||
#include "ip.h"
|
|
||||||
|
|
||||||
/* local glue files */
|
|
||||||
#include "map.h"
|
|
||||||
-#include "net.h"
|
|
||||||
#include "patchlevel.h"
|
|
||||||
#include "preferences.h"
|
|
||||||
#include "db.h"
|
|
||||||
@@ -1,82 +0,0 @@
|
|||||||
diff -Naur a/GUI/xephem/earthmenu.c b/GUI/xephem/earthmenu.c
|
|
||||||
--- a/GUI/xephem/earthmenu.c 2012-11-23 05:15:39.000000000 +0100
|
|
||||||
+++ b/GUI/xephem/earthmenu.c 2018-09-24 01:17:34.248048815 +0200
|
|
||||||
@@ -4886,8 +4886,11 @@
|
|
||||||
int nrawgif;
|
|
||||||
char buf[1024];
|
|
||||||
int w, h;
|
|
||||||
+ XE_SSL_FD ssl_fd;
|
|
||||||
int fd;
|
|
||||||
|
|
||||||
+ memset(&ssl_fd, 0, sizeof(ssl_fd));
|
|
||||||
+
|
|
||||||
/* open test case, else real network */
|
|
||||||
fd = openh ("/tmp/latest_cmoll.gif", O_RDONLY);
|
|
||||||
if (fd >= 0) {
|
|
||||||
@@ -4902,12 +4905,12 @@
|
|
||||||
stopd_up();
|
|
||||||
|
|
||||||
/* make connection to server for the file */
|
|
||||||
- xe_msg (0, "Getting\nhttp://%s%s", wxhost, wxfile);
|
|
||||||
- (void) sprintf (buf, "GET http://%s%s HTTP/1.0\r\nUser-Agent: xephem/%s\r\n\r\n",
|
|
||||||
- wxhost, wxfile, PATCHLEVEL);
|
|
||||||
- fd = httpGET (wxhost, buf, buf);
|
|
||||||
+ xe_msg (0, "Getting\nhttps://%s%s", wxhost, wxfile);
|
|
||||||
+ (void) sprintf (buf, "GET %s HTTP/1.1\r\nHost: %s\r\nConnection: close\r\nUser-Agent: xephem/%s\r\n\r\n",
|
|
||||||
+ wxfile, wxhost, PATCHLEVEL);
|
|
||||||
+ fd = httpsGET (wxhost, buf, buf, &ssl_fd);
|
|
||||||
if (fd < 0) {
|
|
||||||
- xe_msg (1, "http get:\n%s", buf);
|
|
||||||
+ xe_msg (1, "https get:\n%s", buf);
|
|
||||||
stopd_down();
|
|
||||||
return (-1);
|
|
||||||
}
|
|
||||||
@@ -4915,7 +4918,7 @@
|
|
||||||
/* read header, looking for some header info */
|
|
||||||
isgif = 0;
|
|
||||||
length = 0;
|
|
||||||
- while (recvline (fd, buf, sizeof(buf)) > 1) {
|
|
||||||
+ while (ssl_recvline (&ssl_fd, buf, sizeof(buf)) > 1) {
|
|
||||||
xe_msg (0, "Rcv: %s", buf);
|
|
||||||
if (strstr (buf, "image/gif"))
|
|
||||||
isgif = 1;
|
|
||||||
@@ -4923,9 +4926,10 @@
|
|
||||||
length = atoi (buf+15);
|
|
||||||
}
|
|
||||||
if (!isgif) {
|
|
||||||
- while (recvline (fd, buf, sizeof(buf)) > 1)
|
|
||||||
+ while (ssl_recvline (&ssl_fd, buf, sizeof(buf)) > 1)
|
|
||||||
xe_msg (0, "Rcv: %s", buf);
|
|
||||||
- close (fd);
|
|
||||||
+ SSL_free (ssl_fd.ssl);
|
|
||||||
+ close (ssl_fd.fd);
|
|
||||||
stopd_down();
|
|
||||||
return (-1);
|
|
||||||
}
|
|
||||||
@@ -4936,12 +4940,13 @@
|
|
||||||
pm_up();
|
|
||||||
for (nrawgif = 0; nrawgif < sizeof(rawgif); nrawgif += nr) {
|
|
||||||
pm_set (100*nrawgif/length);
|
|
||||||
- nr = readbytes (fd, rawgif+nrawgif, 4096);
|
|
||||||
+ nr = SSL_read (ssl_fd.ssl, rawgif+nrawgif, 4096);
|
|
||||||
if (nr < 0) {
|
|
||||||
- xe_msg (1, "%s:\n%s", wxhost, syserrstr());
|
|
||||||
+ xe_msg (1, "%s: ssl read error code: %d", wxhost, SSL_get_error(ssl_fd.ssl, nr));
|
|
||||||
stopd_down();
|
|
||||||
pm_down();
|
|
||||||
- close (fd);
|
|
||||||
+ SSL_free (ssl_fd.ssl);
|
|
||||||
+ close (ssl_fd.fd);
|
|
||||||
return (-1);
|
|
||||||
}
|
|
||||||
if (nr == 0)
|
|
||||||
@@ -4949,7 +4954,8 @@
|
|
||||||
}
|
|
||||||
stopd_down();
|
|
||||||
pm_down();
|
|
||||||
- close (fd);
|
|
||||||
+ SSL_free (ssl_fd.ssl);
|
|
||||||
+ close (ssl_fd.fd);
|
|
||||||
if (nr > 0) {
|
|
||||||
xe_msg (1, "File too large");
|
|
||||||
return (-1);
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<maintainer type="project">
|
|
||||||
<email>sci-astronomy@gentoo.org</email>
|
|
||||||
<name>Gentoo Astronomy Project</name>
|
|
||||||
</maintainer>
|
|
||||||
<longdescription lang="en">
|
|
||||||
Xephem is an interactive astronomical ephemeris program for X Windows
|
|
||||||
systems. It computes heliocentric, geocentric and topocentric
|
|
||||||
information for fixed celestial objects and objects in heliocentric
|
|
||||||
and geocentric orbits; has built-in support for all planet positions;
|
|
||||||
the moons of Jupiter, Saturn and Earth; Mars' and Jupiter's central
|
|
||||||
meridian longitude; Saturn's rings; and Jupiter's Great Red Spot.
|
|
||||||
</longdescription>
|
|
||||||
</pkgmetadata>
|
|
||||||
@@ -1,58 +0,0 @@
|
|||||||
# Copyright 1999-2018 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
inherit eutils toolchain-funcs
|
|
||||||
|
|
||||||
DESCRIPTION="Interactive tool for astronomical ephemeris and sky simulation"
|
|
||||||
HOMEPAGE="http://www.clearskyinstitute.com/xephem"
|
|
||||||
SRC_URI="http://97.74.56.125/free/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="XEphem"
|
|
||||||
SLOT=0
|
|
||||||
KEYWORDS="amd64 ppc ppc64 x86 ~amd64-linux ~x86-linux"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RDEPEND=">=x11-libs/motif-2.3:0
|
|
||||||
virtual/jpeg:0=
|
|
||||||
media-libs/libpng:0="
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
sys-apps/groff"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}/${P}-respect_env_vars.patch"
|
|
||||||
"${FILESDIR}/${P}-implicits.patch"
|
|
||||||
"${FILESDIR}/${P}-no_xprint.patch"
|
|
||||||
"${FILESDIR}/${P}_openssl.patch"
|
|
||||||
"${FILESDIR}/${P}_openssl_earthmenu.patch"
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
echo > "${T}"/XEphem "XEphem.ShareDir: /usr/share/${PN}"
|
|
||||||
echo > "${T}"/99xephem "XEHELPURL=/usr/share/doc/${PF}/html/xephem.html"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
tc-export CC AR RANLIB
|
|
||||||
emake -C GUI/xephem
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
insinto /usr/share/X11/app-defaults
|
|
||||||
has_version '<x11-base/xorg-x11-7.0' && insinto /etc/X11/app-defaults
|
|
||||||
doins "${T}"/XEphem
|
|
||||||
doenvd "${T}"/99xephem
|
|
||||||
dodoc README
|
|
||||||
|
|
||||||
cd GUI/xephem
|
|
||||||
dobin xephem
|
|
||||||
doman xephem.1
|
|
||||||
newicon XEphem.png ${PN}.png
|
|
||||||
insinto /usr/share/${PN}
|
|
||||||
doins -r auxil catalogs fifos fits gallery lo
|
|
||||||
insinto /usr/share/doc/${PF}/html
|
|
||||||
doins -r help/*
|
|
||||||
make_desktop_entry xephem XEphem ${PN}
|
|
||||||
}
|
|
||||||
@@ -1,59 +0,0 @@
|
|||||||
# Copyright 1999-2018 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
inherit eutils toolchain-funcs
|
|
||||||
|
|
||||||
DESCRIPTION="Interactive tool for astronomical ephemeris and sky simulation"
|
|
||||||
HOMEPAGE="http://www.clearskyinstitute.com/xephem"
|
|
||||||
SRC_URI="http://97.74.56.125/free/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="XEphem"
|
|
||||||
SLOT=0
|
|
||||||
KEYWORDS="amd64 ppc ppc64 x86 ~amd64-linux ~x86-linux"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RDEPEND=">=x11-libs/motif-2.3:0
|
|
||||||
virtual/jpeg:0=
|
|
||||||
media-libs/libpng:0="
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
sys-apps/groff"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}/${P}-respect_env_vars.patch"
|
|
||||||
"${FILESDIR}/${P}-implicits.patch"
|
|
||||||
"${FILESDIR}/${P}-no_xprint.patch"
|
|
||||||
"${FILESDIR}/${P}_openssl.patch"
|
|
||||||
"${FILESDIR}/${P}_openssl_earthmenu.patch"
|
|
||||||
"${FILESDIR}/${P}-fix_gsc_lookup.patch"
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
echo > "${T}"/XEphem "XEphem.ShareDir: /usr/share/${PN}"
|
|
||||||
echo > "${T}"/99xephem "XEHELPURL=/usr/share/doc/${PF}/html/xephem.html"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
tc-export CC AR RANLIB
|
|
||||||
emake -C GUI/xephem
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
insinto /usr/share/X11/app-defaults
|
|
||||||
has_version '<x11-base/xorg-x11-7.0' && insinto /etc/X11/app-defaults
|
|
||||||
doins "${T}"/XEphem
|
|
||||||
doenvd "${T}"/99xephem
|
|
||||||
dodoc README
|
|
||||||
|
|
||||||
cd GUI/xephem
|
|
||||||
dobin xephem
|
|
||||||
doman xephem.1
|
|
||||||
newicon XEphem.png ${PN}.png
|
|
||||||
insinto /usr/share/${PN}
|
|
||||||
doins -r auxil catalogs fifos fits gallery lo
|
|
||||||
insinto /usr/share/doc/${PF}/html
|
|
||||||
doins -r help/*
|
|
||||||
make_desktop_entry xephem XEphem ${PN}
|
|
||||||
}
|
|
||||||
@@ -1,47 +0,0 @@
|
|||||||
AUX fscrypt.pam-config 108 BLAKE2B bdfb7cf185a0070f82bfa8f4ee05fc2fffba6c3b8327ff07b91a99d31bf61024e35f22d296c60cf56971c51c9c1cfc07126830c93ee39c7d5a485676611cf0fe SHA512 56f443cd2fbed9c164693c800cd8dc08bb35b88bb9c912fb35eb43cc6c6bc3b966d22d9810f43580d12b9faa8d753419a06336f08c47a0e602c48a103a705299
|
|
||||||
DIST fscrypt-0.2.9.tar.gz 144204 BLAKE2B 80f0028c10e8050874476dc491923c4cc06dcb95ec588b9b8c8b85dd9a0c6024bd7474396be72894b1abe05812b6447464bb8e35034322cf7a8f209e1b772bcf SHA512 203d61171bc83c558eef955dd4e3116540514faa058f28f65f904e8ac96036236ba26ca0cc6c7baf6d775405f88dbbbe2b85a61fa2f6c030797ba7672cededa4
|
|
||||||
DIST github.com%2F!burnt!sushi%2Ftoml%2F@v%2Fv0.3.1.mod 34 BLAKE2B ce54a247aef91043830bdf0603c8452ba38eceb1495af6e7a74c9119234a0dc5cd080cb25258c28f5e270acf91189a5ed33e361cbf17de2be5e37dadbda1d90d SHA512 320941bc3b7fb8bc595e6135cbc513a7583d129f0cd92508055291e141191066303cf75148e25198c21f6c6c539a790ea3210f3ecf5de6a2a03b70c753091146
|
|
||||||
DIST github.com%2F!burnt!sushi%2Ftoml%2F@v%2Fv0.3.1.zip 56132 BLAKE2B 5edcfe991d7fc40094d637bae8d8d6f1f897ab3d3786ade2bb80287738103264520681ced8d30d2037253206c32d3f867f4d024a571cb9aad030ebc451e198eb SHA512 43ed64ae515738487e9b75a2290d0b2bc25e83c021a9f29b21487c37adbf34e74e1e7d3d5ec0dfe678c8396356f95c3993a5f5610d1791ff62056cd182a4272f
|
|
||||||
DIST github.com%2Fclient9%2Fmisspell%2F@v%2Fv0.3.4.mod 35 BLAKE2B 45d27e6bbd9255a355b6bd14ac839c7d87fabb393693a8b862ad974017af01309e5d36fa99d4925905c1617c0d90b5263b54cd95af2dbab186e293936dc86459 SHA512 ca8192c6321468b4332eb63c765a5798150dce9312873123b48d9ec67ebb4229cffc7b7e8054b8b0a6f45611f08130008031edf33da3468bb9a4ee9455fa02a5
|
|
||||||
DIST github.com%2Fclient9%2Fmisspell%2F@v%2Fv0.3.4.zip 246908 BLAKE2B 94b71d3c77553dca4889c6f066f6741fa9d17a0ea86b564e3e8ff05b015b87c18fd3fcbe2b3d942a8569c99ef4bdf42c686bd58485e9373447d25724ceb934ca SHA512 47991999bacf78ddfd33a4af3c0d5b8a418cb7664e05bc59d886150025a1d5aad831deacbd6da76d5a21a97ed115d4210c374459e7af8ed7b93c4c1c0e7a42fa
|
|
||||||
DIST github.com%2Fgolang%2Fprotobuf%2F@v%2Fv1.2.0.mod 34 BLAKE2B a4239cba934b6e80714b93d47e88f22ad28ce41d1d984c4261cc3f5f3b857fb28785223fa911b258e2665be2a9d24ffbd925e9e0f374452a2aacd712ad9d5f75 SHA512 e059a34363bb826bbcb8981adbfc10da90e04b86dc5376ab20bdfe1fab135953cff41ef1daa116aff10e9f3e6503168f6baf902f09aa0e8cd9a0da96b932f4b6
|
|
||||||
DIST github.com%2Fgolang%2Fprotobuf%2F@v%2Fv1.2.0.zip 482403 BLAKE2B 47db66e9c8187c20b27b9aeb8584f0f2289084103ccda25406eb30059147c3bcb867c76d145c4cab7eae801ed4cf76a63efe23f091e05c9206fcadc3358a02f6 SHA512 d102d00618f077f7d677eea9f0d4aff600e4b95caaca6ae6021355e64ed0a8fe418fd731370baa968f6fd338e377b5d3a2077b0b8a1ee399f992b8a7717cf77f
|
|
||||||
DIST github.com%2Fgoogle%2Frenameio%2F@v%2Fv0.1.0.mod 34 BLAKE2B 1eabef50b2977886d7980d7da197828b826c54018766418b3160f5cd512784635e5791a40cc4fb806d52f5ead99f941fae8037872d6cedfd6c851103f3be1a74 SHA512 a46cae976ce90d1cef802eeaa873c059cc9ec3678d5c3c304a9de45f44f20a24d68fa290cfdcf78c4ac222a6d619a005825de8f11e72b9a5af476a0b0180092b
|
|
||||||
DIST github.com%2Fkisielk%2Fgotool%2F@v%2Fv1.0.0.mod 35 BLAKE2B 2f43dcbab430f12316fde243db4bafe24372c74d60874b05917269e249a36660309c23da151db31d89c0d0a8fd0f179e2dd7f386af3ca533c95ef74017609af9 SHA512 86aca37f7f94ada381e0528a535b344c8fdbab9e0dcc7b71d716083501ad3d61db701ee159ccfb5455a351fc18a405301abe798037dd1200f9950bdd805d3dc9
|
|
||||||
DIST github.com%2Fkr%2Fpretty%2F@v%2Fv0.1.0.mod 67 BLAKE2B 2e1b4a8a38998179a32db321d331db54f881770a89719410876cdde1799cb8558ca2862bc70838d606540606d05918c4b115cf1c125945a77ed376c2efc4aa85 SHA512 4d841fc7a022e4e09e0a95925ad92a75809a67c30fb88de9190e4a2196383038dab9a5b3294b6a0b4786248977a0e09eea857a34100cbf22f8a52912ce9fa58d
|
|
||||||
DIST github.com%2Fkr%2Fpty%2F@v%2Fv1.1.1.mod 25 BLAKE2B 63db8520df2f699bca5a7ccecc44ee04973307d86099cfe66ded30e2ca1bdd76fc3db48cfca0138673c20c6f94061caf219f018b21b9d67231fe959eef338596 SHA512 967fcdce835c12afbf3b12bb204a256f32d46a3da535e2a7250159f62781a163ee107dd2a4fa20743b76bbf52b97e627e11e895c8d5ef73aede37d6a89e326eb
|
|
||||||
DIST github.com%2Fkr%2Ftext%2F@v%2Fv0.1.0.mod 64 BLAKE2B 475c51201a379df2cc4ff8c5681b6a7a1524f60d0b8fd0853fef569dea754efabf3425cd4b84e8427db8a6cf3e9b1141d5050d48d5d429cc1ce82162aa70050c SHA512 11d2502a7d241a0edf4e67bcb651a890a12f49d00f8b944cc9eb8f6e9cf5fbb2b2827e696021649bc795ffa275e95ee700e4a1706e03e88fa9ae079f5b9f48ce
|
|
||||||
DIST github.com%2Fpkg%2Ferrors%2F@v%2Fv0.8.0.mod 29 BLAKE2B 7fb53b19bd1be0e783039647b42ecbe2070f51af102e473ec6d3544eea0ffa5863f1874ca1615348d5f8abbaa39c841b4fe18d43a8a615fa648cf22f35955e38 SHA512 0c156e21d35c45a89c1a1b69ff1976b4f7511b3870bf96126121f5a5effa3723eb45bf080e840d5c8b96898c65207dba83eb3e1a23668dd8a5e20ee6be775cc0
|
|
||||||
DIST github.com%2Fpkg%2Ferrors%2F@v%2Fv0.8.0.zip 14743 BLAKE2B c0c06d296c0583be2a6eb06359659b50941ea516bc768833bbfe252b73a2d81616dbe2d2db1991bd196b4a615b253c60046bbc6d56ca7268ded5b0ff40a4dc81 SHA512 2975fb8868fddaff560951be41194b82b631138d617705c3f6162acb76ace8697cc8ebc8f610ca1fb1a5167c6b6b0ecc87c150133a757447831463a0da18f392
|
|
||||||
DIST github.com%2Frogpeppe%2Fgo-internal%2F@v%2Fv1.3.0.mod 73 BLAKE2B 21e3545a4518c64daac1cf36e47a2c8e1fc8ab7402372f2e871052d0dd9d83fc2aa44babb2f8751180cb66dcd2af82ed202afbf5ad3a219c4562da23ae8ce185 SHA512 4fd07ae7c00bcc135cc10a0b34ab102a893ed8ea4708f9d38da52f98b09fb66144f970ffd8795476fd6625b25c9e48390a5b1c5c99bd0c8d536a94201dc96613
|
|
||||||
DIST github.com%2Furfave%2Fcli%2F@v%2Fv1.20.0.mod 29 BLAKE2B 4f20ac8fb7beef2b678cff290a28c8125d368504aebfcde33e746d3ca7b9606804bd94c59c50fe328da4c1c592b8768b1aad89bc1d22ddf76cbc88d0f0f76b74 SHA512 5edcf2aac39658fc7e60d5086b066470c6d6213b66a2432bc35c6f67b8cb37a66a67fd97cdd4b8fa1b8b1bddfd544e4aa9838cec06806b89f8e1447e3c61bd2a
|
|
||||||
DIST github.com%2Furfave%2Fcli%2F@v%2Fv1.20.0.zip 72765 BLAKE2B 61a5269577f397701a50299f9e32b195f56af70a439ecc94f3ccba5a04cf6d1d220b5ae34d26c1a019989b19996335d265abb665ac5aee876ba50b941665cf99 SHA512 5edcc7510abaf7a6326a27a43aa7debd43d333dd1c23462a5f0d8a8d526ef74c085db35a637536eb6883d531bce4bf35648b75dbb19e43e481382572cdd24b3f
|
|
||||||
DIST github.com%2Fwadey%2Fgocovmerge%2F@v%2Fv0.0.0-20160331181800-b5bfa59ec0ad.mod 35 BLAKE2B 37259015d6e78647e4bae8cd5be6c9b49824fb31b641093bd17cb2a0d3ad0d0f01b6b4634988b6ae81bc6b3c4bd4e5907aa3066566397e6e7ed2227302ff8eb6 SHA512 4b15d52818e6cbffb54542844afa76c5b6a2b8c30ead35d3c8b77cfc40f143bcda269fe6c22191b41f9185966b61761b09e74b3109cdf2601a0d92489c976856
|
|
||||||
DIST github.com%2Fwadey%2Fgocovmerge%2F@v%2Fv0.0.0-20160331181800-b5bfa59ec0ad.zip 2832 BLAKE2B d7ddd1d9d4c2e4e5219db98b3c85fe1e5fcc229aa90569ad20d68489951fbf08df3a4ea14339894d7d888e9287685e197564a42cb602934a0899c5e154b9855e SHA512 976ddf67ea97ba65839c3b6c89fbfdbfcc93b8e4358eebca0d50bad112f2428c81e178442f41d2ead9ec2b4c6bcfb6319d4d52e882944c61073ef0da442f574b
|
|
||||||
DIST golang.org%2Fx%2Fcrypto%2F@v%2Fv0.0.0-20190308221718-c2843e01d9a2.mod 88 BLAKE2B aec7d0eea1278eb3d1568d5bfb4041267501ad14457ebfcbdbc5fe21473170b8616ca4028f52af2edbfd85922cbe04540b4b0df7f69f63197698143cc5557a7a SHA512 2df49895053b36fed7ea905aa73f86568fbafd79ff0a7976679d8c77cf15025129435d9dbfd89367b611b1aadbea4f4bd1835eb4efa9ea702466e443638d379e
|
|
||||||
DIST golang.org%2Fx%2Fcrypto%2F@v%2Fv0.0.0-20190510104115-cbcb75029529.mod 146 BLAKE2B 6fe18cbe4eb6c3f6c26a4d2f9f309c48eb9ea59017125179cbfd61bb1e62395515c8cb286e1139fbcf54d37dcb2baa1a2f98dcfbcb6178b7f7df3b51929ff5c5 SHA512 f40c7b620b28b5bdc6ce92d43768af71b5869e7f0eb7872dd0f2751eed2bd15a17f7af26bf2dc5c6f7e6b816a174d010bfd22b3f8f5dd72f22dc4e4357dea842
|
|
||||||
DIST golang.org%2Fx%2Fcrypto%2F@v%2Fv0.0.0-20190510104115-cbcb75029529.zip 1812396 BLAKE2B 6a78f16355c218fd5670a85d17dbe4b66b2ed80dbf08cc62827ef873a6c10fc0850cf2285d839446978980513b6d048eba2b054884da91244abd25fc2eb8dd85 SHA512 da2da56521490eae98c27ff1099f8c7a8681402d0db46e9f981576bae3df5e0968b15dc6b0ffefaab889ae4c08c78bef50c6b18120a63bc504047acb987405a2
|
|
||||||
DIST golang.org%2Fx%2Flint%2F@v%2Fv0.0.0-20190930215403-16217165b5de.mod 88 BLAKE2B 04ec98f76d6779784920b4f746fccafdba5ee6f365edc58985219675791d417746575165985de6d866ee891b6c768d317360a4229e61f19a1f05e4f0bafdb111 SHA512 5e787e9d2c16c87238995214eab353f87d009acf8ef78889295d11dfabef73cea4e8cabfc2999f9ef0c936efb84c22963e0aa2bce4b3678680a389cbe23df961
|
|
||||||
DIST golang.org%2Fx%2Flint%2F@v%2Fv0.0.0-20190930215403-16217165b5de.zip 45710 BLAKE2B 7349ff19c5695071b04342199b7694af51d7a63b2a9940c72abdc8e2a03da41260da0ae09b039f1cf2c3752c7f2256164a3f0f4ce00410adcd5389cdc07e5cb9 SHA512 00ae7262d6a4f5839915a648e09a51fd939300b9f0404f2c13c062412d059b8278e3c40b2db2a927bffe74a940295834c18b77fb7dc58e88401e0b7606c13aeb
|
|
||||||
DIST golang.org%2Fx%2Fmod%2F@v%2Fv0.0.0-20190513183733-4bf6d317e70e.mod 97 BLAKE2B f6c97d5de5c229ab22e047250a7030c201829f8237b63c0b272c0453dd8ea91360f4a73f9d2b56212103c76c36c01699231d9dd31d48ba8624554b5b36499190 SHA512 15deca99c6d866dcffdd51b1334fbe7f33ce88e1fd82badec64f5155782681887e7fd959ec2686fb35adf70afbe08d743e36c6a891f43462074663357e5b309a
|
|
||||||
DIST golang.org%2Fx%2Fnet%2F@v%2Fv0.0.0-20190311183353-d8887717615a.mod 119 BLAKE2B e042b2716739483252c3340451b2c3c7b421fdf8d6b3e0333e979802fca66159596982ea63a24b6a64457b2757a0ad24cbb9ea032bab4c5377edf84a3ea18b97 SHA512 26b6c92eecd2208967336d4d23f8a71f77f9a73643ad1e5cd84dee36b2f626fffc806e4dd33acc284831a0961e2b363d898a747903235945fbfb665c5b4d5ef2
|
|
||||||
DIST golang.org%2Fx%2Fnet%2F@v%2Fv0.0.0-20190404232315-eb5bcb51f2a3.mod 119 BLAKE2B e042b2716739483252c3340451b2c3c7b421fdf8d6b3e0333e979802fca66159596982ea63a24b6a64457b2757a0ad24cbb9ea032bab4c5377edf84a3ea18b97 SHA512 26b6c92eecd2208967336d4d23f8a71f77f9a73643ad1e5cd84dee36b2f626fffc806e4dd33acc284831a0961e2b363d898a747903235945fbfb665c5b4d5ef2
|
|
||||||
DIST golang.org%2Fx%2Fnet%2F@v%2Fv0.0.0-20190620200207-3b0461eec859.mod 181 BLAKE2B 95ef87cbad118eb6bfc963893e37a555067b7fcf70e52cf4261de029eb46b739b12f50530a46fb91ec9119febcf5033176324a55064f589c17b240a23a15bb4a SHA512 2794c616072f01ca3324107aad2ed97e05f6e6c1e9811a1749073376a89c9ce57a910cfdc8dd6bdc2583d133bb53605c7a68917eaa221ec5c1c8319e5dfbb236
|
|
||||||
DIST golang.org%2Fx%2Fsync%2F@v%2Fv0.0.0-20190423024810-112230192c58.mod 25 BLAKE2B 01f7f78a0324ca728efd4d662ea130d7e200ab25805125e472720ca01feaaf2625b15bf53f51837a6913e35e060a19018928a38851d7445f39e6e42e237dfda2 SHA512 a9dd073f69c5be1153aaab6e84dd3bb1610a0df8b9882ca4c486c6625d4b5201e5032f86e5014421358dff564d93c4e67f20e5fd1d21ed5e259ddfbc90af43c0
|
|
||||||
DIST golang.org%2Fx%2Fsync%2F@v%2Fv0.0.0-20190423024810-112230192c58.zip 25620 BLAKE2B 770b7dc9bdd8999123fb58cfd951dcbd5592172fd394f1a70abc918e3d7adee5273da1c757f95be15a0ede27f4fd00804564828251ab308d6fc4b116415ac144 SHA512 5a9db9d294b5f2121f3de994da38161f013a0512ad64aaf51f1c7a94b7cdb1ec4102f7c457d29f9bde209e8c254f6ad034c294af3649dbd10d5349c05874f74c
|
|
||||||
DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20190215142949-d0b11bdaac8a.mod 24 BLAKE2B 64a70c4594f5d3c37d962c1ed07630fba8abeaf534242f8f1509af271684499252af9a2320d5bac8e44064dba344b807535e4e9dd085fc0fb47bd9304120601a SHA512 ffe50fccf7f1d200f2ebc805b190e3f10c5a3184458a38f4590e520d7ce115e1520fbabe56651bbdc2e08da4a8db5ac86d0e88728efde3ab26c64ab4e0cd604c
|
|
||||||
DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20190412213103-97732733099d.mod 33 BLAKE2B 8be160de26713fd50f15adfb6fd7fff2643ee587aa17de9385b1e315869d0ecf102fc567294666bf232aa677d1ab04ba8341157f3d9b66a0f53543a7a47cf148 SHA512 0c7b940d567c7685dcb55c76c69aedeaab2170f4f3bde458994c879bf344169f34fb3f3ca899b0f138a8b0b8be5031217b57a6edf5980e6066ff5cb92d1ff9ab
|
|
||||||
DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20190412213103-97732733099d.zip 1697094 BLAKE2B 72e52dab100cd79a22a5f8adaa1af24cf245d193dcdfbfa10c25b440d23eda9a1e0f3c1f2b9684b5fbc9159055f482ff8eae12732c40d9d4dbcdfbf5ae93ca88 SHA512 a981d025dbb8bc8d3b48cbe7327076531e614f9bb9662f24b5f89997d8f9612d750ac53b9191e7df42dc326a36913b29350acaf7fe2f4bf2f08b986a510e95da
|
|
||||||
DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20191127021746-63cb32ae39b2.mod 33 BLAKE2B 8be160de26713fd50f15adfb6fd7fff2643ee587aa17de9385b1e315869d0ecf102fc567294666bf232aa677d1ab04ba8341157f3d9b66a0f53543a7a47cf148 SHA512 0c7b940d567c7685dcb55c76c69aedeaab2170f4f3bde458994c879bf344169f34fb3f3ca899b0f138a8b0b8be5031217b57a6edf5980e6066ff5cb92d1ff9ab
|
|
||||||
DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20191127021746-63cb32ae39b2.zip 1905313 BLAKE2B 9bfae83246cb9f9a61848a556991c3bee3daae05ada33358219a76e1e732e72cbfe9b12153cfce5129645c95c7307904332a035e5a77bdf235ebaa7947a6d171 SHA512 0530022733dd878036652b0ee1de614b31b3c804347c9cb6be3dcdf0e8411dce878c23d9242885750057e4f0bec698222e7afdb8a495b229daf456bca6872b66
|
|
||||||
DIST golang.org%2Fx%2Ftext%2F@v%2Fv0.3.0.mod 25 BLAKE2B 31009af0fdcd0f8730c9985287e6e364ec4e5183e57e92560dbc80a2010eced51b8a90f01a82b49384268c8a0adbf69d179c205d3f68e0eb459169d2ea9528f0 SHA512 ca081ef7cccd7bbedc6843fbe0c452352661a07e1298cd02ff338ed79d807c6401d613a3cf20011189d2f98a794ffa410547b3e352eb58a6f0a84822285d391d
|
|
||||||
DIST golang.org%2Fx%2Ftools%2F@v%2Fv0.0.0-20190311212946-11955173bddd.mod 87 BLAKE2B 32cb406deea05323b1121386bf61f344f8eda0b5370e95bb73828ce0bea50bee375ae3e9b076b9d683a4d89561709c5e97e45e6b08344fbdf6b03b3ce4398dcd SHA512 18ae9b2f54109b4ec5cdea433ee0e3b7006e4d5ea57022d6e8151d4d364735a6b55cf7b5eb2f43b602ec786b2b6819ad78dfc33151ee1a63a0b1199f54ce34a1
|
|
||||||
DIST golang.org%2Fx%2Ftools%2F@v%2Fv0.0.0-20190621195816-6e04913cbbac.mod 155 BLAKE2B 538451f0cc08c6752c81241193caad56fcb8fb7a5cdc2ad6840ae44a1f5c3e1539067634352ded872712c84da7046b32053f9634da76c4888eec9046035a0935 SHA512 5823f6ea0fb08243f243a9577cd31397999bb387c8e29312304ca2dd0e73391cad60891a2a1181ac5fb665c1b01824933c295289a5d4cd580fc77f1bd828955b
|
|
||||||
DIST golang.org%2Fx%2Ftools%2F@v%2Fv0.0.0-20191025023517-2077df36852e.mod 212 BLAKE2B ab1d99a25eed3af5426d8a58d249b827e4d30a046302df72c7e0b59955e65b636f4645c5c436bb21ec54ec3745b9996bce92d29826ad93cbc9120a06dc19b49a SHA512 6a0316ac3b01aba3f186b5db540a368ab780a821252f7f0975f9e44afea9170c4b3e7027dc5f79a54ebc6af290cbb59b876d3b53bbf26fd05fc3a80a06fae109
|
|
||||||
DIST golang.org%2Fx%2Ftools%2F@v%2Fv0.0.0-20191025023517-2077df36852e.zip 2893027 BLAKE2B 5253ef33d4a457c4d01f2ec569f840ac492ade928a5e34cdd13a02ad419f93b9981e1ce56a39ee5be03c1f0a59c4989312ef5baeb723ca380359df225982034a SHA512 ae8f7e24a954020d1ef3f9175d1e4006fe0be40fa01cccc91c5128b37229453c7487ae4d1b5ec262726f13baff5f5ba844aebfeff7375a3f4a740d27557e255e
|
|
||||||
DIST golang.org%2Fx%2Fxerrors%2F@v%2Fv0.0.0-20190717185122-a985d3407aa7.mod 37 BLAKE2B 7449be81e1998a6439070de1a0ddf5bfd1e4971c90c2e358590a9c1c41128bfc1daa42a9bbc3709506df2442ec8420e6354343a095c837be46335c180083f28a SHA512 659d18a7a3a1be45ff6dc9e7475276b82ee7f11c47d39b0c237d7f872836a1dbdfff0902f21d6cd8093663997865da92e3e5a4acf1ad6129f972dc5e667b4f05
|
|
||||||
DIST gopkg.in%2Fcheck.v1%2F@v%2Fv1.0.0-20180628173108-788fd7840127.mod 25 BLAKE2B 6470f3d94700c4d8b3176d692bdb91646750f2c6a866ff2ef4183aff1de01f024a8757f97b4626ec0355092e5f25e7ded91cd5be845f627d107c58b1daf400d7 SHA512 9ac0f80ef05881387cb2f48f81560f3207fe586ea16495383662e6d62e43d93fac01dfe72e1d0063d3ab065331dab3a8098d7da4f1830ba1aff6f27f8e1bc1b2
|
|
||||||
DIST gopkg.in%2Ferrgo.v2%2F@v%2Fv2.1.0.mod 133 BLAKE2B c4ac637e2bf2d6635065be5213d73f23a1870054c58e9f1cce93af4627ed6fdefa96798b0fbbd27666573757f8b4a48c694ddf3f86c98e898124294459500771 SHA512 cac59fd7470fc9d3203dab6b9e881d4182cfca5acf0a19207a9aff2964d42f20422f9a164bb52b2fa73c523e3caafd63028189bd4190a1670870154dbf3e8178
|
|
||||||
DIST honnef.co%2Fgo%2Ftools%2F@v%2Fv0.0.1-2019.2.3.mod 300 BLAKE2B 3e3f5a2be0918cbaacd5e43e59fcc6c7c6999645f0c9214cd5a522c31d34b6d3dad61e3ddae8ccdb2f3f0d90b406c047802ee3d9d54dc40fe6eff9cd35620792 SHA512 0c8aa788d0c03d6d049f0dd7468d0f81ce2131ccedd5a5a3a18362b7d30eef7ef325277844eefe4b707b1ad71c6f83a44e110b7af7b98e05406d347237a7bafb
|
|
||||||
DIST honnef.co%2Fgo%2Ftools%2F@v%2Fv0.0.1-2019.2.3.zip 506912 BLAKE2B a38cb31fd8df49dae4ff187e67704b5586ba78a0dcfe5afa3b820f0ac80f7e12ba4bdb705caa97c6be85407fe97599d1244d2f56f0e9e36554ba43289d9f21d8 SHA512 3285ab90762ee6b771c95e1c842ab308f04ac366ddfa693040c49d8951bb01db33994eb69c2c9dfd6ab2b379b29cbfe31558ca6b6aafe3feea1e693b2a36d0cb
|
|
||||||
EBUILD fscrypt-0.2.9-r1.ebuild 2975 BLAKE2B 0759ef524f522efcf06077d1cf0f89ef08a40bd47d45f07be24310c55dcedb481e1762660aff4a2b31c10a7665d236fd203a2d6ca892271d152c7a5b0c5f026b SHA512 9c53dbda56dd781acb9c37ede9364741e8c74b87c245ccef46174e0e5169889934ae8bebcf5889c9253ac505bfed12490ce9dcd66acf8d444426b9b5606c900b
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
# Allow fscrypt to check your login passphrase when you create a login protector
|
|
||||||
auth required pam_unix.so
|
|
||||||
@@ -1,80 +0,0 @@
|
|||||||
# Copyright 2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit go-module pam
|
|
||||||
|
|
||||||
DESCRIPTION="Tool for managing Linux filesystem encryption"
|
|
||||||
HOMEPAGE="https://github.com/google/fscrypt"
|
|
||||||
|
|
||||||
EGO_SUM=(
|
|
||||||
"github.com/BurntSushi/toml v0.3.1"
|
|
||||||
"github.com/BurntSushi/toml v0.3.1/go.mod"
|
|
||||||
"github.com/client9/misspell v0.3.4"
|
|
||||||
"github.com/client9/misspell v0.3.4/go.mod"
|
|
||||||
"github.com/golang/protobuf v1.2.0"
|
|
||||||
"github.com/golang/protobuf v1.2.0/go.mod"
|
|
||||||
"github.com/google/renameio v0.1.0/go.mod"
|
|
||||||
"github.com/kisielk/gotool v1.0.0/go.mod"
|
|
||||||
"github.com/kr/pretty v0.1.0/go.mod"
|
|
||||||
"github.com/kr/pty v1.1.1/go.mod"
|
|
||||||
"github.com/kr/text v0.1.0/go.mod"
|
|
||||||
"github.com/pkg/errors v0.8.0"
|
|
||||||
"github.com/pkg/errors v0.8.0/go.mod"
|
|
||||||
"github.com/rogpeppe/go-internal v1.3.0/go.mod"
|
|
||||||
"github.com/urfave/cli v1.20.0"
|
|
||||||
"github.com/urfave/cli v1.20.0/go.mod"
|
|
||||||
"github.com/wadey/gocovmerge v0.0.0-20160331181800-b5bfa59ec0ad"
|
|
||||||
"github.com/wadey/gocovmerge v0.0.0-20160331181800-b5bfa59ec0ad/go.mod"
|
|
||||||
"golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod"
|
|
||||||
"golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529"
|
|
||||||
"golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod"
|
|
||||||
"golang.org/x/lint v0.0.0-20190930215403-16217165b5de"
|
|
||||||
"golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod"
|
|
||||||
"golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod"
|
|
||||||
"golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod"
|
|
||||||
"golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod"
|
|
||||||
"golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod"
|
|
||||||
"golang.org/x/sync v0.0.0-20190423024810-112230192c58"
|
|
||||||
"golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod"
|
|
||||||
"golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod"
|
|
||||||
"golang.org/x/sys v0.0.0-20190412213103-97732733099d"
|
|
||||||
"golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod"
|
|
||||||
"golang.org/x/sys v0.0.0-20191127021746-63cb32ae39b2"
|
|
||||||
"golang.org/x/sys v0.0.0-20191127021746-63cb32ae39b2/go.mod"
|
|
||||||
"golang.org/x/text v0.3.0/go.mod"
|
|
||||||
"golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod"
|
|
||||||
"golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod"
|
|
||||||
"golang.org/x/tools v0.0.0-20191025023517-2077df36852e"
|
|
||||||
"golang.org/x/tools v0.0.0-20191025023517-2077df36852e/go.mod"
|
|
||||||
"golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod"
|
|
||||||
"gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod"
|
|
||||||
"gopkg.in/errgo.v2 v2.1.0/go.mod"
|
|
||||||
"honnef.co/go/tools v0.0.1-2019.2.3"
|
|
||||||
"honnef.co/go/tools v0.0.1-2019.2.3/go.mod"
|
|
||||||
)
|
|
||||||
go-module_set_globals
|
|
||||||
SRC_URI="https://github.com/google/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
|
||||||
${EGO_SUM_SRC_URI}"
|
|
||||||
|
|
||||||
# FIXME: Licenses
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
|
|
||||||
DEPEND="sys-libs/pam"
|
|
||||||
RDEPEND="${DEPEND}"
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake \
|
|
||||||
DESTDIR="${D}" \
|
|
||||||
PREFIX="/usr" \
|
|
||||||
PAM_MODULE_DIR="$(getpam_mod_dir)" \
|
|
||||||
install
|
|
||||||
einstalldocs
|
|
||||||
|
|
||||||
newpamd "${FILESDIR}/fscrypt.pam-config" fscrypt
|
|
||||||
|
|
||||||
rm -r "${D}/usr/share/pam-configs"
|
|
||||||
}
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
EBUILD polybar-9999.ebuild 1022 SHA256 2a61b52c13d6af1c292a73a7596056f0aae909335c4fbafa971814791491be5f SHA512 aee6f55e29c2103121888c9e28f4a7452854a0b6f85670a6ed86f68731b4167ec6a0c0ba4d6e05996a79b7df836d12f37121872c9fe023a8ae57ac5102e0fa69 WHIRLPOOL 466d2999efb9d094efd58e39a701bf858eb49c2a13459ac802eb6188bbc72a0542bf06d22f552c9f59f7381951c20d961cc29de080617667d74382a9fe73b8e2
|
|
||||||
@@ -1,46 +0,0 @@
|
|||||||
# Copyright 1999-2016 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Id$
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
inherit cmake-utils git-r3
|
|
||||||
|
|
||||||
DESCRIPTION="A fast and easy-to-use tool for creating status bars."
|
|
||||||
HOMEPAGE="https://github.com/jaagr/polybar"
|
|
||||||
EGIT_REPO_URI="https://github.com/jaagr/polybar.git"
|
|
||||||
EGIT_CLONE_TYPE="shallow"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS=""
|
|
||||||
|
|
||||||
IUSE="alsa i3wm mpd github +network"
|
|
||||||
RDEPEND="
|
|
||||||
x11-libs/libxcb
|
|
||||||
dev-lang/python:2.7
|
|
||||||
x11-proto/xcb-proto
|
|
||||||
x11-libs/xcb-util-wm
|
|
||||||
x11-libs/xcb-util-image
|
|
||||||
|
|
||||||
alsa? ( media-libs/alsa-lib )
|
|
||||||
i3wm? ( dev-libs/jsoncpp )
|
|
||||||
mpd? ( media-libs/libmpdclient )
|
|
||||||
github? ( net-misc/curl )
|
|
||||||
network? ( net-wireless/wireless-tools )
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
|
|
||||||
CMAKE_BUILD_TYPE=Release
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local mycmakeargs=(
|
|
||||||
-DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python2
|
|
||||||
-DENABLE_ALSA="$(usex alsa)"
|
|
||||||
-DENABLE_MPD="$(usex mpd)"
|
|
||||||
-DENABLE_NETWORK="$(usex network)"
|
|
||||||
-DENABLE_I3="$(usex i3wm)"
|
|
||||||
-DENABLE_CURL="$(usex github)"
|
|
||||||
)
|
|
||||||
cmake-utils_src_configure
|
|
||||||
}
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
EBUILD rofi-9999.ebuild 899 BLAKE2B 69ebb8dffcdcbb0b62b122901bad36bf4c9b318aeed1fdb854948f14f904d64f1170abfd484a5a36f7383033df9775d078ae7114726692e93ddf8748d8404976 SHA512 6ca3cb72ea3ef3d6a4bfe86b2c54c6ec199caf59cb4fec5d81563a4d77e3aae74d1c368d99a4efa8f542e621c200b189646012828926162d82e052ed4d40c6be
|
|
||||||
MISC metadata.xml 495 BLAKE2B 0a6c59c1d1db2ae103cf8165f39dfda9beb4dad681379f6f6bed7cf3f0a44f06e9cbd77457dfea4bcb0c42e3df8c6e2c7c83ea4a9185e1a4131db214d26058cd SHA512 afcce018b90e20d190e8da510c57b27b92508a40972fc5e573c185561dd0daa3ce3fd57c689c2ec65902087aaec7d1273ed151abdc5c6be76706f694c1c9510f
|
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<maintainer type="person">
|
|
||||||
<email>jer@gentoo.org</email>
|
|
||||||
</maintainer>
|
|
||||||
<maintainer type="project">
|
|
||||||
<email>desktop-misc@gentoo.org</email>
|
|
||||||
<name>Gentoo Desktop Miscellaneous Project</name>
|
|
||||||
</maintainer>
|
|
||||||
<use>
|
|
||||||
<flag name="windowmode">Enable normal window mode</flag>
|
|
||||||
</use>
|
|
||||||
<upstream>
|
|
||||||
<remote-id type="github">DaveDavenport/rofi</remote-id>
|
|
||||||
</upstream>
|
|
||||||
</pkgmetadata>
|
|
||||||
@@ -1,52 +0,0 @@
|
|||||||
# Copyright 1999-2017 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
inherit autotools toolchain-funcs git-r3
|
|
||||||
|
|
||||||
DESCRIPTION="A window switcher, run dialog and dmenu replacement"
|
|
||||||
HOMEPAGE="https://davedavenport.github.io/rofi/"
|
|
||||||
EGIT_REPO_URI="https://github.com/DaveDavenport/${PN}"
|
|
||||||
EGIT_CLONE_TYPE=shallow
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS=""
|
|
||||||
IUSE="windowmode -check"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
dev-libs/glib:2
|
|
||||||
media-libs/freetype
|
|
||||||
x11-libs/cairo
|
|
||||||
x11-libs/libX11
|
|
||||||
x11-libs/libXft
|
|
||||||
x11-libs/libXinerama
|
|
||||||
x11-libs/libxcb
|
|
||||||
x11-libs/libxkbcommon[X]
|
|
||||||
x11-libs/pango[X]
|
|
||||||
x11-libs/startup-notification
|
|
||||||
x11-libs/xcb-util
|
|
||||||
x11-libs/xcb-util-wm
|
|
||||||
x11-libs/xcb-util-xrm
|
|
||||||
"
|
|
||||||
DEPEND="
|
|
||||||
${RDEPEND}
|
|
||||||
virtual/pkgconfig
|
|
||||||
"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
eautoreconf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
tc-export CC
|
|
||||||
econf \
|
|
||||||
$(use_enable windowmode) \
|
|
||||||
$(use_enable check)
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
emake test
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user