From 4b48da485d0306073496c1a83fa821c3d23676b5 Mon Sep 17 00:00:00 2001 From: fnerdman Date: Thu, 31 Oct 2024 13:37:04 +0000 Subject: [PATCH] chore: bump cvm-reverse-proxy to v0.1.4 --- .../cvm-reverse-proxy-client.inc | 29 +++++++++++++++++++ .../cvm-reverse-proxy-client_v0.1.0.bb | 29 +------------------ .../cvm-reverse-proxy-client_v0.1.4.bb | 3 ++ .../cvm-reverse-proxy-server.inc | 29 +++++++++++++++++++ .../cvm-reverse-proxy-server_v0.1.0.bb | 29 +------------------ .../cvm-reverse-proxy-server_v0.1.4.bb | 3 ++ 6 files changed, 66 insertions(+), 56 deletions(-) create mode 100644 recipes-core/cvm-reverse-proxy-client/cvm-reverse-proxy-client.inc create mode 100644 recipes-core/cvm-reverse-proxy-client/cvm-reverse-proxy-client_v0.1.4.bb create mode 100644 recipes-core/cvm-reverse-proxy-server/cvm-reverse-proxy-server.inc create mode 100644 recipes-core/cvm-reverse-proxy-server/cvm-reverse-proxy-server_v0.1.4.bb diff --git a/recipes-core/cvm-reverse-proxy-client/cvm-reverse-proxy-client.inc b/recipes-core/cvm-reverse-proxy-client/cvm-reverse-proxy-client.inc new file mode 100644 index 0000000..88125fe --- /dev/null +++ b/recipes-core/cvm-reverse-proxy-client/cvm-reverse-proxy-client.inc @@ -0,0 +1,29 @@ +SUMMARY = "Client Side reverse proxy with confidentialVM attestation support" +HOMEPAGE = "https://github.com/flashbots/cvm-reverse-proxy" +LICENSE = "AGPL-3.0-only" +LIC_FILES_CHKSUM = "file://src/${GO_WORKDIR}/LICENSE;md5=4ae09d45eac4aa08d013b5f2e01c67f6" + +inherit go-mod update-rc.d + +INITSCRIPT_NAME = "cvm-reverse-proxy-client-init" +INITSCRIPT_PARAMS = "defaults 87" + +GO_IMPORT = "github.com/flashbots/cvm-reverse-proxy" +SRC_URI = "git://${GO_IMPORT};protocol=https;branch=main \ + file://cvm-reverse-proxy-client-init" + +GO_INSTALL = "${GO_IMPORT}/cmd/proxy-client" +GO_LINKSHARED = "" + +INHIBIT_PACKAGE_DEBUG_SPLIT = '1' +INHIBIT_PACKAGE_STRIP = '1' +GO_EXTRA_LDFLAGS:append = " -s -w -buildid= -X ${GO_IMPORT}/common.Version=${PV}" + +do_compile[network] = "1" + +do_install:append() { + install -d ${D}${sysconfdir}/init.d + install -m 0755 ${WORKDIR}/${INITSCRIPT_NAME} ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME} +} + +FILES:${PN} = "${sysconfdir}/init.d/${INITSCRIPT_NAME} ${bindir}/proxy-client" diff --git a/recipes-core/cvm-reverse-proxy-client/cvm-reverse-proxy-client_v0.1.0.bb b/recipes-core/cvm-reverse-proxy-client/cvm-reverse-proxy-client_v0.1.0.bb index b9a2fef..936da03 100644 --- a/recipes-core/cvm-reverse-proxy-client/cvm-reverse-proxy-client_v0.1.0.bb +++ b/recipes-core/cvm-reverse-proxy-client/cvm-reverse-proxy-client_v0.1.0.bb @@ -1,30 +1,3 @@ -SUMMARY = "Client Side reverse proxy with confidentialVM attestation support" -HOMEPAGE = "https://github.com/flashbots/cvm-reverse-proxy" -LICENSE = "AGPL-3.0-only" -LIC_FILES_CHKSUM = "file://src/${GO_WORKDIR}/LICENSE;md5=4ae09d45eac4aa08d013b5f2e01c67f6" +require cvm-reverse-proxy-client.inc -inherit go-mod update-rc.d - -INITSCRIPT_NAME = "cvm-reverse-proxy-client-init" -INITSCRIPT_PARAMS = "defaults 87" - -GO_IMPORT = "github.com/flashbots/cvm-reverse-proxy" -SRC_URI = "git://${GO_IMPORT};protocol=https;branch=main \ - file://cvm-reverse-proxy-client-init" SRCREV = "v0.1.0" - -GO_INSTALL = "${GO_IMPORT}/cmd/proxy-client" -GO_LINKSHARED = "" - -INHIBIT_PACKAGE_DEBUG_SPLIT = '1' -INHIBIT_PACKAGE_STRIP = '1' -GO_EXTRA_LDFLAGS:append = " -s -w -buildid= -X ${GO_IMPORT}/common.Version=${PV}" - -do_compile[network] = "1" - -do_install:append() { - install -d ${D}${sysconfdir}/init.d - install -m 0755 ${WORKDIR}/${INITSCRIPT_NAME} ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME} -} - -FILES:${PN} = "${sysconfdir}/init.d/${INITSCRIPT_NAME} ${bindir}/proxy-client" diff --git a/recipes-core/cvm-reverse-proxy-client/cvm-reverse-proxy-client_v0.1.4.bb b/recipes-core/cvm-reverse-proxy-client/cvm-reverse-proxy-client_v0.1.4.bb new file mode 100644 index 0000000..5b7e305 --- /dev/null +++ b/recipes-core/cvm-reverse-proxy-client/cvm-reverse-proxy-client_v0.1.4.bb @@ -0,0 +1,3 @@ +require cvm-reverse-proxy-client.inc + +SRCREV = "v0.1.4" diff --git a/recipes-core/cvm-reverse-proxy-server/cvm-reverse-proxy-server.inc b/recipes-core/cvm-reverse-proxy-server/cvm-reverse-proxy-server.inc new file mode 100644 index 0000000..9a98b5b --- /dev/null +++ b/recipes-core/cvm-reverse-proxy-server/cvm-reverse-proxy-server.inc @@ -0,0 +1,29 @@ +SUMMARY = "Server Side reverse proxy" +HOMEPAGE = "https://github.com/flashbots/cvm-reverse-proxy" +LICENSE = "AGPL-3.0-only" +LIC_FILES_CHKSUM = "file://src/${GO_WORKDIR}/LICENSE;md5=4ae09d45eac4aa08d013b5f2e01c67f6" + +inherit go-mod update-rc.d + +INITSCRIPT_NAME = "cvm-reverse-proxy-server-init" +INITSCRIPT_PARAMS = "defaults 86" + +GO_IMPORT = "github.com/flashbots/cvm-reverse-proxy" +SRC_URI = "git://${GO_IMPORT};protocol=https;branch=main \ + file://cvm-reverse-proxy-server-init" + +GO_INSTALL = "${GO_IMPORT}/cmd/proxy-server" +GO_LINKSHARED = "" + +INHIBIT_PACKAGE_DEBUG_SPLIT = '1' +INHIBIT_PACKAGE_STRIP = '1' +GO_EXTRA_LDFLAGS:append = " -s -w -buildid= -X ${GO_IMPORT}/common.Version=${PV}" + +do_compile[network] = "1" + +do_install:append() { + install -d ${D}${sysconfdir}/init.d + install -m 0755 ${WORKDIR}/${INITSCRIPT_NAME} ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME} +} + +FILES:${PN} = "${sysconfdir}/init.d/${INITSCRIPT_NAME} ${bindir}/proxy-server" diff --git a/recipes-core/cvm-reverse-proxy-server/cvm-reverse-proxy-server_v0.1.0.bb b/recipes-core/cvm-reverse-proxy-server/cvm-reverse-proxy-server_v0.1.0.bb index a2c8aea..8c2c8a1 100644 --- a/recipes-core/cvm-reverse-proxy-server/cvm-reverse-proxy-server_v0.1.0.bb +++ b/recipes-core/cvm-reverse-proxy-server/cvm-reverse-proxy-server_v0.1.0.bb @@ -1,30 +1,3 @@ -SUMMARY = "Server Side reverse proxy" -HOMEPAGE = "https://github.com/flashbots/cvm-reverse-proxy" -LICENSE = "AGPL-3.0-only" -LIC_FILES_CHKSUM = "file://src/${GO_WORKDIR}/LICENSE;md5=4ae09d45eac4aa08d013b5f2e01c67f6" +require cvm-reverse-proxy-server.inc -inherit go-mod update-rc.d - -INITSCRIPT_NAME = "cvm-reverse-proxy-server-init" -INITSCRIPT_PARAMS = "defaults 86" - -GO_IMPORT = "github.com/flashbots/cvm-reverse-proxy" -SRC_URI = "git://${GO_IMPORT};protocol=https;branch=main \ - file://cvm-reverse-proxy-server-init" SRCREV = "v0.1.0" - -GO_INSTALL = "${GO_IMPORT}/cmd/proxy-server" -GO_LINKSHARED = "" - -INHIBIT_PACKAGE_DEBUG_SPLIT = '1' -INHIBIT_PACKAGE_STRIP = '1' -GO_EXTRA_LDFLAGS:append = " -s -w -buildid= -X ${GO_IMPORT}/common.Version=${PV}" - -do_compile[network] = "1" - -do_install:append() { - install -d ${D}${sysconfdir}/init.d - install -m 0755 ${WORKDIR}/${INITSCRIPT_NAME} ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME} -} - -FILES:${PN} = "${sysconfdir}/init.d/${INITSCRIPT_NAME} ${bindir}/proxy-server" diff --git a/recipes-core/cvm-reverse-proxy-server/cvm-reverse-proxy-server_v0.1.4.bb b/recipes-core/cvm-reverse-proxy-server/cvm-reverse-proxy-server_v0.1.4.bb new file mode 100644 index 0000000..86533d8 --- /dev/null +++ b/recipes-core/cvm-reverse-proxy-server/cvm-reverse-proxy-server_v0.1.4.bb @@ -0,0 +1,3 @@ +require cvm-reverse-proxy-server.inc + +SRCREV = "v0.1.4"