Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New package: gnunet-0.11.5 #13167

Merged
merged 1 commit into from Jul 23, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions srcpkgs/gnunet-devel
24 changes: 24 additions & 0 deletions srcpkgs/gnunet/files/gnunet.conf
@@ -0,0 +1,24 @@
[PATHS]
SERVICEHOME = /var/lib/gnunet
DEFAULTCONFIG = /etc/gnunet/gnunet.conf

[arm]
SYSTEM_ONLY = YES
USER_ONLY = NO

[transport-tcp]
PORT = 2086
ADVERTISED_PORT = 2086

[transport-udp]
PORT = 2086
ADVERTISED_PORT = 2086

[nat]
BEHIND_NAT = YES
ENABLE_UPNP = NO
USE_LOCALADDR = NO
DISABLEV6 = YES

[hostlist]
OPTIONS = -b -e
2 changes: 2 additions & 0 deletions srcpkgs/gnunet/files/gnunet/run
@@ -0,0 +1,2 @@
#!/bin/sh
/usr/lib/gnunet/libexec/gnunet-service-arm -c /etc/gnunet/gnunet.conf
36 changes: 36 additions & 0 deletions srcpkgs/gnunet/template
@@ -0,0 +1,36 @@
# Template file for 'gnunet'
pkgname=gnunet
version=0.11.5
revision=1
wrksrc="${pkgname}-v${version}"
build_style=gnu-configure
conf_files="/etc/gnunet/gnunet.conf"
hostmakedepends="autoconf automake gettext-devel libtool"
makedepends="libgcrypt-devel libidn-devel
libltdl-devel libunistring-devel sqlite-devel zlib-devel"
short_desc="Framework for secure peer-to-peer networking"
maintainer="Anachron <gith@cron.world>"
license="GPL-3.0-or-later"
homepage="https://gnunet.org"
distfiles="https://git.gnunet.org/gnunet.git/snapshot/${pkgname}-v${version}.tar.gz"
checksum=ac99e7e5a167aa42e7734ad5c94a31be1f9fe98842a923c382c8a30b5320561a

pre_configure() {
./bootstrap
}

post_install() {
vmkdir etc/gnunet
vcopy "${FILESDIR}/gnunet.conf" etc/gnunet/gnunet.conf
vsv gnunet
}

gnunet-devel_package() {
depends="${pkgname}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}