├── LICENSE ├── README.md ├── greetings-1.0 ├── debian │ ├── changelog │ ├── compat │ ├── control │ ├── copyright │ ├── docs │ ├── install │ ├── rules │ └── source │ │ └── format ├── hi.sh ├── hola.sh └── salut.sh └── greetings_1.0.orig.tar.gz /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2016 Computology, LLC 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Build debian packages for simple shell scripts 2 | This repo is intended to "follow along" a tutorial for creating debian packages containing shell scripts. 3 | The original post can be found on the packagecloud blog: 4 | 5 | [HOWTO: Build debian packages for simple shell scripts](https://blog.packagecloud.io/eng/2016/12/15/howto-build-debian-package-containing-simple-shell-scripts/) 6 | 7 | ### Thanks for reading! 8 | -------------------------------------------------------------------------------- /greetings-1.0/debian/changelog: -------------------------------------------------------------------------------- 1 | greetings (1.0-1) unstable; urgency=low 2 | 3 | * Initial release (Closes: #nnnn) 4 | 5 | -- Person McTester Thu, 15 Dec 2016 09:48:19 -0800 6 | -------------------------------------------------------------------------------- /greetings-1.0/debian/compat: -------------------------------------------------------------------------------- 1 | 8 2 | -------------------------------------------------------------------------------- /greetings-1.0/debian/control: -------------------------------------------------------------------------------- 1 | Source: greetings 2 | Section: unknown 3 | Priority: extra 4 | Maintainer: Person McTester 5 | Build-Depends: debhelper (>= 8.0.0) 6 | Standards-Version: 3.9.2 7 | Homepage: 8 | #Vcs-Git: git://git.debian.org/collab-maint/greetings.git 9 | #Vcs-Browser: http://git.debian.org/?p=collab-maint/greetings.git;a=summary 10 | 11 | Package: greetings 12 | Architecture: all 13 | Depends: ${misc:Depends} 14 | Description: 15 | 16 | -------------------------------------------------------------------------------- /greetings-1.0/debian/copyright: -------------------------------------------------------------------------------- 1 | Format: http://dep.debian.net/deps/dep5 2 | Upstream-Name: greetings 3 | Source: 4 | 5 | Files: * 6 | Copyright: 7 | 8 | License: 9 | 10 | 11 | . 12 | 13 | 14 | # If you want to use GPL v2 or later for the /debian/* files use 15 | # the following clauses, or change it to suit. Delete these two lines 16 | Files: debian/* 17 | Copyright: 2016 Person McTester 18 | License: GPL-2+ 19 | This package is free software; you can redistribute it and/or modify 20 | it under the terms of the GNU General Public License as published by 21 | the Free Software Foundation; either version 2 of the License, or 22 | (at your option) any later version. 23 | . 24 | This package is distributed in the hope that it will be useful, 25 | but WITHOUT ANY WARRANTY; without even the implied warranty of 26 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 27 | GNU General Public License for more details. 28 | . 29 | You should have received a copy of the GNU General Public License 30 | along with this program. If not, see 31 | . 32 | On Debian systems, the complete text of the GNU General 33 | Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". 34 | 35 | # Please also look if there are files or directories which have a 36 | # different copyright/license attached and list them here. 37 | -------------------------------------------------------------------------------- /greetings-1.0/debian/docs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computology/debian-package-shell-script-tutorial/bf042e2045254fd12d68732876c1edc7955149d5/greetings-1.0/debian/docs -------------------------------------------------------------------------------- /greetings-1.0/debian/install: -------------------------------------------------------------------------------- 1 | *.sh usr/bin 2 | -------------------------------------------------------------------------------- /greetings-1.0/debian/rules: -------------------------------------------------------------------------------- 1 | #!/usr/bin/make -f 2 | # -*- makefile -*- 3 | # Sample debian/rules that uses debhelper. 4 | # This file was originally written by Joey Hess and Craig Small. 5 | # As a special exception, when this file is copied by dh-make into a 6 | # dh-make output file, you may use that output file without restriction. 7 | # This special exception was added by Craig Small in version 0.37 of dh-make. 8 | 9 | # Uncomment this to turn on verbose mode. 10 | #export DH_VERBOSE=1 11 | 12 | %: 13 | dh $@ 14 | -------------------------------------------------------------------------------- /greetings-1.0/debian/source/format: -------------------------------------------------------------------------------- 1 | 3.0 (quilt) 2 | -------------------------------------------------------------------------------- /greetings-1.0/hi.sh: -------------------------------------------------------------------------------- 1 | echo "hi" 2 | -------------------------------------------------------------------------------- /greetings-1.0/hola.sh: -------------------------------------------------------------------------------- 1 | echo "hola" 2 | -------------------------------------------------------------------------------- /greetings-1.0/salut.sh: -------------------------------------------------------------------------------- 1 | echo "salut" 2 | -------------------------------------------------------------------------------- /greetings_1.0.orig.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computology/debian-package-shell-script-tutorial/bf042e2045254fd12d68732876c1edc7955149d5/greetings_1.0.orig.tar.gz --------------------------------------------------------------------------------