parent
cdaacce4db
commit
c44c938caf
@ -10,13 +10,22 @@ class Rsyslog(AutotoolsPackage):
|
|||||||
"""The rocket-fast Syslog Server."""
|
"""The rocket-fast Syslog Server."""
|
||||||
|
|
||||||
homepage = "https://www.rsyslog.com/"
|
homepage = "https://www.rsyslog.com/"
|
||||||
url = "https://github.com/rsyslog/rsyslog/archive/v8.2006.0.tar.gz"
|
url = "https://github.com/rsyslog/rsyslog/archive/refs/tags/v8.2006.0.tar.gz"
|
||||||
|
|
||||||
license("Apache-2.0 AND GPL-3.0-or-later AND LGPL-3.0-or-later", checked_by="tgamblin")
|
license("Apache-2.0 AND GPL-3.0-or-later AND LGPL-3.0-or-later", checked_by="tgamblin")
|
||||||
|
|
||||||
version("8.2006.0", sha256="dc30a2ec02d5fac91d3a4f15a00641e0987941313483ced46592ab0b0d68f324")
|
version("8.2410.0", sha256="0e4e6fcb1d72a1cb65438d85dd2bbf37a8f82115d7e271788535d1e7fbcf6838")
|
||||||
version("8.2004.0", sha256="b56b985fec076a22160471d389b7ff271909dfd86513dad31e401a775a6dfdc2")
|
with default_args(deprecated=True):
|
||||||
version("8.2002.0", sha256="b31d56311532335212ef2ea7be4501508224cb21f1bef9d262c6d78e21959ea1")
|
# https://nvd.nist.gov/vuln/detail/CVE-2022-24903
|
||||||
|
version(
|
||||||
|
"8.2006.0", sha256="dc30a2ec02d5fac91d3a4f15a00641e0987941313483ced46592ab0b0d68f324"
|
||||||
|
)
|
||||||
|
version(
|
||||||
|
"8.2004.0", sha256="b56b985fec076a22160471d389b7ff271909dfd86513dad31e401a775a6dfdc2"
|
||||||
|
)
|
||||||
|
version(
|
||||||
|
"8.2002.0", sha256="b31d56311532335212ef2ea7be4501508224cb21f1bef9d262c6d78e21959ea1"
|
||||||
|
)
|
||||||
|
|
||||||
depends_on("c", type="build") # generated
|
depends_on("c", type="build") # generated
|
||||||
|
|
||||||
@ -24,6 +33,7 @@ class Rsyslog(AutotoolsPackage):
|
|||||||
depends_on("automake", type="build")
|
depends_on("automake", type="build")
|
||||||
depends_on("libtool", type="build")
|
depends_on("libtool", type="build")
|
||||||
depends_on("m4", type="build")
|
depends_on("m4", type="build")
|
||||||
|
depends_on("pkgconfig", type="build")
|
||||||
depends_on("libestr")
|
depends_on("libestr")
|
||||||
depends_on("libfastjson")
|
depends_on("libfastjson")
|
||||||
depends_on("zlib-api")
|
depends_on("zlib-api")
|
||||||
@ -36,6 +46,9 @@ class Rsyslog(AutotoolsPackage):
|
|||||||
def setup_run_environment(self, env):
|
def setup_run_environment(self, env):
|
||||||
env.prepend_path("PATH", self.prefix.sbin)
|
env.prepend_path("PATH", self.prefix.sbin)
|
||||||
|
|
||||||
|
def autoreconf(self, spec, prefix):
|
||||||
|
Executable("./autogen.sh")()
|
||||||
|
|
||||||
def configure_args(self):
|
def configure_args(self):
|
||||||
args = ["--with-systemdsystemunitdir=" + self.spec["rsyslog"].prefix.lib.systemd.system]
|
args = ["--with-systemdsystemunitdir=" + self.spec["rsyslog"].prefix.lib.systemd.system]
|
||||||
return args
|
return args
|
||||||
|
Loading…
Reference in New Issue
Block a user