summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authormezcal2018-11-29 14:29:59 +0100
committermezcal2018-11-29 14:29:59 +0100
commit24ad74360e8058fdbdf7e4ca197e608460daf0f6 (patch)
tree5781e718359729ad233c8c6f10f28a586aece3b7
parent7f7a52ee172148fa3433037e705c91c985db5414 (diff)
downloadaur-24ad74360e8058fdbdf7e4ca197e608460daf0f6.tar.gz
Update to 4.5.11.0
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD26
-rw-r--r--esets.sysusers1
3 files changed, 19 insertions, 20 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 64b5fe21e08..dff910ccfcd 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,17 +1,19 @@
-# Generated by mksrcinfo v8
-# Fri Jul 1 11:16:30 UTC 2016
pkgbase = esets
pkgdesc = ESET Mail Security provides comercial Antivirus and Antispam
- pkgver = 4.5.5.0
+ pkgver = 4.5.11.0
pkgrel = 1
url = http://www.eset.com/
install = esets.install
- arch = i686
arch = x86_64
license = ESET
+ depends = lib32-glibc
backup = etc/opt/eset/esets/esets.cfg
- source = http://:@download.eset.com/download/unix/esets..tgz.bin
+ source = http://:@download.eset.com/download/unix/esets.amd64.tgz.bin
source = esets.service
+ source = esets.sysusers
+ md5sums = dd13190fadb01e4637777afe7a3b3153
+ md5sums = 8140d3acd8021b81adc67acf8a34ddc2
+ md5sums = e68ea38f9bcaf5c3394051d04a6f4e65
pkgname = esets
diff --git a/PKGBUILD b/PKGBUILD
index 13651c8014c..160f23f4e1c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,37 +2,31 @@
# Contributor: filip <fila pruda.com>
pkgname=esets
-pkgver=4.5.5.0
+pkgver=4.5.11.0
pkgrel=1
pkgdesc="ESET Mail Security provides comercial Antivirus and Antispam"
-arch=('i686' 'x86_64')
-license=(ESET)
+arch=('x86_64')
+license=('ESET')
url="http://www.eset.com/"
-[ "$CARCH" = "i686" ] && depends=()
-[ "$CARCH" = "x86_64" ] && depends=('lib32-glibc')
+depends=('lib32-glibc')
backup=(etc/opt/eset/esets/esets.cfg)
-install=$pkgname.install
+install=esets.install
options=()
-
-[ "$CARCH" = "i686" ] && _arch=i386
-[ "$CARCH" = "x86_64" ] && _arch=amd64
-
#fill your username and password
_username=
_password=
-source=("http://$_username:$_password@download.eset.com/download/unix/esets.$_arch.tgz.bin" "esets.service")
+source=("http://$_username:$_password@download.eset.com/download/unix/esets.amd64.tgz.bin" "esets.service" "esets.sysusers")
-[ "$CARCH" = "i686" ] && md5sums=('cb5502826a20ab9028b8ec0142c66d7b' '8140d3acd8021b81adc67acf8a34ddc2')
-[ "$CARCH" = "x86_64" ] && md5sums=('7c83211cfacfe2c067964f82e9506bd9' '8140d3acd8021b81adc67acf8a34ddc2')
+md5sums=('dd13190fadb01e4637777afe7a3b3153' '8140d3acd8021b81adc67acf8a34ddc2' 'e68ea38f9bcaf5c3394051d04a6f4e65')
build() {
- tail -n +`awk '/^exit$/ { print NR + 1; exit }' "esets.$_arch.tgz.bin"` "esets.$_arch.tgz.bin" > "esets-$pkgver.$_arch.tgz"
- tar xfz "esets-$pkgver.$_arch.tgz"
+ tail -n +`awk '/^exit$/ { print NR + 1; exit }' "esets.amd64.tgz.bin"` "esets.amd64.tgz.bin" > "esets-$pkgver.amd64.tgz"
+ tar xfz "esets-$pkgver.amd64.tgz"
}
@@ -44,5 +38,7 @@ package() {
rm -rf "etc/init.d"
install -D -m644 "$srcdir/esets.service" "usr/lib/systemd/system/esets.service"
+
+ install -D -m644 "$srcdir/esets.sysusers" "usr/lib/sysusers.d/esets.conf"
}
diff --git a/esets.sysusers b/esets.sysusers
new file mode 100644
index 00000000000..83bd69d3e5e
--- /dev/null
+++ b/esets.sysusers
@@ -0,0 +1 @@
+u esets - "Eset mail security" -