gnunet & gnunet-gtk 0.10.1 added. gnurl 7.37.0 added. libextractor 1.3 added. user & group gnunet added.

master
Denis Knauf 2014-11-06 20:24:11 +01:00
parent 1d5203e7f2
commit 9d5bf5ac4e
9 changed files with 237 additions and 0 deletions

View File

View File

@ -0,0 +1,4 @@
gecos = User for GNUnet service
home = /var/lib/gnunet
shell = /sbin/nologin
primary_group = gnunet

View File

@ -3,7 +3,9 @@ app-crypt
app-paludis
dev-lang
graphics
media-libs
net-libs
net-misc
net-proxy
sys-apps
sys-fs

View File

@ -0,0 +1,14 @@
# Copyright 2011 Anders Ladegaard Marchsteiner <alm.anma@gmail.com>
# Distributed under the terms of the GNU General Public License v2
require libextractor
LICENCES="GPL-3"
SLOT="0"
PLATFORMS="~amd64"
BUGS_TO="alm.anma@gmail.com"
# TODO: Why do plugin tests fail?
RESTRICT="test"

View File

@ -0,0 +1,40 @@
# Copyright 2011 Anders Ladegaard Marchsteiner <alm.anma@gmail.com>
# Distributed under the terms of the GNU General Public License v2
require gnu [ suffix=gz ]
export_exlib_phases src_compile
SUMMARY="A library used to extract meta data from files of arbitrary type."
DESCRIPTION="
GNU libextractor is a library used to extract meta data from files of arbitrary type. It is designed
to use helper-libraries to perform the actual extraction, and to be trivially extendable by linking
against external extractors for additional file types. libextractor is a GNU package.
"
REMOTE_IDS="freshmeat:libextractor"
MYOPTIONS="
ffmpeg [[ description = [ Support meta data extraction from ffmpeg media files. ] ]]
mpeg2 [[ description = [ Support meta data extraction from mpeg2 media files. ] ]]
"
DEPENDENCIES="
build:
build+run:
ffmpeg? ( media/ffmpeg )
mpeg2? ( media-libs/libmpeg2 )
sys-libs/zlib
sys-devel/gettext
"
BUGS_TO="alm.anma@gmail.com"
DEFAULT_SRC_CONFIGURE_OPTION_ENABLES=(
"ffmpeg"
"mpeg2"
)
libextractor_src_compile() {
make
}

View File

@ -0,0 +1,24 @@
# Copyright 2014 Denis Knauf
# Distributed under the terms of the GNU General Public License v2
SUMMERY="Graphical user interface for GNU's Framework for Secure Peer-to-Peer Networking"
HOMEPAGE="https://gnunet.org/"
DOWNLOADS="http://ftpmirror.gnu.org/gnunet/${PNV}.tar.gz"
SLOT="0"
LICENCES="GPL-2"
PLATFORMS="~amd64"
MYOPTIONS="gnunet-qr gnunet-namestore-gtk"
# most deps not tested. see https://gnunet.org/dependencies
DEPENDENCIES="
build+run:
net-misc/gnunet[=$PV]
x11-libs/gtk+[>=3.0]
dev-util/glade[>=3.18.3]
gnunet-namestore-gtk? (
media-libs/qrencode[>=3]
)
"
#gnunet-qr? (
# python-zbar[>=0.10]
#)

View File

