committing changes in /etc made by "apt install wireguard"

Package changes:
+dkms 2.6.1-4 all
+wireguard-tools 0.0.20191206-1 armhf
Joshua Dye 5 years ago
parent 1b9fce4261
commit a589bfdae8

@ -52,6 +52,7 @@ mkdir -p './usb_modeswitch.d'
mkdir -p './vulkan/explicit_layer.d'
mkdir -p './vulkan/icd.d'
mkdir -p './vulkan/implicit_layer.d'
mkdir -p './wireguard'
maybe chmod 0755 '.'
maybe chmod 0700 '.etckeeper'
maybe chmod 0644 '.fstab'
@ -803,6 +804,29 @@ maybe chmod 0644 'dhcp/options.conf'
maybe chgrp 'netdev' 'dhcpcd.conf'
maybe chmod 0664 'dhcpcd.conf'
maybe chmod 0644 'dhcpcd.duid'
maybe chmod 0755 'dkms'
maybe chmod 0644 'dkms/framework.conf'
maybe chmod 0755 'dkms/template-dkms-mkbmdeb'
maybe chmod 0644 'dkms/template-dkms-mkbmdeb/Makefile'
maybe chmod 0755 'dkms/template-dkms-mkbmdeb/debian'
maybe chmod 0644 'dkms/template-dkms-mkbmdeb/debian/README.Debian'
maybe chmod 0644 'dkms/template-dkms-mkbmdeb/debian/changelog'
maybe chmod 0644 'dkms/template-dkms-mkbmdeb/debian/compat'
maybe chmod 0644 'dkms/template-dkms-mkbmdeb/debian/control'
maybe chmod 0644 'dkms/template-dkms-mkbmdeb/debian/copyright'
maybe chmod 0755 'dkms/template-dkms-mkbmdeb/debian/rules'
maybe chmod 0755 'dkms/template-dkms-mkdeb'
maybe chmod 0644 'dkms/template-dkms-mkdeb/Makefile'
maybe chmod 0755 'dkms/template-dkms-mkdeb/debian'
maybe chmod 0644 'dkms/template-dkms-mkdeb/debian/README.Debian'
maybe chmod 0644 'dkms/template-dkms-mkdeb/debian/changelog'
maybe chmod 0644 'dkms/template-dkms-mkdeb/debian/compat'
maybe chmod 0644 'dkms/template-dkms-mkdeb/debian/control'
maybe chmod 0644 'dkms/template-dkms-mkdeb/debian/copyright'
maybe chmod 0644 'dkms/template-dkms-mkdeb/debian/dirs'
maybe chmod 0755 'dkms/template-dkms-mkdeb/debian/postinst'
maybe chmod 0755 'dkms/template-dkms-mkdeb/debian/prerm'
maybe chmod 0755 'dkms/template-dkms-mkdeb/debian/rules'
maybe chmod 0644 'dnsmasq.conf'
maybe chmod 0755 'dnsmasq.d'
maybe chmod 0644 'dnsmasq.d/01-pihole.conf'
@ -1256,12 +1280,17 @@ maybe chmod 0644 'iproute2/rt_tables.d/README'
maybe chmod 0644 'issue'
maybe chmod 0644 'issue.net'
maybe chmod 0755 'kernel'
maybe chmod 0755 'kernel/header_postinst.d'
maybe chmod 0755 'kernel/header_postinst.d/dkms'
maybe chmod 0755 'kernel/install.d'
maybe chmod 0755 'kernel/postinst.d'
maybe chmod 0755 'kernel/postinst.d/apt-auto-removal'
maybe chmod 0755 'kernel/postinst.d/dkms'
maybe chmod 0755 'kernel/postinst.d/initramfs-tools'
maybe chmod 0755 'kernel/postrm.d'
maybe chmod 0755 'kernel/postrm.d/initramfs-tools'
maybe chmod 0755 'kernel/prerm.d'
maybe chmod 0755 'kernel/prerm.d/dkms'
maybe chmod 0644 'ld.so.conf'
maybe chmod 0755 'ld.so.conf.d'
maybe chmod 0644 'ld.so.conf.d/00-vmcs.conf'
@ -8718,6 +8747,7 @@ maybe chmod 0644 'mke2fs.conf'
maybe chmod 0755 'modprobe.d'
maybe chmod 0644 'modprobe.d/blacklist-8192cu.conf'
maybe chmod 0644 'modprobe.d/blacklist-rtl8xxxu.conf'
maybe chmod 0644 'modprobe.d/dkms.conf'
maybe chmod 0644 'modprobe.d/ipv6.conf'
maybe chmod 0644 'modprobe.d/raspi-blacklist.conf'
maybe chmod 0644 'modules'
@ -8886,6 +8916,9 @@ maybe chmod 0664 'pihole/pihole-FTL.conf'
maybe chown 'pihole' 'pihole/pihole-FTL.db'
maybe chgrp 'pihole' 'pihole/pihole-FTL.db'
maybe chmod 0644 'pihole/pihole-FTL.db'
maybe chown 'pihole' 'pihole/pihole-FTL.db-journal'
maybe chgrp 'pihole' 'pihole/pihole-FTL.db-journal'
maybe chmod 0644 'pihole/pihole-FTL.db-journal'
maybe chown 'pihole' 'pihole/regex.list'
maybe chgrp 'www-data' 'pihole/regex.list'
maybe chmod 0664 'pihole/regex.list'
@ -9128,6 +9161,7 @@ maybe chmod 0755 'vulkan/implicit_layer.d'
maybe chmod 0644 'wgetrc'
maybe chmod 0755 'wildmidi'
maybe chmod 0644 'wildmidi/wildmidi.cfg'
maybe chmod 0700 'wireguard'
maybe chmod 0755 'wpa_supplicant'
maybe chmod 0755 'wpa_supplicant/action_wpa.sh'
maybe chmod 0755 'wpa_supplicant/functions.sh'

