mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
New package: gnunet-0.11.5
This commit is contained in:
parent
1f4405b387
commit
161e6a685b
4 changed files with 63 additions and 0 deletions
1
srcpkgs/gnunet-devel
Symbolic link
1
srcpkgs/gnunet-devel
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
gnunet
|
24
srcpkgs/gnunet/files/gnunet.conf
Normal file
24
srcpkgs/gnunet/files/gnunet.conf
Normal file
|
@ -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
srcpkgs/gnunet/files/gnunet/run
Normal file
2
srcpkgs/gnunet/files/gnunet/run
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
/usr/lib/gnunet/libexec/gnunet-service-arm -c /etc/gnunet/gnunet.conf
|
36
srcpkgs/gnunet/template
Normal file
36
srcpkgs/gnunet/template
Normal file
|
@ -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"
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue