Skip to content

Commit 1a615a3

Browse files
committed
Release 0.14.0.0
* Updated build details for yaml-cpp changes. * Updated deb package to use config file instead of command args
1 parent f414d7b commit 1a615a3

2 files changed

Lines changed: 15 additions & 6 deletions

File tree

deb_package/openbmpd.defaults

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,14 @@ LOGFILE=/var/log/openbmpd.log
22

33
MYHOSTNAME=$(uname -n)
44

5-
OPENBMP_ADMIN_ID=${OPENBMP_ADMIN_ID:=$MYHOSTNAME}
6-
OPENBMP_BUFFER=${OPENBMP_BUFFER:='16'}
7-
OPENBMP_BROKER_LIST=${OPENBMP_BROKER_LIST:='localhost:9092'}
5+
CONFIG_FILE=/usr/etc/openbmp/openbmpd.conf
6+
PID_FILE=/var/run/openbmpd.pid
87

9-
OPENBMPD_OPTS="-l $LOGFILE -a ${OPENBMP_ADMIN_ID} -k ${OPENBMP_BROKER_LIST} -p 5000 -b ${OPENBMP_BUFFER}"
8+
if [ -f /usr/local/etc/openbmp/openbmpd.conf ]; then
9+
CONFIG_FILE=/usr/local/etc/openbmp/openbmpd.conf
10+
11+
elif [ -f /etc/openbmp/openbmpd.conf ]; then
12+
CONFIG_FILE=/etc/openbmp/openbmpd.conf
13+
fi
14+
15+
OPENBMPD_OPTS="-l $LOGFILE -pid $PID_FILE -c $CONFIG_FILE"

docs/BUILD.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,11 @@ See [yaml-cpp](https://github.com/jbeder/yaml-cpp) for detailed instructions on
3030
git clone https://github.com/jbeder/yaml-cpp.git
3131
cd yaml-cpp
3232
33-
# IF on CentOS6/RHEL6, use the following command to checkout release 0.5.3
34-
#git checkout release-0.5.3
33+
34+
# git checkout yaml-cpp-0.6.2
35+
36+
# If on Centos6
37+
# git checkout yaml-cpp-0.5.3
3538
3639
# IF on CentOS6/RHEL6 - you might run into an issue about date_time boost lib. This issue
3740
# is specific to cmake on centos6/rhel6. If you run into this issue, you can

0 commit comments

Comments
 (0)