From 345d0350d0d71b79611843e52912590d976bc55c Mon Sep 17 00:00:00 2001 From: Francesco Marinucci Date: Thu, 12 Apr 2018 13:37:34 +0100 Subject: [PATCH] [skip-ci] chkrootkit: update to 0.52 --- chkrootkit/PKGBUILD | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/chkrootkit/PKGBUILD b/chkrootkit/PKGBUILD index b7a71a3f6..168d663fb 100644 --- a/chkrootkit/PKGBUILD +++ b/chkrootkit/PKGBUILD @@ -1,7 +1,7 @@ # Original Arch Linux Maintainer: Eric BĂ©langer pkgname=chkrootkit -pkgver=0.50 +pkgver=0.52 pkgrel=1 pkgdesc="Locally checks for signs of a rootkit." arch=('x86_64') @@ -9,37 +9,37 @@ url="http://www.chkrootkit.org" depends=('sh' 'net-tools') license=('BSD') categories=('system') -source=("ftp://ftp.pangeia.com.br/pub/seg/pac/${pkgname}.tar.gz" +source=("ftp://ftp.pangeia.com.br/pub/seg/pac/$pkgname.tar.gz" 'chkrootkit.cron' 'fix-tools-path.patch' 'backslashes.patch' 'kallsyms.patch') -md5sums=('9e67dd56f835264d43aeb04944610b03' +md5sums=('0c864b41cae9ef9381292b51104b0a04' 'f4b6494270f708bf016e087104681739' '858b9e4fe1c38ca712f24f0ca1535c1e' 'd6e43518968607682a7eed86123891ec' 'a1afdd938b09c11a5200aad0a8abed9d') -sha1sums=('0c3f40b2919d25421a90533c2fe6cca81321232c' +sha1sums=('80a133c0ebc96ce025e62e8e10897ec68968ae7b' '6dda90abf779b6f5c3bacd638e1231f34635575d' '8d488aa47d7a74755eee94158bbe66c84061592e' '8a81ed7a109ad087685ad362ffe82e64d6997d83' '295d729516d31fa7e810bd6e61296e1da827915d') build() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd $pkgname-$pkgver sed -i 's|/var/adm|/var/log|' check_wtmpx.c chklastlog.c chkutmp.c chkwtmp.c - patch -p0 -i "${srcdir}/fix-tools-path.patch" - patch -p1 -i "${srcdir}/backslashes.patch" -# patch -p1 -i "${srcdir}/kallsyms.patch" + patch -p0 -i ../fix-tools-path.patch + patch -p1 -i ../backslashes.patch +# patch -p1 -i ../kallsyms.patch make } package() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd $pkgname-$pkgver for i in check_wtmpx chkdirs chklastlog chkproc chkrootkit \ chkutmp chkwtmp ifpromisc strings-static ; do install -D -m755 "${i}" "${pkgdir}/usr/sbin/${i}" done - install -D -m744 "${srcdir}/chkrootkit.cron" "${pkgdir}/etc/cron.weekly/chkrootkit" - install -D -m644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -D -m744 ../chkrootkit.cron $pkgdir/etc/cron.weekly/chkrootkit + install -D -m644 COPYRIGHT ../usr/share/licenses/$pkgname/LICENSE }