diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 16 |
1 files changed, 4 insertions, 12 deletions
@@ -2,15 +2,15 @@ # Contributor: Vasco Costa <vasco dot costa at geekslot dot com> # Contributor: jaro3 -_USE_CCACHE=false -# _USE_CCACHE=true +# _USE_CCACHE=false +_USE_CCACHE=true _pkgname=wwwoffle pkgname="${_pkgname}-svn" epoch=1 # _pkgver=2.9j -pkgver=2.9j+svn2253.d20191028 -pkgrel=5 +pkgver=2.9j+svn2254.d20210509 +pkgrel=1 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,7 +77,6 @@ source=( 'initscript_systemd' 'initscript_sysvinit' "${install}" - 'fix-wwwoffled-loglevel-help.patch::http://ix.io/3lYX' ) sha256sums=( @@ -88,7 +87,6 @@ sha256sums=( '03bebce87a0da1b383666ab7a95b9810e15f2a024c0954f09c959d342c5d9c87' # initscript_systemd '62139f2b77139cf9c1ce9761e27f6b427c12cadd7a3739f28d854b8328e7c511' # initscript_sysvinit '106f4ce3de6d6ea020e8dcd8a4fd4f78ed2ae855e8a953a8783134e4d2cfba12' # ${install} - '85f0b786356c0f35b3dedf074757dec1d05256e93aa822b08cdb8530c3dbd072' # fix-wwwoffled-loglevel-help.patch ) _svnlog='svn.log' @@ -153,12 +151,6 @@ 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}"'"|' \ |