wok-6.x rev 15502
util-linux-flock: fix pre_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Nov 17 18:13:51 2013 +0000 (2013-11-17) |
parents | dc0132468c26 |
children | 3532f2e1c049 |
files | cyrus-imapd/receipt python-qrcode/receipt util-linux-flock/receipt |
line diff
1.1 --- a/cyrus-imapd/receipt Sun Nov 17 16:55:13 2013 +0100 1.2 +++ b/cyrus-imapd/receipt Sun Nov 17 18:13:51 2013 +0000 1.3 @@ -109,6 +109,11 @@ 1.4 Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf 1.5 ---- 1.6 EOF 1.7 + 1.8 + # A security hole with ssh... 1.9 + [ -f $1/etc/ssh/sshd_config ] && 1.10 + ! grep -q cyrus $1/etc/ssh/sshd_config && 1.11 + echo "DenyUsers cyrus" >> $1/etc/ssh/sshd_config 1.12 } 1.13 1.14 post_remove()
2.1 --- a/python-qrcode/receipt Sun Nov 17 16:55:13 2013 +0100 2.2 +++ b/python-qrcode/receipt Sun Nov 17 18:13:51 2013 +0000 2.3 @@ -11,7 +11,7 @@ 2.4 WEB_SITE="https://pypi.python.org/pypi/qrcode" 2.5 WGET_URL="https://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" 2.6 2.7 -DEPENDS="python python-pil" 2.8 +DEPENDS="python python-pil python-six" 2.9 BUILD_DEPENDS="python-dev python wget setuptools" 2.10 2.11 # Rules to configure and make the package.
3.1 --- a/util-linux-flock/receipt Sun Nov 17 16:55:13 2013 +0100 3.2 +++ b/util-linux-flock/receipt Sun Nov 17 18:13:51 2013 +0000 3.3 @@ -21,10 +21,10 @@ 3.4 # Overlap busybox 3.5 pre_install() 3.6 { 3.7 - rm -f $1/usr/bin/blkid 3.8 + rm -f $1/usr/bin/flock 3.9 } 3.10 3.11 post_remove() 3.12 { 3.13 - ln -s /bin/busybox /usr/bin/blkid 3.14 + ln -s /bin/busybox /usr/bin/flock 3.15 }