commit of the first ebuilds
This commit is contained in:
parent
034c6acd91
commit
95c0661318
16
README.md
16
README.md
|
@ -2,3 +2,19 @@
|
|||
|
||||
Gentoo repository with some useful ebuilds
|
||||
|
||||
Das ist ein Gentoo Portage Overlay der Unitas Network GmbH.
|
||||
Dieses enthält überwiegend Ebuilds für unsere interne Nutzung,
|
||||
es wird keinerlei Garantie für die Fehlerfreiheit übernommen.
|
||||
|
||||
Nutzung
|
||||
-------
|
||||
|
||||
Die Installation erfolgt z.B. mittels:
|
||||
|
||||
```
|
||||
# emerge -av layman
|
||||
# cd /etc/layman/overlays
|
||||
# wget https://dev.unitas-network.de/raw/Gentoo/unitas-misc.git/master/unitas-misc-overlay.xml
|
||||
# layman -L
|
||||
# layman -a unitas
|
||||
```
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
AUX tmux-confd 149 BLAKE2B a330772d67df5f2ee1938588c277faf7252466c6d14b65abf5f3c8006812d38ac3142eae35d933c3f750da6412274de2992339917dac580e98f67678735392b9 SHA512 445a40bea4a48cfb7709ded0a09ada154d6657f030955f3a9b0ddf6cd9d7526da31c7bc7fb1e5f023746ac8a9adf8e22056187d502e977f050a1d6b72082e253
|
||||
AUX tmux-initd 971 BLAKE2B 4b206e0b544e169cb04f9cdfcf717c47c2e56765838227c829b71eee0bc055db717a0e7e240ea8a31069b5cf1ba5a67d4e61e18561c2849839a3e4f0a97704a7 SHA512 cb2e9ecb7bfa2a49b6d30040b03a172a59cf6880ddc306de476b81b75af4d1cd0eac4a1a5fbb88b3f9e391d6a163305af414743135d6add320e815ff00365c64
|
||||
AUX tmux.service 258 BLAKE2B 9b2520515c84e8fed625e00d13a26cccdbe0b7e25bd50e9464b4b024e02e63e6fc81e2cf5331c62ca7add0aa15c069333905d1d35e9e09dd9bf70d83be9e4945 SHA512 819332d56f43d2f0b6e7818d34b6e0589a27ef658bff489783538536f743cfbf7434b0e1ce4de42bf1bc280ea202d2535a29859e54c8331c3deec066d4a06a5a
|
||||
AUX tmux.service.conf 152 BLAKE2B d5bb66310c2d4338bea3ad9034014dc391361ef28e6f4f4282aeceab208955a5108e9f5fdf99771cdaa04322b841465f6335d66ee8e495e6c330ebcbdd5acff4 SHA512 9bfaf1c1c9f60f7a76685e75f779e34be00c1a1fc65f10713f3f8bf8fbe3e265c0c7b1b10f787b2ccfefc5a46eca0a667611f65e622995384ba0931504c25cdc
|
||||
EBUILD tmuxservice-1.0.ebuild 684 BLAKE2B 98d5dde894bc3dab71bcf5a1236c8b9a9967f3221c03ad742175463deb7b343957c009271245dd73a1ded0fa75b664534cfaa833ce84b2adc739f501cdecdf37 SHA512 c0604e491224662d066d005f8c84badbea417ba7c7a50831632584de19d115ebf97aa378532ac566857ffb2ab0fb1568c0f76e536953cef95bcb3711f8e19e22
|
|
@ -0,0 +1,3 @@
|
|||
# /etc/conf.d/tmux: config file for /etc/init.d/tmux
|
||||
|
||||
TMUX_CL_EXTEND="; split-window -v ; split-window -h /usr/bin/mc ; set status-left-length 20 ;"
|
|
@ -0,0 +1,34 @@
|
|||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2006 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
TMUXUSER=${SVCNAME#*.}
|
||||
if [ ! -n "${TMUXUSER}" ] || [ ${SVCNAME} == "tmux" ]; then
|
||||
TMUXUSER="root"
|
||||
fi
|
||||
|
||||
depend() {
|
||||
use logger net
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting tmux for ${TMUXUSER}"
|
||||
TMUXSHELL="$(getent passwd ${TMUXUSER} | cut -d: -f7)"
|
||||
start-stop-daemon \
|
||||
--env TERM="rxvt" \
|
||||
--env HOME="~${TMUXUSER}" \
|
||||
--env SHELL="${TMUXSHELL}" \
|
||||
--user $TMUXUSER \
|
||||
--chdir "~${TMUXUSER}" \
|
||||
--background \
|
||||
--exec /usr/bin/tmux -- new-session -s ts-${TMUXUSER} -d $TMUX_CL_EXTEND
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping tmux for ${TMUXUSER}"
|
||||
start-stop-daemon \
|
||||
--user $TMUXUSER \
|
||||
--exec /usr/bin/tmux -- kill-session -t ts-${TMUXUSER}
|
||||
eend $?
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
[Unit]
|
||||
Description=Start tmux in detached session
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
User=%I
|
||||
ExecStart=/usr/bin/tmux new-session -s ts-%I -d $TMUX_CL_EXTEND
|
||||
ExecStop=/usr/bin/tmux kill-session -t ts-%I
|
||||
Restart=always
|
||||
RestartSec=5s
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
|
@ -0,0 +1,3 @@
|
|||
# extended tmux parameters
|
||||
[Service]
|
||||
Environment="TMUX_CL_EXTEND=\\; split-window -v \\; split-window -h /usr/bin/mc \\; set status-left-length 20 \\;"
|
|
@ -0,0 +1,22 @@
|
|||
EAPI="6"
|
||||
|
||||
inherit systemd
|
||||
|
||||
DESCRIPTION="Start tmux sessions as a service"
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86 sparc-fbsd x86-fbsd hppa-hpux amd64-linux x86-linux ppc-macos x64-macos x86-macos sparc-solaris sparc64-solaris x64-solaris x86-solaris"
|
||||
RDEPEND="app-misc/tmux
|
||||
app-misc/mc"
|
||||
DEPEND="${RDEPEND}"
|
||||
S=${WORKDIR}
|
||||
|
||||
src_install() {
|
||||
einfo "Install systemd service"
|
||||
systemd_newunit "${FILESDIR}"/tmux.service tmux@.service
|
||||
systemd_install_serviced "${FILESDIR}"/tmux.service.conf tmux@.service
|
||||
|
||||
einfo "Install init scripts"
|
||||
newinitd "${FILESDIR}"/tmux-initd tmux
|
||||
newconfd "${FILESDIR}"/tmux-confd tmux
|
||||
}
|
|
@ -0,0 +1,2 @@
|
|||
DIST PowerPointViewer.exe 27024112 BLAKE2B f2e5b326ea5d2008f8244564a9624fbf311f130848021d482f5bdcaacec53ebe1a51be9dce292c68aa3ec85276b1c12421809064a21c8116d354718cef512d57 SHA512 6a4878534c81a74be7c057df43794825b8df61e1cd4443b5a1c86a3bfc7da4b901a196471ebcdf34216fb3c83b5cd351d8e095728393ba85e4e33dbd0dab67f7
|
||||
EBUILD cfonts-1-r1.ebuild 933 BLAKE2B 071d0395223d038d678c65b88b58554620b5fc54931e12152435adf72e0009c20c0616b46aa300a69fe6b3f68b92f644261422fb064d6129acb3d6a22f0b57c3 SHA512 b6bd7aa7b723e123b4d06f765839ba29cdf47e199a0eda1b3d817e94ad15af7ecac413b2ef1c9c83d4a53e88671d9b78d9be9925126e77cc54dc5999fa5b7129
|
|
@ -0,0 +1,30 @@
|
|||
# Copyright 1999-2007 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit font
|
||||
|
||||
DESCRIPTION="Microsoft's so-called C-fonts for Windows Vista and Office 2007"
|
||||
HOMEPAGE="http://www.microsoft.com/downloads/details.aspx?familyid=048DC840-14E1-467D-8DCA-19D2A8FD7485&displaylang=en"
|
||||
SRC_URI="https://web.archive.org/web/20171225132744/http://download.microsoft.com/download/E/6/7/E675FFFC-2A6D-4AB0-B3EB-27C9F8C8F696/PowerPointViewer.exe"
|
||||
|
||||
RESTRICT="mirror"
|
||||
|
||||
LICENSE="MSttfEULA"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="X"
|
||||
|
||||
DEPEND="app-arch/cabextract"
|
||||
RDEPEND=""
|
||||
|
||||
S=${WORKDIR}
|
||||
FONT_S=${WORKDIR}
|
||||
FONT_SUFFIX="ttf ttc"
|
||||
|
||||
src_unpack() {
|
||||
cabextract ${DISTDIR}/${A} > /dev/null || die "failed to unpack ${A}"
|
||||
cabextract --lowercase ppviewer.cab > /dev/null || die "failed to unpack ppviewer.cab"
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
masters = gentoo
|
|
@ -0,0 +1 @@
|
|||
unitas-misc
|
|
@ -0,0 +1,2 @@
|
|||
EBUILD newrpl-20180911.ebuild 974 BLAKE2B 8bfd25e323617add7c4df96ddf785730d6a838e0699a9ba2718bfe00599e0d6c11245bdd03009889b6d7917ca4800787b176f4c15e9f02468d574b7997852100 SHA512 1ea13e9ac15a70b2e1b4a9207f889470cf7228f9eb68c57b3be434094373acba531645ce36b902996ce06d3d28141cfb5e3879e79b63c8e714e534a1745de2b7
|
||||
EBUILD newrpl-20181017.ebuild 821 BLAKE2B 33f6c84025dd13d7a272d174e6493959cdd8eb7953624e99ce96ca8c3579dd64515660abd6a93d9c1cbac08c9f9570ce799e0707bd9941efbf17dfc570fa054c SHA512 f184ed82feb2c5503f008e93a09c1354bad58be087488d15a8abd462e781860633f9e7a8f5c7886fb2842600bde42f6d76c530e8af2272e05638ced4994ad90e
|
|
@ -0,0 +1,52 @@
|
|||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
MY_P="newrpl-${PV}"
|
||||
inherit desktop qmake-utils git-r3
|
||||
|
||||
DESCRIPTION="The classic RPL programming language reimplemented and reimagined."
|
||||
HOMEPAGE="https://newrpl.wiki.hpgcc3.org/doku.php?id=start"
|
||||
EGIT_REPO_URI="https://git.code.sf.net/p/newrpl/sources"
|
||||
EGIT_COMMIT="79221b2eda5a13fa45ae5a1745d1f74aa107de29"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtwidgets:5"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
#src_prepare() {
|
||||
# default
|
||||
#
|
||||
# if ! use test ; then
|
||||
# sed -i '/SUBDIRS += src /s/tests //' \
|
||||
# qtpass.pro || die "sed for qtpass.pro failed"
|
||||
# fi
|
||||
#}
|
||||
|
||||
src_configure() {
|
||||
cd ${S}/tools/elf2rom
|
||||
eqmake5
|
||||
emake
|
||||
emake install
|
||||
cd ${S}
|
||||
eqmake5 newrpl-comp.pro
|
||||
emake
|
||||
emake install
|
||||
emake clean
|
||||
rm Makefile
|
||||
eqmake5 newrpl-ui.pro
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin newrpl-ui
|
||||
}
|
|
@ -0,0 +1,43 @@
|
|||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
MY_P="newrpl-${PV}"
|
||||
inherit desktop qmake-utils git-r3
|
||||
|
||||
DESCRIPTION="The classic RPL programming language reimplemented and reimagined."
|
||||
HOMEPAGE="https://newrpl.wiki.hpgcc3.org/doku.php?id=start"
|
||||
EGIT_REPO_URI="https://git.code.sf.net/p/newrpl/sources"
|
||||
EGIT_COMMIT="c3d122787c032d700eab4dcad4e2b4c094684dd6"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtwidgets:5"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_configure() {
|
||||
cd ${S}/tools/elf2rom
|
||||
eqmake5
|
||||
emake
|
||||
emake install
|
||||
cd ${S}
|
||||
eqmake5 newrpl-comp.pro
|
||||
emake
|
||||
emake install
|
||||
emake clean
|
||||
rm Makefile
|
||||
eqmake5 newrpl-ui.pro
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin newrpl-ui
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<layman>
|
||||
<overlay type="git" src="http://dev.unitas-network.de/r/Gentoo/unitas-misc.git" name="unitas-misc" status="unofficial" contact="admin@unitas-network.de">
|
||||
<description>Gentoo Portage Overlay with some useful ebuilds.
|
||||
It contains ebuilds mainly for internal use without any
|
||||
warranty.</description>
|
||||
<link>https://www.unitas-network.de</link>
|
||||
</overlay>
|
||||
</layman>
|
||||
|
Loading…
Reference in New Issue