Package Details: veeamsnap 4.0.0.1961-1

Git Clone URL: https://aur.archlinux.org/veeamsnap.git (read-only, click to copy)
Package Base: veeamsnap
Description: Veeam Agent for Linux kernel modules (DKMS)
Upstream URL: http://repository.veeam.com/backup/linux/agent
Keywords: backup dkms veeam veeamsnap
Licenses: GPL2
Conflicts: veeamsnap
Submitter: CodeImp
Maintainer: dekart811
Last Packager: dekart811
Votes: 4
Popularity: 0.36
First Submitted: 2019-01-25 08:49
Last Updated: 2020-02-19 17:07

Latest Comments

dekart811 commented on 2020-05-05 07:52

I can confirm this patch works with kernel 5.4.36

elgaton commented on 2020-05-03 08:47

This module currently does not build with Linux 5.6 kernels due to the migration to 64-bit time structures.

A Veeam user has contributed a pull request which fixes this (I haven't tested this with linux-lts). In case you would like to use it, you can alter the PKGBUILD as follows:

# Maintainer: dekart811

_pkgbase=veeamsnap
pkgname=veeamsnap
pkgver=4.0.0.1961
pkgrel=1
pkgdesc="Veeam Agent for Linux kernel modules (DKMS)"
arch=('i686' 'x86_64')
url="http://repository.veeam.com/backup/linux/agent"
license=('GPLv2')
depends=('dkms')
conflicts=("${_pkgbase}")
install=${pkgname}.install
source=("${url}/rpm/el/7/x86_64/veeamsnap-${pkgver}-1.noarch.rpm"
        'fix-compilation-on-linux-5.6.patch::https://github.com/veeam/veeamsnap/pull/5.patch'
        'dkms.conf')
sha256sums=('40857406899712576e233dd76e54fa5fb9e73e45f6c616d5a9facdb4bcea6d8c'
            '5dc26eec94242d87f193d6b99b1cc6fc36c322a5deb75a8cb329a537f828687d'
            '7d2a83f28b7c41797fadf06f29ab124ae63d662f2dba4e81e1eb4d1ef15bee7c')

prepare() {
  cd "${srcdir}/usr/src/${pkgname}-${pkgver}"
  chmod 644 *
  # Convert line endings to LF to prevent patch from failing
  sed -i -e 's/\r$//g' cbt_storage.c
  sed -i -e 's/\r$//g' cbt_storage.h
  patch -l -p2 -i "$srcdir/fix-compilation-on-linux-5.6.patch"
}

package() {
  # Copy dkms.conf
  install -Dm644 dkms.conf "${pkgdir}"/usr/src/${_pkgbase}-${pkgver}/dkms.conf

  # Set name and version
  sed -e "s/@_PKGBASE@/${_pkgbase}/" \
      -e "s/@PKGVER@/${pkgver}/" \
      -i "${pkgdir}"/usr/src/${_pkgbase}-${pkgver}/dkms.conf

  # Copy sources (including Makefile)
  cp -r ${srcdir}/usr/src/${_pkgbase}-${pkgver}/* "${pkgdir}"/usr/src/${_pkgbase}-${pkgver}/
}

Ataraxy commented on 2019-08-05 13:24

==> ERROR: One or more files did not pass the validity check!
Error downloading sources: veeamsnap