Browse Source

Clean up unneeded depencdencies. (#18242)

Austin S. Hemmelgarn 7 months ago
parent
commit
a817a5c75b

+ 12 - 18
packaging/installer/dependencies/alpine.sh

@@ -9,33 +9,27 @@ DONT_WAIT=0
 
 package_tree="
   alpine-sdk
-  coreutils
-  git
-  gcc
-  g++
-  automake
-  autoconf
   cmake
-  make
-  libatomic
-  libtool
-  pkgconfig
-  tar
+  coreutils
   curl
+  elfutils-dev
+  g++
+  gcc
+  git
   gzip
+  json-c-dev
+  libatomic
+  libmnl-dev
   libuv-dev
   lz4-dev
+  make
   openssl-dev
-  elfutils-dev
+  pkgconfig
   python3
-  zlib-dev
+  tar
   util-linux-dev
-  libmnl-dev
-  json-c-dev
-  musl-fts-dev
-  bison
-  flex
   yaml-dev
+  zlib-dev
   "
 
 usage() {

+ 12 - 19
packaging/installer/dependencies/arch.sh

@@ -8,32 +8,25 @@ NON_INTERACTIVE=0
 DONT_WAIT=0
 
 declare -a package_tree=(
-  gcc
-  make
-  autoconf
-  autoconf-archive
-  autogen
-  automake
-  libtool
+  binutils
   cmake
-  zlib
-  util-linux
-  libmnl
+  curl
+  gcc
+  git
+  gzip
   json-c
-  libyaml
+  libelf
+  libmnl
   libuv
+  libyaml
   lz4
+  make
   openssl
-  libelf
-  git
   pkgconfig
-  tar
-  curl
-  gzip
   python3
-  binutils
-  bison
-  flex
+  tar
+  util-linux
+  zlib
 )
 
 usage() {

+ 0 - 7
packaging/installer/dependencies/centos.sh

@@ -5,15 +5,9 @@
 set -e
 
 declare -a package_tree=(
-  autoconf
-  autoconf-archive
-  automake
-  bison
   cmake
-  cmake3
   curl
   elfutils-libelf-devel
-  flex
   findutils
   gcc
   gcc-c++
@@ -22,7 +16,6 @@ declare -a package_tree=(
   json-c-devel
   libatomic
   libmnl-devel
-  libtool
   libuuid-devel
   libuv-devel
   libyaml-devel

+ 0 - 8
packaging/installer/dependencies/debian.sh

@@ -8,14 +8,8 @@ NON_INTERACTIVE=0
 DONT_WAIT=0
 
 package_tree="
-  autoconf
-  autoconf-archive
-  autogen
-  automake
-  bison
   cmake
   curl
-  flex
   g++
   gcc
   git
@@ -27,12 +21,10 @@ package_tree="
   libmnl-dev
   libssl-dev
   libsystemd-dev
-  libtool
   libuv1-dev
   libyaml-dev
   make
   pkg-config
-  python
   python3
   tar
   uuid-dev

+ 0 - 14
packaging/installer/dependencies/fedora.sh

@@ -17,23 +17,11 @@ os_version() {
   fi
 }
 
-if [[ $(os_version) -gt 24 ]]; then
-  ulogd_pkg=
-else
-  ulogd_pkg=ulogd
-fi
-
 declare -a package_tree=(
-  autoconf
-  autoconf-archive
-  autogen
-  automake
-  bison
   cmake
   curl
   elfutils-libelf-devel
   findutils
-  flex
   gcc
   gcc-c++
   git
@@ -41,7 +29,6 @@ declare -a package_tree=(
   json-c-devel
   libatomic
   libmnl-devel
-  libtool
   libuuid-devel
   libuv-devel
   libyaml-devel
@@ -53,7 +40,6 @@ declare -a package_tree=(
   systemd-devel
   tar
   zlib-devel
-  "${ulogd_pkg}"
 )
 
 usage() {

+ 6 - 13
packaging/installer/dependencies/freebsd.sh

@@ -8,26 +8,19 @@ NON_INTERACTIVE=0
 DONT_WAIT=0
 
 package_tree="
-  git
-  autoconf
-  autoconf-archive
-  autogen
-  automake
-  libtool
-  pkgconf
   cmake
   curl
-  gzip
-  lzlib
   e2fsprogs-libuuid
+  git
+  gzip
   json-c
-  libyaml
-  libuv
   liblz4
+  libuv
+  libyaml
+  lzlib
   openssl
+  pkgconf
   python3
-  bison
-  flex
   "
 
 prompt() {

+ 14 - 20
packaging/installer/dependencies/gentoo.sh

@@ -8,32 +8,26 @@ NON_INTERACTIVE=0
 DONT_WAIT=0
 
 package_tree="
+  app-alternatives/gzip
+  app-alternatives/tar
+  app-arch/lz4
+  dev-lang/python
+  dev-libs/json-c
+  dev-libs/libuv
+  dev-libs/libyaml
+  dev-libs/openssl
+  dev-util/cmake
   dev-vcs/git
+  net-libs/libmnl
+  net-misc/curl
   sys-apps/findutils
+  sys-apps/util-linux
   sys-devel/gcc
   sys-devel/make
-  sys-devel/autoconf
-  sys-devel/autoconf-archive
-  sys-devel/autogen
-  sys-devel/automake
-  virtual/pkgconfig
-  dev-util/cmake
-  app-arch/tar
-  net-misc/curl
-  app-arch/gzip
-  sys-apps/util-linux
-  net-libs/libmnl
-  dev-libs/json-c
-  dev-libs/libyaml
-  dev-libs/libuv
-  app-arch/lz4
-  dev-libs/openssl
   virtual/libelf
-  dev-lang/python
-  dev-libs/libuv
-  sys-devel/bison
-  sys-devel/flex
+  virtual/pkgconfig
   "
+
 usage() {
   cat << EOF
 OPTIONS:

+ 0 - 7
packaging/installer/dependencies/ol.sh

@@ -8,15 +8,9 @@ NON_INTERACTIVE=0
 DONT_WAIT=0
 
 declare -a package_tree=(
-  autoconf
-  autoconf-archive
-  autogen
-  automake
-  bison
   cmake
   curl
   elfutils-libelf-devel
-  flex
   gcc
   gcc-c++
   git
@@ -24,7 +18,6 @@ declare -a package_tree=(
   json-c-devel
   libatomic
   libmnl-devel
-  libtool
   libuuid-devel
   libuv-devel
   libyaml-devel

+ 0 - 7
packaging/installer/dependencies/opensuse.sh

@@ -10,14 +10,8 @@ NON_INTERACTIVE=0
 DONT_WAIT=0
 
 declare -a package_tree=(
-  autoconf
-  autoconf-archive
-  autogen
-  automake
-  bison
   cmake
   curl
-  flex
   gcc
   gcc-c++
   git
@@ -28,7 +22,6 @@ declare -a package_tree=(
   liblz4-devel
   libmnl-devel
   libopenssl-devel
-  libtool
   libuuid-devel
   libuv-devel
   libyaml-devel

+ 0 - 7
packaging/installer/dependencies/rockylinux.sh

@@ -8,16 +8,10 @@ NON_INTERACTIVE=0
 DONT_WAIT=0
 
 declare -a package_tree=(
-  autoconf
-  autoconf-archive
-  autogen
-  automake
-  bison
   cmake
   curl
   elfutils-libelf-devel
   findutils
-  flex
   gcc
   gcc-c++
   git
@@ -25,7 +19,6 @@ declare -a package_tree=(
   json-c-devel
   libatomic
   libmnl-devel
-  libtool
   libuuid-devel
   libuv-devel
   libyaml-devel

Some files were not shown because too many files changed in this diff