mirror of
https://github.com/sbopkg/sbopkg
synced 2024-11-09 19:50:25 +03:00
sbopkg: Added logrotate support.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
This commit is contained in:
parent
90a58646aa
commit
3297b4aa1d
6
src/etc/logrotate.d/sbopkg
Normal file
6
src/etc/logrotate.d/sbopkg
Normal file
@ -0,0 +1,6 @@
|
||||
/var/log/sbopkg/sbopkg-build-log {
|
||||
monthly
|
||||
notifempty
|
||||
missingok
|
||||
compress
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
SBOPKG NEWS
|
||||
|
||||
sbopkg-dev (2018-08-13 22:53:29 UTC)
|
||||
sbopkg-dev (2018-08-20 00:09:56 UTC)
|
||||
FEATURES
|
||||
* sqg: Parallelize building of single and all packages by option -j.
|
||||
Patch by Marcel Saegebarth.
|
||||
@ -24,6 +24,8 @@ sbopkg-dev (2018-08-13 22:53:29 UTC)
|
||||
Patch by Yaroslav Shmelev.
|
||||
* sbopkg: Add optional sandbox support.
|
||||
Initial patch by Orbea (#49).
|
||||
* sbopkg: Add logrotate support.
|
||||
Feature Request by wronguser (#50).
|
||||
|
||||
MODIFICATIONS
|
||||
* bash-completion: Complete -i and -b when git repo is used
|
||||
|
@ -9,7 +9,7 @@
|
||||
# Based on the SlackBuilds.org template.
|
||||
|
||||
PRGNAM=sbopkg
|
||||
VERSION=${VERSION:-0.38.1}
|
||||
VERSION=${VERSION:-0.38.2}
|
||||
ARCH=${ARCH:-noarch}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_wsr}
|
||||
@ -35,8 +35,9 @@ find -L . \
|
||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
mkdir -p $PKG/etc/sbopkg
|
||||
mkdir -p $PKG/etc/sbopkg $PKG/etc/logrotate.d/
|
||||
cp -a etc/sbopkg/* $PKG/etc/sbopkg
|
||||
cp -a etc/logrotate.d/sbopkg $PKG/etc/logrotate.d/
|
||||
mv $PKG/etc/sbopkg/sbopkg.conf $PKG/etc/sbopkg/sbopkg.conf.new
|
||||
mv $PKG/etc/sbopkg/blacklist $PKG/etc/sbopkg/blacklist.new
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user