From d9fc4be48641bc7116e4dacbdb5e3115c3181a89 Mon Sep 17 00:00:00 2001 From: "Sergey V. Lobanov" Date: Tue, 28 May 2024 21:46:28 +0200 Subject: build: add dkms support for ipoe and vlan_mon drivers, ci optimizations Signed-off-by: Sergey V. Lobanov --- drivers/dkms/ipoe/debian/accel-ppp-ipoe-dkms.dkms | 5 +++++ drivers/dkms/ipoe/debian/changelog | 5 +++++ drivers/dkms/ipoe/debian/compat | 1 + drivers/dkms/ipoe/debian/control | 11 +++++++++++ drivers/dkms/ipoe/debian/rules | 18 ++++++++++++++++++ 5 files changed, 40 insertions(+) create mode 100644 drivers/dkms/ipoe/debian/accel-ppp-ipoe-dkms.dkms create mode 100644 drivers/dkms/ipoe/debian/changelog create mode 100644 drivers/dkms/ipoe/debian/compat create mode 100644 drivers/dkms/ipoe/debian/control create mode 100755 drivers/dkms/ipoe/debian/rules (limited to 'drivers/dkms/ipoe/debian') diff --git a/drivers/dkms/ipoe/debian/accel-ppp-ipoe-dkms.dkms b/drivers/dkms/ipoe/debian/accel-ppp-ipoe-dkms.dkms new file mode 100644 index 00000000..47543fe5 --- /dev/null +++ b/drivers/dkms/ipoe/debian/accel-ppp-ipoe-dkms.dkms @@ -0,0 +1,5 @@ +PACKAGE_NAME="accel-ppp-ipoe" +PACKAGE_VERSION="#MODULE_VERSION" +AUTOINSTALL=yes +BUILT_MODULE_NAME="ipoe" +DEST_MODULE_LOCATION="/updates/dkms" diff --git a/drivers/dkms/ipoe/debian/changelog b/drivers/dkms/ipoe/debian/changelog new file mode 100644 index 00000000..6c003b46 --- /dev/null +++ b/drivers/dkms/ipoe/debian/changelog @@ -0,0 +1,5 @@ +accel-ppp-ipoe-dkms (1.13.0) unstable; urgency=low + + * First ipoe dkms package + + -- Sergey V. Lobanov Wed, 29 May 2024 11:30:13 +0200 diff --git a/drivers/dkms/ipoe/debian/compat b/drivers/dkms/ipoe/debian/compat new file mode 100644 index 00000000..f599e28b --- /dev/null +++ b/drivers/dkms/ipoe/debian/compat @@ -0,0 +1 @@ +10 diff --git a/drivers/dkms/ipoe/debian/control b/drivers/dkms/ipoe/debian/control new file mode 100644 index 00000000..def5d0ab --- /dev/null +++ b/drivers/dkms/ipoe/debian/control @@ -0,0 +1,11 @@ +Source: accel-ppp-ipoe-dkms +Maintainer: Dmitry Kozlov +Build-Depends: debhelper (>= 10), dkms +Homepage: https://www.accel-ppp.io/ + +Package: accel-ppp-ipoe-dkms +Architecture: all +Priority: optional +Section: kernel +Depends: dkms (>= 1.95), linux-headers-686-pae | linux-headers-amd64 | linux-headers-generic | linux-headers, ${misc:Depends} +Description: DKMS source for the accel-ppp-ipoe driver diff --git a/drivers/dkms/ipoe/debian/rules b/drivers/dkms/ipoe/debian/rules new file mode 100755 index 00000000..704a41a8 --- /dev/null +++ b/drivers/dkms/ipoe/debian/rules @@ -0,0 +1,18 @@ +#!/usr/bin/make -f + +include /usr/share/dpkg/pkg-info.mk + +%: + dh $@ --with dkms + +override_dh_install: + dh_install src/* usr/src/accel-ppp-ipoe-$(DEB_VERSION_UPSTREAM)/ + +override_dh_dkms: + dh_dkms -V $(DEB_VERSION_UPSTREAM) + +override_dh_auto_configure: +override_dh_auto_build: +override_dh_auto_test: +override_dh_auto_install: +override_dh_auto_clean: -- cgit v1.2.3