diff --git a/.debian/DEBIAN/control b/.debian/DEBIAN/control index 53e7a58..c739763 100644 --- a/.debian/DEBIAN/control +++ b/.debian/DEBIAN/control @@ -1,18 +1,15 @@ -Package: linux-firmware -Source: linux-firmware -Version: 20221006-1 -Architecture: all -Multi-Arch: foreign +Package: mattermost +Source: mattermost +Version: 7.3.0 +Architecture: amd64 Maintainer: Jeff Carr Installed-Size: 5883 -Depends: linux-base | systemd -Recommends: initramfs-tools -Replaces: firmware-linux-nonfree, firmware-amd-graphics -Suggests: initramfs-tools -Section: non-free/kernel +Section: network Priority: optional -Homepage: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/ -Description: linux-firmware - Raw package unchanged from the kernel maintainers +Homepage: https://github.com/mattermost/mattermost-server +Description: mattermost + Raw tarball from upstream. + . + Files moved to be stored in /var/mattermost . This packaging is a test and may not work diff --git a/.debian/Makefile b/.debian/Makefile index cc2408b..106f39a 100644 --- a/.debian/Makefile +++ b/.debian/Makefile @@ -1,28 +1,22 @@ -all: clean add-firmware-files md5sum create info +DEB=mattermost_7.3.0_amd64.deb + +all: md5sum create info info: - dpkg-deb --info linux-firmware.deb + dpkg-deb --info ${DEB} clean: - rm -rf linux-firmware.deb - rm -rf control.tar.xz data.tar.xz linux-firmware.deb - rm -rf files/lib/firmware - rm -f files/usr/share/doc/linux-firmware/git-whatchanged - -add-firmware-files: - mkdir -p files/lib/firmware - cp -a ../[a-zA-Z0123456789]* files/lib/firmware/ + rm -rf control.tar.xz data.tar.xz ${DEB} + rm -rf files/opt # debian stores the calcuated md5sum checksums for each file in the package md5sum: cd files/ && find -type f -exec md5sum '{}' \; >../DEBIAN/md5sums create: - git whatchanged > files/usr/share/doc/linux-firmware/git-whatchanged cd DEBIAN && tar --ignore-failed-read -cvJf ../control.tar.xz {post,pre}{inst,rm} md5sums control cd files && tar -cvJf ../data.tar.xz . - ar rcs linux-firmware.deb debian-binary control.tar.xz data.tar.xz + ar rcs ${DEB} debian-binary control.tar.xz data.tar.xz install: - dpkg --install linux-firmware.deb - update-initramfs -k all -c + dpkg --install ${DEB}