From 227450e3b024686cd8d59331fc2acfeecafe989f Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Mon, 6 Jun 2022 20:19:08 +0800 Subject: tinyproxy: upgrade 1.11.0 -> 1.11.1 Refresh disable-documentation.patch for new version. Changelog: Fixes issues detected in 1.11.0, add new fnmatch based filtertype. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../tinyproxy/disable-documentation.patch | 4 +-- .../recipes-support/tinyproxy/tinyproxy_1.11.0.bb | 42 ---------------------- .../recipes-support/tinyproxy/tinyproxy_1.11.1.bb | 41 +++++++++++++++++++++ 3 files changed, 43 insertions(+), 44 deletions(-) delete mode 100644 meta-networking/recipes-support/tinyproxy/tinyproxy_1.11.0.bb create mode 100644 meta-networking/recipes-support/tinyproxy/tinyproxy_1.11.1.bb (limited to 'meta-networking/recipes-support') diff --git a/meta-networking/recipes-support/tinyproxy/tinyproxy/disable-documentation.patch b/meta-networking/recipes-support/tinyproxy/tinyproxy/disable-documentation.patch index af99edcb5b..364baaa000 100644 --- a/meta-networking/recipes-support/tinyproxy/tinyproxy/disable-documentation.patch +++ b/meta-networking/recipes-support/tinyproxy/tinyproxy/disable-documentation.patch @@ -23,7 +23,7 @@ diff --git a/configure.ac b/configure.ac index 3849383..9f3a633 100644 --- a/configure.ac +++ b/configure.ac -@@ -190,18 +190,6 @@ AC_SUBST(CPPFLAGS) +@@ -179,18 +179,6 @@ AC_SUBST(CPPFLAGS) AC_SUBST(LIBS) AC_SUBST(ADDITIONAL_OBJECTS) @@ -42,7 +42,7 @@ index 3849383..9f3a633 100644 AM_CONDITIONAL(HAVE_POD2MAN, test "x$POD2MAN" != "x" -a "x$POD2MAN" != "xno") AC_PATH_PROG(GPERF, gperf, no) -@@ -226,11 +214,6 @@ src/Makefile +@@ -216,11 +204,6 @@ src/Makefile data/Makefile data/templates/Makefile etc/Makefile diff --git a/meta-networking/recipes-support/tinyproxy/tinyproxy_1.11.0.bb b/meta-networking/recipes-support/tinyproxy/tinyproxy_1.11.0.bb deleted file mode 100644 index 388f7aecbb..0000000000 --- a/meta-networking/recipes-support/tinyproxy/tinyproxy_1.11.0.bb +++ /dev/null @@ -1,42 +0,0 @@ -SUMMARY = "Lightweight http(s) proxy daemon" -HOMEPAGE = "https://tinyproxy.github.io/" -LICENSE = "GPL-2.0-only" -LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" - -SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/${PV}/${BP}.tar.gz \ - file://disable-documentation.patch \ - file://tinyproxy.service \ - file://tinyproxy.conf \ - " - -SRC_URI[md5sum] = "658db5558ffb849414341b756a546a99" -SRC_URI[sha256sum] = "20f74769e40144e4d251d2977cc4c40d2d428a2bec8c1b8709cd07315454baef" - -UPSTREAM_CHECK_URI = "https://github.com/tinyproxy/tinyproxy/releases" - -EXTRA_OECONF += " \ - --enable-filter \ - --enable-transparent \ - --enable-reverse \ - --enable-upstream \ - --enable-xtinyproxy \ - " - -inherit autotools systemd useradd - -#User specific -USERADD_PACKAGES = "${PN}" -USERADD_PARAM:${PN} = "--system --home /dev/null \ - --no-user-group --gid nogroup tinyproxy" - -SYSTEMD_PACKAGES += "${BPN}" -SYSTEMD_SERVICE:${PN} = "tinyproxy.service" -SYSTEMD_AUTO_ENABLE:${PN} = "enable" - -do_install:append() { - if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then - install -d ${D}${systemd_system_unitdir} - install -m 0644 ${WORKDIR}/tinyproxy.service ${D}${systemd_system_unitdir} - fi - install -m 0644 ${WORKDIR}/tinyproxy.conf ${D}${sysconfdir}/tinyproxy.conf -} diff --git a/meta-networking/recipes-support/tinyproxy/tinyproxy_1.11.1.bb b/meta-networking/recipes-support/tinyproxy/tinyproxy_1.11.1.bb new file mode 100644 index 0000000000..86f57d88ff --- /dev/null +++ b/meta-networking/recipes-support/tinyproxy/tinyproxy_1.11.1.bb @@ -0,0 +1,41 @@ +SUMMARY = "Lightweight http(s) proxy daemon" +HOMEPAGE = "https://tinyproxy.github.io/" +LICENSE = "GPL-2.0-only" +LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" + +SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/${PV}/${BP}.tar.gz \ + file://disable-documentation.patch \ + file://tinyproxy.service \ + file://tinyproxy.conf \ + " + +SRC_URI[sha256sum] = "1574acf7ba83c703a89e98bb2758a4ed9fda456f092624b33cfcf0ce2d3b2047" + +UPSTREAM_CHECK_URI = "https://github.com/tinyproxy/tinyproxy/releases" + +EXTRA_OECONF += " \ + --enable-filter \ + --enable-transparent \ + --enable-reverse \ + --enable-upstream \ + --enable-xtinyproxy \ + " + +inherit autotools systemd useradd + +#User specific +USERADD_PACKAGES = "${PN}" +USERADD_PARAM:${PN} = "--system --home /dev/null \ + --no-user-group --gid nogroup tinyproxy" + +SYSTEMD_PACKAGES += "${BPN}" +SYSTEMD_SERVICE:${PN} = "tinyproxy.service" +SYSTEMD_AUTO_ENABLE:${PN} = "enable" + +do_install:append() { + if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then + install -d ${D}${systemd_system_unitdir} + install -m 0644 ${WORKDIR}/tinyproxy.service ${D}${systemd_system_unitdir} + fi + install -m 0644 ${WORKDIR}/tinyproxy.conf ${D}${sysconfdir}/tinyproxy.conf +} -- cgit 1.2.3-korg