Version Bump pspec and actions changed

This commit is contained in:
alick01
2020-12-09 16:48:22 +03:00
parent b441eb450b
commit a958864d77
3 changed files with 38 additions and 12 deletions
+22 -8
View File
@@ -12,6 +12,21 @@ from pisi.actionsapi import shelltools
def setup():
#autotools.autoreconf("-fiv")
autotools.configure("--prefix=/usr \
-sbindir=/usr/bin \
--enable-id-check \
--enable-clamdtop \
--disable-static \
--disable-clamav \
--disable-fanotify \
--disable-experimental \
--disable-silent-rules \
--with-system-tommath \
--with-zlib=/usr \
--with-no-cache \
--with-user=clamav \
--with-group=clamav \
--disable-llvm \
--with-tcpwrappers \
--sysconfdir=/etc \
--with-dbdir=/var/lib/clamav")
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
@@ -22,12 +37,11 @@ def build():
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodir("/run/clamav")
pisitools.dodir("/var/lib/clamav")
shelltools.chmod(get.installDIR() + "/var/lib/clamav", 0777)
pisitools.dodir("/var/log/clamav")
shelltools.touch(get.installDIR() + "/var/log/clamav/freshclam.log")
shelltools.chmod(get.installDIR() + "/var/log/clamav/freshclam.log", 0660)
shelltools.chown("%s/var/log/clamav/freshclam.log" % get.installDIR(), "clamav", "clamav")
#pisitools.dodir("/run/clamav")
#pisitools.dodir("/var/lib/clamav")
#pisitools.dodir("/var/log/clamav")
#shelltools.touch(get.installDIR() + "/var/log/clamav/freshclam.log")
#shelltools.chmod(get.installDIR() + "/var/log/clamav/freshclam.log", 0600)
#shelltools.chown("%s/var/log/clamav/freshclam.log" % get.installDIR(), "clamav", "clamav")
pisitools.dodoc("COPYING*", "NEWS*", "README*")