Browse Source
Merge pull request #11716 from 532910/prosody-scurity-fix
prosody: /etc/prosody owner fix
lilik-openwrt-22.03
Rosen Penev
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
3 additions and
2 deletions
-
net/prosody/Makefile
-
net/prosody/files/prosody.init
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
|
PKG_NAME:=prosody |
|
|
PKG_NAME:=prosody |
|
|
PKG_VERSION:=0.11.3 |
|
|
PKG_VERSION:=0.11.3 |
|
|
PKG_RELEASE:=1 |
|
|
|
|
|
|
|
|
PKG_RELEASE:=2 |
|
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
|
|
PKG_SOURCE_URL:=https://prosody.im/downloads/source |
|
|
PKG_SOURCE_URL:=https://prosody.im/downloads/source |
|
|
|
@ -23,7 +23,8 @@ start_service() { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
[ -d /var/log/prosody ] && { |
|
|
[ -d /var/log/prosody ] && { |
|
|
chown -R prosody:prosody /etc/prosody |
|
|
|
|
|
|
|
|
chown -R root:prosody /etc/prosody |
|
|
|
|
|
chown -R prosody:prosody /etc/prosody/data |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
[ -f /sbin/paxctl ] && { |
|
|
[ -f /sbin/paxctl ] && { |
|
|