Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-daemon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-daemon
Commits
4d0ab27d
Commit
4d0ab27d
authored
2 years ago
by
Adrien Béraud
Committed by
Adrien Béraud
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
contrib/opendht: use cmake
Change-Id: Icba165348a97b18e11b461d2b515e3e41929e567
parent
32415a83
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
contrib/src/opendht/SHA512SUMS
+1
-1
1 addition, 1 deletion
contrib/src/opendht/SHA512SUMS
contrib/src/opendht/rules.mak
+12
-25
12 additions, 25 deletions
contrib/src/opendht/rules.mak
with
13 additions
and
26 deletions
contrib/src/opendht/SHA512SUMS
+
1
−
1
View file @
4d0ab27d
9
c81a4077ac72297dde2f8183a05d1925b744b16dc68a7d7ce7204619754e3a30e54d1aaa5d45f38be70106a2380298c7e7a5cbe9ff3b607e9b5ee27a56fd9c0
opendht-2.5.
4
.tar.gz
9
652843cdf5fa11bf3f436f920425efedc896a89bc6fe78c247f1b66201b44aac90350b67dfa25e06ec12dcc801f0a46c3a0503cc0e357d28416f7fd6dcab1b5
opendht-2.5.
5
.tar.gz
This diff is collapsed.
Click to expand it.
contrib/src/opendht/rules.mak
+
12
−
25
View file @
4d0ab27d
# OPENDHT
OPENDHT_VERSION
:=
2.5.
4
OPENDHT_VERSION
:=
2.5.
5
OPENDHT_URL
:=
https://github.com/savoirfairelinux/opendht/archive/v
$(
OPENDHT_VERSION
)
.tar.gz
PKGS
+=
opendht
...
...
@@ -8,27 +8,15 @@ PKGS_FOUND += opendht
endif
# Avoid building distro-provided dependencies in case opendht was built manually
ifneq
($(call need_pkg,"msgpack >= 1.2"),)
DEPS_opendht
+=
msgpack
endif
ifneq
($(call need_pkg,"libargon2"),)
DEPS_opendht
+=
argon2
endif
ifneq
($(and $(call need_pkg,"openssl >= 1.1.0"),$(call need_pkg,"libressl >= 1.12.2")),)
DEPS_opendht
+=
libressl
endif
ifneq
($(call need_pkg,"restinio >= v.0.6.16"),)
DEPS_opendht
+=
restinio
endif
ifneq
($(call need_pkg,"jsoncpp >= 1.7.2"),)
DEPS_opendht
+=
jsoncpp
endif
ifneq
($(call need_pkg,"gnutls >= 3.3.0"),)
DEPS_opendht
+=
gnutls
endif
DEPS_opendht
+=
msgpack argon2 libressl restinio jsoncpp gnutls
# fmt 5.3.0 fix: https://github.com/fmtlib/fmt/issues/1267
OPENDHT_CONF
=
FMT_USE_USER_DEFINED_LITERALS
=
0
OPENDHT_CONF
=
-DBUILD_SHARED_LIBS
=
Off
\
-DBUILD_TESTING
=
Off
\
-DOPENDHT_DOCUMENTATION
=
Off
\
-DOPENDHT_PROXY_CLIENT
=
On
\
-DOPENDHT_PROXY_SERVER
=
On
\
-DOPENDHT_PUSH_NOTIFICATIONS
=
On
\
-DOPENDHT_TOOLS
=
Off
$(TARBALLS)/opendht-$(OPENDHT_VERSION).tar.gz
:
$(
call download,
$(
OPENDHT_URL
))
...
...
@@ -37,11 +25,10 @@ $(TARBALLS)/opendht-$(OPENDHT_VERSION).tar.gz:
opendht
:
opendht-$(OPENDHT_VERSION).tar.gz
$(
UNPACK
)
$(
UPDATE_AUTOCONFIG
)
&&
cd
$(
UNPACK_DIR
)
$(
MOVE
)
.opendht
:
opendht .sum-opendht
mkdir
-p
$<
/m4
&&
$(
RECONF
)
cd
$<
&&
$(
HOSTVARS
)
$(
OPENDHT_CONF
)
.
/configure
--enable-static
--disable-shared
--disable-c
--disable-tools
--disable-indexation
--disable-python
--disable-doc
--enable-proxy-server
--enable-proxy-client
--enable-push-notifications
$(
HOSTCONF
)
cd
$<
&&
$(
MAKE
)
install
cd
$<
&&
mkdir
-p
build
cd
$<
&&
cd
build
&&
$(
HOSTVARS
)
$(
CMAKE
)
$(
OPENDHT_CONF
)
.
.
cd
$<
&&
cd
build
&&
$(
MAKE
)
install
touch
$@
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment