From 843bdc8f72c25304bb017e9884f599cc81862c46a2d6891970c22f77b97ec396 Mon Sep 17 00:00:00 2001 From: Steven Baker Date: Tue, 17 Dec 2024 10:52:53 +0000 Subject: [PATCH] Accepting request 1231667 from home:AndreasStieger:branches:filesharing gnunet 0.23.0 OBS-URL: https://build.opensuse.org/request/show/1231667 OBS-URL: https://build.opensuse.org/package/show/filesharing/gnunet?expand=0&rev=21 --- .gitattributes | 23 +++++ .gitignore | 1 + gnunet-0.21.1.tar.gz | 3 + gnunet-0.21.1.tar.gz.sig | Bin 0 -> 566 bytes gnunet-0.21.2.tar.gz | 3 + gnunet-0.21.2.tar.gz.sig | Bin 0 -> 566 bytes gnunet-0.22.2.tar.gz | 3 + gnunet-0.22.2.tar.gz.sig | Bin 0 -> 566 bytes gnunet-0.23.0.tar.gz | 3 + gnunet-0.23.0.tar.gz.sig | Bin 0 -> 566 bytes gnunet.changes | 133 ++++++++++++++++++++++++ gnunet.keyring | 172 +++++++++++++++++++++++++++++++ gnunet.spec | 215 +++++++++++++++++++++++++++++++++++++++ 13 files changed, 556 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 gnunet-0.21.1.tar.gz create mode 100644 gnunet-0.21.1.tar.gz.sig create mode 100644 gnunet-0.21.2.tar.gz create mode 100644 gnunet-0.21.2.tar.gz.sig create mode 100644 gnunet-0.22.2.tar.gz create mode 100644 gnunet-0.22.2.tar.gz.sig create mode 100644 gnunet-0.23.0.tar.gz create mode 100644 gnunet-0.23.0.tar.gz.sig create mode 100644 gnunet.changes create mode 100644 gnunet.keyring create mode 100644 gnunet.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/gnunet-0.21.1.tar.gz b/gnunet-0.21.1.tar.gz new file mode 100644 index 0000000..51a2a15 --- /dev/null +++ b/gnunet-0.21.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:93e68b3eaca7087273e3d7685fe6ae38b2e8055e4c9e700d360dd4055249785c +size 8225355 diff --git a/gnunet-0.21.1.tar.gz.sig b/gnunet-0.21.1.tar.gz.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..dc458e4abc61b73e5bc747756146ba36287a43dec139fb04e6207f8cd683b59c GIT binary patch literal 566 zcmV-60?GY}0y6{v0SEvc79j*Z5e7UE`Hd94B+*9;37GGO^_yx10%i0EL;wm25DN*I z?}qi8YJ`ap0KE@OxC(^eUi$-_`p}!mW6p(%&3W_|VP{P~?tt>lw;$1s0CM@cnCV8}@7^Y=qWJ40n+ zc|9WcDHig(`2=_CcP2hb}Jz7=^h*;g0*Tml(c-F)70C$T&Gz3RnF zwIe#A3u@kMah7t4Bz9mP1EWdN0AP_czkI%}kwblnW-!tez_5saRVt<(_ePL15X>If zc;lq~;XxW1qz$SqOX~q1IUS;PvA$%JDH5GSbVffm5L<`-?WPgcn8sGM#>z(fR`jz< zHOp0)VjJT+4ztrWxERqjZA@IxB0P9G)wFYbFhEhqkyf-a5Xs`Ky}O%V@hYLD1IERa z*Vre&pu7<2II(3p5+-uOGqF}2krcbt#DwCmuW$P8#J^RRG%-&5AJUeA+h~71OdwD6 zN5Qq7?8Q=NSnM$;+u>v^L^MWPBp78uzv;B;MLM({Z!SS+!X3+ZH9zQGDi)JR71tHwVOICfO4T0E=*W~s1ty#( zHUUpG*4*TLZ@t8geP(aWrciyjc&UOu%%zueh{Vo}z@Z<~rNPl38yWYZ<*`3<^W7*@ E4g3fVL;wH) literal 0 HcmV?d00001 diff --git a/gnunet-0.21.2.tar.gz b/gnunet-0.21.2.tar.gz new file mode 100644 index 0000000..baf667f --- /dev/null +++ b/gnunet-0.21.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8c2351268e9b8ba2ad288b8b337ce399f79c18e3ffd960803f4ed5de7dda9fa1 +size 8120285 diff --git a/gnunet-0.21.2.tar.gz.sig b/gnunet-0.21.2.tar.gz.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..f1c188c803e0e3a7493c87f0f615fba5d6b280336caa64a1362448823cd7ded1 GIT binary patch literal 566 zcmV-60?GY}0y6{v0SEvc79j*Z5e7UE`Hd94B+*9;37GGO^_yx10%l|4wh}6>3n?FBM*)e!$^7M$QQM$;|U3hZ)x?TjP{0W2XZ7Z(a?h?8u>5uE zsCjt0IhvtpZh|31-6mgEb>Z9a*;ohEB_&vxY4`Xsy`2iJv#ngo{?XIRLffSU(hN@@6 EOUL9B6aWAK literal 0 HcmV?d00001 diff --git a/gnunet-0.22.2.tar.gz b/gnunet-0.22.2.tar.gz new file mode 100644 index 0000000..32ba147 --- /dev/null +++ b/gnunet-0.22.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4e78fdd08b46408ec21b6c05a00d56fd649457123dcd929887264fde51e845e3 +size 8223593 diff --git a/gnunet-0.22.2.tar.gz.sig b/gnunet-0.22.2.tar.gz.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..cad0cf635eac70ff69b35bc4f99d7282726a5a55ea32c470100dc74f9b46f55d GIT binary patch literal 566 zcmV-60?GY}0y6{v0SEvc79j*Z5e7UE`Hd94B+*9;37GGO^_yx10%svR*Z>L%5DN*I z?}qi8Y9+=H0GtaXs~mjBSO0N7YUB^S)LOr{19}+L$vNQnlwkBy=U(HA6DlPO-(U~! z0Q2u=Cg$%hjU=5G#Mb2+m@Zb;X+CxaC*7m~F(baI;M<1uhnh`bVweBPE+Xv&(C2vj zpAL?1>?Y^i@Ky&!EsJim>!ZM!1X{OOLB7Tju3XBif{i`D4i%g2wDed}gM#!h3S$Io zuIVPXl-hyc?edn;adE_Ejxk?oW{t{AlO3sPXF*dToq`*vy7`NJGu7U`Gd!S**l{k3 z@xrTFHOD109x1?k{SBi%Fl%Uuubbil8llJ}Zqa-eOD{Z5-wtAOvfp0V*dwdqY9Vfr zQWqN1bh|XKb{Tr+X12#Iuzp$52|>^QA( zM%HfEG=p9!Xx-W%=KmJcD@QCH+ua~gRvKrlVvTUnE z6l$k3dy4%hv8Zq;Z|qS=oJQ^jU~S5ais<0eT8ROA2HFSLCAO~E+eb(gV+G=eYHjod EC0mOP;{X5v literal 0 HcmV?d00001 diff --git a/gnunet-0.23.0.tar.gz b/gnunet-0.23.0.tar.gz new file mode 100644 index 0000000..6e038ed --- /dev/null +++ b/gnunet-0.23.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a4c6b6d4146a6a3415bc351c185a5795c7f4addb6ce99751c4715c1790d5f67a +size 10963038 diff --git a/gnunet-0.23.0.tar.gz.sig b/gnunet-0.23.0.tar.gz.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..9aa977a582df9731661a240342ae4d872aff5cf027134dd60a6ab39501a33dfc GIT binary patch literal 566 zcmV-60?GY}0y6{v0SEvc79j*Z5e7UE`Hd94B+*9;37GGO^_yx10%unkZvYAj5DN*I z?}qi8Y9J>N0Gds8CJInw2NuAWR|3!(y!oUG7OY)Ox8G|+vGEhILrN2I3J>0a(j^sdoOs79Q|TEfKZtjeM{h#Beb%KtdM@#O8bg-SRjVR)&~{ zktPv2fRvQvalh#F6OxAo+9hU<&X7Id@YkVGrvQi6@4qcKn)#R zQ=KbmIzb&WhU|-vELL>Pzh#P-(3lf!xb3N@B_8|zWg;st7>TYP8h_$uaaGdgK#JixBXS2ks%^&`ubl7I2y8rr8b8bGf}!nRy(+=Fhw?~1`6WkzeJG`VxCtDSv5A1kaNjSFPzYkfDV$hN4dGqf4kKd98sl^8zgT Em;<*2MgRZ+ literal 0 HcmV?d00001 diff --git a/gnunet.changes b/gnunet.changes new file mode 100644 index 0000000..d8bb21e --- /dev/null +++ b/gnunet.changes @@ -0,0 +1,133 @@ +------------------------------------------------------------------- +Tue Dec 17 10:23:58 UTC 2024 - Andreas Stieger + +- GNUnet 0.23.0: + * util: A GNUNET_OS_ProjectData must now be passed to some APIs + that are commonly used by third parties using libgnunetutil + +------------------------------------------------------------------- +Tue Oct 29 21:35:58 UTC 2024 - Andreas Stieger + +- GNUnet 0.22.2: + * GNUNET_STRINGS_get_utf8_args removed. + * Removed unsafe and unused functions for 2d/3d array allocation + +------------------------------------------------------------------- +Sun Oct 20 07:03:17 UTC 2024 - Andreas Stieger + +- GNUnet 0.22.1: + * New logging API to print/parse hex bytes + * Added RFC9180 HPKE and associated KEMs + * Replace oneshot PKE and KEM APIs with HPKE + * New Elligator KEM + * Namestore API allows multiple records to be inserted in a + single transaction (if plugin supports this) + * New ECDH API that uses KDFs instead of hash + * Renamed GNUNET_CRYPTO_hkdf to GNUNET_CRYPTO_hkdf_gnunet + * Added new standard SHA256-based HKDF APIs + * New hostlist bootstrap domain https://bootstrap.gnunet.org + +------------------------------------------------------------------- +Sat Jun 8 11:17:19 UTC 2024 - Andreas Stieger + +- GNUnet 0.21.2: + * UTIL: change return type to 'bool' from GNUNET_is_zero() + * Added GNUNET_GNS_parse_ztld helper API + * bug fixes + * updates to tests + +------------------------------------------------------------------- +Sun Mar 17 13:23:55 UTC 2024 - Andreas Stieger + +- GNUnet 0.21.1 - completely reworked package + +------------------------------------------------------------------- +Thu May 16 23:04:13 UTC 2019 - Alexei Podvalsky + +- Add recommended dependencies: gnunet-lang gnunet-storage-backend + +------------------------------------------------------------------- +Thu May 16 21:22:38 UTC 2019 - Alexei Podvalsky + +- Fix path to default configuration file + +------------------------------------------------------------------- +Wed May 15 16:48:43 UTC 2019 - Alexei Podvalsky + +- Update to 0.11.4: + * see /usr/share/package/gnunet/ChangeLog +- Drop pathes: + * gnunet-fix_postgresql_include.patch + * gnunet-0.10.1_libexec_conversation.patch +- Create system user and groups with systemd-sysusers +- Build gnurl only with protocols: HTTP HTTPS +- Remove obsolete macros +- Systemd files cleanup +- Spec file cleanup + +------------------------------------------------------------------- +Fri Aug 24 21:07:06 UTC 2018 - avvissu@yandex.by + +- Cleanup dependencies: perl(GMP) + +------------------------------------------------------------------- +Thu Jun 1 19:15:08 UTC 2017 - avvissu@yandex.by + +- Update gnurl to 7.54.0 [bnc#1042181] + +------------------------------------------------------------------- +Tue Jun 23 16:01:01 UTC 2015 - avvissu@yandex.ru + +- Update to 0.10.1 +- Remove patches: + * use a symbolic link instead of gnunet-etc_for_config.patch +- Add patches: + * gnunet-0.10.1_gnurl.patch + * gnunet-0.10.1_libexec_conversation.patch +- Install a native systemd service file: + * gnunet.service + * gnunet-tmpfile.conf +- Use pkgconfig in package names +- Add recommended packages to build with optional packages +- Use gnurl instead of curl +- Add src package gnurl: build here +- Add packages: libgnunet, plugins, lang +- Create a new default configuration (/etc/gnunet.conf) +- Create a symbolic links for libnss_gns*.so +- Create a special secured group (gnunetdns) +- Create a log file (/var/log/gnunet) +- Use a detailed list of files +- Spec file cleanup + +------------------------------------------------------------------- +Thu Dec 19 23:45:39 UTC 2013 - sleep_walker@suse.cz + +- bump to 0.9.5a +- patches refreshed +- simplify the spec + +------------------------------------------------------------------- +Thu Mar 01 06:13:45 UTC 2012 - pascal.bleser@opensuse.org + +- update to 0.9.2: too many changes to list, details are in ChangeLog + +------------------------------------------------------------------- +Thu Dec 1 06:35:16 UTC 2011 - pascal.bleser@opensuse.org + +- update to 0.9.0: + * major change of the architecture and a rewrite of most of the system + * improvements: +- a new multi-process architecture +- a new VPN subsystem, a new setup tool (including automated correctness + tests for the configuration), support for non-anonymous mesh routing, data + transport over HTTPS and WLAN, peer discovery in the LAN via broadcast + (IPv4) and multicast (IPv6), improved connectivity via NAT traversal, an + event-driven execution model providing significant performance + improvements, and power publishing for file sharing to improve content + replication. + +------------------------------------------------------------------- +Tue Mar 1 07:09:49 UTC 2011 - pascal.bleser@opensuse.org + +- 0.8.1b, moved to new packman infrastructure + diff --git a/gnunet.keyring b/gnunet.keyring new file mode 100644 index 0000000..ab8bd66 --- /dev/null +++ b/gnunet.keyring @@ -0,0 +1,172 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +xsFNBFZlTN8BEADIXdWebdUepgP8YkULGh2EClt/q2Nkh5QB+V88ZtWVdEfz6ELb +KeKE/39yllXso20H56OfWGgcU2SF6EKdT+FDir5pDxM+RQiIjrYHLMj9MG87LBcW +65PHny6hmXtrfrWISXq7x2Si5G9pMz33jp5Dsx/IMTbTPbdK09b34S9aqIjTkpQ4 +yqByi07nkRcYgSOzx1Dr/7oatKn5/tTRQm9CQ2pqcYYD5Rqg1jcNpKRUWFX/m+LR +d3iQ6ZF/F2W9hR6BYWRUi3eJOFYX/ngWrSj3q3c3zQgPy7R/4weZRT/WYjwccHyv +LHbw3YFVLDgM2RAu2q765+3iWrH4RvYxS0eMDan7uK6q3+83KB83ofnH8IEt6PWK +3tmmQJ1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1 +pJg3sw2fLP/Cx+zZlsmg4mJkMGcwycP9vOqU5/lNCbwLzFPfLUkCg9et4mHFKa3Z +DBIFgW5vZrE7o2MlG6iYP3qQFYyWoY7WMJwhYbiSr6CAJTlwKjZLKjw6D8H1wsF8 +BBgBCAAmAhsgFiEEPREGPBD5jRS9JNFHCwmY74b1m2oFAlobKB4FCQPCaFUACgkQ +CwmY74b1m2oh+xAAjS0NzfHIWuDAm12RNy5Jf3TdtmwPqqF3fGpsfRJHhsKsL379 +bS8Iuh/eVIJ9hqFtrBqlxU3qkxksCYhc07Exl8lX79UbIRqANXO64pZ4MmuFbMeH +aCv79HertcmBuULYGi/dr2ir2pgMM85BkOiRdAfp/q6/RAUbZrynD+I3yEcXOrg2 +B8gNXN+lgK9FGYlWbY7B2EKndtxvgjJiNY+ixRhPMjaQXMcIBX6HSygJw7/x/amz +iAmi+FwRsDebaY892t0+FZ1s95MJvUXn4zOordXdY0WlEwZUqR5/U7njxREutWKk +51gODnI9WRbUU77He+9WmOJhI++vYlsOlSBtIVqVMlpctavg395kRdwjQolloeWO +FXSCIil3dBgHSTz9L7rNh+QrXTNGtVItTQwRKvJPYKhIsWkziR/9I71WzhhVMOAt +MjvIPvRhbtUH//qgLJJE4ubmXdeVxWzhyVfmufzTCJU6I8P6CnE//c2ht+wy1Yob +WDgYzV9hXaBDuzYHz7r8PrwEhaBCGuzNakVKUBtDXj6qU/er3I4GahvOYFHnHOQ1 +ibNmUWk9rC5GYBZiA58YEsqvILDwdHFYgohGhEnCMM1Zpt4S5HnWi5gaw8RVHK5F +zbqMer2wvdrvnj0XwQyASx6im99iRmZT1Qdli6pIpuFvkojYDsOOFeU4BLM= +=PjLK +-----END PGP PUBLIC KEY BLOCK----- diff --git a/gnunet.spec b/gnunet.spec new file mode 100644 index 0000000..11d65d9 --- /dev/null +++ b/gnunet.spec @@ -0,0 +1,215 @@ +# +# spec file for package gnunet +# +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2012 Pascal Bleser +# Copyright (c) 2024 Andreas Stieger +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: gnunet +Version: 0.23.0 +Release: 0 +Summary: Security focused Peer-to-Peer Framework +License: AGPL-3.0-or-later +Group: Productivity/Networking/File-Sharing +URL: https://www.gnunet.org/ +Source0: https://ftp.gnu.org/pub/gnu/gnunet/%{name}-%{version}.tar.gz +Source1: https://ftp.gnu.org/pub/gnu/gnunet/%{name}-%{version}.tar.gz.sig +# https://gnunet.org/~schanzen/3D11063C10F98D14BD24D1470B0998EF86F59B6A +Source2: %{name}.keyring +BuildRequires: libtool >= 2.2 +BuildRequires: libunistring-devel +BuildRequires: pkgconfig >= 0.9.0 +BuildRequires: python3-Sphinx +BuildRequires: sysuser-tools +BuildRequires: update-desktop-files +BuildRequires: pkgconfig(gnutls) >= 3.2.12 +BuildRequires: pkgconfig(jansson) +BuildRequires: pkgconfig(libcurl) >= 7.34.0 +BuildRequires: pkgconfig(libextractor) +BuildRequires: pkgconfig(libgcrypt) >= 1.6.0 +BuildRequires: pkgconfig(libidn2) +BuildRequires: pkgconfig(libmicrohttpd) >= 0.9.63 +BuildRequires: pkgconfig(libpng) +BuildRequires: pkgconfig(libpq) +BuildRequires: pkgconfig(libsodium) >= 1.0.18 +BuildRequires: pkgconfig(sqlite3) +BuildRequires: pkgconfig(zbar) +BuildRequires: pkgconfig(zlib) +# openssl for gnunet-gns-proxy-setup-ca +Requires: %{_bindir}/openssl +# certutil for gnunet-gns-proxy-setup-ca +Requires: mozilla-nss-tools +Recommends: miniupnpc +%sysusers_requires + +%description +GNUnet is peer-to-peer framework focusing on security. The first and primary +application for GNUnet is anonymous file-sharing. GNUnet is currently developed +by a worldwide group of independent free software developers. + +GNUnet is a part of the GNU project (https://www.gnu.org/). + +# A list of all shared libraries shipped in this package +# Will be run through two generator macros: once in -devel +# and again to generate individual packages +%define gnunet_libs \ +%gnunet_libpackage -l gnunetarm -s 2\ +%gnunet_libpackage -l gnunetblockgroup -s 0\ +%gnunet_libpackage -l gnunetblock -s 0\ +%gnunet_libpackage -l gnunetcadet -s 7\ +%gnunet_libpackage -l gnunetconsensus -s 0\ +%gnunet_libpackage -l gnunetcore -s 0\ +%gnunet_libpackage -l gnunetcurl -s 0\ +%gnunet_libpackage -l gnunetdatacache -s 0\ +%gnunet_libpackage -l gnunetdatastore -s 1\ +%gnunet_libpackage -l gnunetdht -s 4\ +%gnunet_libpackage -l gnunetdid -s 0\ +%gnunet_libpackage -l gnunetdns -s 0\ +%gnunet_libpackage -l gnunetfs -s 2\ +%gnunet_libpackage -l gnunetgnsrecordjson -s 0\ +%gnunet_libpackage -l gnunetgnsrecord -s 0\ +%gnunet_libpackage -l gnunetgns -s 0\ +%gnunet_libpackage -l gnunethello -s 0\ +%gnunet_libpackage -l gnunetidentity -s 1\ +%gnunet_libpackage -l gnunetjson -s 0\ +%gnunet_libpackage -l gnunetmessenger -s 0\ +%gnunet_libpackage -l gnunetnamecache -s 0\ +%gnunet_libpackage -l gnunetnamestore -s 0\ +%gnunet_libpackage -l gnunetnatauto -s 0\ +%gnunet_libpackage -l gnunetnatnew -s 2\ +%gnunet_libpackage -l gnunetnse -s 0\ +%gnunet_libpackage -l gnunetpeerstore -s 0\ +%gnunet_libpackage -l gnunetpq -s 5\ +%gnunet_libpackage -l gnunetreclaim -s 0\ +%gnunet_libpackage -l gnunetregexblock -s 1\ +%gnunet_libpackage -l gnunetregex -s 3\ +%gnunet_libpackage -l gnunetrest -s 0\ +%gnunet_libpackage -l gnunetrevocation -s 0\ +%gnunet_libpackage -l gnunetscalarproduct -s 0\ +%gnunet_libpackage -l gnunetsecretsharing -s 0\ +%gnunet_libpackage -l gnunetseti -s 0\ +%gnunet_libpackage -l gnunetset -s 0\ +%gnunet_libpackage -l gnunetsetu -s 0\ +%gnunet_libpackage -l gnunetsq -s 0\ +%gnunet_libpackage -l gnunetstatistics -s 2\ +%gnunet_libpackage -l gnunettestbed -s 0\ +%gnunet_libpackage -l gnunettestingarm -s 0\ +%gnunet_libpackage -l gnunettesting -s 3\ +%gnunet_libpackage -l gnunettestingtestbed -s 0\ +%gnunet_libpackage -l gnunettestingtransport -s 0\ +%gnunet_libpackage -l gnunettransportapplication -s 0\ +%gnunet_libpackage -l gnunettransportcommunicator -s 0\ +%gnunet_libpackage -l gnunettransportcore -s 0\ +%gnunet_libpackage -l gnunettransportmonitor -s 0\ +%gnunet_libpackage -l gnunetutil -s 18\ +%gnunet_libpackage -l gnunetvpn -s 0\ +%gnunet_libpackage -l nss_gns4 -s 2 -d \-\ +%gnunet_libpackage -l nss_gns6 -s 2 -d \-\ +%gnunet_libpackage -l nss_gns -s 2\ +%{nil} +# generator macro for -devel +%define gnunet_libpackage(l:s:d:) Requires: lib%{-l*}%{-d*}%{-s*} = %{version} + +%package devel +Summary: Security focused Peer-to-Peer Framework +Group: Development/Libraries/C and C++ +Requires: pkgconfig(libextractor) +Requires: pkgconfig(libgcrypt) +Requires: pkgconfig(libsodium) +%{gnunet_libs} + +%description devel +GNUnet is peer-to-peer framework focusing on security. The first and primary +application for GNUnet is anonymous file-sharing. GNUnet is currently developed +by a worldwide group of independent free software developers. + +This package contains header files and libraries needed to develop +application that use %{name}. + +%lang_package + +# generator macro for individual packages +%define gnunet_libpackage(l:s:d:) %package -n lib%{-l*}%{-d*}%{-s*}\ +Summary: GNUnet library lib%{-l*} \ +%description -n lib%{-l*}%{-d*}%{-s*} \ +This package contains the lib%{-l*} library for GNUnet. \ +%files -n lib%{-l*}%{-d*}%{-s*} \ +%%license COPYING \ +%{_libdir}/lib%{-l*}.so.%{-s*}* \ +%ldconfig_scriptlets -n lib%{-l*}%{-d*}%{-s*} \ +%{nil} +%{gnunet_libs} + +%prep +%autosetup -p1 + +%build +%configure \ + --libexecdir=%{_prefix}/lib/gnunet/libexec/ \ + %{nil} +%make_build +%sysusers_generate_pre contrib/services/systemd/sysusers-gnunet.conf gnunet system-user-gnunet.conf + +%install +%make_install +find %{buildroot} -type f -name "*.la" -delete -print +# license files installed via file list +rm -rf %{buildroot}%{_datadir}/doc/gnunet +# not needed +rm -rf %{buildroot}%{_datadir}/gnunet/services/openrc + +install -D -m 644 contrib/services/systemd/sysusers-gnunet.conf %{buildroot}/%{_sysusersdir}/system-user-gnunet.conf +install -D -m 644 contrib/services/systemd/gnunet.service %{buildroot}/%{_unitdir}/gnunet.service + +%suse_update_desktop_file gnunet-uri +%find_lang %{name} + +%pre -f gnunet.pre +%service_add_pre gnunet.service + +%post +%service_add_post gnunet.service + +%preun +%service_del_preun gnunet.service + +%postun +%service_del_postun gnunet.service + +%files +%license COPYING +%doc AUTHORS ChangeLog README* +%{_bindir}/* +%{_libdir}/gnunet +%{_datadir}/gnunet +%{_mandir}/man1/*.1%{?ext_man} +%{_mandir}/man5/*.5%{?ext_man} +%{_infodir}/gnunet.info%{?ext_info} +%{_sysusersdir}/system-user-gnunet.conf +%{_datadir}/applications/*.desktop +%{_unitdir}/gnunet.service + +%files devel +%license COPYING +%{_includedir}/%{name} +%{_libdir}/pkgconfig/%{name}*.pc +%{_libdir}/*.so +%{_datadir}/aclocal/gnunet.m4 + +%files lang -f %{name}.lang +%license COPYING + +%changelog