summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandr Boiko2016-05-07 22:52:36 +1100
committerAlexandr Boiko2016-05-07 22:52:36 +1100
commitc0d7d2d35f57d1191c8ee4812e86af2dd6d06b61 (patch)
treec09e1d38aa0489968537b758ba64985055435913
downloadaur-c0d7d2d35f57d1191c8ee4812e86af2dd6d06b61.tar.gz
Initial commit
-rw-r--r--.SRCINFO24
-rw-r--r--PKGBUILD37
-rw-r--r--dkms.conf8
-rw-r--r--vlan_mon.conf1
4 files changed, 70 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..10f39e9cf17
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,24 @@
+pkgbase = accel-ppp-vlanmon-dkms-git
+ pkgdesc = Accel-ppp vlan_mon kernel module sources
+ pkgver = r1344.f5a97ed
+ pkgrel = 1
+ url = http://sourceforge.net/apps/trac/accel-ppp/
+ arch = i686
+ arch = x86_64
+ license = GPL
+ depends = dkms
+ depends = gcc
+ depends = make
+ depends = lua51
+ optdepends = linux-headers: build modules against Arch kernel
+ optdepends = linux-lts-headers: build modules against LTS kernel
+ conflicts = accel-ppp-ipoe-dkms
+ source = accel-ppp::git+git://git.code.sf.net/p/accel-ppp/code
+ source = vlan_mon.conf
+ source = dkms.conf
+ md5sums = SKIP
+ md5sums = dbc866b5799b904d9f0327b6eccd78bc
+ md5sums = cad83c31b06eaf122d1ce4bc495f0fe6
+
+pkgname = accel-ppp-vlanmon-dkms-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..cbc1802bf93
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer: Alexandr Boiko <brdcom@ya.ru>
+
+pkgname=accel-ppp-vlanmon-dkms-git
+_pkgname=accel-ppp
+pkgver=r1344.f5a97ed
+pkgrel=1
+pkgdesc='Accel-ppp vlan_mon kernel module sources'
+arch=('i686' 'x86_64')
+url='http://sourceforge.net/apps/trac/accel-ppp/'
+license=('GPL')
+depends=('dkms' 'gcc' 'make' 'lua51')
+conflicts=('accel-ppp-ipoe-dkms')
+optdepends=('linux-headers: build modules against Arch kernel'
+ 'linux-lts-headers: build modules against LTS kernel')
+source=('accel-ppp::git+git://git.code.sf.net/p/accel-ppp/code'
+ 'vlan_mon.conf'
+ 'dkms.conf')
+
+md5sums=('SKIP'
+ 'dbc866b5799b904d9f0327b6eccd78bc'
+ 'cad83c31b06eaf122d1ce4bc495f0fe6')
+
+pkgver() {
+ cd "$srcdir/${_pkgname%-git}"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+package() {
+ cd "$srcdir/${_pkgname%-git}"
+ install -dm755 "$pkgdir/usr/src"
+ install -dm755 "$pkgdir/usr/lib/modules-load.d"
+ cd drivers
+ cp -r vlan_mon "$pkgdir/usr/src/accel-ppp-vlanmon-$pkgver"
+ install -Dm0644 "$srcdir/dkms.conf" "$pkgdir/usr/src/accel-ppp-vlanmon-$pkgver/dkms.conf"
+ install -Dm0644 "$srcdir/vlan_mon.conf" "$pkgdir/usr/lib/modules-load.d/vlan_mon.conf"
+}
+
+# vim:set ts=4 sw=4 et:
diff --git a/dkms.conf b/dkms.conf
new file mode 100644
index 00000000000..f48eac6eb17
--- /dev/null
+++ b/dkms.conf
@@ -0,0 +1,8 @@
+PACKAGE_NAME="accel-ppp-vlanmon-dkms-git"
+PACKAGE_VERSION=r1344.f5a97ed
+REMAKE_INITRD=no
+AUTOINSTALL=yes
+
+BUILT_MODULE_NAME="vlan_mon"
+DEST_MODULE_LOCATION="/kernel/misc"
+
diff --git a/vlan_mon.conf b/vlan_mon.conf
new file mode 100644
index 00000000000..50099bdca6d
--- /dev/null
+++ b/vlan_mon.conf
@@ -0,0 +1 @@
+vlan_mon