Bump
This commit is contained in:
parent
b9d3a6e55f
commit
f3987e65cf
68
app-backup/insync/insync-1.4.3.37063.ebuild
Normal file
68
app-backup/insync/insync-1.4.3.37063.ebuild
Normal file
@ -0,0 +1,68 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: $
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
|
||||||
|
DESCRIPTION="Advanced cross-platform Google Drive client"
|
||||||
|
HOMEPAGE="https://www.insynchq.com/"
|
||||||
|
MODPV="1.3.12.36116"
|
||||||
|
SRC_URI="
|
||||||
|
x86? ( http://s.insynchq.com/builds/insync_${PV}-trusty_i386.deb )
|
||||||
|
amd64? ( http://s.insynchq.com/builds/insync_${PV}-trusty_amd64.deb )
|
||||||
|
nautilus? ( http://s.insynchq.com/builds/insync-nautilus_${MODPV}-precise_all.deb )
|
||||||
|
dolphin? ( http://s.insynchq.com/builds/insync-dolphin_${MODPV}-precise_all.deb )
|
||||||
|
thunar? ( http://s.insynchq.com/builds/insync-thunar_${MODPV}-precise_all.deb )
|
||||||
|
nemo? ( http://s.insynchq.com/builds/insync-nemo_${MODPV}-precise_all.deb )
|
||||||
|
caja? ( http://s.insynchq.com/builds/insync-caja_${MODPV}-precise_all.deb )"
|
||||||
|
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="-* ~x86 ~amd64"
|
||||||
|
DEPEND=""
|
||||||
|
RDEPEND="${DEPEND}
|
||||||
|
nautilus? ( dev-python/nautilus-python )
|
||||||
|
dolphin? ( kde-apps/dolphin )
|
||||||
|
thunar? ( dev-python/thunarx-python )"
|
||||||
|
IUSE="nautilus dolphin thunar caja nemo"
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
elog "If this fails with a deb2targz error, see"
|
||||||
|
elog "https://github.com/mrpdaemon/gentoo-overlay/issues/4"
|
||||||
|
mkdir "${S}"
|
||||||
|
cd "${S}"
|
||||||
|
|
||||||
|
if use amd64 ; then
|
||||||
|
unpack insync_${PV}-trusty_amd64.deb
|
||||||
|
else
|
||||||
|
unpack insync_${PV}-trusty_i386.deb
|
||||||
|
fi
|
||||||
|
|
||||||
|
unpack ./data.tar.gz
|
||||||
|
|
||||||
|
if use nautilus ; then
|
||||||
|
unpack insync-nautilus_${MODPV}-precise_all.deb
|
||||||
|
elif use dolphin ; then
|
||||||
|
unpack insync-dolphin_${MODPV}-precise_all.deb
|
||||||
|
elif use thunar ; then
|
||||||
|
unpack insync-thunar_${MODPV}-precise_all.deb
|
||||||
|
elif use nemo ; then
|
||||||
|
unpack insync-nemo_${MODPV}-precise_all.deb
|
||||||
|
elif use caja ; then
|
||||||
|
unpack insync-caja_${MODPV}-precise_all.deb
|
||||||
|
fi
|
||||||
|
|
||||||
|
unpack ./data.tar.gz
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
cp -pPR "${S}"/usr "${D}"/ || die "Installation failed"
|
||||||
|
|
||||||
|
echo "SEARCH_DIRS_MASK=\"/usr/lib*/insync\"" > "${T}/70${PN}" || die
|
||||||
|
insinto "/etc/revdep-rebuild" && doins "${T}/70${PN}" || die
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
elog "To automatically start insync add 'insync' to your session"
|
||||||
|
elog "startup scripts. GNOME users can also choose to enable"
|
||||||
|
elog "the insync extension via gnome-tweak-tool."
|
||||||
|
}
|
68
app-backup/insync/insync-1.4.9.37127.ebuild
Normal file
68
app-backup/insync/insync-1.4.9.37127.ebuild
Normal file
@ -0,0 +1,68 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: $
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
|
||||||
|
DESCRIPTION="Advanced cross-platform Google Drive client"
|
||||||
|
HOMEPAGE="https://www.insynchq.com/"
|
||||||
|
MODPV="1.3.12.36116"
|
||||||
|
SRC_URI="
|
||||||
|
x86? ( http://s.insynchq.com/builds/insync_${PV}-trusty_i386.deb )
|
||||||
|
amd64? ( http://s.insynchq.com/builds/insync_${PV}-trusty_amd64.deb )
|
||||||
|
nautilus? ( http://s.insynchq.com/builds/insync-nautilus_${MODPV}-precise_all.deb )
|
||||||
|
dolphin? ( http://s.insynchq.com/builds/insync-dolphin_${MODPV}-precise_all.deb )
|
||||||
|
thunar? ( http://s.insynchq.com/builds/insync-thunar_${MODPV}-precise_all.deb )
|
||||||
|
nemo? ( http://s.insynchq.com/builds/insync-nemo_${MODPV}-precise_all.deb )
|
||||||
|
caja? ( http://s.insynchq.com/builds/insync-caja_${MODPV}-precise_all.deb )"
|
||||||
|
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="-* ~x86 ~amd64"
|
||||||
|
DEPEND=""
|
||||||
|
RDEPEND="${DEPEND}
|
||||||
|
nautilus? ( dev-python/nautilus-python )
|
||||||
|
dolphin? ( kde-apps/dolphin )
|
||||||
|
thunar? ( dev-python/thunarx-python )"
|
||||||
|
IUSE="nautilus dolphin thunar caja nemo"
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
elog "If this fails with a deb2targz error, see"
|
||||||
|
elog "https://github.com/mrpdaemon/gentoo-overlay/issues/4"
|
||||||
|
mkdir "${S}"
|
||||||
|
cd "${S}"
|
||||||
|
|
||||||
|
if use amd64 ; then
|
||||||
|
unpack insync_${PV}-trusty_amd64.deb
|
||||||
|
else
|
||||||
|
unpack insync_${PV}-trusty_i386.deb
|
||||||
|
fi
|
||||||
|
|
||||||
|
unpack ./data.tar.gz
|
||||||
|
|
||||||
|
if use nautilus ; then
|
||||||
|
unpack insync-nautilus_${MODPV}-precise_all.deb
|
||||||
|
elif use dolphin ; then
|
||||||
|
unpack insync-dolphin_${MODPV}-precise_all.deb
|
||||||
|
elif use thunar ; then
|
||||||
|
unpack insync-thunar_${MODPV}-precise_all.deb
|
||||||
|
elif use nemo ; then
|
||||||
|
unpack insync-nemo_${MODPV}-precise_all.deb
|
||||||
|
elif use caja ; then
|
||||||
|
unpack insync-caja_${MODPV}-precise_all.deb
|
||||||
|
fi
|
||||||
|
|
||||||
|
unpack ./data.tar.gz
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
cp -pPR "${S}"/usr "${D}"/ || die "Installation failed"
|
||||||
|
|
||||||
|
echo "SEARCH_DIRS_MASK=\"/usr/lib*/insync\"" > "${T}/70${PN}" || die
|
||||||
|
insinto "/etc/revdep-rebuild" && doins "${T}/70${PN}" || die
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
elog "To automatically start insync add 'insync' to your session"
|
||||||
|
elog "startup scripts. GNOME users can also choose to enable"
|
||||||
|
elog "the insync extension via gnome-tweak-tool."
|
||||||
|
}
|
@ -0,0 +1,19 @@
|
|||||||
|
Submitted By: Mario Fetka (mario dot fetka at gmail dot com)
|
||||||
|
Date: 2017-05-14
|
||||||
|
Initial Package Version: 0.4.99.98
|
||||||
|
Origin: me
|
||||||
|
Upstream Status: unknown
|
||||||
|
Description: ncurses 6.x has split ncursses/tinfo libs
|
||||||
|
|
||||||
|
|
||||||
|
diff -Naur opencbm-0.4.99.98.orig/opencbm/cbmlinetester/LINUX/Makefile opencbm-0.4.99.98/opencbm/cbmlinetester/LINUX/Makefile
|
||||||
|
--- opencbm-0.4.99.98.orig/opencbm/cbmlinetester/LINUX/Makefile 2017-05-14 06:19:02.585302812 +0000
|
||||||
|
+++ opencbm-0.4.99.98/opencbm/cbmlinetester/LINUX/Makefile 2017-05-14 06:20:09.604409904 +0000
|
||||||
|
@@ -3,6 +3,6 @@
|
||||||
|
|
||||||
|
PROG = cbmlinetester
|
||||||
|
CFLAGS += -DHAVE_NCURSES
|
||||||
|
-LINK_FLAGS += -lncurses
|
||||||
|
+LINK_FLAGS += -lncurses -ltinfo
|
||||||
|
|
||||||
|
include ${RELATIVEPATH}LINUX/prgrules.make
|
@ -0,0 +1,29 @@
|
|||||||
|
commit 84b10fc7188de11fade4df963503080acbdb198c (HEAD -> refs/heads/usb_USB_LE16_TO_CPU_le16toh)
|
||||||
|
Author: Uffe Jakobsen <microtop@starion.dk>
|
||||||
|
AuthorDate: Sun Oct 16 17:02:22 2016 +0200
|
||||||
|
Commit: Uffe Jakobsen <microtop@starion.dk>
|
||||||
|
CommitDate: Sun Oct 16 17:02:51 2016 +0200
|
||||||
|
|
||||||
|
Linux: newer usb.h does not have USB_LE16_TO_CPU() macro anymore
|
||||||
|
---
|
||||||
|
:100644 100644 b9f6bd1... d7681cf... M xu1541/misc/usb_echo_test.c
|
||||||
|
xu1541/misc/usb_echo_test.c | 6 ++++++
|
||||||
|
1 file changed, 6 insertions(+)
|
||||||
|
|
||||||
|
diff --git xu1541/misc/usb_echo_test.c xu1541/misc/usb_echo_test.c
|
||||||
|
index b9f6bd1..d7681cf 100644
|
||||||
|
--- xu1541/misc/usb_echo_test.c
|
||||||
|
+++ xu1541/misc/usb_echo_test.c
|
||||||
|
@@ -27,6 +27,12 @@ usb_dev_handle *handle = NULL;
|
||||||
|
#define QUIT_KEY
|
||||||
|
#endif
|
||||||
|
|
||||||
|
+// Linux: newer usb.h does not have USB_LE16_TO_CPU() macro anymore
|
||||||
|
+#ifndef USB_LE16_TO_CPU
|
||||||
|
+#include <endian.h>
|
||||||
|
+#define USB_LE16_TO_CPU(x) x=le16toh(x);
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
/* send a number of 16 bit words to the xu1541 interface */
|
||||||
|
/* and verify that they are correctly returned by the echo */
|
||||||
|
/* command. This may be used to check the reliability of */
|
58
app-misc/irtrans-irclient/irtrans-irclient-6.01.16.ebuild
Normal file
58
app-misc/irtrans-irclient/irtrans-irclient-6.01.16.ebuild
Normal file
@ -0,0 +1,58 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit flag-o-matic toolchain-funcs
|
||||||
|
|
||||||
|
RESTRICT="strip"
|
||||||
|
|
||||||
|
DESCRIPTION="ASCII Client for the IRTrans Server"
|
||||||
|
HOMEPAGE="http://www.irtrans.de"
|
||||||
|
SRC_URI="http://ftp.disconnected-by-peer.at/irtrans/irclient-src-${PV}.tar.gz
|
||||||
|
http://www.irtrans.de/download/Client/irclient-src.tar.gz -> irclient-src-${PV}.tar.gz
|
||||||
|
http://ftp.disconnected-by-peer.at/irtrans/${PN}-5.11.04-ip_assign-1.patch.bz2"
|
||||||
|
|
||||||
|
LICENSE="BSD"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~x86"
|
||||||
|
|
||||||
|
S="${WORKDIR}"
|
||||||
|
|
||||||
|
PATCHES=( "${WORKDIR}/${PN}"-5.11.04-ip_assign-1.patch )
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
append-flags -DLINUX
|
||||||
|
|
||||||
|
# Set sane defaults (arm target has no -D flags added)
|
||||||
|
local irbuild
|
||||||
|
local ipbuild
|
||||||
|
irclient=irclient
|
||||||
|
ip_assign=ip_assign
|
||||||
|
|
||||||
|
# change variable by need
|
||||||
|
if use amd64; then
|
||||||
|
irbuild=irclient64
|
||||||
|
irclient=irclient64
|
||||||
|
ipbuild=ip_assign64
|
||||||
|
ip_assign=ip_assign64
|
||||||
|
elif use arm; then
|
||||||
|
irbuild=irclient_arm
|
||||||
|
ipbuild=ip_assign_arm
|
||||||
|
elif use x86; then
|
||||||
|
irbuild=irclient
|
||||||
|
ipbuild=ip_assign
|
||||||
|
fi
|
||||||
|
|
||||||
|
emake CXX="$(tc-getCXX)" CC="$(tc-getCC)" \
|
||||||
|
CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" CXXFLAGS="${CXXFLAGS}" \
|
||||||
|
"${irbuild}"
|
||||||
|
emake CXX="$(tc-getCXX)" CC="$(tc-getCC)" \
|
||||||
|
CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" CXXFLAGS="${CXXFLAGS}" \
|
||||||
|
"${ipbuild}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
newbin "${irclient}" irclient
|
||||||
|
newbin "${ip_assign}" ip_assign
|
||||||
|
}
|
10
app-misc/irtrans-irserver/files/irtrans-server.service
Normal file
10
app-misc/irtrans-irserver/files/irtrans-server.service
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=irTrans irServer Daemon
|
||||||
|
After=multi-user.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
User=root
|
||||||
|
ExecStart=/home/pi/irserver/irserver -logfile /home/pi/irserver/irserver.log <Ip of Device>
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
77
app-misc/irtrans-irserver/irtrans-irserver-6.10.23.ebuild
Normal file
77
app-misc/irtrans-irserver/irtrans-irserver-6.10.23.ebuild
Normal file
@ -0,0 +1,77 @@
|
|||||||
|
# Copyright 1999-2018 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit flag-o-matic toolchain-funcs mono-env
|
||||||
|
|
||||||
|
DESCRIPTION="Server software for IRTrans"
|
||||||
|
HOMEPAGE="http://www.irtrans.de"
|
||||||
|
SRC_URI="http://ftp.disconnected-by-peer.at/irtrans/irserver-src-${PV}.tar.gz
|
||||||
|
http://ftp.disconnected-by-peer.at/irtrans/irserver-${PV}.tar.gz
|
||||||
|
http://www.irtrans.de/download/Server/Linux/irserver-src.tar.gz -> irserver-src-${PV}.tar.gz
|
||||||
|
http://www.irtrans.de/download/Server/Linux/irserver.tar.gz -> irserver-${PV}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="BSD GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~x86"
|
||||||
|
IUSE="mono"
|
||||||
|
RESTRICT="strip"
|
||||||
|
|
||||||
|
RDEPEND="mono? ( >=dev-lang/mono-2.10.5 )"
|
||||||
|
|
||||||
|
S="${WORKDIR}"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
sed -e 's!^ODIRARM = .*!ODIRARM = n800!' -i makefile || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
append-flags -DLINUX -DMEDIACENTER
|
||||||
|
append-ldflags --static
|
||||||
|
|
||||||
|
# Set sane defaults (arm target has no -D flags added)
|
||||||
|
local irbuild=irserver_arm_noccf
|
||||||
|
irserver=irserver
|
||||||
|
|
||||||
|
# change variable by need
|
||||||
|
if use x86 ; then
|
||||||
|
irbuild=irserver
|
||||||
|
elif use amd64 ; then
|
||||||
|
irbuild=irserver64
|
||||||
|
irserver=irserver64
|
||||||
|
elif use arm ; then
|
||||||
|
irbuild=irserver_arm
|
||||||
|
fi
|
||||||
|
|
||||||
|
emake CXX="$(tc-getCXX)" CC="$(tc-getCC)" CFLAGS="${CFLAGS}" \
|
||||||
|
CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" "${irbuild}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
newbin "${WORKDIR}/${irserver}" irserver
|
||||||
|
|
||||||
|
keepdir /etc/irserver/remotes
|
||||||
|
|
||||||
|
docinto remotes
|
||||||
|
dodoc -r remotes
|
||||||
|
|
||||||
|
newinitd "${FILESDIR}"/irtrans-server.initd irtrans-server
|
||||||
|
newconfd "${FILESDIR}"/irtrans-server.confd irtrans-server
|
||||||
|
|
||||||
|
if use mono ; then
|
||||||
|
# Wrapper script to launch mono
|
||||||
|
make_wrapper irguiclient "mono /usr/$(get_libdir)/${PN}/GUIClient.exe"
|
||||||
|
|
||||||
|
insinto /usr/$(get_libdir)/${PN}/
|
||||||
|
exeinto /usr/$(get_libdir)/${PN}/
|
||||||
|
|
||||||
|
# The Libs and Translations
|
||||||
|
doins GUIClient/*.tra
|
||||||
|
doexe GUIClient/*.dll
|
||||||
|
|
||||||
|
# The actual executable
|
||||||
|
doexe GUIClient/*.exe
|
||||||
|
fi
|
||||||
|
}
|
9
dev-embedded/arduino-bin/Manifest
Normal file
9
dev-embedded/arduino-bin/Manifest
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
AUX 10arduino-bin 69 SHA256 62271f362cd58856fee87363ef8c9c221b8ab32dd88a3b53c9d17fcc4303e387 SHA512 8bace112decfd895fdf45821dfd96fe868032a8da184dc383dce3a2173fba9fdee103f134b7a7dc8bd5364e598f6249455f0f3d624fceaff7dd7974378ce0192 WHIRLPOOL 78dc07b3283750710758724ccb58688de5d4b8aadd700af2f365b9ebce04d386f70b1c2ac9f19c8c72ad76c12ced8683cda89ec865643b7a288d39a89ce20a68
|
||||||
|
AUX arduino.1 15213 SHA256 e9d15b3ff3d67b28a1ee860b5368b8e277d8ba8b315b39188ff3b2ddd14a64e3 SHA512 837cae1a434152ac507a0e229e384077392024d01db4d7b9d9820bfbe8877c4822c3f52467a7c02756c04958af9e8464925a254703d2ed9ca75b51e5e917f88a WHIRLPOOL 20f96d08e7476946a216b25338697da7041498b56d057bb852cc3f613c920695d1046d4d5021ecbdbfbb2a07b4ceab811a0d2331e3714b908161c3ae936198ba
|
||||||
|
AUX arduino.desktop 274 SHA256 96599ca50f423ebb82d895b73a08dd0534f2ee9bf6293cb032d3a5dd2db81de9 SHA512 d9c4f65b720ad0b6a5874e4fb6cf4c4ebccaf3e97451984c6aec75b3c83630e209be0c045c6b731c582ec78e47240006678f182fa1d671fc0459382755d8ac8c WHIRLPOOL 39dfac5890aa3c7115b2c5ffdb4b14ee74a515ea9ab4d6f889e9d3d8ecfba8a949b78b898f992544fb13b8a78685b2220cd0fdfcce2b8ea6973530fdf21ddea3
|
||||||
|
DIST arduino-bin_amd64-1.6.13.tar.xz 98351984 SHA256 492b28d72b347227346592ceb0373af55558aab67acda343a8a15cc11ade154a SHA512 d71cb78bb09fdfbb22a6c120df3a7440eafd598652ac60eede9fa2c71a62c6897fb82ddba5f0cc1775100b0227871089ea87545bb373f37fe2abcbefdc2c3ef1 WHIRLPOOL b8a3d0c5186c1ad02d644c404ccb5ea216c5f5cee32f48f01eb56e48f56c556668ae36c590e9b6d5c1f0ea3f9f5e51c0a3a1c2803d5c7f877be531fa40a6d0be
|
||||||
|
DIST arduino-bin_amd64-1.8.1.tar.xz 101052952 SHA256 95d566ec3cedec90f08677134ea6df6ab48a55ff87e7c3339dcd71e931d75ebd SHA512 5cf68c8ab42eab76e1d24f6ec0b33c232f955ef9a2aef172bb45e23206910b56b1d592400a57520c8fd82a788bd86206a399418c2a5c244f176965e99a9ee717 WHIRLPOOL 5ff97eb9349408aa9e83a30c6d234196ee42d0b1a3f48fd29a321274d514cfb3b08d3e0f9cf263a783ba9416679973544308e87fe8029b7f98b562081767510e
|
||||||
|
DIST arduino-bin_i386-1.6.13.tar.xz 99797188 SHA256 8a1d601bc0dd655d3b00adb3dc8bf0fb9079afe22beebea71ff97c28cddadc81 SHA512 15c5664c270978fb163868fda8e94b70bc73b0626118b3d6b71a5a1a4531372690cc58a3ff5b7b7b68baa38c5e7e4906cf0127bfa53eccd5b96b625388f61bda WHIRLPOOL 2e6271e5e1cba6fe59231f59cec102b669a4e41a1da757ca2347ce7a2d187331a6ef2680be514c6012098429ba53b68dd53a4203147e47f25e4e7e011d703699
|
||||||
|
DIST arduino-bin_i386-1.8.1.tar.xz 102324992 SHA256 4ec56363796d41c9943e58b1633c6c0b6512386c242725261f6065a97c9bac3f SHA512 e3365c01bd4064071a4a2e99eb2a20f275a3b109409163113a4c495855fb192bc51495b6394b9ca978839c2ee4da5bbeddab46515e9358cb03513d8809c353da WHIRLPOOL 06d98e95d13f7f5833b7256b368bcffaf59c7518d97973430893a3a585597c9662f2df82daaf60ab7cbac727b07c2320277e4b1bf90310f77df6a6631cbf7356
|
||||||
|
EBUILD arduino-bin-1.6.13.ebuild 2134 SHA256 c76405f9248675610bcca11edbe922f426b9fb8de263e508f530c662888a6408 SHA512 b6c5361d4d682a5b4aa49933c21c07faca355b3a3643e86e6a413aeea5a9166cad537541d2c37294ff1c19ccccee7631d4b7144f8ff55545c8de7e95e0904b0e WHIRLPOOL a6fa0086356d051e15163bae3f081db40a29be0eb2dc1023c11c73464ff5d811aeeedb1849e87eff73a670920e054f99d0ab6a78c1422b1fd12cb50e80c04bc2
|
||||||
|
EBUILD arduino-bin-1.8.1.ebuild 2134 SHA256 c76405f9248675610bcca11edbe922f426b9fb8de263e508f530c662888a6408 SHA512 b6c5361d4d682a5b4aa49933c21c07faca355b3a3643e86e6a413aeea5a9166cad537541d2c37294ff1c19ccccee7631d4b7144f8ff55545c8de7e95e0904b0e WHIRLPOOL a6fa0086356d051e15163bae3f081db40a29be0eb2dc1023c11c73464ff5d811aeeedb1849e87eff73a670920e054f99d0ab6a78c1422b1fd12cb50e80c04bc2
|
89
dev-embedded/arduino-bin/arduino-bin-1.6.13.ebuild
Normal file
89
dev-embedded/arduino-bin/arduino-bin-1.6.13.ebuild
Normal file
@ -0,0 +1,89 @@
|
|||||||
|
# Copyright 1999-2015 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/www-client/firefox-bin/firefox-bin-37.0.ebuild,v 1.1 2015/04/01 15:49:24 axs Exp $
|
||||||
|
|
||||||
|
EAPI="5"
|
||||||
|
|
||||||
|
inherit eutils gnome2-utils fdo-mime
|
||||||
|
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
SLOT="0"
|
||||||
|
LICENSE="GPL-2 LGPL-2.1"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
ARD_PN="${PN/-bin}"
|
||||||
|
ARD_P="${ARD_PN}-${PV}"
|
||||||
|
ARD_PF="${ARD_PN}-${PVR}"
|
||||||
|
|
||||||
|
DESCRIPTION="Firefox Web Browser"
|
||||||
|
HOMEPAGE="http://arduino.cc/en/Main/Software"
|
||||||
|
SRC_URI="${SRC_URI}
|
||||||
|
amd64? ( http://www.arduino.cc/download.php?f=/arduino-${PV}-linux64.tar.xz -> ${PN}_amd64-${PV}.tar.xz )
|
||||||
|
x86? ( http://www.arduino.cc/download.php?f=/arduino-${PV}-linux32.tar.xz -> ${PN}_i386-${PV}.tar.xz )
|
||||||
|
"
|
||||||
|
RESTRICT="strip mirror test"
|
||||||
|
|
||||||
|
QA_PREBUILT="
|
||||||
|
opt/arduino/*
|
||||||
|
"
|
||||||
|
|
||||||
|
DEPEND="app-arch/xz-utils"
|
||||||
|
RDEPEND="${DEPEND}
|
||||||
|
sys-libs/ncurses:5/5[tinfo]
|
||||||
|
virtual/libusb:0
|
||||||
|
virtual/libusb:1
|
||||||
|
virtual/udev
|
||||||
|
"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${ARD_P}"
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
# do nothing
|
||||||
|
true
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
declare ARDUINO_HOME=/opt/${ARD_PN}
|
||||||
|
|
||||||
|
# install desktop file, manpage and icons
|
||||||
|
domenu "${FILESDIR}"/${ARD_PN}.desktop
|
||||||
|
doman "${FILESDIR}"/${ARD_PN}.1
|
||||||
|
|
||||||
|
#doicon "${FILESDIR}"/${ARD_PN}.png
|
||||||
|
pushd "${S}"/lib/icons &>/dev/null || die
|
||||||
|
for size in * ; do
|
||||||
|
if [ -f "${size}/apps/${ARD_PN}.png" ] ; then
|
||||||
|
insinto "/usr/share/icons/hicolor/${size}/apps"
|
||||||
|
doins "${size}/apps/${ARD_PN}.png"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
dodir /usr/share/pixmaps
|
||||||
|
doicon "32x32/apps/${ARD_PN}.png" || die
|
||||||
|
popd &>/dev/null || die
|
||||||
|
|
||||||
|
# copy directory to /opt
|
||||||
|
dodir ${ARDUINO_HOME%/*}
|
||||||
|
mv "${S}" "${D}"${ARDUINO_HOME} || die
|
||||||
|
|
||||||
|
# make binary symlink
|
||||||
|
dosym ${ARDUINO_HOME}/arduino /usr/bin/arduino
|
||||||
|
|
||||||
|
# revdep-rebuild entry
|
||||||
|
insinto /etc/revdep-rebuild
|
||||||
|
doins ${FILESDIR}/10${PN} || die
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_preinst() {
|
||||||
|
gnome2_icon_savelist
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
# Update mimedb for the new .desktop file
|
||||||
|
fdo-mime_desktop_database_update
|
||||||
|
gnome2_icon_cache_update
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
gnome2_icon_cache_update
|
||||||
|
}
|
89
dev-embedded/arduino-bin/arduino-bin-1.8.1.ebuild
Normal file
89
dev-embedded/arduino-bin/arduino-bin-1.8.1.ebuild
Normal file
@ -0,0 +1,89 @@
|
|||||||
|
# Copyright 1999-2015 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/www-client/firefox-bin/firefox-bin-37.0.ebuild,v 1.1 2015/04/01 15:49:24 axs Exp $
|
||||||
|
|
||||||
|
EAPI="5"
|
||||||
|
|
||||||
|
inherit eutils gnome2-utils fdo-mime
|
||||||
|
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
SLOT="0"
|
||||||
|
LICENSE="GPL-2 LGPL-2.1"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
ARD_PN="${PN/-bin}"
|
||||||
|
ARD_P="${ARD_PN}-${PV}"
|
||||||
|
ARD_PF="${ARD_PN}-${PVR}"
|
||||||
|
|
||||||
|
DESCRIPTION="Firefox Web Browser"
|
||||||
|
HOMEPAGE="http://arduino.cc/en/Main/Software"
|
||||||
|
SRC_URI="${SRC_URI}
|
||||||
|
amd64? ( http://www.arduino.cc/download.php?f=/arduino-${PV}-linux64.tar.xz -> ${PN}_amd64-${PV}.tar.xz )
|
||||||
|
x86? ( http://www.arduino.cc/download.php?f=/arduino-${PV}-linux32.tar.xz -> ${PN}_i386-${PV}.tar.xz )
|
||||||
|
"
|
||||||
|
RESTRICT="strip mirror test"
|
||||||
|
|
||||||
|
QA_PREBUILT="
|
||||||
|
opt/arduino/*
|
||||||
|
"
|
||||||
|
|
||||||
|
DEPEND="app-arch/xz-utils"
|
||||||
|
RDEPEND="${DEPEND}
|
||||||
|
sys-libs/ncurses:5/5[tinfo]
|
||||||
|
virtual/libusb:0
|
||||||
|
virtual/libusb:1
|
||||||
|
virtual/udev
|
||||||
|
"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${ARD_P}"
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
# do nothing
|
||||||
|
true
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
declare ARDUINO_HOME=/opt/${ARD_PN}
|
||||||
|
|
||||||
|
# install desktop file, manpage and icons
|
||||||
|
domenu "${FILESDIR}"/${ARD_PN}.desktop
|
||||||
|
doman "${FILESDIR}"/${ARD_PN}.1
|
||||||
|
|
||||||
|
#doicon "${FILESDIR}"/${ARD_PN}.png
|
||||||
|
pushd "${S}"/lib/icons &>/dev/null || die
|
||||||
|
for size in * ; do
|
||||||
|
if [ -f "${size}/apps/${ARD_PN}.png" ] ; then
|
||||||
|
insinto "/usr/share/icons/hicolor/${size}/apps"
|
||||||
|
doins "${size}/apps/${ARD_PN}.png"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
dodir /usr/share/pixmaps
|
||||||
|
doicon "32x32/apps/${ARD_PN}.png" || die
|
||||||
|
popd &>/dev/null || die
|
||||||
|
|
||||||
|
# copy directory to /opt
|
||||||
|
dodir ${ARDUINO_HOME%/*}
|
||||||
|
mv "${S}" "${D}"${ARDUINO_HOME} || die
|
||||||
|
|
||||||
|
# make binary symlink
|
||||||
|
dosym ${ARDUINO_HOME}/arduino /usr/bin/arduino
|
||||||
|
|
||||||
|
# revdep-rebuild entry
|
||||||
|
insinto /etc/revdep-rebuild
|
||||||
|
doins ${FILESDIR}/10${PN} || die
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_preinst() {
|
||||||
|
gnome2_icon_savelist
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
# Update mimedb for the new .desktop file
|
||||||
|
fdo-mime_desktop_database_update
|
||||||
|
gnome2_icon_cache_update
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
gnome2_icon_cache_update
|
||||||
|
}
|
3
dev-embedded/arduino-bin/files/10arduino-bin
Normal file
3
dev-embedded/arduino-bin/files/10arduino-bin
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
SEARCH_DIRS_MASK="/opt/arduino
|
||||||
|
/opt/arduino/hardware/tools/avr/bin
|
||||||
|
"
|
579
dev-embedded/arduino-bin/files/arduino.1
Normal file
579
dev-embedded/arduino-bin/files/arduino.1
Normal file
@ -0,0 +1,579 @@
|
|||||||
|
'\" t
|
||||||
|
.\" Title: arduino
|
||||||
|
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
|
||||||
|
.\" Generator: DocBook XSL Stylesheets v1.78.0 <http://docbook.sf.net/>
|
||||||
|
.\" Date: 10/18/2015
|
||||||
|
.\" Manual: \ \&
|
||||||
|
.\" Source: \ \&
|
||||||
|
.\" Language: English
|
||||||
|
.\"
|
||||||
|
.TH "ARDUINO" "1" "10/18/2015" "\ \&" "\ \&"
|
||||||
|
.\" -----------------------------------------------------------------
|
||||||
|
.\" * Define some portability stuff
|
||||||
|
.\" -----------------------------------------------------------------
|
||||||
|
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
.\" http://bugs.debian.org/507673
|
||||||
|
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||||
|
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
.ie \n(.g .ds Aq \(aq
|
||||||
|
.el .ds Aq '
|
||||||
|
.\" -----------------------------------------------------------------
|
||||||
|
.\" * set default formatting
|
||||||
|
.\" -----------------------------------------------------------------
|
||||||
|
.\" disable hyphenation
|
||||||
|
.nh
|
||||||
|
.\" disable justification (adjust text to left margin only)
|
||||||
|
.ad l
|
||||||
|
.\" -----------------------------------------------------------------
|
||||||
|
.\" * MAIN CONTENT STARTS HERE *
|
||||||
|
.\" -----------------------------------------------------------------
|
||||||
|
.SH "NAME"
|
||||||
|
arduino \- Integrated development environment for Arduino boards
|
||||||
|
.SH "SYNOPSIS"
|
||||||
|
.sp
|
||||||
|
\fBarduino\fR [\fIFILE\&.ino\fR\&...]
|
||||||
|
.sp
|
||||||
|
\fBarduino\fR [\fB\-\-verify\fR|\fB\-\-upload\fR] [\fB\-\-board\fR \fIpackage\fR:\fIarch\fR:\fIboard\fR[:\fIparameters\fR]] [\fB\-\-port\fR \fIportname\fR] [\fB\-\-pref\fR \fIname\fR=\fIvalue\fR] [\fB\-v\fR|\fB\-\-verbose\fR] [\fB\-\-preserve\-temp\-files\fR] [\fIFILE\&.ino\fR]
|
||||||
|
.sp
|
||||||
|
\fBarduino\fR [\fB\-\-get\-pref\fR [\fIpreference\fR]]
|
||||||
|
.sp
|
||||||
|
\fBarduino\fR [\fB\-\-install\-boards\fR \fIpackage name\fR:\fIplatform architecture\fR[:\fIversion\fR]]
|
||||||
|
.sp
|
||||||
|
\fBarduino\fR [\fB\-\-install\-library\fR \fIlibrary name\fR[:\fIversion\fR][,\fIlibrary name\fR[:\fIversion\fR],\fIlibrary name\fR[:\fIversion\fR]]
|
||||||
|
.SH "DESCRIPTION"
|
||||||
|
.sp
|
||||||
|
The \fIarduino\fR integrated development environment allows editing, compiling and uploading sketches (programs) for Arduino (and compatible) microcontroller boards\&.
|
||||||
|
.sp
|
||||||
|
Normally, running the arduino command starts the IDE, optionally loading any \&.ino files specified on the commandline\&.
|
||||||
|
.sp
|
||||||
|
Alternatively, if any of the following command line options is given, no graphical interface will be shown and instead a one\-off verify (compile) or upload will be done\&. A single \&.ino file should be given\&. If the sketch contains multiple \&.ino files, any one can be specified on the commandline, but the entire sketch will be compiled\&.
|
||||||
|
.sp
|
||||||
|
When running in a one\-off mode, it might be useful to set the \fBbuild\&.path\fR preference to allow keeping intermediate build results between multiple runs and only recompile the files that changed\&.
|
||||||
|
.sp
|
||||||
|
Note that on MacOS X, the main executable is \fIArduino\&.app/Contents/MacOS/Arduino\fR instead of \fIarduino\fR\&.
|
||||||
|
.sp
|
||||||
|
Note that on Windows, due to the diffence between GUI and console apps, that the \fIarduino_debug\&.exe\fR is the appropriate executable to use if you want to use the majority of these command line options\&. The \fIarduino\&.exe\fR GUI version of the launcher \fBmay\fR perform some of the functions described below, but will not output any messages to the console, meaning it is pretty useless if you want any feedback or to be able to keep log files for automated testing, etc\&.
|
||||||
|
.sp
|
||||||
|
ACTIONS
|
||||||
|
.PP
|
||||||
|
\fB\-\-verify\fR
|
||||||
|
.RS 4
|
||||||
|
Build the sketch\&.
|
||||||
|
.RE
|
||||||
|
.PP
|
||||||
|
\fB\-\-upload\fR
|
||||||
|
.RS 4
|
||||||
|
Build and upload the sketch\&.
|
||||||
|
.RE
|
||||||
|
.PP
|
||||||
|
\fB\-\-get\-pref\fR [\fIpreference\fR]
|
||||||
|
.RS 4
|
||||||
|
Prints the value of the given preference to the standard output stream\&. When the value does not exist, nothing is printed and the exit status is set (see EXIT STATUS below)\&. If no preference is given as parameter, it prints all preferences\&.
|
||||||
|
.RE
|
||||||
|
.PP
|
||||||
|
\fB\-\-install\-boards\fR \fIpackage name\fR:\fIplatform architecture\fR[:\fIversion\fR]
|
||||||
|
.RS 4
|
||||||
|
Fetches available board support (platform) list and install the specified one, along with its related tools\&. If
|
||||||
|
\fIversion\fR
|
||||||
|
is omitted, the latest is installed\&. If a platform with the same version is already installed, nothing is installed and program exits with exit code 1\&. If a platform with a different version is already installed, it\(cqs replaced\&.
|
||||||
|
.RE
|
||||||
|
.PP
|
||||||
|
\fB\-\-install\-library\fR \fIlibrary name\fR[:\fIversion\fR]
|
||||||
|
.RS 4
|
||||||
|
Fetches available libraries list and install the specified one\&. If
|
||||||
|
\fIversion\fR
|
||||||
|
is omitted, the latest is installed\&. If a library with the same version is already installed, nothing is installed and program exits with exit code 1\&. If a library with a different version is already installed, it\(cqs replaced\&. Multiple libraries can be specified, separated by a comma\&.
|
||||||
|
.RE
|
||||||
|
.SH "OPTIONS"
|
||||||
|
.PP
|
||||||
|
\fB\-\-board\fR \fIpackage\fR:\fIarch\fR:\fIboard\fR[:\fIparameters\fR]
|
||||||
|
.RS 4
|
||||||
|
Select the board to compile for\&.
|
||||||
|
.sp
|
||||||
|
.RS 4
|
||||||
|
.ie n \{\
|
||||||
|
\h'-04'\(bu\h'+03'\c
|
||||||
|
.\}
|
||||||
|
.el \{\
|
||||||
|
.sp -1
|
||||||
|
.IP \(bu 2.3
|
||||||
|
.\}
|
||||||
|
|
||||||
|
\fIpackage\fR
|
||||||
|
is the identifier of the vendor (the first level folders inside the
|
||||||
|
\fIhardware\fR
|
||||||
|
directory)\&. Default arduino boards use
|
||||||
|
\fIarduino\fR\&.
|
||||||
|
.RE
|
||||||
|
.sp
|
||||||
|
.RS 4
|
||||||
|
.ie n \{\
|
||||||
|
\h'-04'\(bu\h'+03'\c
|
||||||
|
.\}
|
||||||
|
.el \{\
|
||||||
|
.sp -1
|
||||||
|
.IP \(bu 2.3
|
||||||
|
.\}
|
||||||
|
|
||||||
|
\fIarchitecture\fR
|
||||||
|
is the architecture of the board (second level folders inside the
|
||||||
|
\fIhardware\fR
|
||||||
|
directory)\&. Default arduino boards use either
|
||||||
|
\fBarduino:avr\fR
|
||||||
|
for all AVR\-based boards (like Uno, Mega or Leonardo) or
|
||||||
|
\fBarduino:sam\fR
|
||||||
|
for 32bit SAM\-based boards (like Arduino Due)\&.
|
||||||
|
.RE
|
||||||
|
.sp
|
||||||
|
.RS 4
|
||||||
|
.ie n \{\
|
||||||
|
\h'-04'\(bu\h'+03'\c
|
||||||
|
.\}
|
||||||
|
.el \{\
|
||||||
|
.sp -1
|
||||||
|
.IP \(bu 2.3
|
||||||
|
.\}
|
||||||
|
|
||||||
|
\fIboard\fR
|
||||||
|
is the actual board to use, as defined in
|
||||||
|
\fIboards\&.txt\fR
|
||||||
|
contained in the architecture folder selected\&. For example,
|
||||||
|
\fBarduino:avr:uno\fR
|
||||||
|
for the Arduino Uno,
|
||||||
|
\fBarduino:avr:diecimila\fR
|
||||||
|
for the Arduino Duemilanove or Diecimila, or
|
||||||
|
\fBarduino:avr:mega\fR
|
||||||
|
for the Arduino Mega\&.
|
||||||
|
.RE
|
||||||
|
.sp
|
||||||
|
.RS 4
|
||||||
|
.ie n \{\
|
||||||
|
\h'-04'\(bu\h'+03'\c
|
||||||
|
.\}
|
||||||
|
.el \{\
|
||||||
|
.sp -1
|
||||||
|
.IP \(bu 2.3
|
||||||
|
.\}
|
||||||
|
|
||||||
|
\fIparameters\fR
|
||||||
|
is a comma\-separated list of boards specific parameters that are normally shown under submenus of the "Tools" menu\&. For example
|
||||||
|
\fBarduino:avr:nano:cpu=atmega168\fR
|
||||||
|
to Select the mega168 variant of the Arduino Nano board\&.
|
||||||
|
.RE
|
||||||
|
.RE
|
||||||
|
.PP
|
||||||
|
.RS 4
|
||||||
|
If this option is not passed, the value from the current preferences is used (e\&.g\&., the last board selected in the IDE)\&.
|
||||||
|
.RE
|
||||||
|
.PP
|
||||||
|
\fB\-\-port\fR \fIportname\fR
|
||||||
|
.RS 4
|
||||||
|
Select the serial port to perform upload of the sketch\&. On linux and MacOS X, this should be the path to a device file (e\&.g\&.,
|
||||||
|
\fB/dev/ttyACM0\fR)\&. On Windows, this should be the name of the serial port (e\&.g\&.,
|
||||||
|
\fBCOM3\fR)\&.
|
||||||
|
.RE
|
||||||
|
.PP
|
||||||
|
.RS 4
|
||||||
|
If this option is not passed, the value from the current preferences is used (e\&.g\&., the last port selected in the IDE)\&.
|
||||||
|
.RE
|
||||||
|
.PP
|
||||||
|
\fB\-\-verbose\-build\fR
|
||||||
|
.RS 4
|
||||||
|
Enable verbose mode during build\&. If this option is not given, verbose mode during build is
|
||||||
|
\fBdisabled\fR
|
||||||
|
regardless of the current preferences\&.
|
||||||
|
.RE
|
||||||
|
.PP
|
||||||
|
\fB\-\-preserve\-temp\-files\fR
|
||||||
|
.RS 4
|
||||||
|
Keep temporary files (preprocessed sketch, object files\&...) after termination\&. If omitted, temporary files are deleted\&.
|
||||||
|
.RE
|
||||||
|
.PP
|
||||||
|
.RS 4
|
||||||
|
This option is only valid together with
|
||||||
|
\fB\-\-verify\fR
|
||||||
|
or
|
||||||
|
\fB\-\-upload\fR\&.
|
||||||
|
.RE
|
||||||
|
.PP
|
||||||
|
\fB\-\-verbose\-upload\fR
|
||||||
|
.RS 4
|
||||||
|
Enable verbose mode during upload\&. If this option is not given, verbose mode during upload is
|
||||||
|
\fBdisabled\fR
|
||||||
|
regardless of the current preferences\&.
|
||||||
|
.RE
|
||||||
|
.PP
|
||||||
|
.RS 4
|
||||||
|
This option is only valid together with
|
||||||
|
\fB\-\-verify\fR
|
||||||
|
or
|
||||||
|
\fB\-\-upload\fR\&.
|
||||||
|
.RE
|
||||||
|
.PP
|
||||||
|
\fB\-v, \-\-verbose\fR
|
||||||
|
.RS 4
|
||||||
|
Enable verbose mode during build and upload\&. This option has the same effect of using both
|
||||||
|
\fB\-\-verbose\-build\fR
|
||||||
|
and
|
||||||
|
\fB\-\-verbose\-upload\fR\&.
|
||||||
|
.RE
|
||||||
|
.PP
|
||||||
|
.RS 4
|
||||||
|
This option is only valid together with
|
||||||
|
\fB\-\-verify\fR
|
||||||
|
or
|
||||||
|
\fB\-\-upload\fR\&.
|
||||||
|
.RE
|
||||||
|
.PP
|
||||||
|
\fB\-\-preferences\-file\fR \fIfilename\fR
|
||||||
|
.RS 4
|
||||||
|
Read and store preferences from the specified
|
||||||
|
\fIfilename\fR
|
||||||
|
instead of the default one\&.
|
||||||
|
.RE
|
||||||
|
.PP
|
||||||
|
\fB\-\-pref\fR \fIname\fR=\fIvalue\fR
|
||||||
|
.RS 4
|
||||||
|
Sets the preference
|
||||||
|
\fIname\fR
|
||||||
|
to the given
|
||||||
|
\fIvalue\fR\&.
|
||||||
|
.RE
|
||||||
|
.PP
|
||||||
|
.RS 4
|
||||||
|
Note that the preferences you set with this option are not validated: Invalid names will be set but never used, invalid values might lead to an error later on\&.
|
||||||
|
.RE
|
||||||
|
.PP
|
||||||
|
\fB\-\-save\-prefs\fR
|
||||||
|
.RS 4
|
||||||
|
Save any (changed) preferences to
|
||||||
|
\fBpreferences\&.txt\fR\&. In particular
|
||||||
|
\fB\-\-board\fR,
|
||||||
|
\fB\-\-port\fR,
|
||||||
|
\fB\-\-pref\fR,
|
||||||
|
\fB\-\-verbose\fR,
|
||||||
|
\fB\-\-verbose\-build\fR
|
||||||
|
and
|
||||||
|
\fB\-\-verbose\-upload\fR
|
||||||
|
may alter the current preferences\&.
|
||||||
|
.RE
|
||||||
|
.SH "PREFERENCES"
|
||||||
|
.sp
|
||||||
|
Arduino keeps a list of preferences, as simple name and value pairs\&. Below, a few of them are documented but a lot more are available\&.
|
||||||
|
.PP
|
||||||
|
\fBsketchbook\&.path\fR
|
||||||
|
.RS 4
|
||||||
|
The path where sketches are (usually) stored\&. This path can also contain some special subdirectories (see FILES below)\&.
|
||||||
|
.RE
|
||||||
|
.PP
|
||||||
|
\fBupdate\&.check\fR
|
||||||
|
.RS 4
|
||||||
|
When set to true, the IDE checks for a new version on startup\&.
|
||||||
|
.RE
|
||||||
|
.PP
|
||||||
|
\fBeditor\&.external\fR
|
||||||
|
.RS 4
|
||||||
|
When set to true, use an external editor (the IDE does not allow editing and reloads each file before verifying)\&.
|
||||||
|
.RE
|
||||||
|
.PP
|
||||||
|
\fBbuild\&.path\fR
|
||||||
|
.RS 4
|
||||||
|
The path to use for building\&. This is where things like the preprocessed \&.cpp file, compiled \&.o files and the final \&.hex file go\&.
|
||||||
|
.RE
|
||||||
|
.PP
|
||||||
|
.RS 4
|
||||||
|
If set, this directory should already exist before running the arduino command\&.
|
||||||
|
.RE
|
||||||
|
.PP
|
||||||
|
.RS 4
|
||||||
|
If this preference is not set (which is normally the case), a new temporary build folder is created on every run and deleted again when the application is closed\&.
|
||||||
|
.RE
|
||||||
|
.SH "EXIT STATUS"
|
||||||
|
.PP
|
||||||
|
\fB0\fR
|
||||||
|
.RS 4
|
||||||
|
Success
|
||||||
|
.RE
|
||||||
|
.PP
|
||||||
|
\fB1\fR
|
||||||
|
.RS 4
|
||||||
|
Build failed or upload failed
|
||||||
|
.RE
|
||||||
|
.PP
|
||||||
|
\fB2\fR
|
||||||
|
.RS 4
|
||||||
|
Sketch not found
|
||||||
|
.RE
|
||||||
|
.PP
|
||||||
|
\fB3\fR
|
||||||
|
.RS 4
|
||||||
|
Invalid (argument for) commandline option
|
||||||
|
.RE
|
||||||
|
.PP
|
||||||
|
\fB4\fR
|
||||||
|
.RS 4
|
||||||
|
Preference passed to
|
||||||
|
\fB\-\-get\-pref\fR
|
||||||
|
does not exist
|
||||||
|
.RE
|
||||||
|
.SH "FILES"
|
||||||
|
.PP
|
||||||
|
\fB~/\&.arduino15/preferences\&.txt\fR
|
||||||
|
.RS 4
|
||||||
|
This file stores the preferences used for the IDE, building and uploading sketches\&.
|
||||||
|
.RE
|
||||||
|
.PP
|
||||||
|
\fBMy Documents/Arduino/\fR (Windows), \fB~/Documents/Arduino/\fR (Mac OS X), \fB~/Arduino/\fR (Linux)
|
||||||
|
.RS 4
|
||||||
|
This directory is referred to as the "Sketchbook" and contains the user\(cqs sketches\&. The path can be changed through the
|
||||||
|
\fBsketchbook\&.path\fR
|
||||||
|
preference\&.
|
||||||
|
.RE
|
||||||
|
.PP
|
||||||
|
.RS 4
|
||||||
|
Apart from sketches, three special directories can be inside the sketchbook:
|
||||||
|
.PP
|
||||||
|
\fBlibraries\fR
|
||||||
|
.RS 4
|
||||||
|
Libraries can be put inside this directory, one library per subdirectory\&.
|
||||||
|
.RE
|
||||||
|
.PP
|
||||||
|
\fBhardware\fR
|
||||||
|
.RS 4
|
||||||
|
Support for third\-party hardware can be added through this directory\&.
|
||||||
|
.RE
|
||||||
|
.PP
|
||||||
|
\fBtools\fR
|
||||||
|
.RS 4
|
||||||
|
External code\-processing tools (that can be run through the Tools menu of the IDE) can be added here\&.
|
||||||
|
.RE
|
||||||
|
.RE
|
||||||
|
.SH "EXAMPLES"
|
||||||
|
.sp
|
||||||
|
Start the Arduino IDE, with two files open:
|
||||||
|
.sp
|
||||||
|
.if n \{\
|
||||||
|
.RS 4
|
||||||
|
.\}
|
||||||
|
.nf
|
||||||
|
arduino /path/to/sketch/sketch\&.ino /path/to/sketch/extra\&.ino
|
||||||
|
.fi
|
||||||
|
.if n \{\
|
||||||
|
.RE
|
||||||
|
.\}
|
||||||
|
.sp
|
||||||
|
Compile and upload a sketch using the last selected board and serial port
|
||||||
|
.sp
|
||||||
|
.if n \{\
|
||||||
|
.RS 4
|
||||||
|
.\}
|
||||||
|
.nf
|
||||||
|
arduino \-\-upload /path/to/sketch/sketch\&.ino
|
||||||
|
.fi
|
||||||
|
.if n \{\
|
||||||
|
.RE
|
||||||
|
.\}
|
||||||
|
.sp
|
||||||
|
Compile and upload a sketch to an Arduino Nano, with an Atmega168 CPU, connected on port \fI/dev/ttyACM0\fR:
|
||||||
|
.sp
|
||||||
|
.if n \{\
|
||||||
|
.RS 4
|
||||||
|
.\}
|
||||||
|
.nf
|
||||||
|
arduino \-\-board arduino:avr:nano:cpu=atmega168 \-\-port /dev/ttyACM0 \-\-upload /path/to/sketch/sketch\&.ino
|
||||||
|
.fi
|
||||||
|
.if n \{\
|
||||||
|
.RE
|
||||||
|
.\}
|
||||||
|
.sp
|
||||||
|
Compile a sketch, put the build results in the \fIbuild\fR directory an re\-use any previous build results in that directory\&.
|
||||||
|
.sp
|
||||||
|
.if n \{\
|
||||||
|
.RS 4
|
||||||
|
.\}
|
||||||
|
.nf
|
||||||
|
arduino \-\-pref build\&.path=/path/to/sketch/build \-\-verify /path/to/sketch/sketch\&.ino
|
||||||
|
.fi
|
||||||
|
.if n \{\
|
||||||
|
.RE
|
||||||
|
.\}
|
||||||
|
.sp
|
||||||
|
Change the selected board and build path and do nothing else\&.
|
||||||
|
.sp
|
||||||
|
.if n \{\
|
||||||
|
.RS 4
|
||||||
|
.\}
|
||||||
|
.nf
|
||||||
|
arduino \-\-pref build\&.path=/path/to/sketch/build \-\-board arduino:avr:uno \-\-save\-prefs
|
||||||
|
.fi
|
||||||
|
.if n \{\
|
||||||
|
.RE
|
||||||
|
.\}
|
||||||
|
.sp
|
||||||
|
Install latest SAM board support
|
||||||
|
.sp
|
||||||
|
.if n \{\
|
||||||
|
.RS 4
|
||||||
|
.\}
|
||||||
|
.nf
|
||||||
|
arduino \-\-install\-boards "arduino:sam"
|
||||||
|
.fi
|
||||||
|
.if n \{\
|
||||||
|
.RE
|
||||||
|
.\}
|
||||||
|
.sp
|
||||||
|
Install AVR board support, 1\&.6\&.2
|
||||||
|
.sp
|
||||||
|
.if n \{\
|
||||||
|
.RS 4
|
||||||
|
.\}
|
||||||
|
.nf
|
||||||
|
arduino \-\-install\-boards "arduino:avr:1\&.6\&.2"
|
||||||
|
.fi
|
||||||
|
.if n \{\
|
||||||
|
.RE
|
||||||
|
.\}
|
||||||
|
.sp
|
||||||
|
Install Bridge library version 1\&.0\&.0
|
||||||
|
.sp
|
||||||
|
.if n \{\
|
||||||
|
.RS 4
|
||||||
|
.\}
|
||||||
|
.nf
|
||||||
|
arduino \-\-install\-library "Bridge:1\&.0\&.0"
|
||||||
|
.fi
|
||||||
|
.if n \{\
|
||||||
|
.RE
|
||||||
|
.\}
|
||||||
|
.sp
|
||||||
|
Install Bridge and Servo libraries
|
||||||
|
.sp
|
||||||
|
.if n \{\
|
||||||
|
.RS 4
|
||||||
|
.\}
|
||||||
|
.nf
|
||||||
|
arduino \-\-install\-library "Bridge:1\&.0\&.0,Servo:1\&.2\&.0"
|
||||||
|
.fi
|
||||||
|
.if n \{\
|
||||||
|
.RE
|
||||||
|
.\}
|
||||||
|
.SH "BUGS"
|
||||||
|
.sp
|
||||||
|
Even in command line mode the Arduino IDE requires a graphical user interface to be present\&. This should usually be the case in Windows or Mac OS X\&. On Linux however you might want to compile and upload sketches when logged in via SSH or in batch mode\&. To accomplish this, install the Xvfb dummy X server and write a small wrapper script to create an instance of this Xserver, run the Arduino IDE in it and kill the Xserver afterwards:
|
||||||
|
.sp
|
||||||
|
.if n \{\
|
||||||
|
.RS 4
|
||||||
|
.\}
|
||||||
|
.nf
|
||||||
|
#!/bin/bash
|
||||||
|
Xvfb :1 \-nolisten tcp \-screen :1 1280x800x24 &
|
||||||
|
xvfb="$!"
|
||||||
|
DISPLAY=:1 arduino $@
|
||||||
|
kill \-9 $xvfb
|
||||||
|
.fi
|
||||||
|
.if n \{\
|
||||||
|
.RE
|
||||||
|
.\}
|
||||||
|
.sp
|
||||||
|
Save the script as \fBarduino\-headless\fR and run it with the options described above\&. If the script does not return to a shell prompt, the options you specified were wrong and the Arduino IDE actually opened a window, stop its execution with Ctrl+C\&.
|
||||||
|
.SH "HISTORY"
|
||||||
|
.PP
|
||||||
|
1\&.5\&.2
|
||||||
|
.RS 4
|
||||||
|
Added initial commandline support\&. This introduced
|
||||||
|
\fB\-\-verify\fR,
|
||||||
|
\fB\-\-upload\fR,
|
||||||
|
\fB\-\-board\fR,
|
||||||
|
\fB\-\-port\fR,
|
||||||
|
\fB\-\-verbose\fR
|
||||||
|
and
|
||||||
|
\fB\-v\fR\&.
|
||||||
|
.RE
|
||||||
|
.PP
|
||||||
|
1\&.5\&.5
|
||||||
|
.RS 4
|
||||||
|
Added support for board\-specific parameters to
|
||||||
|
\fB\-\-board\fR\&.
|
||||||
|
.RE
|
||||||
|
.PP
|
||||||
|
.RS 4
|
||||||
|
Sketch filenames are now interpreted relative to the current directory instead of the location of the arduino command itself\&.
|
||||||
|
.RE
|
||||||
|
.PP
|
||||||
|
1\&.5\&.6
|
||||||
|
.RS 4
|
||||||
|
Introduced
|
||||||
|
\fB\-\-pref\fR,
|
||||||
|
\fB\-\-preferences\-file\fR,
|
||||||
|
\fB\-\-verbose\-build\fR
|
||||||
|
and
|
||||||
|
\fB\-\-verbose\-upload\fR\&.
|
||||||
|
.RE
|
||||||
|
.PP
|
||||||
|
.RS 4
|
||||||
|
Preferences set through \-\-pref are remembered, preferences set through
|
||||||
|
\fB\-\-board\fR,
|
||||||
|
\fB\-\-port\fR
|
||||||
|
or the
|
||||||
|
\fB\-\-verbose\fR
|
||||||
|
options are not\&.
|
||||||
|
.RE
|
||||||
|
.PP
|
||||||
|
.RS 4
|
||||||
|
When running with
|
||||||
|
\fB\-\-verify\fR
|
||||||
|
or
|
||||||
|
\fB\-\-upload\fR, the full GUI is no longer shown\&. Error messages still use a graphical popup and on Windows, the splash screen is still shown\&.
|
||||||
|
.RE
|
||||||
|
.PP
|
||||||
|
1\&.5\&.8
|
||||||
|
.RS 4
|
||||||
|
Introduced
|
||||||
|
\fB\-\-save\-prefs\fR\&.
|
||||||
|
.RE
|
||||||
|
.PP
|
||||||
|
1\&.6\&.2
|
||||||
|
.RS 4
|
||||||
|
Main executable in MacOS X changed from
|
||||||
|
\fIArduino\&.app/Contents/MacOS/JavaApplicationStub\fR
|
||||||
|
to
|
||||||
|
\fIArduino\&.app/Contents/MacOS/Arduino\fR\&.
|
||||||
|
.RE
|
||||||
|
.PP
|
||||||
|
1\&.6\&.4
|
||||||
|
.RS 4
|
||||||
|
Introduced
|
||||||
|
\fB\-\-install\-boards\fR
|
||||||
|
and
|
||||||
|
\fB\-\-install\-library\fR\&.
|
||||||
|
.RE
|
||||||
|
.PP
|
||||||
|
.RS 4
|
||||||
|
|
||||||
|
\fB\-\-pref\fR
|
||||||
|
options are now not saved to the preferences file, just like
|
||||||
|
\fB\-\-board\fR
|
||||||
|
and
|
||||||
|
\fB\-\-port\fR, unless
|
||||||
|
\fB\-\-save\-prefs\fR
|
||||||
|
is specified\&.
|
||||||
|
.RE
|
||||||
|
.PP
|
||||||
|
.RS 4
|
||||||
|
A path passed to
|
||||||
|
\fB\-\-preferences\-file\fR, or set in the
|
||||||
|
\fBbuild\&.path\fR,
|
||||||
|
\fBpreferences\&.path\fR
|
||||||
|
or
|
||||||
|
\fBsettings\&.path\fR
|
||||||
|
is now interpreted relative to the current directory instead of the location of the arduino command itself\&.
|
||||||
|
.RE
|
||||||
|
.SH "RESOURCES"
|
||||||
|
.sp
|
||||||
|
Web site: http://www\&.arduino\&.cc/
|
||||||
|
.sp
|
||||||
|
Help on projects and programming: http://forum\&.arduino\&.cc/
|
||||||
|
.sp
|
||||||
|
Report bugs: http://github\&.com/arduino/Arduino/issues
|
||||||
|
.sp
|
||||||
|
IDE and framework development mailing list: https://groups\&.google\&.com/a/arduino\&.cc/forum/#!forum/developers
|
11
dev-embedded/arduino-bin/files/arduino.desktop
Normal file
11
dev-embedded/arduino-bin/files/arduino.desktop
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Type=Application
|
||||||
|
Name=Arduino
|
||||||
|
Comment=Open-source electronics prototyping platform
|
||||||
|
Comment[sk]=Otvorená elektronická prototypová platforma
|
||||||
|
TryExec=arduino
|
||||||
|
Exec=arduino
|
||||||
|
Icon=arduino
|
||||||
|
Terminal=false
|
||||||
|
Categories=Development;IDE;Electronics;
|
||||||
|
StartupNotify=true
|
82
dev-embedded/cc65/cc65-2.18.ebuild
Normal file
82
dev-embedded/cc65/cc65-2.18.ebuild
Normal file
@ -0,0 +1,82 @@
|
|||||||
|
# Copyright 1999-2012 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: $
|
||||||
|
|
||||||
|
EAPI="2"
|
||||||
|
|
||||||
|
inherit eutils toolchain-funcs multilib
|
||||||
|
|
||||||
|
DESCRIPTION="It's a complete cross development package for 65(C)02 systems"
|
||||||
|
HOMEPAGE="http://www.cc65.org"
|
||||||
|
#SRC_URI="ftp://ftp.musoftware.de/pub/uz/cc65/snapshot/cc65-snapshot-sources-${PV}.tar.bz2"
|
||||||
|
#SRC_URI="ftp://ftp.musoftware.de/pub/uz/${PN}/${PN}-sources-${PV}.tar.bz2"
|
||||||
|
SRC_URI="https://github.com/${PN}/${PN}/archive/V${PV}.tar.gz -> ${PN}-sources-${PV}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||||
|
IUSE="doc"
|
||||||
|
|
||||||
|
DEPEND="doc? ( app-text/linuxdoc-tools )"
|
||||||
|
RDEPEND=""
|
||||||
|
|
||||||
|
#S="${WORKDIR}"/${PN}-snapshot-${PV}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# uncomment to install sim65
|
||||||
|
#sed -i -e "s:od65:od65 sim65:g" src/make/gcc.mak
|
||||||
|
|
||||||
|
# correct paths for install (also in documentation)
|
||||||
|
sed -i -e "s:)/lib:)/$(get_libdir):g" make/gcc.mak
|
||||||
|
sed -e "s:/usr/lib/cc65:/usr/$(get_libdir)/cc65:g" \
|
||||||
|
-i src/ca65/make/gcc.mak -i doc/ca65.sgml \
|
||||||
|
-i src/cc65/make/gcc.mak -i doc/cc65.sgml \
|
||||||
|
-i src/ld65/make/gcc.mak -i doc/ld65.sgml
|
||||||
|
|
||||||
|
# solve conflict by renameing make.info to cc65make.info
|
||||||
|
sed -e "s:make.:cc65make.:g" -i doc/index.sgml -i doc/Makefile
|
||||||
|
mv doc/make.sgml doc/cc65make.sgml
|
||||||
|
|
||||||
|
# epatch "${FILESDIR}"/cc65-2.13.2-asneeded-1.patch
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
# the build needs to be split otherwise we can't specify CC
|
||||||
|
# these makefiles are not parallel build aware
|
||||||
|
emake -j1 -C src -f make/gcc.mak CC="$(tc-getCC)" AR="$(tc-getAR)" \
|
||||||
|
CFLAGS="-g -O2 -Wall -W -std=c89 ${CFLAGS}" \
|
||||||
|
LDFLAGS="${LDFLAGS}" || die "src build fail"
|
||||||
|
emake -j1 -C libsrc || die "libsrc build fail"
|
||||||
|
use doc && emake -j1 -C doc html info
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
# can't trust the install target (sandbox violation) so do it by hand
|
||||||
|
dobin src/*65/*65 src/ca65html/ca65html src/grc/grc || die "dobin fail"
|
||||||
|
insinto /usr/$(get_libdir)/cc65/emd
|
||||||
|
doins libsrc/*.emd || die "install memory map fail"
|
||||||
|
insinto /usr/$(get_libdir)/cc65/joy
|
||||||
|
doins libsrc/*.joy || die "install joystick driver fail"
|
||||||
|
insinto /usr/$(get_libdir)/cc65/mou
|
||||||
|
doins libsrc/*.mou || die "install mouse driver fail"
|
||||||
|
insinto /usr/$(get_libdir)/cc65/ser
|
||||||
|
doins libsrc/*.ser || die "install UART driver fail"
|
||||||
|
insinto /usr/$(get_libdir)/cc65/tgi
|
||||||
|
doins libsrc/*.tgi || die "install graphic driver fail"
|
||||||
|
insinto /usr/$(get_libdir)/cc65/asminc
|
||||||
|
doins asminc/*.inc || die "install asm include fail"
|
||||||
|
insinto /usr/$(get_libdir)/cc65/include
|
||||||
|
doins -r include/* || die "install include fail"
|
||||||
|
insinto /usr/$(get_libdir)/cc65/lib
|
||||||
|
doins libsrc/*.lib || die "install lib definations fail"
|
||||||
|
doins libsrc/*.o || die "install lib fail"
|
||||||
|
insinto /usr/$(get_libdir)/cc65/cfg
|
||||||
|
doins src/ld65/cfg/*.cfg || die "cfg install fail"
|
||||||
|
use doc && dohtml doc/*.htm*
|
||||||
|
use doc && insinto /usr/share/doc/${PF}/html
|
||||||
|
use doc && doins doc/*.txt
|
||||||
|
doman packages/debian/*.1 || die "man install fail"
|
||||||
|
use doc && doinfo doc/*.info
|
||||||
|
dodoc src/ca65/macpack/*.mac doc/readme.1st \
|
||||||
|
doc/BUGS doc/CREDITS || die "macro & doc install fail"
|
||||||
|
}
|
23
dev-python/martINI/martINI-0.6.ebuild
Normal file
23
dev-python/martINI/martINI-0.6.ebuild
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/dev-python/pudb/pudb-0.92.14.ebuild,v 1.1 2009/12/21 02:56:30 arfrever Exp $
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="edit .ini files from the command line"
|
||||||
|
HOMEPAGE="http://k0s.org/portfolio/software.html#martini"
|
||||||
|
SRC_URI="mirror://pypi/m/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~x86 ~x86-linux"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
RDEPEND="dev-python/genshi
|
||||||
|
dev-python/pastescript
|
||||||
|
dev-python/webob"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
dev-python/setuptools"
|
5
media-video/makemkv/Manifest
Normal file
5
media-video/makemkv/Manifest
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
AUX makemkv-path.patch 2153 BLAKE2B bab155f5aea1c7f5e3d1923b580b3f36115d32bf0d384a347379dd9ea80b650ea9755c641be0253c9d5b269f9aa4d2774ace89ea598b5206391794263530a84a SHA512 c7744f92ed7a5f09f0301c454afa32e4fce7251f276129917d2ce602b35f5961e629fa0328213f6e5a8d260b5964db099c44b1e870b209f7bb78712cf52b6e95
|
||||||
|
DIST makemkv-bin-1.14.7.tar.gz 9487718 BLAKE2B ecba22794035ed022863a2f736572a0da207346d6a3e44e3ca8c319fa672228be23835201ac3b023250d1a6457b8dd37e680573c7a83c53bb8fee1e016d00096 SHA512 cdd2eae8a80b2e564b786dfef0273ef36211327e5f4932b0f580a59c1ac288d5a99a2a1fe6fa0059e0f3fec6bcbc07278e7f7580507f36ca6d01f92d47092626
|
||||||
|
DIST makemkv-oss-1.14.7.tar.gz 4384451 BLAKE2B f2a2cff901a4c6d03286a5a4cdd54ac0f61e3c0f04d3adb4089f03fc767dda099b0d4b4e8f76a3ad0ba57fb1af85cd2ab8fb6d966f4fbed490e25250f0be283c SHA512 2e8ab96ae1c1e855ff840fffaedd7ba998021630b61e66337d1027c53b8315ef8c303016a85ae8fddbfc52ae006fadab44fd63e0f2cca3602bfd17086a52aa06
|
||||||
|
EBUILD makemkv-1.14.7.ebuild 2982 BLAKE2B c6be006dead8d1e25329fe3a5a0d2deb2fd21d9f28e6b807c9c65b2b7717a6cb968ad0bfdddde30e771834011b3a8daca88d7c54de1331c99015dffe3329654f SHA512 0888197206f82289a7ee24e7ba8db09967a18f066e8a1349ef3d6d0c148fd43a8f0d4ae0569060592d488da44113eea34621b6fb0d5856a4d853e434ff5b6787
|
||||||
|
MISC metadata.xml 1225 BLAKE2B c65dc32de4283f661bb1725d24d7346ad93a5cc77fc794cb41ef95174eaabd3fe17fac4ae7c4a4791170563e7ae0596c37ec734880723f9a9e81b5d991646b4d SHA512 b5730528c0efef8dc5d98248d0eaa85625b292e610cb7aa294d87f968fabdd45a6d240e66d7d2a4f0cdfc7642ad11dbaf36417b36b8895b8e50b307202ac1bb9
|
59
media-video/makemkv/files/makemkv-path.patch
Normal file
59
media-video/makemkv/files/makemkv-path.patch
Normal file
@ -0,0 +1,59 @@
|
|||||||
|
diff -Naur makemkv-oss-1.9.10.orig/libabi/src/httplinux.cpp makemkv-oss-1.9.10/libabi/src/httplinux.cpp
|
||||||
|
--- makemkv-oss-1.9.10.orig/libabi/src/httplinux.cpp 2016-04-15 21:35:36.000000000 +0100
|
||||||
|
+++ makemkv-oss-1.9.10/libabi/src/httplinux.cpp 2016-05-08 10:52:42.481501963 +0100
|
||||||
|
@@ -45,7 +45,7 @@
|
||||||
|
lurl = (char*)alloca(strlen(Url)+1);
|
||||||
|
strcpy(lurl,Url);
|
||||||
|
|
||||||
|
- strcpy(argv0,"/usr/bin/wget"); argv[0]=argv0;
|
||||||
|
+ strcpy(argv0,"wget"); argv[0]=argv0;
|
||||||
|
strcpy(argv1,"-q"); argv[1]=argv1;
|
||||||
|
strcpy(argv2,"-O"); argv[2]=argv2;
|
||||||
|
strcpy(argv3,"-"); argv[3]=argv3;
|
||||||
|
diff -Naur makemkv-oss-1.9.10.orig/makemkvgui/src/api_posix.cpp makemkv-oss-1.9.10/makemkvgui/src/api_posix.cpp
|
||||||
|
--- makemkv-oss-1.9.10.orig/makemkvgui/src/api_posix.cpp 2016-04-15 21:35:36.000000000 +0100
|
||||||
|
+++ makemkv-oss-1.9.10/makemkvgui/src/api_posix.cpp 2016-05-08 13:51:48.761885862 +0100
|
||||||
|
@@ -54,8 +54,6 @@
|
||||||
|
|
||||||
|
if (AppName[0]==':')
|
||||||
|
{
|
||||||
|
- bool app_found = false;
|
||||||
|
- const char* const* app_locations = ApGetAppLocations();
|
||||||
|
const char* p_env = getenv("MAKEMKVCON");
|
||||||
|
|
||||||
|
AppName++;
|
||||||
|
@@ -63,6 +61,13 @@
|
||||||
|
if (p_env!=NULL)
|
||||||
|
{
|
||||||
|
strcpy(app_path,p_env);
|
||||||
|
+ } else {
|
||||||
|
+ strcpy(app_path,AppName);
|
||||||
|
+ }
|
||||||
|
+ } else {
|
||||||
|
+ strcpy(app_path,AppName);
|
||||||
|
+ }
|
||||||
|
+/*
|
||||||
|
app_found = true;
|
||||||
|
} else {
|
||||||
|
for (size_t i=0;app_locations[i]!=NULL;i++)
|
||||||
|
@@ -105,7 +110,7 @@
|
||||||
|
}
|
||||||
|
strcpy(p,AppName);
|
||||||
|
}
|
||||||
|
-
|
||||||
|
+*/
|
||||||
|
strcpy(str_guiserver,"guiserver");
|
||||||
|
strcpy(str_apver,verstr);
|
||||||
|
|
||||||
|
diff -Naur makemkv-oss-1.9.10.orig/makemkvgui/src/spawn_posix.cpp makemkv-oss-1.9.10/makemkvgui/src/spawn_posix.cpp
|
||||||
|
--- makemkv-oss-1.9.10.orig/makemkvgui/src/spawn_posix.cpp 2016-04-15 21:35:36.000000000 +0100
|
||||||
|
+++ makemkv-oss-1.9.10/makemkvgui/src/spawn_posix.cpp 2016-05-08 10:52:37.137598384 +0100
|
||||||
|
@@ -70,7 +70,7 @@
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
- err = posix_spawn(&pid,argv[0],&spawn_actions,&spawn_attr,argv,envp);
|
||||||
|
+ err = posix_spawnp(&pid,argv[0],&spawn_actions,&spawn_attr,argv,envp);
|
||||||
|
|
||||||
|
posix_spawn_file_actions_destroy(&spawn_actions);
|
||||||
|
posix_spawnattr_destroy(&spawn_attr);
|
113
media-video/makemkv/makemkv-1.14.7.ebuild
Normal file
113
media-video/makemkv/makemkv-1.14.7.ebuild
Normal file
@ -0,0 +1,113 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit flag-o-matic linux-info xdg-utils
|
||||||
|
|
||||||
|
MY_P=makemkv-oss-${PV}
|
||||||
|
MY_PB=makemkv-bin-${PV}
|
||||||
|
|
||||||
|
DESCRIPTION="Tool for ripping and streaming Blu-ray, HD-DVD and DVD discs"
|
||||||
|
HOMEPAGE="http://www.makemkv.com/"
|
||||||
|
SRC_URI="http://www.makemkv.com/download/${MY_P}.tar.gz
|
||||||
|
http://www.makemkv.com/download/${MY_PB}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="LGPL-2.1 MPL-1.1 MakeMKV-EULA openssl"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="-* ~amd64 ~x86"
|
||||||
|
IUSE="+gui libav libressl"
|
||||||
|
|
||||||
|
QA_PREBUILT="usr/bin/makemkvcon usr/bin/mmdtsdec"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
sys-libs/glibc
|
||||||
|
dev-libs/expat
|
||||||
|
sys-libs/zlib
|
||||||
|
gui? (
|
||||||
|
dev-qt/qtcore:5
|
||||||
|
dev-qt/qtdbus:5
|
||||||
|
dev-qt/qtgui:5
|
||||||
|
dev-qt/qtwidgets:5
|
||||||
|
)
|
||||||
|
!libav? ( >=media-video/ffmpeg-1.0.0:0= )
|
||||||
|
libav? ( >=media-video/libav-0.8.9:0= )
|
||||||
|
!libressl? ( dev-libs/openssl:0=[-bindist(-)] )
|
||||||
|
libressl? ( dev-libs/libressl:0= )
|
||||||
|
"
|
||||||
|
RDEPEND="
|
||||||
|
${DEPEND}
|
||||||
|
media-video/ccextractor
|
||||||
|
net-misc/wget
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
virtual/pkgconfig
|
||||||
|
gui? ( dev-qt/qtcore:5 )
|
||||||
|
"
|
||||||
|
|
||||||
|
CONFIG_CHECK="~CHR_DEV_SG"
|
||||||
|
S="${WORKDIR}/${MY_P}"
|
||||||
|
PATCHES=( "${FILESDIR}"/${PN}-path.patch )
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
# See bug #439380.
|
||||||
|
replace-flags -O* -Os
|
||||||
|
|
||||||
|
econf \
|
||||||
|
--enable-debug \
|
||||||
|
--disable-noec \
|
||||||
|
--disable-qt4 \
|
||||||
|
$(use_enable gui) \
|
||||||
|
$(use_enable gui qt5)
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
|
||||||
|
# add missing symlinks for QA
|
||||||
|
dosym libdriveio.so.0 /usr/$(get_libdir)/libdriveio.so.0.${PV}
|
||||||
|
dosym libdriveio.so.0 /usr/$(get_libdir)/libdriveio.so
|
||||||
|
dosym libmakemkv.so.1 /usr/$(get_libdir)/libmakemkv.so.1.${PV}
|
||||||
|
dosym libmakemkv.so.1 /usr/$(get_libdir)/libmakemkv.so
|
||||||
|
dosym libmmbd.so.0 /usr/$(get_libdir)/libmmbd.so
|
||||||
|
dosym libmmbd.so.0 /usr/$(get_libdir)/libmmbd.so.0.${PV}
|
||||||
|
|
||||||
|
cd "${WORKDIR}"/${MY_PB} || die
|
||||||
|
|
||||||
|
# install prebuilt bin
|
||||||
|
dobin bin/$(usex x86 i386 ${ARCH})/makemkvcon
|
||||||
|
|
||||||
|
# install profiles and locales
|
||||||
|
insinto /usr/share/MakeMKV
|
||||||
|
doins src/share/*
|
||||||
|
|
||||||
|
# add symlink rather than relying on MMCCEXTRACTOR env var
|
||||||
|
dosym ccextractor /usr/bin/mmccextr
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
xdg_icon_cache_update
|
||||||
|
|
||||||
|
elog "While MakeMKV is in beta mode, upstream has provided a license"
|
||||||
|
elog "to use if you do not want to purchase one."
|
||||||
|
elog ""
|
||||||
|
elog "See this forum thread for more information, including the key:"
|
||||||
|
elog "http://www.makemkv.com/forum2/viewtopic.php?f=5&t=1053"
|
||||||
|
elog ""
|
||||||
|
elog "Note that beta license may have an expiration date and you will"
|
||||||
|
elog "need to check for newer licenses/releases. "
|
||||||
|
elog ""
|
||||||
|
elog "We previously said to copy default.mmcp.xml to ~/.MakeMKV/. This"
|
||||||
|
elog "is no longer necessary and you should delete it from there to"
|
||||||
|
elog "avoid warning messages."
|
||||||
|
elog ""
|
||||||
|
elog "MakeMKV can also act as a drop-in replacement for libaacs and"
|
||||||
|
elog "libbdplus, allowing transparent decryption of a wider range of"
|
||||||
|
elog "titles under players like VLC and mplayer. To enable this, set"
|
||||||
|
elog "the following variables when launching the player:"
|
||||||
|
elog "LIBAACS_PATH=libmmbd LIBBDPLUS_PATH=libmmbd"
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
xdg_icon_cache_update
|
||||||
|
}
|
28
media-video/makemkv/metadata.xml
Normal file
28
media-video/makemkv/metadata.xml
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>chewi@gentoo.org</email>
|
||||||
|
<name>James Le Cuirot</name>
|
||||||
|
</maintainer>
|
||||||
|
<longdescription>
|
||||||
|
MakeMKV is your one-click solution to convert video that you own
|
||||||
|
into free and patents-unencumbered format that can be played
|
||||||
|
everywhere. MakeMKV is a format converter, otherwise called
|
||||||
|
transcoder. It converts the video clips from proprietary (and
|
||||||
|
usually encrypted) disc into a set of MKV files, preserving most
|
||||||
|
information but not changing it in any way. The MKV format can
|
||||||
|
store multiple video/audio tracks with all meta-information and
|
||||||
|
preserve chapters. There are many players that can play MKV
|
||||||
|
files nearly on all platforms, and there are tools to convert
|
||||||
|
MKV files to many formats, including DVD and Blu-ray discs.
|
||||||
|
|
||||||
|
Additionally MakeMKV can instantly stream decrypted video
|
||||||
|
without intermediate conversion to wide range of players, so you
|
||||||
|
may watch Blu-ray and DVD discs with your favorite player on
|
||||||
|
your favorite OS or on your favorite device.
|
||||||
|
</longdescription>
|
||||||
|
<use>
|
||||||
|
<flag name="gui">Build the Qt5 GUI</flag>
|
||||||
|
</use>
|
||||||
|
</pkgmetadata>
|
4
media-video/vidcutter/Manifest
Normal file
4
media-video/vidcutter/Manifest
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
DIST vidcutter-6.0.0.tar.gz 9877867 BLAKE2B 91f153222f37d452ed8af5c4f24e32790189f058b5cbb3c80f7805ed48b5e953bfeeb8be92f04e049384dc30f416d0ee603237b8a59a329b0bc0cd61bf0fdbe2 SHA512 9970d9918cca9a7681bc5ca8d8b5d16212cf3dad0f2bc3e9c6727340c340801696dcb7ff4e901c2c0a25b86e9cb165bb3f783c18b4a8fd5f4ddba8490a7fd7a0
|
||||||
|
EBUILD vidcutter-6.0.0.ebuild 840 BLAKE2B b09ecdc876d451c39b15d0513174936f58e2bdf877fb5004ebaa3c905e7478144dcd7488638c52f9e663294bce74c20f8c849e5a78054d4da57cd5ad26b3a09c SHA512 9a767e8663269398c3bc1d944bdaa2aa2fd2857c1200862c1f31d57278bff9ec36249bfb1cb8f0fb2c0d17a8626b771346f1442b72fea2e663d0c85ee544b945
|
||||||
|
EBUILD vidcutter-9999-r1.ebuild 870 BLAKE2B bca350c4d71d1a3fdc6f288d4511c0e849d23e4b8a47856e644890c1e35d7ff594f0f36feff90fb66ac4bf0d249acda3c21b59a8ed35f9d34daaf063ea6e3419 SHA512 68256026bac5e9f48b295e2e1f2e12185e40431d32070681a5114b36bb6dada28c7ed0aa5fa06791a04cef15f747f5c88d30503355c38fc3502ae1a27024fcc0
|
||||||
|
MISC metadata.xml 317 BLAKE2B a064dab932a673a4ccd23732ebc842cd57c3b9faca938fe291ad7286b5649ff5f3cd8ac1191b340e621a20f3888dcab3470ec041aae115e3cba0a9eab7b67068 SHA512 2b7cae78785fa166c52e6d3eba008543924b3b057ffce125c9afce60453dbde9e8b65546042de78bd48cf4697d6487213a281e7ccad4ac44a944b41d89f2387b
|
9
media-video/vidcutter/metadata.xml
Normal file
9
media-video/vidcutter/metadata.xml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>jpizarrocallejas@gmail.com</email>
|
||||||
|
<name>Jorge Pizarro Callejas</name>
|
||||||
|
<description>Jorgicio Gentoo Overlay</description>
|
||||||
|
</maintainer>
|
||||||
|
</pkgmetadata>
|
36
media-video/vidcutter/vidcutter-6.0.0.ebuild
Normal file
36
media-video/vidcutter/vidcutter-6.0.0.ebuild
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{5,6,7} )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="FFmpeg-based simple video cutter & joiner with a modern PyQt5 GUI"
|
||||||
|
HOMEPAGE="http://vidcutter.ozmartians.com https://github.com/ozmartian/vidcutter"
|
||||||
|
|
||||||
|
if [[ ${PV} == 9999 ]];then
|
||||||
|
inherit git-r3
|
||||||
|
EGIT_REPO_URI="https://github.com/ozmartian/vidcutter"
|
||||||
|
KEYWORDS=""
|
||||||
|
else
|
||||||
|
SRC_URI="https://github.com/ozmartian/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
KEYWORDS="~x86 ~amd64"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
>=media-video/mpv-0.25[libmpv]
|
||||||
|
"
|
||||||
|
RDEPEND="${DEPEND}
|
||||||
|
>=dev-python/PyQt5-5.7[dbus,multimedia,${PYTHON_USEDEP}]
|
||||||
|
media-video/mediainfo
|
||||||
|
virtual/ffmpeg[X,encode]"
|
||||||
|
BDEPEND="
|
||||||
|
${PYTHON_DEPS}
|
||||||
|
dev-python/setuptools[${PYTHON_USEDEP}]"
|
37
media-video/vidcutter/vidcutter-9999-r1.ebuild
Normal file
37
media-video/vidcutter/vidcutter-9999-r1.ebuild
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{5,6,7} )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="FFmpeg-based simple video cutter & joiner with a modern PyQt5 GUI"
|
||||||
|
HOMEPAGE="http://vidcutter.ozmartians.com https://github.com/ozmartian/vidcutter"
|
||||||
|
|
||||||
|
if [[ ${PV} == 9999 ]];then
|
||||||
|
inherit git-r3
|
||||||
|
EGIT_REPO_URI="https://github.com/nullSoup/vidcutter"
|
||||||
|
EGIT_BRANCH="mkvmerge_cutter"
|
||||||
|
KEYWORDS=""
|
||||||
|
else
|
||||||
|
SRC_URI="https://github.com/ozmartian/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
KEYWORDS="~x86 ~amd64"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
>=media-video/mpv-0.25[libmpv]
|
||||||
|
"
|
||||||
|
RDEPEND="${DEPEND}
|
||||||
|
>=dev-python/PyQt5-5.7[dbus,multimedia,${PYTHON_USEDEP}]
|
||||||
|
media-video/mediainfo
|
||||||
|
virtual/ffmpeg[X,encode]"
|
||||||
|
BDEPEND="
|
||||||
|
${PYTHON_DEPS}
|
||||||
|
dev-python/setuptools[${PYTHON_USEDEP}]"
|
18
net-ftp/oftpd/Manifest
Normal file
18
net-ftp/oftpd/Manifest
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
AUX conf.d.oftpd-r7 978 BLAKE2B a2bc79f57fdd7f9f1f127ad7606b44330afd41c32acae998d86eead6871724c371f438cd03aa89b68f9124cae2a7673e454497c721405e31d7e53948bc0d4617 SHA512 6f864b2a6010cd81e0f767bc769200a26793540f77f95deb4678254d48acb93814eb214e4d3df46825c647483fac1bfcbdfd1c32d4da11af6596331408f75e0f
|
||||||
|
AUX init.d.oftpd-r7 526 BLAKE2B 307a2e104555815cf833a5adafbe3d2fd065ff18efa33723b3d0e246f31e4a267d957a2531fe8c034d2e11bb48f17358ff5d6a3c28962b028f4f7d0fe3331bc3 SHA512 be48a7a04be71eff0330dbea622d79b15d75bf033de901158199862c8c049a1126021a069009152b938a8c55138c36db7862410f836570c65d2729f737112142
|
||||||
|
AUX oftpd-0.3.7-configure-ipv6.patch 571 BLAKE2B 0329fd80b83b508047cd39d9b08bb2ca60a7b0d7e313f97b4e13361ceb0a053fcb1cf1e221055f8334196977c6fad857778f47e8903e71a1e7dde379d2cc2d7b SHA512 e76c08d711169ef5e005d8a4cae9d9feec91c99057f086109df0bece27142149754c7e099f6cd978ce9c9e03bc699419bcf6c22448bd08476d4c39e68643f7be
|
||||||
|
AUX oftpd-0.3.7-delay-root-check.patch 778 BLAKE2B 90935612d7bbd82cc13cdac7f0929b76402b5d9b6b7894abc3217accec76cbe06c41f1de3e07d7b982cdbc0304824136461330ac1320ead837faeaeb98787ea8 SHA512 ea420fdec8df42d6482bf41409571769b1f4011e2bcf9157cd32f68c68c582edd0908cb13286618248647922023f72b029a4523464ce15a5adbfa4ce0bb9f326
|
||||||
|
AUX oftpd-0.3.7-error-output.patch 706 BLAKE2B da3f667f837cef0be59939939e46d0739db3b7c92829157e35786b61cdde23ab904220306c606568edf7e42d3f8d5620ea0ef60f7799f96bd3e503d42e2dd2f7 SHA512 36c996038784a0e6b6a17e1f52c346dde741f812588254441c3419f0859daf63c75135e156684f014a576315560da0227aa184870edb3a0c95a18968d9e62a52
|
||||||
|
AUX oftpd-0.3.7-family-1.patch 936 BLAKE2B 6609049281ce1886f29a81b4d68a08e64e1cd4e5e7265958fe7e154a904183c5b9d14c9761b82f8f876da6390aa94250e84354dc0fe696c5c7138bc94747d735 SHA512 045eb48da94b3f888ff3f9dab17170338d078284d136d2fb684fac09dedaef55dd186080a520072bf2906be17770f70e66a311e19b86da766f49fe68174857e2
|
||||||
|
AUX oftpd-0.3.7-htons.patch 458 BLAKE2B cacdc7339f3d6e1005a9539d3ea4bbcd8bb1c419c881b907a44d7d17f0bb0cdf88f7cbe619b4c099d548f08d5011fa139dcf8c40808264b8ca2618117e6e2b72 SHA512 75da3b40206b5c495a2edab531d6c7d2a41e30729a03605e514ec12e20499e4f7f3fb03859b19c5fc5cdb1ea591243abcbf18decefddc03c977254a924ff2109
|
||||||
|
AUX oftpd-0.3.7-ipv4.patch 1508 BLAKE2B a705ced52186cf67e93eafd00b9b018d74df5c94831a6707d9f3d77b541abbffc075d4cbd1be2fd101e8a336557202dab0864a0b698e10f7920480e27d67a715 SHA512 fb6ec0cbdc8058cffd0b9fedda4a5a1b7e4d0e1e31db43080b22f59d965af49ba8de959a86d8ca48745135cb3a2c0666f00e4c730c09f456e1f3198da454144a
|
||||||
|
AUX oftpd-0.3.7-ipv6rel2-0.3.6-to-0.3.7.patch 14107 BLAKE2B 800e260b7c89f96f451d8fa2b12a963736ad25014e255e8bc3e2d0988e1f77606542b57f6f9e7b0cb03a53cac5fc964bd555ddddf0d82b38c17fff0c3a8177b4 SHA512 c752bdeb0227c036268e3840c3aac9a19e875b9fa37e4f6440211aed312c42836982ff7e8a8e97a1f12f172552f96b290fb17bb139ded5d75999d49270facfc8
|
||||||
|
AUX oftpd-0.3.7-pthread-cancel.patch 797 BLAKE2B 07b08302c9cb1b50454031c16b2b01d1e42523e11bc530771c452c223408134bb53483d938face450037c84a1a9dc1c58f3a09fc79774d8053aa44c61a1307ac SHA512 7920c04bb3eb5ed3b832d140d7ff7808c3d214f804a04569706815d07fb505b7134d283c944c5a76fd64b1da55820ccda872d89a3be6e2363e31a386c320a161
|
||||||
|
AUX oftpd-0.3.7-unistd.patch 448 BLAKE2B 4f69ab2c867f2c443c0a5cfc0637b92a486a757d43a39d5b02ba81ebde87535949e4d0f6e5afa9a0d7c248477746f917a92091ca36d764f1896f60a007495662 SHA512 0e0ad78eecb9f2be425fcda44e624fe118ceb0ccb094a05bce96a9bb1268bf58e4a8efab553e767d4ad2165e9bc5b360f5d36ad28b21ccfee35f9a2809a96d7e
|
||||||
|
AUX oftpd.service 267 BLAKE2B 227e3fb94225dd78e2529986e89cd63d822805cdfe4084c051dcf94f6815cd449fcc9a88058037c2dc3750d6ca77c37226c37f47b90a80f03d51efaf423e66b3 SHA512 1cd022cc53aabaa37ce26fa3b6050ad3cd8fcf0666e8ebd6a1283daef9d1073dfad191d42f09b010436c1450041d134fc7624a5d300cd54e95a79579d8dd541d
|
||||||
|
AUX oftpd.service.conf 43 BLAKE2B 2cdd6d21f0edf8ee3342a9f7a8755a59c23aaeb568253cf25893bb4762ae12dce3c25810651a670f8b647311c25cc163ad7b3db0995d5fc321e6c53df8b238d8 SHA512 d27bc154b7a843db43df4c160bbcdc66fe2e3c8f078553fb3b9c2af56894541af1bec2aaa459de84480e75989c0ef1bcb8cabe5e5f77865046711abf977b40e1
|
||||||
|
DIST oftpd-0.3.6-ipv6rel2.patch.gz 12478 BLAKE2B 1d367979261fff05bdfa22201cf06ae537d7bc7cd656708cd2c672b8c437ec8b42d94c84c387ee450da140feab4af98e4601a1126077acdd93959284a28548b2 SHA512 76d12b82424a9a338f151534df55310511d3138a1e80851e6ebb8f4a841cd075892ab1a02851d871772a2229c107ec35de2d5fb3572c72207a65629e10e55dba
|
||||||
|
DIST oftpd-0.3.7.tar.gz 97364 BLAKE2B 4fef7204d905d248f5fbf1e641d015c0549dfcc08b0ad98ac3557250ca91dda2e25d0aaffe09c9d68d47318b977a637f693e5bbd359c20e894a656a412fccf59 SHA512 36bfd15dbe84043aee9678acbcc2c1312091887b381bee36a6a57f2516a5ec742a1733bf570c7cc71aaa28bd053d686976e6bfd549443a8bb398f8176db1a6a8
|
||||||
|
DIST oftpd-ftp_session.patch 859 BLAKE2B 3a079190a3910c29d8123011e8bba017970e5b3ab24dfb706fc96f7ad2aff77e6562edef45d584d58b98505f4de40fc14175b47b4901010c156e61976e2b270c SHA512 473b12946f716762a835fcc64819641a9eb4cc2f4dc3adcc3de57121231542018a93a6b281459e0a906887de3490f414a7638a27282c6e014668137ce36634ba
|
||||||
|
EBUILD oftpd-0.3.7-r10.ebuild 1551 BLAKE2B 0e6d8fa7e429d7a0b2c4d0ecff4abbb89ecb3051bbf7dd585724c9b4858ea2156ccd9a195339e46a458bef53bcbd37b4fb000cdb88b5ef9c31368bbb77f70d6c SHA512 c3e4abc07364bf2bfc5302878b72e054750b966a672acfc573ee4d08aea3ccbd92cf57e409568e4cabf1e95a311f35149c04652448049f7d277c1737fe70d78a
|
||||||
|
MISC metadata.xml 167 BLAKE2B e4dadf27fd344484f2bccb5b904909c89aac568c32e5b3c44bdf139eacefd4b4fae74419f503d2b7da0dccc1b68ba05d777d11292c0f89270d1ac5c9c703e8ca SHA512 7c8decb24ee3a850e38186cf3c7f8933a28017426806870ad6ef9ceb2533be147a2681fc789b535a81cb528af8c29d90d3006e4f250aee23bd7dea4561294e33
|
26
net-ftp/oftpd/files/conf.d.oftpd-r7
Normal file
26
net-ftp/oftpd/files/conf.d.oftpd-r7
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
# Please read the oftpd(8) man page for a more detailed explaination of these
|
||||||
|
# variables.
|
||||||
|
#
|
||||||
|
# FTPUSER (user-name in the man page):
|
||||||
|
# Set this variable to the user to run the ftp daemon as
|
||||||
|
FTPUSER=ftp
|
||||||
|
|
||||||
|
# FTPROOT (root-directory in the man page):
|
||||||
|
# The server uses chroot(2) to change the root directory of the server to this
|
||||||
|
# directory. When a user connects, this is the directory that they will start
|
||||||
|
# in, and is the top of their directory tree.
|
||||||
|
#
|
||||||
|
FTPROOT=/home/ftp
|
||||||
|
|
||||||
|
# FTPPORT (TCP port)
|
||||||
|
# 21 is the standard ftp port, but you can change it here to something else
|
||||||
|
FTPPORT=21
|
||||||
|
|
||||||
|
## Uncoment this line to activate oftpd service
|
||||||
|
# Note: in order for passive connections to work, you must specify an IP address
|
||||||
|
# here with the -i flag. You can make it listen to all IPv4 addresses:
|
||||||
|
# -i 0.0.0.0
|
||||||
|
# or make it listen to all IPv6 addresses:
|
||||||
|
# -i ::1
|
||||||
|
# By default, oftpd listens to all IPv4/IPv6 addresses, but passive mode fails.
|
||||||
|
#OFTPD_OPTS="-p ${FTPPORT} ${FTPUSER} ${FTPROOT}"
|
28
net-ftp/oftpd/files/init.d.oftpd-r7
Normal file
28
net-ftp/oftpd/files/init.d.oftpd-r7
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
#!/sbin/openrc-run
|
||||||
|
# Copyright 1999-2011 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
depend() {
|
||||||
|
need net
|
||||||
|
}
|
||||||
|
|
||||||
|
checkconfig() {
|
||||||
|
if [ -z "${OFTPD_OPTS}" ] ; then
|
||||||
|
eerror "You need to setup OFTPD_OPTS /etc/conf.d/oftpd"
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
start() {
|
||||||
|
checkconfig || return 1
|
||||||
|
|
||||||
|
ebegin "Starting oftpd"
|
||||||
|
start-stop-daemon --start --exec /usr/sbin/oftpd -- ${OFTPD_OPTS}
|
||||||
|
eend $?
|
||||||
|
}
|
||||||
|
|
||||||
|
stop() {
|
||||||
|
ebegin "Stopping oftpd"
|
||||||
|
start-stop-daemon --stop --quiet --exec /usr/sbin/oftpd
|
||||||
|
eend $?
|
||||||
|
}
|
17
net-ftp/oftpd/files/oftpd-0.3.7-configure-ipv6.patch
Normal file
17
net-ftp/oftpd/files/oftpd-0.3.7-configure-ipv6.patch
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
diff --git a/configure.in b/configure.in
|
||||||
|
index cf38e45..ba7ad09 100644
|
||||||
|
--- a/configure.in
|
||||||
|
+++ b/configure.in
|
||||||
|
@@ -96,7 +96,11 @@ CFLAGS="$CFLAGS -D_REENTRANT -D_THREAD_SAFE"
|
||||||
|
|
||||||
|
dnl Check whether to enable IPv6 support
|
||||||
|
AC_ARG_ENABLE([ipv6],[ --enable-ipv6 Enable IPv6 support (disabled by default)],
|
||||||
|
- CFLAGS="$CFLAGS -DINET6",)
|
||||||
|
+ [enable_ipv6=$enableval],
|
||||||
|
+ [enable_ipv6=no])
|
||||||
|
+if test $enable_ipv6 = yes; then
|
||||||
|
+ CFLAGS="$CFLAGS -DINET6"
|
||||||
|
+fi
|
||||||
|
|
||||||
|
AC_SUBST(HAVE_NEW_SS_FAMILY)
|
||||||
|
AC_OUTPUT(Makefile src/Makefile man/Makefile)
|
30
net-ftp/oftpd/files/oftpd-0.3.7-delay-root-check.patch
Normal file
30
net-ftp/oftpd/files/oftpd-0.3.7-delay-root-check.patch
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
check for root after processing args so non-root can run --help
|
||||||
|
|
||||||
|
--- a/src/oftpd.c
|
||||||
|
+++ b/src/oftpd.c
|
||||||
|
@@ -56,12 +56,6 @@ int main(int argc, char *argv[])
|
||||||
|
exe_name = argv[0];
|
||||||
|
}
|
||||||
|
|
||||||
|
- /* verify we're running as root */
|
||||||
|
- if (geteuid() != 0) {
|
||||||
|
- fprintf(stderr, "%s: program needs root permission to run\n", exe_name);
|
||||||
|
- exit(1);
|
||||||
|
- }
|
||||||
|
-
|
||||||
|
/* default command-line arguments */
|
||||||
|
port = FTP_PORT;
|
||||||
|
user_ptr = NULL;
|
||||||
|
@@ -187,6 +181,12 @@ int main(int argc, char *argv[])
|
||||||
|
exit(1);
|
||||||
|
}
|
||||||
|
|
||||||
|
+ /* verify we're running as root */
|
||||||
|
+ if (geteuid() != 0) {
|
||||||
|
+ fprintf(stderr, "%s: program needs root permission to run\n", exe_name);
|
||||||
|
+ exit(1);
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
/* become a daemon */
|
||||||
|
if (detach) {
|
||||||
|
daemonize();
|
20
net-ftp/oftpd/files/oftpd-0.3.7-error-output.patch
Normal file
20
net-ftp/oftpd/files/oftpd-0.3.7-error-output.patch
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
fix writing of the error message to stderr by processing the varargs
|
||||||
|
|
||||||
|
--- a/src/error.c
|
||||||
|
+++ b/src/error.c
|
||||||
|
@@ -23,7 +23,6 @@ void error_init(error_t *err, int error_code, const char *desc_fmt, ...)
|
||||||
|
{
|
||||||
|
va_list args;
|
||||||
|
|
||||||
|
- fprintf(stderr, "error_init: %d %s", error_code, desc_fmt);
|
||||||
|
daemon_assert(err != NULL);
|
||||||
|
daemon_assert(error_code >= 0);
|
||||||
|
daemon_assert(desc_fmt != NULL);
|
||||||
|
@@ -32,6 +31,7 @@ void error_init(error_t *err, int error_code, const char *desc_fmt, ...)
|
||||||
|
va_start(args, desc_fmt);
|
||||||
|
vsnprintf(err->desc, sizeof(err->desc), desc_fmt, args);
|
||||||
|
va_end(args);
|
||||||
|
+ fprintf(stderr, "error_init: %d %s\n", error_code, err->desc);
|
||||||
|
|
||||||
|
daemon_assert(invariant(err));
|
||||||
|
}
|
23
net-ftp/oftpd/files/oftpd-0.3.7-family-1.patch
Normal file
23
net-ftp/oftpd/files/oftpd-0.3.7-family-1.patch
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
Submitted By: Mario Fetka (geos_one) (mario dot fetka at gmail dot com)
|
||||||
|
Date: 2010-01-05
|
||||||
|
Initial Package Version: 0.3.7
|
||||||
|
Origin: http://gentoo.mirror.solnet.ch/net-ftp/oftpd/files/oftpd-0.3.7-family.patch
|
||||||
|
Upstream Status: unkonwn
|
||||||
|
Description: dont crash on wrong protocol family
|
||||||
|
|
||||||
|
diff -Naur oftpd-0.3.7.orig/src/ftp_session.c oftpd-0.3.7/src/ftp_session.c
|
||||||
|
--- oftpd-0.3.7.orig/src/ftp_session.c 2010-01-05 21:56:48.540303543 +0000
|
||||||
|
+++ oftpd-0.3.7/src/ftp_session.c 2010-01-05 21:57:29.995553119 +0000
|
||||||
|
@@ -708,10 +708,12 @@
|
||||||
|
if ((((struct sockaddr *)host_port)->sa_family != AF_INET) &&
|
||||||
|
(((struct sockaddr *)host_port)->sa_family != AF_INET6)) {
|
||||||
|
reply(f, 521, "Only IPv4 and IPv6 supported, address families (4,6)");
|
||||||
|
+ return;
|
||||||
|
}
|
||||||
|
#else
|
||||||
|
if (((struct sockaddr *)host_port)->sa_family != AF_INET) {
|
||||||
|
reply(f, 521, "Only IPv4 supported, address family (4)");
|
||||||
|
+ return;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
16
net-ftp/oftpd/files/oftpd-0.3.7-htons.patch
Normal file
16
net-ftp/oftpd/files/oftpd-0.3.7-htons.patch
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
--- oftpd-0.3.7/src/ftp_listener.c
|
||||||
|
+++ oftpd-0.3.7/src/ftp_listener.c
|
||||||
|
@@ -159,11 +159,11 @@
|
||||||
|
switch (family) {
|
||||||
|
#ifdef INET6
|
||||||
|
case AF_INET6:
|
||||||
|
- ((struct sockaddr_in6*)&sock_addr)->sin6_port = port;
|
||||||
|
+ ((struct sockaddr_in6*)&sock_addr)->sin6_port = htons(port);
|
||||||
|
break;
|
||||||
|
#endif
|
||||||
|
case AF_INET:
|
||||||
|
- ((struct sockaddr_in*)&sock_addr)->sin_port = port;
|
||||||
|
+ ((struct sockaddr_in*)&sock_addr)->sin_port = htons(port);
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
/* handle error */
|
52
net-ftp/oftpd/files/oftpd-0.3.7-ipv4.patch
Normal file
52
net-ftp/oftpd/files/oftpd-0.3.7-ipv4.patch
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
diff --git a/src/ftp_listener.c b/src/ftp_listener.c
|
||||||
|
index 0ac630d..3977078 100644
|
||||||
|
--- a/src/ftp_listener.c
|
||||||
|
+++ b/src/ftp_listener.c
|
||||||
|
@@ -148,7 +148,7 @@ int ftp_listener_init(ftp_listener_t *f,
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
- assert(hp->h_length <= sizeof(sock_addr));
|
||||||
|
+ daemon_assert(hp->h_length <= sizeof(sock_addr));
|
||||||
|
memcpy(&sock_addr, hp->h_addr, hp->h_length);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
@@ -489,7 +489,6 @@ static char *addr2string(const struct sockaddr *s)
|
||||||
|
|
||||||
|
daemon_assert(s != NULL);
|
||||||
|
|
||||||
|
-#ifdef INET6
|
||||||
|
error = getnameinfo((struct sockaddr *)s,
|
||||||
|
sizeof(struct sockaddr_storage),
|
||||||
|
addr,
|
||||||
|
@@ -503,9 +502,6 @@ static char *addr2string(const struct sockaddr *s)
|
||||||
|
} else {
|
||||||
|
ret_val = addr;
|
||||||
|
}
|
||||||
|
-#else
|
||||||
|
- ret_val = inet_ntoa(s->sin_addr);
|
||||||
|
-#endif
|
||||||
|
|
||||||
|
return ret_val;
|
||||||
|
}
|
||||||
|
diff --git a/src/ftp_session.c b/src/ftp_session.c
|
||||||
|
index 81e9c8e..7a1cbb1 100644
|
||||||
|
--- a/src/ftp_session.c
|
||||||
|
+++ b/src/ftp_session.c
|
||||||
|
@@ -1957,11 +1957,16 @@ static int ip_equal(const struct sockaddr *a, const struct sockaddr *b)
|
||||||
|
|
||||||
|
static int ip_equal(const struct sockaddr *a, const struct sockaddr *b)
|
||||||
|
{
|
||||||
|
+ struct sockaddr *aa, *bb;
|
||||||
|
+
|
||||||
|
daemon_assert(a != NULL);
|
||||||
|
daemon_assert(b != NULL);
|
||||||
|
daemon_assert(a->sa_family == AF_INET);
|
||||||
|
daemon_assert(b->sa_family == AF_INET);
|
||||||
|
|
||||||
|
+ aa = (struct sockaddr *)a;
|
||||||
|
+ bb = (struct sockaddr *)b;
|
||||||
|
+
|
||||||
|
if (((struct sockaddr_in *)aa)->sin_addr.s_addr !=
|
||||||
|
((struct sockaddr_in *)bb)->sin_addr.s_addr) return 0;
|
||||||
|
|
354
net-ftp/oftpd/files/oftpd-0.3.7-ipv6rel2-0.3.6-to-0.3.7.patch
Normal file
354
net-ftp/oftpd/files/oftpd-0.3.7-ipv6rel2-0.3.6-to-0.3.7.patch
Normal file
@ -0,0 +1,354 @@
|
|||||||
|
Difference from upstream mentioned patch for version 0.3.6
|
||||||
|
ftp://ftp.deepspace6.net/pub/ds6/sources/oftpd/oftpd-0.3.6-ipv6rel2.patch.gz
|
||||||
|
to Mario Fetka (geos_one) (mario dot fetka at gmail dot com) at
|
||||||
|
http://bugs.gentoo.org/attachment.cgi?id=220543&action=view
|
||||||
|
|
||||||
|
--- oftpd-0.3.6-ipv6rel2.patch 2010-09-01 11:17:37.137000090 +0200
|
||||||
|
+++ oftpd-0.3.6-ipv6rel2.patch 2010-09-01 11:15:21.900000084 +0200
|
||||||
|
@@ -1,146 +1,10 @@
|
||||||
|
-diff -urN oftpd-0.3.6-orig/Makefile.in oftpd-0.3.6/Makefile.in
|
||||||
|
---- oftpd-0.3.6-orig/Makefile.in Mon May 28 00:53:40 2001
|
||||||
|
-+++ oftpd-0.3.6/Makefile.in Fri Jun 8 19:09:50 2001
|
||||||
|
-@@ -72,8 +72,8 @@
|
||||||
|
- CONFIG_HEADER = ./src/config.h
|
||||||
|
- CONFIG_CLEAN_FILES =
|
||||||
|
- DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \
|
||||||
|
--Makefile.in NEWS TODO acconfig.h aclocal.m4 configure configure.in \
|
||||||
|
--install-sh missing mkinstalldirs src/config.h.in src/stamp-h.in
|
||||||
|
-+Makefile.in NEWS TODO aclocal.m4 configure configure.in install-sh \
|
||||||
|
-+missing mkinstalldirs
|
||||||
|
-
|
||||||
|
-
|
||||||
|
- DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
|
-@@ -83,9 +83,9 @@
|
||||||
|
- all: all-redirect
|
||||||
|
- .SUFFIXES:
|
||||||
|
- $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||||
|
-- cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps Makefile
|
||||||
|
-+ cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile
|
||||||
|
-
|
||||||
|
--Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
|
-+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
|
||||||
|
- cd $(top_builddir) \
|
||||||
|
- && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
||||||
|
-
|
||||||
|
-@@ -97,34 +97,6 @@
|
||||||
|
- $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
|
||||||
|
- cd $(srcdir) && $(AUTOCONF)
|
||||||
|
-
|
||||||
|
--src/config.h: src/stamp-h
|
||||||
|
-- @if test ! -f $@; then \
|
||||||
|
-- rm -f src/stamp-h; \
|
||||||
|
-- $(MAKE) src/stamp-h; \
|
||||||
|
-- else :; fi
|
||||||
|
--src/stamp-h: $(srcdir)/src/config.h.in $(top_builddir)/config.status
|
||||||
|
-- cd $(top_builddir) \
|
||||||
|
-- && CONFIG_FILES= CONFIG_HEADERS=src/config.h \
|
||||||
|
-- $(SHELL) ./config.status
|
||||||
|
-- @echo timestamp > src/stamp-h 2> /dev/null
|
||||||
|
--$(srcdir)/src/config.h.in: $(srcdir)/src/stamp-h.in
|
||||||
|
-- @if test ! -f $@; then \
|
||||||
|
-- rm -f $(srcdir)/src/stamp-h.in; \
|
||||||
|
-- $(MAKE) $(srcdir)/src/stamp-h.in; \
|
||||||
|
-- else :; fi
|
||||||
|
--$(srcdir)/src/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
|
||||||
|
-- cd $(top_srcdir) && $(AUTOHEADER)
|
||||||
|
-- @echo timestamp > $(srcdir)/src/stamp-h.in 2> /dev/null
|
||||||
|
--
|
||||||
|
--mostlyclean-hdr:
|
||||||
|
--
|
||||||
|
--clean-hdr:
|
||||||
|
--
|
||||||
|
--distclean-hdr:
|
||||||
|
-- -rm -f src/config.h
|
||||||
|
--
|
||||||
|
--maintainer-clean-hdr:
|
||||||
|
--
|
||||||
|
- # This directory's subdirectories are mostly independent; you can cd
|
||||||
|
- # into them and run `make' without going through this Makefile.
|
||||||
|
- # To change the values of `make' variables: instead of editing Makefiles,
|
||||||
|
-@@ -252,6 +224,11 @@
|
||||||
|
- -rm -rf $(distdir)
|
||||||
|
- mkdir $(distdir)
|
||||||
|
- -chmod 777 $(distdir)
|
||||||
|
-+ here=`cd $(top_builddir) && pwd`; \
|
||||||
|
-+ top_distdir=`cd $(distdir) && pwd`; \
|
||||||
|
-+ distdir=`cd $(distdir) && pwd`; \
|
||||||
|
-+ cd $(top_srcdir) \
|
||||||
|
-+ && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu Makefile
|
||||||
|
- $(mkinstalldirs) $(distdir)/dist $(distdir)/init
|
||||||
|
- @for file in $(DISTFILES); do \
|
||||||
|
- d=$(srcdir); \
|
||||||
|
-@@ -309,32 +286,32 @@
|
||||||
|
- -rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
||||||
|
-
|
||||||
|
- maintainer-clean-generic:
|
||||||
|
--mostlyclean-am: mostlyclean-hdr mostlyclean-tags mostlyclean-generic
|
||||||
|
-+mostlyclean-am: mostlyclean-tags mostlyclean-generic
|
||||||
|
-
|
||||||
|
- mostlyclean: mostlyclean-recursive
|
||||||
|
-
|
||||||
|
--clean-am: clean-hdr clean-tags clean-generic mostlyclean-am
|
||||||
|
-+clean-am: clean-tags clean-generic mostlyclean-am
|
||||||
|
-
|
||||||
|
- clean: clean-recursive
|
||||||
|
-
|
||||||
|
--distclean-am: distclean-hdr distclean-tags distclean-generic clean-am
|
||||||
|
-+distclean-am: distclean-tags distclean-generic clean-am
|
||||||
|
-
|
||||||
|
- distclean: distclean-recursive
|
||||||
|
- -rm -f config.status
|
||||||
|
-
|
||||||
|
--maintainer-clean-am: maintainer-clean-hdr maintainer-clean-tags \
|
||||||
|
-- maintainer-clean-generic distclean-am
|
||||||
|
-+maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \
|
||||||
|
-+ distclean-am
|
||||||
|
- @echo "This command is intended for maintainers to use;"
|
||||||
|
- @echo "it deletes files that may require special tools to rebuild."
|
||||||
|
-
|
||||||
|
- maintainer-clean: maintainer-clean-recursive
|
||||||
|
- -rm -f config.status
|
||||||
|
-
|
||||||
|
--.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
|
||||||
|
--install-data-recursive uninstall-data-recursive install-exec-recursive \
|
||||||
|
--uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
|
||||||
|
--all-recursive check-recursive installcheck-recursive info-recursive \
|
||||||
|
--dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
|
||||||
|
-+.PHONY: install-data-recursive uninstall-data-recursive \
|
||||||
|
-+install-exec-recursive uninstall-exec-recursive installdirs-recursive \
|
||||||
|
-+uninstalldirs-recursive all-recursive check-recursive \
|
||||||
|
-+installcheck-recursive info-recursive dvi-recursive \
|
||||||
|
-+mostlyclean-recursive distclean-recursive clean-recursive \
|
||||||
|
- maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
|
||||||
|
- distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
|
||||||
|
- dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
|
||||||
|
-diff -urN oftpd-0.3.6-orig/man/Makefile.in oftpd-0.3.6/man/Makefile.in
|
||||||
|
---- oftpd-0.3.6-orig/man/Makefile.in Mon May 28 00:53:44 2001
|
||||||
|
-+++ oftpd-0.3.6/man/Makefile.in Fri Jun 8 19:09:50 2001
|
||||||
|
-@@ -84,9 +84,9 @@
|
||||||
|
- all: all-redirect
|
||||||
|
- .SUFFIXES:
|
||||||
|
- $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||||
|
-- cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps man/Makefile
|
||||||
|
-+ cd $(top_srcdir) && $(AUTOMAKE) --gnu man/Makefile
|
||||||
|
-
|
||||||
|
--Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
|
-+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
|
||||||
|
- cd $(top_builddir) \
|
||||||
|
- && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
||||||
|
-
|
||||||
|
-@@ -138,6 +138,11 @@
|
||||||
|
- subdir = man
|
||||||
|
-
|
||||||
|
- distdir: $(DISTFILES)
|
||||||
|
-+ here=`cd $(top_builddir) && pwd`; \
|
||||||
|
-+ top_distdir=`cd $(top_distdir) && pwd`; \
|
||||||
|
-+ distdir=`cd $(distdir) && pwd`; \
|
||||||
|
-+ cd $(top_srcdir) \
|
||||||
|
-+ && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu man/Makefile
|
||||||
|
- @for file in $(DISTFILES); do \
|
||||||
|
- d=$(srcdir); \
|
||||||
|
- if test -d $$d/$$file; then \
|
||||||
|
+Submitted By: Mario Fetka (geos_one) (mario dot fetka at gmail dot com)
|
||||||
|
+Date: 2010-01-05
|
||||||
|
+Initial Package Version: 0.3.6
|
||||||
|
+Origin: ftp://ftp.deepspace6.net/pub/ds6/sources/oftpd/oftpd-0.3.6-ipv6rel2.patch.gz
|
||||||
|
+Upstream Status: unknown
|
||||||
|
+Description: add better ipv6 support to oftpd
|
||||||
|
+
|
||||||
|
diff -urN oftpd-0.3.6-orig/src/Makefile.am oftpd-0.3.6/src/Makefile.am
|
||||||
|
--- oftpd-0.3.6-orig/src/Makefile.am Wed Apr 18 01:05:16 2001
|
||||||
|
+++ oftpd-0.3.6/src/Makefile.am Fri Jun 8 19:09:45 2001
|
||||||
|
@@ -148,158 +12,6 @@
|
||||||
|
bin_PROGRAMS = oftpd
|
||||||
|
-oftpd_SOURCES = file_list.c file_list.h ftp_command.c ftp_command.h ftp_listener.c ftp_listener.h ftp_session.c ftp_session.h oftpd.c oftpd.h telnet_session.c telnet_session.h watchdog.c watchdog.h error.c error.h af_portability.h daemon_assert.c daemon_assert.h
|
||||||
|
+oftpd_SOURCES = file_list.c file_list.h ftp_command.c ftp_command.h ftp_listener.c ftp_listener.h ftp_session.c ftp_session.h oftpd.c oftpd.h telnet_session.c telnet_session.h watchdog.c watchdog.h error.c error.h af_portability.h af_portability.c daemon_assert.c daemon_assert.h
|
||||||
|
-diff -urN oftpd-0.3.6-orig/src/Makefile.in oftpd-0.3.6/src/Makefile.in
|
||||||
|
---- oftpd-0.3.6-orig/src/Makefile.in Mon May 28 00:53:42 2001
|
||||||
|
-+++ oftpd-0.3.6/src/Makefile.in Fri Jun 8 19:09:50 2001
|
||||||
|
-@@ -66,7 +66,7 @@
|
||||||
|
- VERSION = @VERSION@
|
||||||
|
-
|
||||||
|
- bin_PROGRAMS = oftpd
|
||||||
|
--oftpd_SOURCES = file_list.c file_list.h ftp_command.c ftp_command.h ftp_listener.c ftp_listener.h ftp_session.c ftp_session.h oftpd.c oftpd.h telnet_session.c telnet_session.h watchdog.c watchdog.h error.c error.h af_portability.h daemon_assert.c daemon_assert.h
|
||||||
|
-+oftpd_SOURCES = file_list.c file_list.h ftp_command.c ftp_command.h ftp_listener.c ftp_listener.h ftp_session.c ftp_session.h oftpd.c oftpd.h telnet_session.c telnet_session.h watchdog.c watchdog.h error.c error.h af_portability.h af_portability.c daemon_assert.c daemon_assert.h
|
||||||
|
- mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||||
|
- CONFIG_HEADER = config.h
|
||||||
|
- CONFIG_CLEAN_FILES =
|
||||||
|
-@@ -78,7 +78,8 @@
|
||||||
|
- LDFLAGS = @LDFLAGS@
|
||||||
|
- LIBS = @LIBS@
|
||||||
|
- oftpd_OBJECTS = file_list.o ftp_command.o ftp_listener.o ftp_session.o \
|
||||||
|
--oftpd.o telnet_session.o watchdog.o error.o daemon_assert.o
|
||||||
|
-+oftpd.o telnet_session.o watchdog.o error.o af_portability.o \
|
||||||
|
-+daemon_assert.o
|
||||||
|
- oftpd_LDADD = $(LDADD)
|
||||||
|
- oftpd_DEPENDENCIES =
|
||||||
|
- oftpd_LDFLAGS =
|
||||||
|
-@@ -93,6 +94,10 @@
|
||||||
|
-
|
||||||
|
- TAR = gtar
|
||||||
|
- GZIP_ENV = --best
|
||||||
|
-+DEP_FILES = .deps/af_portability.P .deps/daemon_assert.P .deps/error.P \
|
||||||
|
-+.deps/file_list.P .deps/ftp_command.P .deps/ftp_listener.P \
|
||||||
|
-+.deps/ftp_session.P .deps/oftpd.P .deps/telnet_session.P \
|
||||||
|
-+.deps/watchdog.P
|
||||||
|
- SOURCES = $(oftpd_SOURCES)
|
||||||
|
- OBJECTS = $(oftpd_OBJECTS)
|
||||||
|
-
|
||||||
|
-@@ -100,9 +105,9 @@
|
||||||
|
- .SUFFIXES:
|
||||||
|
- .SUFFIXES: .S .c .o .s
|
||||||
|
- $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||||
|
-- cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps src/Makefile
|
||||||
|
-+ cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile
|
||||||
|
-
|
||||||
|
--Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
|
-+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
|
||||||
|
- cd $(top_builddir) \
|
||||||
|
- && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
||||||
|
-
|
||||||
|
-@@ -160,9 +165,6 @@
|
||||||
|
- rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
|
||||||
|
- done
|
||||||
|
-
|
||||||
|
--.c.o:
|
||||||
|
-- $(COMPILE) -c $<
|
||||||
|
--
|
||||||
|
- .s.o:
|
||||||
|
- $(COMPILE) -c $<
|
||||||
|
-
|
||||||
|
-@@ -217,6 +219,11 @@
|
||||||
|
- subdir = src
|
||||||
|
-
|
||||||
|
- distdir: $(DISTFILES)
|
||||||
|
-+ here=`cd $(top_builddir) && pwd`; \
|
||||||
|
-+ top_distdir=`cd $(top_distdir) && pwd`; \
|
||||||
|
-+ distdir=`cd $(distdir) && pwd`; \
|
||||||
|
-+ cd $(top_srcdir) \
|
||||||
|
-+ && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/Makefile
|
||||||
|
- @for file in $(DISTFILES); do \
|
||||||
|
- d=$(srcdir); \
|
||||||
|
- if test -d $$d/$$file; then \
|
||||||
|
-@@ -228,6 +235,37 @@
|
||||||
|
- fi; \
|
||||||
|
- done
|
||||||
|
-
|
||||||
|
-+DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
|
||||||
|
-+
|
||||||
|
-+-include $(DEP_FILES)
|
||||||
|
-+
|
||||||
|
-+mostlyclean-depend:
|
||||||
|
-+
|
||||||
|
-+clean-depend:
|
||||||
|
-+
|
||||||
|
-+distclean-depend:
|
||||||
|
-+ -rm -rf .deps
|
||||||
|
-+
|
||||||
|
-+maintainer-clean-depend:
|
||||||
|
-+
|
||||||
|
-+%.o: %.c
|
||||||
|
-+ @echo '$(COMPILE) -c $<'; \
|
||||||
|
-+ $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
|
||||||
|
-+ @-cp .deps/$(*F).pp .deps/$(*F).P; \
|
||||||
|
-+ tr ' ' '\012' < .deps/$(*F).pp \
|
||||||
|
-+ | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
|
||||||
|
-+ >> .deps/$(*F).P; \
|
||||||
|
-+ rm .deps/$(*F).pp
|
||||||
|
-+
|
||||||
|
-+%.lo: %.c
|
||||||
|
-+ @echo '$(LTCOMPILE) -c $<'; \
|
||||||
|
-+ $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
|
||||||
|
-+ @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
|
||||||
|
-+ < .deps/$(*F).pp > .deps/$(*F).P; \
|
||||||
|
-+ tr ' ' '\012' < .deps/$(*F).pp \
|
||||||
|
-+ | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
|
||||||
|
-+ >> .deps/$(*F).P; \
|
||||||
|
-+ rm -f .deps/$(*F).pp
|
||||||
|
- info-am:
|
||||||
|
- info: info-am
|
||||||
|
- dvi-am:
|
||||||
|
-@@ -268,24 +306,26 @@
|
||||||
|
-
|
||||||
|
- maintainer-clean-generic:
|
||||||
|
- mostlyclean-am: mostlyclean-hdr mostlyclean-binPROGRAMS \
|
||||||
|
-- mostlyclean-compile mostlyclean-tags \
|
||||||
|
-+ mostlyclean-compile mostlyclean-tags mostlyclean-depend \
|
||||||
|
- mostlyclean-generic
|
||||||
|
-
|
||||||
|
- mostlyclean: mostlyclean-am
|
||||||
|
-
|
||||||
|
- clean-am: clean-hdr clean-binPROGRAMS clean-compile clean-tags \
|
||||||
|
-- clean-generic mostlyclean-am
|
||||||
|
-+ clean-depend clean-generic mostlyclean-am
|
||||||
|
-
|
||||||
|
- clean: clean-am
|
||||||
|
-
|
||||||
|
- distclean-am: distclean-hdr distclean-binPROGRAMS distclean-compile \
|
||||||
|
-- distclean-tags distclean-generic clean-am
|
||||||
|
-+ distclean-tags distclean-depend distclean-generic \
|
||||||
|
-+ clean-am
|
||||||
|
-
|
||||||
|
- distclean: distclean-am
|
||||||
|
-
|
||||||
|
- maintainer-clean-am: maintainer-clean-hdr maintainer-clean-binPROGRAMS \
|
||||||
|
- maintainer-clean-compile maintainer-clean-tags \
|
||||||
|
-- maintainer-clean-generic distclean-am
|
||||||
|
-+ maintainer-clean-depend maintainer-clean-generic \
|
||||||
|
-+ distclean-am
|
||||||
|
- @echo "This command is intended for maintainers to use;"
|
||||||
|
- @echo "it deletes files that may require special tools to rebuild."
|
||||||
|
-
|
||||||
|
-@@ -296,10 +336,11 @@
|
||||||
|
- maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
|
||||||
|
- mostlyclean-compile distclean-compile clean-compile \
|
||||||
|
- maintainer-clean-compile tags mostlyclean-tags distclean-tags \
|
||||||
|
--clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi check \
|
||||||
|
--check-am installcheck-am installcheck all-recursive-am install-exec-am \
|
||||||
|
--install-exec install-data-am install-data install-am install \
|
||||||
|
--uninstall-am uninstall all-redirect all-am all installdirs \
|
||||||
|
-+clean-tags maintainer-clean-tags distdir mostlyclean-depend \
|
||||||
|
-+distclean-depend clean-depend maintainer-clean-depend info-am info \
|
||||||
|
-+dvi-am dvi check check-am installcheck-am installcheck all-recursive-am \
|
||||||
|
-+install-exec-am install-exec install-data-am install-data install-am \
|
||||||
|
-+install uninstall-am uninstall all-redirect all-am all installdirs \
|
||||||
|
- mostlyclean-generic distclean-generic clean-generic \
|
||||||
|
- maintainer-clean-generic clean mostlyclean distclean maintainer-clean
|
||||||
|
-
|
||||||
|
diff -urN oftpd-0.3.6-orig/src/af_portability.c oftpd-0.3.6/src/af_portability.c
|
||||||
|
--- oftpd-0.3.6-orig/src/af_portability.c Thu Jan 1 01:00:00 1970
|
||||||
|
+++ oftpd-0.3.6/src/af_portability.c Fri Jun 8 19:01:31 2001
|
||||||
|
@@ -376,7 +88,7 @@
|
||||||
|
diff -urN oftpd-0.3.6-orig/src/config.h.in oftpd-0.3.6/src/config.h.in
|
||||||
|
--- oftpd-0.3.6-orig/src/config.h.in Sun May 27 23:04:05 2001
|
||||||
|
+++ oftpd-0.3.6/src/config.h.in Fri Jun 8 19:03:43 2001
|
||||||
|
-@@ -100,14 +100,14 @@
|
||||||
|
+@@ -97,15 +97,15 @@
|
||||||
|
/* Define if you have the <limits.h> header file. */
|
||||||
|
#undef HAVE_LIMITS_H
|
||||||
|
|
||||||
|
@@ -388,12 +100,13 @@
|
||||||
|
|
||||||
|
/* Define if you have the <sys/types.h> header file. */
|
||||||
|
#undef HAVE_SYS_TYPES_H
|
||||||
|
--
|
||||||
|
+
|
||||||
|
-/* Define if you have the <syslog.h> header file. */
|
||||||
|
-#undef HAVE_SYSLOG_H
|
||||||
|
-
|
||||||
|
+-
|
||||||
|
/* Define if you have the <unistd.h> header file. */
|
||||||
|
#undef HAVE_UNISTD_H
|
||||||
|
+
|
||||||
|
diff -urN oftpd-0.3.6-orig/src/error.c oftpd-0.3.6/src/error.c
|
||||||
|
--- oftpd-0.3.6-orig/src/error.c Wed Apr 18 23:41:04 2001
|
||||||
|
+++ oftpd-0.3.6/src/error.c Thu Jun 21 20:57:09 2001
|
||||||
|
@@ -1436,7 +1149,7 @@
|
||||||
|
}
|
||||||
|
#else
|
||||||
|
if (memcmp(&f->client_addr.sin_addr,
|
||||||
|
-@@ -1803,20 +1893,69 @@
|
||||||
|
+@@ -1811,20 +1901,69 @@
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
17
net-ftp/oftpd/files/oftpd-0.3.7-pthread-cancel.patch
Normal file
17
net-ftp/oftpd/files/oftpd-0.3.7-pthread-cancel.patch
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
in order for pthread_cancel to work (which oftpd uses to close inactive
|
||||||
|
connections), most ports need to load libgcc_s.so.1. but when oftpd uses
|
||||||
|
a chroot, that file is no longer available (in fact, it'll try to load it
|
||||||
|
from the chroot itself which is kind of a security issue). so have the
|
||||||
|
code proactively link against libgcc_s when it is found so that the lib
|
||||||
|
is already loaded when we cancel.
|
||||||
|
|
||||||
|
--- a/configure.in
|
||||||
|
+++ b/configure.in
|
||||||
|
@@ -39,6 +39,7 @@ AC_FUNC_STRFTIME
|
||||||
|
AC_CHECK_FUNCS(getcwd gettimeofday select socket strerror localtime_r gmtime_r)
|
||||||
|
dnl AC_CHECK_LIB(pthread, pthread_create)
|
||||||
|
dnl AC_SEARCH_LIBS(pthread_create, [ pthread pthreads thread threads ])
|
||||||
|
+AC_CHECK_LIB(gcc_s, _Unwind_Resume)
|
||||||
|
AC_SEARCH_LIBS(socket, socket)
|
||||||
|
AC_SEARCH_LIBS(inet_ntoa, nsl)
|
||||||
|
AC_CHECK_FUNCS(inet_aton)
|
19
net-ftp/oftpd/files/oftpd-0.3.7-unistd.patch
Normal file
19
net-ftp/oftpd/files/oftpd-0.3.7-unistd.patch
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
--- oftpd-0.3.7/src/daemon_assert.c
|
||||||
|
+++ oftpd-0.3.7/src/daemon_assert.c
|
||||||
|
@@ -3,6 +3,7 @@
|
||||||
|
#include <pthread.h>
|
||||||
|
#include <syslog.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
+#include <unistd.h>
|
||||||
|
|
||||||
|
#ifndef NDEBUG
|
||||||
|
void daemon_assert_fail(const char *assertion,
|
||||||
|
@@ -13,7 +13,7 @@
|
||||||
|
{
|
||||||
|
syslog(LOG_CRIT, "%s:%d: %s: %s", file, line, function, assertion);
|
||||||
|
fprintf(stderr, "%s:%d: %s: %s\n", file, line, function, assertion);
|
||||||
|
- exit(1);
|
||||||
|
+ _exit(1);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
9
net-ftp/oftpd/files/oftpd.service
Normal file
9
net-ftp/oftpd/files/oftpd.service
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=oftpd is designed to be as secure as an anonymous FTP server can possibly be.
|
||||||
|
After=syslog.target network.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=/usr/sbin/oftpd --daemon --no-fork --user nobody --group nobody $TFTPD_ROOT
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
2
net-ftp/oftpd/files/oftpd.service.conf
Normal file
2
net-ftp/oftpd/files/oftpd.service.conf
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
[Service]
|
||||||
|
Environment="TPD_ROOT=/tftproot"
|
5
net-ftp/oftpd/metadata.xml
Normal file
5
net-ftp/oftpd/metadata.xml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<!-- maintainer-needed -->
|
||||||
|
</pkgmetadata>
|
55
net-ftp/oftpd/oftpd-0.3.7-r10.ebuild
Normal file
55
net-ftp/oftpd/oftpd-0.3.7-r10.ebuild
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
# Copyright 1999-2018 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=4
|
||||||
|
|
||||||
|
inherit autotools eutils
|
||||||
|
|
||||||
|
DESCRIPTION="Secure, small, anonymous only ftpd"
|
||||||
|
HOMEPAGE="http://www.time-travellers.org/oftpd"
|
||||||
|
SRC_URI="http://www.time-travellers.org/oftpd/${P}.tar.gz
|
||||||
|
ftp://ftp.deepspace6.net/pub/ds6/sources/${PN}/${PN}-0.3.6-ipv6rel2.patch.gz
|
||||||
|
http://flashback.sorbs.net/packages/ports/ftp/oftpd/files/patch-ftp_session.c -> ${PN}-ftp_session.patch"
|
||||||
|
|
||||||
|
LICENSE="BSD-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="amd64 arm ppc ppc64 sh sparc x86"
|
||||||
|
IUSE="ipv6"
|
||||||
|
|
||||||
|
DEPEND="net-ftp/ftpbase"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
cd "${WORKDIR}" || die
|
||||||
|
epatch "${FILESDIR}"/oftpd-0.3.7-ipv6rel2-0.3.6-to-0.3.7.patch
|
||||||
|
|
||||||
|
cd "${S}" || die
|
||||||
|
epatch "${WORKDIR}"/${PN}-0.3.6-ipv6rel2.patch
|
||||||
|
epatch "${DISTDIR}"/${PN}-ftp_session.patch
|
||||||
|
epatch "${FILESDIR}"/${PN}-0.3.7-delay-root-check.patch
|
||||||
|
epatch "${FILESDIR}"/${PN}-0.3.7-error-output.patch
|
||||||
|
epatch "${FILESDIR}"/${PN}-0.3.7-pthread-cancel.patch
|
||||||
|
epatch "${FILESDIR}"/${PN}-0.3.7-configure-ipv6.patch
|
||||||
|
epatch "${FILESDIR}"/${PN}-0.3.7-ipv4.patch
|
||||||
|
|
||||||
|
# Don't crash when using an unsupported address family, #159178.
|
||||||
|
# updated in bug #157005
|
||||||
|
epatch "${FILESDIR}"/${P}-family-1.patch
|
||||||
|
|
||||||
|
# htons patch #371963
|
||||||
|
epatch "${FILESDIR}"/${P}-htons.patch
|
||||||
|
|
||||||
|
epatch "${FILESDIR}"/${P}-unistd.patch
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
econf --bindir=/usr/sbin $(use_enable ipv6)
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
keepdir /home/ftp
|
||||||
|
newinitd "${FILESDIR}"/init.d.oftpd-r7 oftpd
|
||||||
|
newconfd "${FILESDIR}"/conf.d.oftpd-r7 oftpd
|
||||||
|
}
|
2
net-misc/rasclient/Manifest
Normal file
2
net-misc/rasclient/Manifest
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
DIST RASClient-15.5.16465_i386.tar.bz2 14857037 BLAKE2B c54e82bd88fa76e30d7cce1248940e17b36542f1688375ba1a312b4ab4509c8e3361bfef9160ae01257f1fda942003391661c678631825e92eb6c0aff3e872cc SHA512 d14e8a2b87bab1010642e73dd6ff56319e909b9074b197446db3376bd14390ceb96b8f9bf040b8724a7e92babc4b60d9560d28d6eed59f7364ec82c10f04bfe3
|
||||||
|
EBUILD rasclient-15.5.4.16465.ebuild 2335 BLAKE2B bfef07e89c3fc1bfa3a71e9095b7bc21e7729630e873f2eaa72959050d62a926b03fec28a952e278598a4a62aee6920a2f28b0bdd441617c515488ff2d3e097f SHA512 5ba9a3115cd67c64e5bcc005eae7e253a5dac6d3114ee5ab98b28df97713bb8d066e227c000f5a38120725f61b620f013b1dd62de9f772233bf13bf8bb55e1f5
|
85
net-misc/rasclient/rasclient-15.5.4.16465.ebuild
Normal file
85
net-misc/rasclient/rasclient-15.5.4.16465.ebuild
Normal file
@ -0,0 +1,85 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
inherit pax-utils xdg-utils versionator desktop multilib
|
||||||
|
|
||||||
|
PV_MAJ=$(get_major_version )
|
||||||
|
PV_MIN=$(get_version_component_range 2)
|
||||||
|
PV_SUB=$(get_version_component_range 3)
|
||||||
|
PV_DIF=$(get_version_component_range 4)
|
||||||
|
MY_PV="${PV_MAJ}.${PV_MIN}.${PV_DIF}"
|
||||||
|
|
||||||
|
DESCRIPTION="Parallels Remote Application Client"
|
||||||
|
HOMEPAGE="https://www.parallels.com/eu/products/ras/download/links/#lin"
|
||||||
|
SRC_URI="x86? ( http://download.parallels.com/ras/v${PV_MAJ}/${PV}/RASClient-${MY_PV}_i386.tar.bz2 )"
|
||||||
|
SRC_URI="amd64? ( http://download.parallels.com/ras/v${PV_MAJ}/${PV}/RASClient-${MY_PV}_i386.tar.bz2 )"
|
||||||
|
|
||||||
|
LICENSE="no-source-code"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="pax_kernel multilib"
|
||||||
|
|
||||||
|
S="${WORKDIR}"
|
||||||
|
RESTRICT="mirror bindist strip" #299368
|
||||||
|
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
media-libs/libpng:1.2
|
||||||
|
dev-qt/qtdbus:4
|
||||||
|
dev-qt/qtcore:4"
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
# This is a binary x86 package => ABI=x86
|
||||||
|
# Please keep this in future versions
|
||||||
|
has_multilib_profile && ABI="x86"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
into /opt/2X/Client/
|
||||||
|
dobin opt/2X/Client/bin/*
|
||||||
|
dolib.so opt/2X/Client/lib/*
|
||||||
|
ln -sf $(get_libdir) "${D}/opt/2X/Client/lib"
|
||||||
|
|
||||||
|
dodoc opt/2X/Client/doc/*
|
||||||
|
|
||||||
|
doicon opt/2X/Client/share/2X.png
|
||||||
|
|
||||||
|
domenu opt/2X/Client/share/rasclient.desktop
|
||||||
|
domenu opt/2X/Client/share/tuxclient.desktop
|
||||||
|
domenu opt/2X/Client/share/rassession.desktop
|
||||||
|
|
||||||
|
insinto /usr/share/mime-info
|
||||||
|
doins opt/2X/Client/share/mime/*.{keys,mime}
|
||||||
|
|
||||||
|
insinto /usr/share/application-registry
|
||||||
|
doins opt/2X/Client/share/mime/2XSession.applications
|
||||||
|
|
||||||
|
insinto /usr/share/mime/packages/
|
||||||
|
doins opt/2X/Client/share/sharedmimeinfo/2XClient.xml
|
||||||
|
|
||||||
|
insinto /opt/2X/Client/share
|
||||||
|
doins opt/2X/Client/share/*.{conf,qm,qss,pem}
|
||||||
|
doins opt/2X/Client/share/installed
|
||||||
|
|
||||||
|
|
||||||
|
# if use pax_kernel; then
|
||||||
|
# pax-mark -Cm "${ED%/}"/opt/skypeforlinux/skypeforlinux
|
||||||
|
# eqawarn "You have set USE=pax_kernel meaning that you intend to run"
|
||||||
|
# eqawarn "${PN} under a PaX enabled kernel. To do so, we must modify"
|
||||||
|
# eqawarn "the ${PN} binary itself and this *may* lead to breakage! If"
|
||||||
|
# eqawarn "you suspect that ${PN} is being broken by this modification,"
|
||||||
|
# eqawarn "please open a bug."
|
||||||
|
# fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
xdg_desktop_database_update
|
||||||
|
xdg_mimeinfo_database_update
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
xdg_desktop_database_update
|
||||||
|
xdg_mimeinfo_database_update
|
||||||
|
}
|
32
sci-electronics/labpowerqt/labpowerqt-0.1.3.ebuild
Normal file
32
sci-electronics/labpowerqt/labpowerqt-0.1.3.ebuild
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: $
|
||||||
|
|
||||||
|
EAPI="5"
|
||||||
|
inherit cmake-utils
|
||||||
|
|
||||||
|
DESCRIPTION="LabPowerQt is an application to control laboratory power supplies and to record and visualize the data"
|
||||||
|
HOMEPAGE="https://github.com/crapp/labpowerqt"
|
||||||
|
SRC_URI="https://github.com/crapp/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
RDEPEND="dev-qt/qtgui:5
|
||||||
|
dev-qt/qtwidgets:5
|
||||||
|
dev-qt/qtcore:5
|
||||||
|
dev-qt/qtserialport:5
|
||||||
|
dev-qt/qtsql:5
|
||||||
|
dev-qt/qtprintsupport:5
|
||||||
|
dev-libs/ealogger"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
# dev-qt/qtquick:5
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local mycmakeargs=(
|
||||||
|
"-DEALOGGER_EXTERNAL=off" )
|
||||||
|
|
||||||
|
cmake-utils_src_configure
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user