@ -0,0 +1,28 @@
## This configuration file modifies the behavior of
## DKMS (Dynamic Kernel Module Support) and is sourced
## in by DKMS every time it is run.
## Source Tree Location (default: /usr/src)
# source_tree="/usr/src"
## DKMS Tree Location (default: /var/lib/dkms)
# dkms_tree="/var/lib/dkms"
## Install Tree Location (default: /lib/modules)
# install_tree="/lib/modules"
## tmp Location (default: /tmp)
# tmp_location="/tmp"
## verbosity setting (verbose will be active if you set it to a non-null value)
# verbose=""
## symlink kernel modules (will be active if you set it to a non-null value)
## This creates symlinks from the install_tree into the dkms_tree instead of
## copying the modules. This preserves some space on the costs of being less
## safe.
# symlink_modules=""
## Automatic installation and upgrade for all installed kernels (if set to a
## non-null value)
# autoinstall_all_kernels=""

@ -0,0 +1,18 @@
#/usr/bin/make
SRC = $(DESTDIR)/usr/src
SHARE = $(DESTDIR)/usr/share/$(NAME)-dkms
all:
clean:
install:
#tarball, possibly with binaries
ifeq ("$(wildcard $(NAME)-$(VERSION).dkms.tar.gz)", "$(NAME)-$(VERSION).dkms.tar.gz")
tar zxvf "$(NAME)-$(VERSION).dkms.tar.gz"
install -d "$(DESTDIR)/lib/modules/$(KVER)/updates/dkms/"
install -m 644 dkms_main_tree/$(KVER)/$(KARCH)/module/*.ko "$(DESTDIR)/lib/modules/$(KVER)/updates/dkms/"
rm -rf dkms_main_tree/ dkms_binaries_only/
endif

@ -0,0 +1,5 @@
MODULE_NAME DKMS module for Debian
This package was automatically generated by the DKMS system,
for distribution on Debian based operating systems.

@ -0,0 +1,6 @@
DEBIAN_PACKAGE-dkms-bin (MODULE_VERSION) stable; urgency=low
* Automatically packaged by DKMS.
-- Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org> DATE_STAMP

@ -0,0 +1,14 @@
Source: DEBIAN_PACKAGE-dkms-bin
Section: misc
Priority: optional
Maintainer: Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>
Build-Depends: debhelper (>= 7), dkms
Standards-Version: 3.8.1
Package: DEBIAN_PACKAGE-modules-KERNEL_VERSION
Architecture: DEBIAN_BUILD_ARCH
Depends: ${misc:Depends}, linux-image-KERNEL_VERSION
Provides: DEBIAN_PACKAGE-modules
Description: DEBIAN_PACKAGE binary drivers for linux-image-KERNEL_VERSION
This package contains DEBIAN_PACKAGE drivers for the KERNEL_VERSION Linux kernel,
built from DEBIAN_PACKAGE-dkms for the DEBIAN_BUILD_ARCH architecture.

@ -0,0 +1,2 @@
This copyright has not been completed by the author of this package.

@ -0,0 +1,58 @@
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
DEB_NAME=DEBIAN_PACKAGE
NAME=MODULE_NAME
VERSION=MODULE_VERSION
KVER=KERNEL_VERSION
configure: configure-stamp
configure-stamp:
dh_testdir
touch configure-stamp
build: build-stamp
build-stamp: configure-stamp
dh_testdir
$(MAKE)
touch $@
clean:
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
-$(MAKE) clean
dh_clean
install: build
dh_testdir
dh_testroot
dh_prep
dh_installdirs
$(MAKE) DESTDIR=$(CURDIR)/debian/$(DEB_NAME)-modules-$(KVER) NAME=$(NAME) VERSION=$(VERSION) install
binary-arch: build install
binary-indep: build install
dh_testdir
dh_testroot
dh_link
dh_strip
dh_compress
dh_installmodules
dh_installdocs
dh_installchangelogs
dh_fixperms
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure

@ -0,0 +1,28 @@
#/usr/bin/make
SRC = $(DESTDIR)/usr/src
SHARE = $(DESTDIR)/usr/share/$(NAME)-dkms
all:
clean:
install:
#source tree
ifeq ("$(wildcard $(NAME)-$(VERSION))", "$(NAME)-$(VERSION)")
install -d "$(SRC)"
cp -a $(NAME)-$(VERSION) $(SRC)
chmod 644 -R "$(SRC)/$(NAME)-$(VERSION)"
endif
#tarball, possibly with binaries
ifeq ("$(wildcard $(NAME)-$(VERSION).dkms.tar.gz)", "$(NAME)-$(VERSION).dkms.tar.gz")
install -d "$(SHARE)"
install -m 644 $(NAME)-$(VERSION).dkms.tar.gz "$(SHARE)"
endif
#postinst, only if we are supporting legacy mode
ifeq ("$(wildcard common.postinst)", "common.postinst")
install -d "$(SHARE)"
install -m 755 $(PREFIX)/usr/lib/dkms/common.postinst $(SHARE)/postinst
endif

@ -0,0 +1,5 @@
MODULE_NAME DKMS module for Debian
This package was automatically generated by the DKMS system,
for distribution on Debian based operating systems.

@ -0,0 +1,6 @@
DEBIAN_PACKAGE-dkms (MODULE_VERSION) stable; urgency=low
* Automatically packaged by DKMS.
-- Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org> DATE_STAMP

@ -0,0 +1,11 @@
Source: DEBIAN_PACKAGE-dkms
Section: misc
Priority: optional
Maintainer: Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>
Build-Depends: debhelper (>= 7), dkms
Standards-Version: 3.8.1
Package: DEBIAN_PACKAGE-dkms
Architecture: DEBIAN_BUILD_ARCH
Depends: dkms (>= 1.95), ${misc:Depends}
Description: DEBIAN_PACKAGE driver in DKMS format.

@ -0,0 +1,2 @@
This copyright has not been completed by the author of this package.

@ -0,0 +1,49 @@
#!/bin/sh
# Copyright (C) 2002-2005 Flavio Stanchina
# Copyright (C) 2005-2006 Aric Cyr
# Copyright (C) 2007 Mario Limonciello
# Copyright (C) 2009 Alberto Milone
set -e
NAME=MODULE_NAME
PACKAGE_NAME=$NAME-dkms
DEB_NAME=$(echo $PACKAGE_NAME | sed 's,_,-,')
CVERSION=`dpkg-query -W -f='${Version}' $DEB_NAME | awk -F "-" '{print $1}' | cut -d\: -f2`
ARCH=`dpkg --print-architecture`
dkms_configure () {
for POSTINST in /usr/lib/dkms/common.postinst "/usr/share/$PACKAGE_NAME/postinst"; do
if [ -f "$POSTINST" ]; then
"$POSTINST" "$NAME" "$CVERSION" "/usr/share/$PACKAGE_NAME" "$ARCH" "$2"
return $?
fi
echo "WARNING: $POSTINST does not exist." >&2
done
echo "ERROR: DKMS version is too old and $PACKAGE_NAME was not" >&2
echo "built with legacy DKMS support." >&2
echo "You must either rebuild $PACKAGE_NAME with legacy postinst" >&2
echo "support or upgrade DKMS to a more current version." >&2
return 1
}
case "$1" in
configure)
dkms_configure
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0

@ -0,0 +1,28 @@
#!/bin/sh
NAME=MODULE_NAME
VERSION=MODULE_VERSION
set -e
case "$1" in
remove|upgrade|deconfigure)
if [ "`dkms status -m $NAME`" ]; then
dkms remove -m $NAME -v $VERSION --all
fi
;;
failed-upgrade)
;;
*)
echo "prerm called with unknown argument \`$1'" >&2
exit 1
;;
esac
#DEBHELPER#
exit 0

@ -0,0 +1,54 @@
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
DEB_NAME=DEBIAN_PACKAGE
NAME=MODULE_NAME
VERSION=MODULE_VERSION
configure: configure-stamp
configure-stamp:
dh_testdir
touch configure-stamp
build: build-stamp
build-stamp: configure-stamp
dh_testdir
$(MAKE)
touch $@
clean:
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
-$(MAKE) clean
dh_clean
install: build
dh_testdir
dh_testroot
dh_prep
dh_installdirs
$(MAKE) DESTDIR=$(CURDIR)/debian/$(DEB_NAME)-dkms NAME=$(NAME) VERSION=$(VERSION) install
binary-arch: build install
binary-indep: build install
dh_testdir
dh_testroot
dh_link
dh_strip
dh_compress
dh_fixperms
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure

@ -0,0 +1 @@
template-dkms-mkdeb

@ -0,0 +1,46 @@
#!/bin/bash
# We're passed the version of the kernel being installed
inst_kern=$1
uname_s=$(uname -s)
_get_kernel_dir() {
KVER=$1
case ${uname_s} in
Linux) DIR="/lib/modules/$KVER/build" ;;
GNU/kFreeBSD) DIR="/usr/src/kfreebsd-headers-$KVER/sys" ;;
esac
echo $DIR
}
_check_kernel_dir() {
DIR=$(_get_kernel_dir $1)
case ${uname_s} in
Linux) test -e $DIR/include ;;
GNU/kFreeBSD) test -e $DIR/kern && test -e $DIR/conf/kmod.mk ;;
*) return 1 ;;
esac
return $?
}
case "${uname_s}" in
Linux)
header_pkg="linux-headers-$inst_kern"
kernel="Linux"
;;
GNU/kFreeBSD)
header_pkg="kfreebsd-headers-$inst_kern"
kernel="kFreeBSD"
;;
esac
if [ -x /usr/lib/dkms/dkms_autoinstaller ]; then
exec /usr/lib/dkms/dkms_autoinstaller start $inst_kern > /dev/null
fi
if ! _check_kernel_dir $inst_kern ; then
echo "dkms: WARNING: $kernel headers are missing, which may explain the above failures." >&2
echo " please install the $header_pkg package to fix this." >&2
fi

@ -0,0 +1,46 @@
#!/bin/bash
# We're passed the version of the kernel being installed
inst_kern=$1
uname_s=$(uname -s)
_get_kernel_dir() {
KVER=$1
case ${uname_s} in
Linux) DIR="/lib/modules/$KVER/build" ;;
GNU/kFreeBSD) DIR="/usr/src/kfreebsd-headers-$KVER/sys" ;;
esac
echo $DIR
}
_check_kernel_dir() {
DIR=$(_get_kernel_dir $1)
case ${uname_s} in
Linux) test -e $DIR/include ;;
GNU/kFreeBSD) test -e $DIR/kern && test -e $DIR/conf/kmod.mk ;;
*) return 1 ;;
esac
return $?
}
case "${uname_s}" in
Linux)
header_pkg="linux-headers-$inst_kern"
kernel="Linux"
;;
GNU/kFreeBSD)
header_pkg="kfreebsd-headers-$inst_kern"
kernel="kFreeBSD"
;;
esac
if [ -x /usr/lib/dkms/dkms_autoinstaller ]; then
exec /usr/lib/dkms/dkms_autoinstaller start $inst_kern > /dev/null
fi
if ! _check_kernel_dir $inst_kern ; then
echo "dkms: WARNING: $kernel headers are missing, which may explain the above failures." >&2
echo " please install the $header_pkg package to fix this." >&2
fi

@ -0,0 +1,30 @@
#!/bin/bash
# We're passed the version of the kernel being removed
inst_kern=$1
# This is applied from make_initrd function in dkms command, which
# creates the possible initrd backup file.
remove_initrd_backup() {
for initrd in "initrd-$1.img" "initramfs-$1.img" "initrd.img-$1" "initrd-$1"; do
rm -fv /boot/"${initrd}".old-dkms >&2
done
}
if [ -x /usr/sbin/dkms ]; then
while read line; do
name=`echo "$line" | awk '{print $1}' | sed 's/,$//'`
vers=`echo "$line" | awk '{print $2}' | sed 's/,$//'`
arch=`echo "$line" | awk '{print $4}' | sed 's/:$//'`
echo "dkms: removing: $name $vers ($inst_kern) ($arch)" >&2
dkms uninstall -m $name -v $vers -k $inst_kern -a $arch
done < <(dkms status -k $inst_kern 2>/dev/null | grep ": installed")
fi
remove_initrd_backup "$inst_kern"
rmdir --ignore-fail-on-non-empty \
"/lib/modules/$inst_kern/updates/dkms" \
"/lib/modules/$inst_kern/updates" 2>/dev/null
exit 0

@ -0,0 +1,4 @@
# modprobe information used for DKMS modules
#
# This is a stub file, should be edited when needed,
# used by default by DKMS.
Loading…
Cancel
Save