Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
dcdb
dcdb
Commits
0e0ac9a1
Commit
0e0ac9a1
authored
Aug 14, 2020
by
Alessio Netti
Browse files
Minor changes to dependency compilation
- Net-SNMP's persistent directory path can be now specified as a variable
parent
49798b9d
Changes
1
Show whitespace changes
Inline
Side-by-side
dependencies.mk
View file @
0e0ac9a1
...
...
@@ -57,6 +57,8 @@ CASSANDRA_COMMITLOG_SEGMENT_SIZE_IN_MB = 16
CASSANDRA_TOMBSTONE_WARN_THRESHOLD
=
100000
CASSANDRA_TOMBSTONE_FAILURE_THRESHOLD
=
10000000
NETSNMP_PERSISTENT_DIR
=
$(DCDBDEPLOYPATH)
/var/net-snmp
FETCH
=
wget
-c
--no-check-certificate
-O
MD5
=
$(
if
$(
shell
which md5 2>/dev/null
)
,md5,
$(
if
$(
shell
md5sum
--tag
Makefile 2&> /dev/null
||
true
)
,md5sum
--tag
,openssl md5
))
DISTFILESNAMES
=
$(
foreach
f,
$(DISTFILES)
,
$(
shell
echo
"
$(f)
"
|
sed
's/;.*//'
))
...
...
@@ -285,7 +287,7 @@ $(DCDBDEPSPATH)/freeipmi-$(FREEIPMI_VERSION)/.installed: $(DCDBDEPSPATH)/freeipm
$(DCDBDEPSPATH)/net-snmp-$(NET-SNMP_VERSION)/.built
:
$(DCDBDEPSPATH)/net-snmp-$(NET-SNMP_VERSION)/.patched
@
echo
""
@
echo
"Building net-SNMP library..."
cd
$
(
@D
)
&&
./configure
--prefix
=
$(DCDBDEPLOYPATH)
--with-default-snmp-version
=
3
--with-defaults
--with-logfile
=
none
--with-persistent-directory
=
$(
DCDBDEPLOYPATH)
/var/net-snmp
--disable-embedded-perl
--disable-perl-cc-checks
--without-perl-modules
--disable-agent
--disable-applications
--disable-manuals
--disable-scripts
--disable-mibs
--disable-mib-loading
cd
$
(
@D
)
&&
./configure
--prefix
=
$(DCDBDEPLOYPATH)
--with-default-snmp-version
=
3
--with-defaults
--with-logfile
=
none
--with-persistent-directory
=
$(
NETSNMP_PERSISTENT_DIR)
--disable-embedded-perl
--disable-perl-cc-checks
--without-perl-modules
--disable-agent
--disable-applications
--disable-manuals
--disable-scripts
--disable-mibs
cd
$
(
@D
)
&&
make
-j
$(MAKETHREADS)
&&
touch
$
(
@
)
$(DCDBDEPSPATH)/net-snmp-$(NET-SNMP_VERSION)/.installed
:
$(DCDBDEPSPATH)/net-snmp-$(NET-SNMP_VERSION)/.built | $(DCDBDEPLOYPATH)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment