Skip to content

Commit b85521f

Browse files
fnerdmanFrieder Paape
authored andcommitted
chore: adds reverse-proxy v0.1.5 + v0.1.6
1 parent 9f67701 commit b85521f

File tree

4 files changed

+36
-28
lines changed

4 files changed

+36
-28
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
SUMMARY = "Server Side reverse proxy"
2+
HOMEPAGE = "https://github.com/flashbots/cvm-reverse-proxy"
3+
LICENSE = "AGPL-3.0-only"
4+
LIC_FILES_CHKSUM = "file://src/${GO_WORKDIR}/LICENSE;md5=4ae09d45eac4aa08d013b5f2e01c67f6"
5+
6+
inherit go-mod update-rc.d
7+
8+
INITSCRIPT_NAME = "cvm-reverse-proxy-server-init"
9+
INITSCRIPT_PARAMS = "defaults 86"
10+
11+
GO_IMPORT = "github.com/flashbots/cvm-reverse-proxy"
12+
SRC_URI = "git://${GO_IMPORT};protocol=https;branch=main \
13+
file://cvm-reverse-proxy-server-init"
14+
15+
GO_INSTALL = "${GO_IMPORT}/cmd/proxy-server"
16+
GO_LINKSHARED = ""
17+
18+
INHIBIT_PACKAGE_DEBUG_SPLIT = '1'
19+
INHIBIT_PACKAGE_STRIP = '1'
20+
GO_EXTRA_LDFLAGS:append = " -s -w -buildid= -X ${GO_IMPORT}/common.Version=${PV}"
21+
22+
do_compile[network] = "1"
23+
24+
do_install:append() {
25+
install -d ${D}${sysconfdir}/init.d
26+
install -m 0755 ${WORKDIR}/${INITSCRIPT_NAME} ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME}
27+
}
28+
29+
FILES:${PN} = "${sysconfdir}/init.d/${INITSCRIPT_NAME} ${bindir}/proxy-server"
Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,3 @@
1-
SUMMARY = "Server Side reverse proxy"
2-
HOMEPAGE = "https://github.com/flashbots/cvm-reverse-proxy"
3-
LICENSE = "AGPL-3.0-only"
4-
LIC_FILES_CHKSUM = "file://src/${GO_WORKDIR}/LICENSE;md5=4ae09d45eac4aa08d013b5f2e01c67f6"
1+
require cvm-reverse-proxy-server.inc
52

6-
inherit go-mod update-rc.d
7-
8-
INITSCRIPT_NAME = "cvm-reverse-proxy-server-init"
9-
INITSCRIPT_PARAMS = "defaults 86"
10-
11-
GO_IMPORT = "github.com/flashbots/cvm-reverse-proxy"
12-
SRC_URI = "git://${GO_IMPORT};protocol=https;branch=main \
13-
file://cvm-reverse-proxy-server-init"
143
SRCREV = "v0.1.0"
15-
16-
GO_INSTALL = "${GO_IMPORT}/cmd/proxy-server"
17-
GO_LINKSHARED = ""
18-
19-
INHIBIT_PACKAGE_DEBUG_SPLIT = '1'
20-
INHIBIT_PACKAGE_STRIP = '1'
21-
GO_EXTRA_LDFLAGS:append = " -s -w -buildid= -X ${GO_IMPORT}/common.Version=${PV}"
22-
23-
do_compile[network] = "1"
24-
25-
do_install:append() {
26-
install -d ${D}${sysconfdir}/init.d
27-
install -m 0755 ${WORKDIR}/${INITSCRIPT_NAME} ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME}
28-
}
29-
30-
FILES:${PN} = "${sysconfdir}/init.d/${INITSCRIPT_NAME} ${bindir}/proxy-server"
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
require cvm-reverse-proxy-server.inc
2+
3+
SRCREV = "v0.1.5"
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
require cvm-reverse-proxy-server.inc
2+
3+
SRCREV = "v0.1.6"

0 commit comments

Comments
 (0)