@ -0,0 +1,47 @@
# Copyright 2014 Denis Knauf
# Distributed under the terms of the GNU General Public License v2
SUMMERY="GNU's Framework for Secure Peer-to-Peer Networking"
HOMEPAGE="https://gnunet.org/"
DOWNLOADS="http://ftpmirror.gnu.org/gnunet/${PNV}.tar.gz"
SLOT="0"
LICENCES="GPL-2"
PLATFORMS="~amd64"
MYOPTIONS="dane gnunet-bcd gnunet-conversation gnunet-qr sqlite"
# most deps not tested. see https://gnunet.org/dependencies
DEPENDENCIES="
build+run:
net-libs/libmicrohttpd[>=0.9.30]
media-libs/libextractor[>=1.0]
dev-libs/libunistring[>=0.9.1.1]
net-dns/libidn[>=1.0.0]
dev-libs/libgcrypt[>=1.6.0]
dev-libs/gnutls[>=3.2.7][dane=]
net-misc/gnurl[>=7.34.0][gnutls]
sci-libs/glpk[>=4.45]
dev-libs/openssl[>=1.0]
sys-libs/zlib
gnunet-bcd? (
dev-texlive/texlive-latexp[>=2012]
)
gnunet-conversation? (
media-sound/pulseaudio[>=2.0]
media-libs/opus[>=1.0.1]
media-libs/libogg[>=1.3.0]
)
sqlite? (
dev-db/sqlite[>=3.8.0]
)
run:
group/gnunet
user/gnunet
"
#gnunet-qr? (
# python-zbar[>=0.10]
#)
src_install() {
default_src_install
edo mv ${IMAGE}/usr/lib/gnunet/libexec/* ${IMAGE}/usr/lib64/gnunet/libexec
edo rmdir ${IMAGE}/usr/lib/gnunet/libexec ${IMAGE}/usr/lib/gnunet ${IMAGE}/usr/lib
}

View File

@ -0,0 +1,95 @@
# Copyright 2014 Denis Knauf <denis@denkn.at>
# Based on:
# Copyright 2008, 2009, 2010, 2011, 2014 Ingmar Vanhassel <ingmar@exherbo.org>
# Based in part upon previous work copyrighted to Gentoo Foundation.
# Distributed under the terms of the GNU General Public License v2
require gnurl easy-multibuild
PLATFORMS="~amd64 ~arm ~x86"
MYOPTIONS="
ares [[ description = [ Enabled c-ares posix-threaded dns support, disables curl's own threaded resolver ] ]]
gnutls
idn
multibuild_c: 32 64
"
DEPENDENCIES="
build:
dev-lang/perl:*
sys-apps/diffutils
virtual/pkg-config
build+run:
app-misc/ca-certificates
sys-libs/zlib[multibuild_c:*(-)?]
ares? ( net-dns/c-ares[>=1.6.0][multibuild_c:*(-)?] )
dev-libs/gnutls[>=2.12.14][multibuild_c:*(-)?]
dev-libs/nettle[multibuild_c:*(-)?]
idn? ( net-dns/libidn[multibuild_c:*(-)?] )
"
#DEFAULT_SRC_CONFIGURE_PARAMS=(
# --enable-{cookies,crypto-auth,largefile,manual,proxy,tls-srp}
# --enable-{dict,file,ftp,gopher,http,ipv6,imap,pop3,rtsp,smtp,telnet,tftp}
# --disable-static
# --disable-werror
# --with-zlib
# --without-{axtls,ca-bundle,cyassl,gssapi,libmetalink,libssh2,librtmp,nghttp2,nss,polarssl}
#)
#DEFAULT_SRC_CONFIGURE_OPTION_ENABLES=( ares '!ares threaded-resolver' )
#DEFAULT_SRC_CONFIGURE_OPTION_WITHS=(
# 'idn libidn'
# '!gnutls ssl' '!gnutls ca-path /etc/ssl/certs'
# gnutls 'gnutls ca-bundle /etc/ssl/certs/ca-certificates.crt'
#)
DEFAULT_SRC_INSTALL_EXTRA_PREFIXES=( docs/ )
DEFAULT_SRC_INSTALL_EXTRA_DOCS=( BINDINGS DISTRO FEATURES INTERNALS MANUAL RESOURCES TheArtOfHttpScripting )
src_prepare() {
# Reason: Binding to 0.0.0.0 creates access violations under sydbox.
edo sed -e '/s_addr =/s:INADDR_ANY:htonl(INADDR_LOOPBACK):' -i tests/server/*.c
# Use `whoami` instead of $USER;
# sshserver.pl will refuse to run as root (which $USER might claim ever if we're not)
edo sed -e 's/\$ENV{USER}/`whoami`/' -i tests/*.pl
default
}
test_one_multibuild() {
cat <<-EOF >> tests/data/DISABLED
# Work around broken DNS servers, Exherbo #207
20
507
# Fails with too many open files
537
EOF
esandbox allow_net --connect "inet:127.0.0.1@9011"
esandbox allow_net --connect "inet:127.0.0.1@60000"
esandbox allow_net --connect "inet6:::1@8999"
# Default TEST_F is -a -p -r; we add -n (no valgrind) -v (verbose) and remove -r (run time statistics)
local test_args=( -a -p -n -v )
test_args+=( '!'{600..641} )
emake test-full TEST_F="${test_args[*]}" # SSH tests hang
esandbox disallow_net --connect "inet:127.0.0.1@9011"
esandbox disallow_net --connect "inet:127.0.0.1@60000"
esandbox disallow_net --connect "inet6:::1@8999"
}
install_one_multibuild() {
default
#edo mv "${IMAGE}"/usr/include/gnurl/curlbuild{,-${MULTIBUILD_TARGET}}.h
}
src_install() {
easy-multibuild_src_install
#insinto /usr/share/aclocal
#doins docs/libgnurl/libgnurl.m4
#insinto /usr/include/gnurl
#doins "${FILES}"/curlbuild.h
}

View File

@ -0,0 +1,11 @@
# Copyright 2014 Denis Knauf <denis+exherbo@denkn.at>
# Distributed under the terms of the GNU General Public License v2
SUMMARY="A Client that groks URLs (GNUish fork for gnunet)"
HOMEPAGE="https://gnunet.org/gnurl"
DOWNLOADS="https://gnunet.org/sites/default/files/${PNV}.tar.gz"
WORK="${WORKBASE}/gnurl--"
LICENCES="MIT"
SLOT="0"