Bumped libfko and protocol versions to 2.0.1. Added dependencies for this version to the fwknop.spec file.

This commit is contained in:
Damien Stuart 2014-01-11 10:58:01 -05:00
parent 551b243007
commit 1e1729905e
3 changed files with 8 additions and 9 deletions

View File

@ -13,7 +13,7 @@
%define _mandir /usr/share/man %define _mandir /usr/share/man
Name: fwknop Name: fwknop
Version: 2.5.1 Version: 2.6.0
Epoch: 1 Epoch: 1
Release: 1%{?dist} Release: 1%{?dist}
Summary: Firewall Knock Operator client. An implementation of Single Packet Authorization. Summary: Firewall Knock Operator client. An implementation of Single Packet Authorization.
@ -25,28 +25,27 @@ Source0: fwknop-%{version}.tar.gz
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: gpg, gpgme-devel, libpcap-devel, gdbm-devel, iptables BuildRequires: gpg, gpgme-devel, libpcap-devel, gdbm-devel, iptables
Requires: libfko >= 2.0.1, iptables
Requires: libfko, iptables
%package -n libfko %package -n libfko
Version: 2.0.0 Version: 2.0.1
Release: 2 Release: 2
Summary: The fwknop library Summary: The fwknop library
Group: Development/Libraries Group: Development/Libraries
Requires: gpg, gpgme Requires: gpg, gpgme
%package -n libfko-devel %package -n libfko-devel
Version: 2.0.0 Version: 2.0.1
Release: 2 Release: 2
Summary: The fwknop library header and API docs Summary: The fwknop library header and API docs
Group: Development/Libraries Group: Development/Libraries
Requires: libfko Requires: libfko >= 2.0.1
%package server %package server
Summary: The Firewall Knock Operator server. An implementation of Single Packet Authorization. Summary: The Firewall Knock Operator server. An implementation of Single Packet Authorization.
Group: System Environment/Daemons Group: System Environment/Daemons
Requires: libfko, libpcap, gdbm, iptables Requires: libfko => 2.0.1, libpcap, gdbm, iptables
%description %description

View File

@ -11,7 +11,7 @@ libfko_source_files = \
gpgme_funcs.c gpgme_funcs.h strlcpy.c strlcat.c fko_util.c fko_util.h gpgme_funcs.c gpgme_funcs.h strlcpy.c strlcat.c fko_util.c fko_util.h
libfko_la_SOURCES = $(libfko_source_files) libfko_la_SOURCES = $(libfko_source_files)
libfko_la_LDFLAGS = -version-info 2:0:0 $(GPGME_LIBS) -export-symbols-regex '^fko_' libfko_la_LDFLAGS = -version-info 2:1:0 $(GPGME_LIBS) -export-symbols-regex '^fko_'
AM_CPPFLAGS = $(GPGME_CFLAGS) -I $(top_srcdir)/common AM_CPPFLAGS = $(GPGME_CFLAGS) -I $(top_srcdir)/common

View File

@ -53,7 +53,7 @@ extern "C" {
/* General params /* General params
*/ */
#define FKO_PROTOCOL_VERSION "2.0" /* The fwknop protocol version */ #define FKO_PROTOCOL_VERSION "2.0.1" /* The fwknop protocol version */
/* Supported FKO Message types... /* Supported FKO Message types...
*/ */