Commit d89c01b9 authored by Daniel Reurich's avatar Daniel Reurich

Merge branch 'master' into 'suites/experimental'

merge from master

See merge request !7
parents eb623e1f 6de23c29
......@@ -20,7 +20,7 @@ else
ARCH ?= $(shell arch)
endif
PREFIX ?=
INCLUDE_PREFIX ?= $(PREFIX)
INCLUDE_PREFIX ?= $(PREFIX)/usr
BINDIR ?= $(PREFIX)/bin
SBINDIR ?= $(PREFIX)/sbin
LIBDIR ?= $(PREFIX)/lib
......
Document: vdev
Title: Debian vdev Manual
Author: <insert document author here>
Abstract: This manual describes what vdev is
and how it can be used to
manage online manuals on Debian systems.
Section: unknown
Format: debiandoc-sgml
Files: /usr/share/doc/vdev/vdev.sgml.gz
Format: postscript
Files: /usr/share/doc/vdev/vdev.ps.gz
Format: text
Files: /usr/share/doc/vdev/vdev.text.gz
Format: HTML
Index: /usr/share/doc/vdev/html/index.html
Files: /usr/share/doc/vdev/html/*.html
#!/bin/sh
# postinst script for vdev
# postinst script for vdevd
#
# see: dh_installdeb(1)
......@@ -17,11 +17,10 @@ set -e
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
UDEVTGZ=/usr/share/vdev/udev-initramfs.tgz
IT=/usr/share/initramfs-tools
case "$1" in
configure)
/lib/vdev/gen-ifnames.sh >> /etc/vdev/ifnames.conf
# Capture important udev files for later restoration
tar czf $UDEVTGZ -C $IT init $(find $IT -name udev -printf '%P ')
# Chose vdev
......
#!/bin/sh
# prerm script for vdev-initramfs
# prerm script for vdevd
#
# see: dh_installdeb(1)
......@@ -16,11 +16,12 @@ set -e
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
case "$1" in
remove|upgrade|deconfigure)
# Try to be polite and restore those udev files
/usr/share/vdev/vdev-install.sh udev
rm -f /usr/share/vdev/udev-initramfs.tgz
rm -f /etc/vdev/ifnames.conf
;;
failed-upgrade)
......
The Debian Package libudev1-compat
----------------------------
Comments regarding the Package
-- Ralph Ronnquist <ralph.ronnquist@gmail.com> Thu, 12 Jan 2017 21:14:17 +1100
libudev1-compat for Debian
--------------------------
<possible notes regarding this package - if none, delete this file>
-- Ralph Ronnquist <ralph.ronnquist@gmail.com> Thu, 12 Jan 2017 21:14:17 +1100
libudev1-compat for Debian
--------------------------
<this file describes information about the source package, see Debian policy
manual section 4.14. You WILL either need to modify or delete this file>
-- Ralph Ronnquist <ralph.ronnquist@gmail.com> Thu, 12 Jan 2017 21:14:17 +1100
libudev1-compat (1.2.2) unstable; urgency=low
* Added all packaging control script
-- Ralph Ronnquist <ralph.ronnquist@gmail.com> Thu, 12 Jan 2017 21:55:55 +1000
libudev1-compat (1.2.1) unstable; urgency=low
* Declared SONAME libudev.so.1 so as to persist link setting
-- Ralph Ronnquist <ralph.ronnquist@gmail.com> Wed, 07 Sep 2016 18:39:05 +1000
libudev1-compat (1.2) unstable; urgency=low
* Reverted to free-standing packaging (not replacing libudev1)
-- Ralph Ronnquist <ralph.ronnquist@gmail.com> Wed, 07 Sep 2016 18:39:05 +1000
libudev1-compat (1.1) unstable; urgency=low
* Packaging setup to provide, conflict and replace libudev1
-- Ralph Ronnquist <ralph.ronnquist@gmail.com> Sun, 04 Sep 2016 11:19:48 +1000
libudev1-compat (1.0beta-1) unstable; urgency=low
* Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP>
-- Ralph Ronnquist <ralph.ronnquist@gmail.com> Sun, 28 Aug 2016 11:19:48 +1000
Source: libudev1-compat
Section: admin
Priority: important
Maintainer: Ralph Ronnquist <ralph.ronnquist@gmail.com>
Build-Depends: debhelper (>= 9)
Standards-Version: 3.9.5
Homepage: https://git.devuan.org/ralph.ronnquist/vdev
Package: libudev1-compat
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: Vdev is a portable userspace device-file manager.
Vdev is a portable userspace device-file manager for UNIX-like
operating systems. It differs from existing device-file managers in
that it provides an optional filesystem interface that implements a
per-process view of /dev, thereby giving the host administrator the
means to control device node access based on arbitrary criteria (such
as process session ID, process seat assignment, etc.).
.
This package provides libudev1 compatbility library for using vdev
as /dev manager instead of udev.
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: libudev1-compat
Source: <url://example.com>
Files: *
Copyright: <years> <put author's name and email here>
<years> <likewise for another author>
License: LGPL-3.0+
Files: debian/*
Copyright: 2017 Ralph Ronnquist <ralph.ronnquist@gmail.com>
License: LGPL-3.0+
License: LGPL-3.0+
This package is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 3 of the License, or (at your option) any later version.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU Lesser General
Public License can be found in "/usr/share/common-licenses/LGPL-3".
# Please also look if there are files or directories which have a
# different copyright/license attached and list them here.
# Please avoid to pick license terms that are more restrictive than the
# packaged work, as it may make Debian's contributions unacceptable upstream.
libudev1-compat_1.2.1_amd64.deb admin important
dh_auto_configure
dh_auto_build
dh_auto_test
dh_prep
dh_auto_install
dh_installdocs
dh_installchangelogs
dh_perl
dh_link
dh_compress
dh_fixperms
dh_strip
dh_makeshlibs
dh_shlibdeps
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
dh_builddeb
# Automatically added by dh_makeshlibs
if [ "$1" = "configure" ]; then
ldconfig
fi
# End automatically added section
# Automatically added by dh_makeshlibs
if [ "$1" = "remove" ]; then
ldconfig
fi
# End automatically added section
misc:Pre-Depends=multiarch-support
shlibs:Depends=libc6 (>= 2.17)
misc:Depends=
#!/bin/sh
# postrm script for libudev1-compat
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <postrm> `remove'
# * <postrm> `purge'
# * <old-postrm> `upgrade' <new-version>
# * <new-postrm> `failed-upgrade' <old-version>
# * <new-postrm> `abort-install'
# * <new-postrm> `abort-install' <old-version>
# * <new-postrm> `abort-upgrade' <old-version>
# * <disappearer's-postrm> `disappear' <overwriter>
# <overwriter-version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
case "$1" in
purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
;;
*)
echo "postrm 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
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#DH_VERBOSE = 1
# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk
# see FEATURE AREAS in dpkg-buildflags(1)
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# see ENVIRONMENT in dpkg-buildflags(1)
# package maintainers to append CFLAGS
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
# package maintainers to append LDFLAGS
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
# main packaging script based on dh7 syntax
%:
dh $@
# debmake generated override targets
# This is example for Cmake (See http://bugs.debian.org/641051 )
#override_dh_auto_configure:
# dh_auto_configure -- \
# -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)
vdev (1.2.8) unstable; urgency=low
* Added all packaging scripts
-- Ralph Ronnquist <ralph.ronnquist@gmail.com> Thu, 12 Jan 2017 22:18:45 +1000
vdev (1.2.7) unstable; urgency=low
* Updated vdev-install.sh script to manage libudev.so better
-- Ralph Ronnquist <ralph.ronnquist@gmail.com> Wed, 12 Oct 2016 15:14:44 +1000
vdev (1.2.6) unstable; urgency=low
* Updated vdev-install.sh script to manage libudev.so better
-- Ralph Ronnquist <ralph.ronnquist@gmail.com> Wed, 12 Oct 2016 11:04:59 +1000
vdev (1.2.5) unstable; urgency=low
* Polishing package installation, and vdev-install.sh script.
-- Ralph Ronnquist <ralph.ronnquist@gmail.com> Sun, 02 Oct 2016 13:21:51 +1000
vdev (1.2.4) unstable; urgency=low
* Improved vdev-install.sh to use /etc/insserv/overrides for avoiding that insserv sees conflicting definitions of "udev".
-- Ralph Ronnquist <ralph.ronnquist@gmail.com> Fri, 30 Sep 2016 23:23:18 +1000
vdev (1.2.3) unstable; urgency=low
* Updated vdev-install.sh to juggle libudev.so.1 link better
-- Ralph Ronnquist <ralph.ronnquist@gmail.com> Sat, 10 Sep 2016 15:22:02 +1000
vdev (1.2.2) unstable; urgency=low
* Made pre-pivot run quiet, and corrected the init-bottom script
-- Ralph Ronnquist <ralph.ronnquist@gmail.com> Sat, 10 Sep 2016 15:22:02 +1000
vdev (1.2.1) unstable; urgency=low
* Added a prerm script to revert to udev before removing vdev.
-- Ralph Ronnquist <ralph.ronnquist@gmail.com> Sat, 10 Sep 2016 15:22:02 +1000
vdev (1.2) unstable; urgency=low
* Included a postinst script for manual choice between udev and vdev.
-- Ralph Ronnquist <ralph.ronnquist@gmail.com> Wed, 07 Sep 2016 18:39:05 +1000
vdev (1.1) unstable; urgency=low
* Revision attempting to play nicely with udev
-- Ralph Ronnquist <ralph.ronnquist@gmail.com> Sun, 04 Sep 2016 11:19:57 +1000
vdev (1.0beta-1) unstable; urgency=low
* Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP>
-- Ralph Ronnquist <ralph.ronnquist@gmail.com> Sun, 28 Aug 2016 11:19:57 +1000
Source: vdev
Section: admin
Priority: important
Maintainer: Ralph Ronnquist <ralph.ronnquist@gmail.com>
Build-Depends: debhelper (>= 9)
Standards-Version: 3.9.5
Homepage: https://git.devuan.org/ralph.ronnquist/vdev
Package: vdev-initramfs
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, vdevd, libudev1-compat
Suggests: dialog
Description: Vdev is a portable userspace device-file manager.
Vdev is a portable userspace device-file manager for UNIX-like
operating systems. It differs from existing device-file managers in
that it provides an optional filesystem interface that implements a
per-process view of /dev, thereby giving the host administrator the
means to control device node access based on arbitrary criteria (such
as process session ID, process seat assignment, etc.).
.
This package provides the setup for adding vdevd to initramfs, and
the control script for choice between vdev and udev.
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#DH_VERBOSE = 1
# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk
# see FEATURE AREAS in dpkg-buildflags(1)
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# see ENVIRONMENT in dpkg-buildflags(1)
# package maintainers to append CFLAGS
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
# package maintainers to append LDFLAGS
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
# main packaging script based on dh7 syntax
%:
dh $@
# debmake generated override targets
# This is example for Cmake (See http://bugs.debian.org/641051 )
#override_dh_auto_configure:
# dh_auto_configure -- \
# -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)
vdevd (2.0.3) unstable; urgency=low
* Populated all build scripts, including prerm to remove the udev script capture, and thus allow /usr/share/vdev to be removed.
-- Ralph Ronnquist <ralph.ronnquist@gmail.com> Thu, 12 Jan 2017 21:47:55 +1000
vdevd (2.0.2) unstable; urgency=low
* Correction to hwdb access via DEVPATH, i.e. idVendor/idProduct.
-- Ralph Ronnquist <ralph.ronnquist@gmail.com> Tue, 11 Oct 2016 00:14:58 +1000
vdevd (2.0.1) unstable; urgency=low
* Corrections to compiled rules handling.
-- Ralph Ronnquist <ralph.ronnquist@gmail.com> Mon, 10 Oct 2016 14:24:55 +1000
vdevd (2.0) unstable; urgency=low
* First attempt with "compiled rules" acivated.
* Includes the actions and helpers for beta testing of compiled rules.
-- Ralph Ronnquist <ralph.ronnquist@gmail.com> Sun, 09 Oct 2016 09:22:26 +1000
vdevd (1.2.2) unstable; urgency=low
* Moved overrides file to /etc/insserv/overrides/vdev
* Changed initial loglevel to "info"
-- Ralph Ronnquist <ralph.ronnquist@gmail.com> Sun, 02 Oct 2016 13:24:23 +1000
vdevd (1.2.1) unstable; urgency=low
* Moved all postinst activity from here into the vded-initramfs package
* Added /etc/vdev/insserv-overrides-udev template to support choice between udev and vdev
* Included compiled udev rules into hwdb (without supporting actions)
-- Ralph Ronnquist <ralph.ronnquist@gmail.com> Fri, 30 Sep 2016 22:57:59 +1000
vdevd (1.2) unstable; urgency=low
* No longer provides "udev".
-- Ralph Ronnquist <ralph.ronnquist@gmail.com> Wed, 07 Sep 2016 18:39:05 +1000
vdevd (1.1) unstable; urgency=low
* Versioning consolidation
-- Ralph Ronnquist <ralph.ronnquist@gmail.com> Sun, 04 Sep 2016 00:17:55 +1000
vdevd (1.0beta-3) unstable; urgency=low
* Change to include all runtime configuration.
-- Ralph Ronnquist <ralph.ronnquist@gmail.com> Tue, 02 Sep 2016 00:17:55 +1000
vdevd (1.0beta-2) unstable; urgency=low
* Added first draft of man pages.
-- Ralph Ronnquist <ralph.ronnquist@gmail.com> Tue, 30 Aug 2016 12:50:13 +1000
vdevd (1.0beta-1) unstable; urgency=low
* Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP>
-- Ralph Ronnquist <ralph.ronnquist@gmail.com> Sun, 28 Aug 2016 11:19:35 +1000
Source: vdevd
Section: admin
Priority: important
Maintainer: Ralph Ronnquist <ralph.ronnquist@gmail.com>
Build-Depends: debhelper (>= 9)
Standards-Version: 3.9.5
Homepage: https://git.devuan.org/ralph.ronnquist/vdev
Package: vdevd
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: Vdev is a portable userspace device-file manager.
Vdev is a portable userspace device-file manager for UNIX-like
operating systems. It differs from existing device-file managers in
that it provides an optional filesystem interface that implements a
per-process view of /dev, thereby giving the host administrator the
means to control device node access based on arbitrary criteria (such
as process session ID, process seat assignment, etc.).
.
This package provides the runtime daemon for using vdev as /dev
manager.
#!/bin/sh
# postinst script for vdevd
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <postinst> `configure' <most-recently-configured-version>
# * <old-postinst> `abort-upgrade' <new version>
# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
# <new-version>
# * <postinst> `abort-remove'
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
# <failed-install-package> <version> `removing'
# <conflicting-package> <version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
case "$1" in
configure)
/lib/vdev/gen-ifnames.sh >> /etc/vdev/ifnames.conf
;;
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
#!/bin/sh
# postrm script for vdevd
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <postrm> `remove'
# * <postrm> `purge'
# * <old-postrm> `upgrade' <new-version>
# * <new-postrm> `failed-upgrade' <old-version>
# * <new-postrm> `abort-install'
# * <new-postrm> `abort-install' <old-version>
# * <new-postrm> `abort-upgrade' <old-version>
# * <disappearer's-postrm> `disappear' <overwriter>
# <overwriter-version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
case "$1" in
purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
;;
*)
echo "postrm 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
#!/bin/sh
# preinst script for vdevd
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <new-preinst> `install'
# * <new-preinst> `install' <old-version>
# * <new-preinst> `upgrade' <old-version>
# * <old-preinst> `abort-upgrade' <new-version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
case "$1" in
install|upgrade)
;;
abort-upgrade)
;;
*)
echo "preinst 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
#!/bin/sh
# prerm script for vdevd
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <prerm> `remove'
# * <old-prerm> `upgrade' <new-version>
# * <new-prerm> `failed-upgrade' <old-version>
# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
# * <deconfigured's-prerm> `deconfigure' `in-favour'
# <package-being-installed> <version> `removing'
# <conflicting-package> <version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
case "$1" in
remove|upgrade|deconfigure)
rm -f /usr/share/vdev/udev-initramfs.tgz
;;
failed-upgrade)
;;
*)
echo "prerm 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
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#DH_VERBOSE = 1
# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk
# see FEATURE AREAS in dpkg-buildflags(1)
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# see ENVIRONMENT in dpkg-buildflags(1)
# package maintainers to append CFLAGS
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
# package maintainers to append LDFLAGS
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
# main packaging script based on dh7 syntax
%:
dh $@
# debmake generated override targets
# This is example for Cmake (See http://bugs.debian.org/641051 )
#override_dh_auto_configure:
# dh_auto_configure -- \
# -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment