From 43774b5aeed25dd07c59ad9cbbe3da176b5698f8 Mon Sep 17 00:00:00 2001 From: B Stack Date: Thu, 1 Oct 2020 21:17:58 -0400 Subject: add initial dpkg recipe --- debian/README.Debian | 6 ++++++ debian/changelog | 5 +++++ debian/control | 18 +++++++++++++++++ debian/copyright | 39 ++++++++++++++++++++++++++++++++++++ debian/myautomount.dsc | 14 +++++++++++++ debian/myautomount.lintian-overrides | 3 +++ debian/patches/series | 1 + debian/rules | 12 +++++++++++ debian/source/format | 1 + debian/source/lintian-overrides | 2 ++ debian/source/local-options | 2 ++ debian/watch | 2 ++ 12 files changed, 105 insertions(+) create mode 100644 debian/README.Debian create mode 100644 debian/changelog create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/myautomount.dsc create mode 100644 debian/myautomount.lintian-overrides create mode 100644 debian/patches/series create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/source/lintian-overrides create mode 100644 debian/source/local-options create mode 100644 debian/watch diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..2f6c706 --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,6 @@ +myautomount for Debian + +This is the package provided by the upstream author, and not by any +distro. + + -- Ben Stack Thu, 01 Oct 2020 20:55:28 -0400 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..154e96a --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +myautomount (0.0.1-1) obs; urgency=low + + * Initial release. Closes: packages-want#9999 + + -- Ben Stack Thu, 01 Oct 2020 20:55:28 -0400 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..dd833f5 --- /dev/null +++ b/debian/control @@ -0,0 +1,18 @@ +Source: myautomount +Section: utils +Priority: optional +Maintainer: Ben Stack +Build-Depends: debhelper-compat (= 12), + bgscripts-core, + txt2man +Standards-Version: 4.5.0 +Homepage: https://bgstack15.wordpress.com/ + +Package: myautomount +Architecture: all +Multi-Arch: foreign +Depends: ${misc:Depends}, ${shlibs:Depends}, + python3:any +Description: automount removable media + Myautomount provides a daemon and tray icon that + make your removable media easily accessible. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..ca5c172 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,39 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: myautomount +Upstream-Contact: +Source: +# +# Please double check copyright with the licensecheck(1) command. + +Files: .gitignore + README.md + licenses/CC-BY-SA-4.0 + myautomount.spec + src/Makefile + src/etc/myautomount.conf + src/etc/sudoers.d/40_myautomount_sudo + src/usr/bin/myautomount-trayicon + src/usr/libexec/myautomount/myautomount-initialize.sh + src/usr/libexec/myautomount/myautomount-trayicon.py + src/usr/share/applications/myautomount-trayicon.desktop + src/usr/share/applications/myautomountd.desktop + src/usr/share/doc/myautomount/myautomount.conf.example + src/usr/share/man/man1/myautomount-trayicon.1.txt + src/usr/share/man/man1/myautomountd.1.txt +Copyright: __NO_COPYRIGHT_NOR_LICENSE__ +License: __NO_COPYRIGHT_NOR_LICENSE__ + +Files: licenses/BSD-2-Clause + src/usr/bin/myautomountd +Copyright: __NO_COPYRIGHT__ in: licenses/BSD-2-Clause +License: BSD-2-Clause + Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + . + 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + . + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +#---------------------------------------------------------------------------- +# Files marked as NO_LICENSE_TEXT_FOUND may be covered by the following +# license/copyright files. diff --git a/debian/myautomount.dsc b/debian/myautomount.dsc new file mode 100644 index 0000000..6e133ae --- /dev/null +++ b/debian/myautomount.dsc @@ -0,0 +1,14 @@ +Format: 3.0 (quilt) +Source: myautomount +Binary: myautomount +Architecture: all +Version: 0.0.1-1 +Maintainer: Ben Stack +Homepage: https://bgstack15.wordpress.com/ +Standards-Version: 4.5.0 +Build-Depends: debhelper-compat (= 12), bgscripts-core, txt2man +Package-List: + myautomount deb utils optional arch=all +Files: + 00000000000000000000000000000000 1 myautomount.orig.tar.gz + 00000000000000000000000000000000 1 myautomount.debian.tar.xz diff --git a/debian/myautomount.lintian-overrides b/debian/myautomount.lintian-overrides new file mode 100644 index 0000000..3335d12 --- /dev/null +++ b/debian/myautomount.lintian-overrides @@ -0,0 +1,3 @@ +copyright-has-url-from-dh_make-boilerplate +copyright-without-copyright-notice +desktop-entry-uses-reserved-category TrayIcon * diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..4a97dfa --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +# You must remove unused comment lines for the released package. diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..40c9745 --- /dev/null +++ b/debian/rules @@ -0,0 +1,12 @@ +#!/usr/bin/make -f +# You must remove unused comment lines for the released package. +#export DH_VERBOSE = 1 +#export DEB_BUILD_MAINT_OPTIONS = hardening=+all +#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic +#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed + +%: + dh $@ --sourcedirectory=src + +override_dh_auto_install: + dh_auto_install -- prefix=/usr DEFAULTDIR='$$(DESTDIR)/etc/default' diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides new file mode 100644 index 0000000..2da37ed --- /dev/null +++ b/debian/source/lintian-overrides @@ -0,0 +1,2 @@ +file-without-copyright-information +missing-license-paragraph-in-dep5-copyright diff --git a/debian/source/local-options b/debian/source/local-options new file mode 100644 index 0000000..00131ee --- /dev/null +++ b/debian/source/local-options @@ -0,0 +1,2 @@ +#abort-on-upstream-changes +#unapply-patches diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..76575dc --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +# You must remove unused comment lines for the released package. +version=3 -- cgit