Skip to content

Commit

Permalink
Optional GeoIP
Browse files Browse the repository at this point in the history
- `package`: Build with GeoIP support if available
  • Loading branch information
jelu committed Apr 20, 2022
1 parent 6ff93a5 commit c23406c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
3 changes: 2 additions & 1 deletion debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ Priority: optional
Maintainer: Jerry Lundström <lundstrom.jerry@gmail.com>
Build-Depends: debhelper (>= 10), build-essential, automake, autoconf,
libpcap-dev, netbase, pkg-config, libmaxminddb-dev,
libdnswire-dev (>= 0.3.0), libuv1-dev, python3 (>= 3.5)
libdnswire-dev (>= 0.3.0), libuv1-dev, python3 (>= 3.5),
libgeoip-dev | libmaxminddb-dev
Standards-Version: 3.9.4
Homepage: https://www.dns-oarc.net/oarc/data/dsc
Vcs-Git: https://github.com/DNS-OARC/dsc.git
Expand Down
9 changes: 9 additions & 0 deletions rpm/dsc.spec
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@ Source0: https://www.dns-oarc.net/files/dsc/%{name}-%{version}.tar.gz?/%{

BuildRequires: libpcap-devel
BuildRequires: libmaxminddb-devel
%if 0%{?fedora}
BuildRequires: GeoIP-devel
%endif
%if 0%{?centos} == 0 && 0%{?el7}
BuildRequires: GeoIP-devel
%endif
%if 0%{?centos} == 0 && 0%{?el8}
BuildRequires: GeoIP-devel
%endif
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
Expand Down

0 comments on commit c23406c

Please sign in to comment.