summaryrefslogtreecommitdiffstats
path: root/linhes
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2022-12-30 16:48:37 (GMT)
committerBritney Fransen <brfransen@gmail.com>2022-12-30 16:48:37 (GMT)
commita4b2456f99852ed9286dcd65dfa7975f8c35c428 (patch)
treeba20990a4182987ca25c5274c5a209924046c1d7 /linhes
parente44e5d1cae32d11efb9b876b0b1021579a5c0e28 (diff)
downloadlinhes_pkgbuild-a4b2456f99852ed9286dcd65dfa7975f8c35c428.zip
linhes_pkgbuild-a4b2456f99852ed9286dcd65dfa7975f8c35c428.tar.gz
linhes_pkgbuild-a4b2456f99852ed9286dcd65dfa7975f8c35c428.tar.bz2
mythplugins: update and move mythweb to /data/srv/httpd
Diffstat (limited to 'linhes')
-rw-r--r--linhes/mythplugins/PKGBUILD17
-rw-r--r--linhes/mythplugins/__changelog1
2 files changed, 7 insertions, 11 deletions
diff --git a/linhes/mythplugins/PKGBUILD b/linhes/mythplugins/PKGBUILD
index 16a196d..559281a 100644
--- a/linhes/mythplugins/PKGBUILD
+++ b/linhes/mythplugins/PKGBUILD
@@ -15,7 +15,7 @@ pkgname=('mythplugins-mytharchive'
'mythplugins-mythzoneminder')
br=fixes/32
t="${br#*/}+${br%/[0-9][0-9]}"
-pkgver=32+fixes.20221129.44f88ed4
+pkgver=32+fixes.20221229.e74f587d
pkgrel=1
epoch=0
arch=('any')
@@ -118,19 +118,14 @@ package_mythplugins-mythweather() {
package_mythplugins-mythweb() {
pkgdesc="Web interface for the MythTV scheduler"
- depends=('mythtv' 'perl-cgi')
- optdepends=('lighttpd'
- 'php7-apache'
- 'php7-fpm'
- 'nginx')
+ depends=('mythtv' 'perl-cgi' 'lighttpd')
sed -i 's/unix.*-fpm\.sock;/unix:\/var\/run\/php-fpm7\/php-fpm\.sock;/' "$srcdir/mythweb/mythweb.conf.nginx"
- mkdir -p "$pkgdir/var/lib/mythtv/mythweb"/{image_cache,php_sessions}
- cp -R "$srcdir/mythweb"/* "$pkgdir/var/lib/mythtv/mythweb"
- chown -R http:http "$pkgdir/var/lib/mythtv/mythweb"
- chmod g+rw "$pkgdir/var/lib/mythtv/mythweb"/{image_cache,php_sessions}
-
+ mkdir -p "$pkgdir/data/srv/httpd/mythweb"/{image_cache,php_sessions}
+ cp -R "$srcdir/mythweb"/* "$pkgdir/data/srv/httpd/mythweb"
+ chown -R http:http "$pkgdir/data/srv/httpd/mythweb"
+ chmod g+rw "$pkgdir/data/srv/httpd/mythweb"/{image_cache,php_sessions}
}
package_mythplugins-mythzoneminder() {
diff --git a/linhes/mythplugins/__changelog b/linhes/mythplugins/__changelog
new file mode 100644
index 0000000..18996b5
--- /dev/null
+++ b/linhes/mythplugins/__changelog
@@ -0,0 +1 @@
+PKGBUILD: change mythweb install path to /data/srv/httpd