From: Stefan Schantl Date: Sun, 24 Apr 2011 11:56:53 +0000 (+0200) Subject: clamav: Some small cosmetic fixes. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fabb88ef457ab1af0c7659c4033dd5023fbf9c29;p=ipfire-3.x.git clamav: Some small cosmetic fixes. --- diff --git a/pkgs/clamav/clamav.nm b/pkgs/clamav/clamav.nm index 980670d99..edba0c3d8 100644 --- a/pkgs/clamav/clamav.nm +++ b/pkgs/clamav/clamav.nm @@ -54,9 +54,9 @@ PKG_PACKAGES += $(PKG_NAME)-devel $(PKG_NAME)-libs CFLAGS += -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLDAP_DEPRECATED -CONFIGURE_ENVIRONMENT += have_cv_ipv6=yes +CONFIGURE_ENVIRONMENT += have_cv_ipv6=yes -CONFIGURE_OPTIONS += \ +CONFIGURE_OPTIONS += \ --sysconfdir=/etc \ --disable-static \ --disable-rpath \ @@ -66,6 +66,8 @@ CONFIGURE_OPTIONS += \ --with-user=clamupdate \ --with-group=clamupdate +# User and group have to exist to compile the source code, +# so we have to create them define STAGE_PREPARE_CMDS groupadd -g 497 -r clamupdate useradd -u 497 -r -s /sbin/nologin -d /var/lib/clamav -M \ @@ -75,7 +77,3 @@ define STAGE_PREPARE_CMDS useradd -u 496 -r -s /sbin/nologin -d / -M \ -g clamscan clamscan endef - -define STAGE_INSTALL - cd $(DIR_APP) && make install DESTDIR=$(BUILDROOT) -endef