2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: GPL virus tarayicisi
|
2016-02-24 01:27:23 +01:00
|
|
|
|
# URL: http://www.clamav.net/
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: zlib bzip2 gmp curl
|
2017-12-24 00:47:53 +01:00
|
|
|
|
# Grup: güvenlik
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
isim=clamav
|
|
|
|
|
surum=0.99.0
|
|
|
|
|
devir=1
|
2017-12-24 00:47:53 +01:00
|
|
|
|
kaynak=(http://www.clamav.net/downloads/production/$isim-${surum%.*}.tar.gz\
|
|
|
|
|
clamd.conffreshclam.confclamdfreshclam)
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle() {
|
2017-10-28 14:10:23 +02:00
|
|
|
|
cd $isim-${surum%.*}
|
2016-02-24 01:27:23 +01:00
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
|
--enable-id-check \
|
|
|
|
|
--with-libcurl \
|
|
|
|
|
--with-tcpwrappers
|
|
|
|
|
make
|
|
|
|
|
make DESTDIR=$PKG install
|
2017-10-28 14:10:23 +02:00
|
|
|
|
mkdir -p $PKG/var/run/$isim $PKG/var/log/$isim
|
2016-02-24 01:27:23 +01:00
|
|
|
|
install -o root -g root -m 0644 $SRC/{clamd,freshclam}.conf \
|
|
|
|
|
$PKG/etc/
|
|
|
|
|
install -d $PKG/etc/rc.d
|
|
|
|
|
install -o root -g root -m 0755 $SRC/{clamd,freshclam} \
|
|
|
|
|
$PKG/etc/rc.d/
|
|
|
|
|
}
|