Skip to content

Commit

Permalink
Initial debian/ packaging
Browse files Browse the repository at this point in the history
Signed-off-by: Joachim Nilsson <[email protected]>
  • Loading branch information
troglobit committed Apr 27, 2019
1 parent bfb3711 commit a840b55
Show file tree
Hide file tree
Showing 10 changed files with 71 additions and 0 deletions.
4 changes: 4 additions & 0 deletions debian/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
*.substvars
autoreconf.*
debhelper-build-stamp
files
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
jush (0.1) unstable; urgency=low

* Initial Debian packaging.

-- Joachim Nilsson <[email protected]> Sat, 27 Apr 2019 14:32:29 +0200

1 change: 1 addition & 0 deletions debian/compat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
10
25 changes: 25 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
Source: jush
Section: shells
Priority: optional
Maintainer: Joachim Nilsson <[email protected]>
Homepage: https://github.com/troglobit/jush
Build-Depends: debhelper (>= 10)
Vcs-Git: https://github.com/troglobit/jush.git
Vcs-Browser: https://github.com/troglobit/jush/commits/
Standards-Version: 4.3.0

Package: jush
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: just a useless shell
jush is an almost useless shell for UNIX systems. It support the following
features:
- Pipes using `|`
- Backgrounding using `&`
- Basic job control
- Redirect, basic using `<` and `>`
- Command separation using `;`
- Conditional execution `cmd && cmd` and `cmd || cmd`
- Environment variables (basic)
- Command completion
- Filename completion
19 changes: 19 additions & 0 deletions debian/copyright
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: jush
Upstream-Contact: [email protected]
Source: https://github.com/troglobit/jush

Files: *
Copyright: 2019 Joachim Nilsson <[email protected]>
License: ISC
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1 change: 1 addition & 0 deletions debian/docs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
README.md
10 changes: 10 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/usr/bin/make -f
# export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
dh $@

override_dh_auto_install:
dh_auto_install
find debian/ -name LICENSE -delete
1 change: 1 addition & 0 deletions debian/source/format
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.0 (native)
1 change: 1 addition & 0 deletions debian/source/options
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
compression=xz
3 changes: 3 additions & 0 deletions debian/watch
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
version=3
opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/jush-$1\.tar\.gz/ \
https://github.com/troglobit/jush/releases .*/jush-?(\d\S*)\.tar\.gz

0 comments on commit a840b55

Please sign in to comment.