Skip to content

Commit

Permalink
Merge pull request #398 from neilcook/releases
Browse files Browse the repository at this point in the history
Rocky 9 Packaging
  • Loading branch information
neilcook authored Jun 19, 2023
2 parents 9d7f8a4 + 68ee5c6 commit 9dacda8
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 14 deletions.
1 change: 1 addition & 0 deletions .github/workflows/builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
os:
- centos-7
- ol-8
- rocky-9
- amazon-2
- debian-buster
- debian-bullseye
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
fetch-depth: 0
submodules: recursive
- name: Install dependencies
run: sudo apt-get update && sudo apt-get -qq -y install gcc g++ cmake libboost-all-dev libcurl4-openssl-dev libgeoip-dev libgetdns-dev libhiredis-dev libmaxminddb-dev libluajit-5.1-dev libprotobuf-dev libreadline-dev libssl-dev libsodium-dev libsystemd-dev libyaml-cpp-dev libjsoncpp-dev uuid-dev libz-dev libtool pkg-config protobuf-compiler pandoc wget autoconf automake
run: sudo apt-get update && sudo apt-get -qq -y install gcc g++ cmake libboost-all-dev libcurl4-openssl-dev libgetdns-dev libhiredis-dev libmaxminddb-dev libluajit-5.1-dev libprotobuf-dev libreadline-dev libssl-dev libsodium-dev libsystemd-dev libyaml-cpp-dev libjsoncpp-dev uuid-dev libz-dev libtool pkg-config protobuf-compiler pandoc wget autoconf automake
- name: Download prometheus-cpp
run: git clone https://github.com/jupp0r/prometheus-cpp.git && cd prometheus-cpp && git checkout tags/v1.0.1 -b v1.0.1
- name: Build and Install prometheus-cpp
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/regression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
fetch-depth: 5
submodules: recursive
- name: Install dependencies
run: sudo apt-get update && sudo apt-get -qq -y install gcc g++ cmake libboost-all-dev libcurl4-openssl-dev libgeoip-dev libgetdns-dev libhiredis-dev libmaxminddb-dev libluajit-5.1-dev libprotobuf-dev libreadline-dev libssl-dev libsodium-dev libsystemd-dev libyaml-cpp-dev libjsoncpp-dev uuid-dev libz-dev libtool pkg-config protobuf-compiler pandoc wget autoconf automake
run: sudo apt-get update && sudo apt-get -qq -y install gcc g++ cmake libboost-all-dev libcurl4-openssl-dev libgetdns-dev libhiredis-dev libmaxminddb-dev libluajit-5.1-dev libprotobuf-dev libreadline-dev libssl-dev libsodium-dev libsystemd-dev libyaml-cpp-dev libjsoncpp-dev uuid-dev libz-dev libtool pkg-config protobuf-compiler pandoc wget autoconf automake
- name: Download prometheus-cpp
run: git clone https://github.com/jupp0r/prometheus-cpp.git && cd prometheus-cpp && git checkout tags/v1.0.1 -b v1.0.1 && echo 'include(CPack)' >> CMakeLists.txt
- name: Build and Install prometheus-cpp
Expand Down
1 change: 0 additions & 1 deletion builder-support/debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ Build-Depends: cdbs,
automake,
debhelper (>= 9.20160709),
dh-autoreconf,
libgeoip-dev,
libboost-all-dev (>= 1.4.0),
libcurl4-openssl-dev,
libgetdns-dev,
Expand Down
16 changes: 16 additions & 0 deletions builder-support/dockerfiles/Dockerfile.target.rocky-9
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# First do the source builds
@INCLUDE Dockerfile.target.sdist

# This defines the distribution base layer
# Put only the bare minimum of common commands here, without dev tools
FROM rockylinux:9 as dist-base

RUN touch /var/lib/rpm/* && dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && \
dnf install -y 'dnf-command(config-manager)' yum && dnf config-manager --set-enabled devel && \
dnf install -y curl procps-ng --allowerasing # This is to ensure we don't have curlminimal and we do have pkill

RUN dnf -y install dnf-plugins-core clang

# Do the actual rpm build
@INCLUDE Dockerfile.rpmbuild

1 change: 0 additions & 1 deletion builder-support/dockerfiles/Dockerfile.wforce
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ RUN apt-get update && \
automake \
libboost-all-dev \
libcurl4-openssl-dev \
libgeoip-dev \
libgetdns-dev \
libhiredis-dev \
libmaxminddb-dev \
Expand Down
1 change: 0 additions & 1 deletion builder-support/specs/wforce.spec
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ BuildRequires: readline-devel
BuildRequires: gcc-c++
BuildRequires: lua-devel
BuildRequires: libidn-devel
BuildRequires: GeoIP-devel
BuildRequires: boost-devel
BuildRequires: bzip2
BuildRequires: pkgconfig
Expand Down
1 change: 0 additions & 1 deletion docker/regression/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ RUN apt-get update && \
build-essential \
libboost-all-dev \
libcurl4-openssl-dev \
libgeoip-dev \
libgetdns-dev \
libhiredis-dev \
libmaxminddb-dev \
Expand Down
2 changes: 0 additions & 2 deletions docker/wforce_image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ RUN apt-get update && \
automake \
libboost-all-dev \
libcurl4-openssl-dev \
libgeoip-dev \
libgetdns-dev \
libhiredis-dev \
libmaxminddb-dev \
Expand Down Expand Up @@ -82,7 +81,6 @@ RUN apt-get update && \
libboost-system1.74.0 \
libboost-filesystem1.74.0 \
libcurl4 \
libgeoip1 \
libgetdns10 \
libhiredis0.14 \
libluajit-5.1-2 \
Expand Down
6 changes: 0 additions & 6 deletions regression-tests/wforce-tw.conf
Original file line number Diff line number Diff line change
Expand Up @@ -107,12 +107,6 @@ function twallow(lt)
return -1, "Japan is blocked", "Japan is blocked", {}
end

gip_record = lookupCity(lt.remote)
if (gip_record.city == "Wokingham")
then
return -1, "Wokingham is blocked", "Wokingham is blocked", {}
end

if (sdb:twGet(lt.login, "diffPasswords") > 20)
then
return -1, "diffPasswords for login", "diffPasswords for login", {}
Expand Down

0 comments on commit 9dacda8

Please sign in to comment.