summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaël Guillemenot2017-01-13 18:36:26 +0100
committerLaël Guillemenot2017-01-13 18:36:26 +0100
commita99bab9f5f5c030459aad237cac93749a2b5428d (patch)
tree8f11b3bfd057f721c981830d80d5acc597d899e2
parent9d9aafa00decbdb1aed73099a87fa67bb20b658d (diff)
downloadaur-a99bab9f5f5c030459aad237cac93749a2b5428d.tar.gz
Update to 2.3
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD9
-rw-r--r--modules.conf11
3 files changed, 14 insertions, 16 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 66e149afa395..9a3acd633d67 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,8 @@
+# Generated by mksrcinfo v8
+# Fri Jan 13 17:35:06 UTC 2017
pkgbase = ocsinventory-agent
pkgdesc = Hardware and software inventory tool (client)
- pkgver = 2.1.1
+ pkgver = 2.3
pkgrel = 1
url = http://www.ocsinventory-ng.org
install = ocsinventory-agent.install
@@ -19,12 +21,12 @@ pkgbase = ocsinventory-agent
depends = perl-net-ssleay
optdepends = smartmontools
backup = etc/ocsinventory/ocsinventory-agent.cfg
- source = https://launchpad.net/ocsinventory-unix-agent/stable-2.1/2.1.1/+download/Ocsinventory-Unix-Agent-2.1.1.tar.gz
+ source = https://github.com/OCSInventory-NG/UnixAgent/releases/download/2.3/Ocsinventory-Unix-Agent-2.3.tar.gz
source = modules.conf
source = ocsinventory-agent
source = ocsinventory-agent.cfg
- md5sums = 195960e048bfa77badc2a3df382a5a88
- md5sums = a2a8a3ee7018d5681403088dcd3d2c2e
+ md5sums = 9b45269454c40dc183cc2722ac5493f2
+ md5sums = 3c1235643decce6f1a29c5644d2b527b
md5sums = 9419012794e5e134bc152cfd388d63e7
md5sums = 3be05b06c7a6e269d9a4c74dcf239d19
diff --git a/PKGBUILD b/PKGBUILD
index 1420cbbbb104..bb57a84cf00e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
# Maintainer: zeppelinlg <zeppelinlg@gmail.com>
pkgname=ocsinventory-agent
-pkgver=2.1.1
+pkgver=2.3
pkgrel=1
pkgdesc="Hardware and software inventory tool (client)"
arch=('any')
@@ -15,10 +15,10 @@ depends=('dmidecode' 'pciutils' 'perl-crypt-ssleay' 'perl-xml-sax'
optdepends=('smartmontools')
install=${pkgname}.install
backup=('etc/ocsinventory/ocsinventory-agent.cfg')
-source=("https://launchpad.net/ocsinventory-unix-agent/stable-2.1/$pkgver/+download/Ocsinventory-Unix-Agent-$pkgver.tar.gz"
+source=("https://github.com/OCSInventory-NG/UnixAgent/releases/download/$pkgver/Ocsinventory-Unix-Agent-$pkgver.tar.gz"
"modules.conf" "ocsinventory-agent" "ocsinventory-agent.cfg")
-md5sums=('195960e048bfa77badc2a3df382a5a88'
- 'a2a8a3ee7018d5681403088dcd3d2c2e'
+md5sums=('9b45269454c40dc183cc2722ac5493f2'
+ '3c1235643decce6f1a29c5644d2b527b'
'9419012794e5e134bc152cfd388d63e7'
'3be05b06c7a6e269d9a4c74dcf239d19')
@@ -33,7 +33,6 @@ build() {
package() {
mkdir -p ${pkgdir}/var/lib/ocsinventory-agent
mkdir -p ${pkgdir}/var/log/ocsinventory-agent
- mkdir -p ${pkgdir}/var/run
cd "$srcdir/Ocsinventory-Unix-Agent-$pkgver"
diff --git a/modules.conf b/modules.conf
index 3b1f795a7a82..7e3eb3fed7f6 100644
--- a/modules.conf
+++ b/modules.conf
@@ -1,13 +1,10 @@
-# this list of module will be load by the at run time
+# this list of module will be loaded by the agent at run time
# to check its syntax do:
-# #perl modules.conf
+# $perl modules.conf
# You must have NO error. Else the content will be ignored
-# This mechanism goal it to keep compatibility with 'plugin'
-# created for the previous linux_agent.
-# The new unified_agent have its own extension system that allow
-# user to add new information easily.
-use Ocsinventory::Agent::Option::Download;
+use Ocsinventory::Agent::Modules::Download;
+use Ocsinventory::Agent::Modules::Snmp;
# DO NO REMOVE the 1;
1;