diff --git a/mrmShared/linux/debian/changelog b/mrmShared/linux/debian/changelog index e10fef0c..1e2e91c5 100644 --- a/mrmShared/linux/debian/changelog +++ b/mrmShared/linux/debian/changelog @@ -1,4 +1,4 @@ -mrf-dkms (3-0) unstable; urgency=medium +mrfioc2-dkms (3-0) unstable; urgency=medium * Initial package diff --git a/mrmShared/linux/debian/control b/mrmShared/linux/debian/control index 680174b5..d5fa3bae 100644 --- a/mrmShared/linux/debian/control +++ b/mrmShared/linux/debian/control @@ -1,10 +1,10 @@ -Source: mrf-dkms +Source: mrfioc2-dkms Section: devel Priority: extra Maintainer: Gabriel Fedel Build-Depends: debhelper (>= 9),dkms -Package: mrf-dkms +Package: mrfioc2-dkms Architecture: all Depends: ${misc:Depends}, Description: EPICS Driver for MRF timing cards diff --git a/mrmShared/linux/debian/copyright b/mrmShared/linux/debian/copyright index a9e9d964..d41e6208 100644 --- a/mrmShared/linux/debian/copyright +++ b/mrmShared/linux/debian/copyright @@ -14,9 +14,8 @@ Upstream Authors: Copyright: - Copyright (c) 2015 Brookhaven Science Associates as operator of - Brookhaven National Lab - Copyright (c) 2016 Michael Davidsaver + Copyright (c) 1991-2007 UChicago Argonne LLC and The Regents of the + University of California. All rights reserved. License: diff --git a/mrmShared/linux/debian/mrf-dkms.dkms b/mrmShared/linux/debian/mrfioc2-dkms.dkms similarity index 100% rename from mrmShared/linux/debian/mrf-dkms.dkms rename to mrmShared/linux/debian/mrfioc2-dkms.dkms diff --git a/mrmShared/linux/debian/mrf-dkms.postinst.in b/mrmShared/linux/debian/mrfioc2-dkms.postinst.in similarity index 100% rename from mrmShared/linux/debian/mrf-dkms.postinst.in rename to mrmShared/linux/debian/mrfioc2-dkms.postinst.in diff --git a/mrmShared/linux/debian/mrf-dkms.udev b/mrmShared/linux/debian/mrfioc2-dkms.udev similarity index 100% rename from mrmShared/linux/debian/mrf-dkms.udev rename to mrmShared/linux/debian/mrfioc2-dkms.udev diff --git a/mrmShared/linux/debian/rules b/mrmShared/linux/debian/rules index 1f22bb94..fef88d54 100755 --- a/mrmShared/linux/debian/rules +++ b/mrmShared/linux/debian/rules @@ -3,18 +3,19 @@ export DH_VERBOSE=1 include /usr/share/dpkg/pkg-info.mk +include CONFIG %: dh $@ --with dkms override_dh_install: - dh_install *.c usr/src/mrf-$(DEB_VERSION_UPSTREAM)/ - dh_install *.h usr/src/mrf-$(DEB_VERSION_UPSTREAM)/ - dh_install K* usr/src/mrf-$(DEB_VERSION_UPSTREAM)/ - dh_install Makefile usr/src/mrf-$(DEB_VERSION_UPSTREAM)/ - dh_install patchize.sh usr/src/mrf-$(DEB_VERSION_UPSTREAM)/ - dh_install README.md usr/src/mrf-$(DEB_VERSION_UPSTREAM)/ - dh_install debian/mrf-dkms.udev usr/src/mrf-$(DEB_VERSION_UPSTREAM)/50-mrf.rules + dh_install *.c usr/src/$(PKG_NAME)-$(DEB_VERSION_UPSTREAM)/ + dh_install *.h usr/src/$(PKG_NAME)-$(DEB_VERSION_UPSTREAM)/ + dh_install K* usr/src/$(PKG_NAME)-$(DEB_VERSION_UPSTREAM)/ + dh_install Makefile usr/src/$(PKG_NAME)-$(DEB_VERSION_UPSTREAM)/ + dh_install patchize.sh usr/src/$(PKG_NAME)-$(DEB_VERSION_UPSTREAM)/ + dh_install README.md usr/src/$(PKG_NAME)-$(DEB_VERSION_UPSTREAM)/ + dh_install debian/$(PKG_NAME).udev usr/src/$(PKG_NAME)-$(DEB_VERSION_UPSTREAM)/50-$(PKG_NAME).rules override_dh_dkms: dh_dkms -V $(DEB_VERSION_UPSTREAM) @@ -27,6 +28,6 @@ override_dh_auto_clean: override_dh_installudev: dh_installudev --priority=50 override_dh_installdeb: - cat debian/mrf-dkms.postinst.in > debian/mrf-dkms.postinst - cat debian/mrf-dkms.postinst.debhelper >> debian/mrf-dkms.postinst + cat debian/$(PKG_NAME).postinst.in > debian/$(PKG_NAME).postinst + cat debian/$(PKG_NAME).postinst.debhelper >> debian/$(PKG_NAME).postinst dh_installdeb