diff options
author | root | 2021-05-06 18:41:18 +0200 |
---|---|---|
committer | root | 2021-05-06 18:41:18 +0200 |
commit | 2f028b4308fd54cc38921845545708271646048d (patch) | |
tree | 31f603f91b2b91cc9f790e6a26e429793b90cfe4 | |
parent | 968c8aa41ca63a7a6d01e4c8265385ddeb0772c5 (diff) | |
download | aur-2f028b4308fd54cc38921845545708271646048d.tar.gz |
Added a patch to fix loglevel help message in `wwwoffled`.
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 12 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = wwwoffle-svn pkgdesc = Simple caching proxy server with special features (request, recursive fetch, subscription, modify HTML, ...) for use with dial-up internet links. Includes startup scripts for OpenRC, System V init, systemd. pkgver = 2.9j+svn2253.d20191028 - pkgrel = 4 + pkgrel = 5 epoch = 1 url = http://www.gedanken.org.uk/software/wwwoffle/ install = wwwoffle.install @@ -37,12 +37,14 @@ pkgbase = wwwoffle-svn source = initscript_systemd source = initscript_sysvinit source = wwwoffle.install + source = fix-wwwoffled-loglevel-help.patch::http://ix.io/3lYX sha256sums = SKIP sha256sums = 5491ffc23ae113db4b46167883594b5bcb6f1bbd0ce11432bc45047efbd635d2 sha256sums = d9451db92f979a6573cecbab23c26b6ca8ea026ef61b22ec4b61c0c9051142e9 sha256sums = 03bebce87a0da1b383666ab7a95b9810e15f2a024c0954f09c959d342c5d9c87 sha256sums = 62139f2b77139cf9c1ce9761e27f6b427c12cadd7a3739f28d854b8328e7c511 sha256sums = 106f4ce3de6d6ea020e8dcd8a4fd4f78ed2ae855e8a953a8783134e4d2cfba12 + sha256sums = 85f0b786356c0f35b3dedf074757dec1d05256e93aa822b08cdb8530c3dbd072 pkgname = wwwoffle-svn @@ -10,7 +10,7 @@ pkgname="${_pkgname}-svn" epoch=1 # _pkgver=2.9j pkgver=2.9j+svn2253.d20191028 -pkgrel=4 +pkgrel=5 pkgdesc="Simple caching proxy server with special features (request, recursive fetch, subscription, modify HTML, ...) for use with dial-up internet links. Includes startup scripts for OpenRC, System V init, systemd." arch=( 'arm' @@ -77,6 +77,7 @@ source=( 'initscript_systemd' 'initscript_sysvinit' "${install}" + 'fix-wwwoffled-loglevel-help.patch::http://ix.io/3lYX' ) sha256sums=( @@ -87,6 +88,7 @@ sha256sums=( '03bebce87a0da1b383666ab7a95b9810e15f2a024c0954f09c959d342c5d9c87' # initscript_systemd '62139f2b77139cf9c1ce9761e27f6b427c12cadd7a3739f28d854b8328e7c511' # initscript_sysvinit '106f4ce3de6d6ea020e8dcd8a4fd4f78ed2ae855e8a953a8783134e4d2cfba12' # ${install} + '85f0b786356c0f35b3dedf074757dec1d05256e93aa822b08cdb8530c3dbd072' # fix-wwwoffled-loglevel-help.patch ) _svnlog='svn.log' @@ -151,6 +153,12 @@ prepare() { cd "${_unpackeddir}" + ### Applying patches + for _patch in 'fix-wwwoffled-loglevel-help.patch'; do + msg2 "Applying patch '${_patch}' ..." + patch -N -p1 -i "${srcdir}/fix-wwwoffled-loglevel-help.patch" + done + ### Update version.h to the actual version + SVNrevision msg2 "Updating version in src/version.h to ${pkgver} ..." sed -i 's|^\([[:space:]]*#define[[:space:]]*WWWOFFLE_VERSION[[:space:]]*\).*$|/*+ +*/\n/*+ The following line was automatically upgraded by the Arch Linux PKGBUILD (package build script) +*/\n/*+ in order to match the version as in conf/wwwoffle.conf.template and the SVN revision. +*/\n\1"'"${pkgver}"'"|' \ |