From bc5ca05f454653d42eb2750faa1e9f78ec97506c Mon Sep 17 00:00:00 2001 From: Sven Hoexter Date: Thu, 22 Aug 2019 17:33:50 +0200 Subject: [PATCH] Import Debian changes 1.5-1 jattach (1.5-1) unstable; urgency=medium * Initial release (Closes: #nnnn) --- debian/README.Debian | 6 ++++ debian/README.source | 10 +++++++ debian/changelog | 5 ++++ debian/compat | 1 + debian/control | 18 ++++++++++++ debian/copyright | 38 ++++++++++++++++++++++++++ debian/dirs | 1 + debian/jattach-docs.docs | 2 ++ debian/jattach.doc-base.EX | 20 ++++++++++++++ debian/manpage.1.ex | 56 ++++++++++++++++++++++++++++++++++++++ debian/rules | 11 ++++++++ debian/source/format | 1 + debian/watch.ex | 38 ++++++++++++++++++++++++++ 13 files changed, 207 insertions(+) create mode 100644 debian/README.Debian create mode 100644 debian/README.source create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/dirs create mode 100644 debian/jattach-docs.docs create mode 100644 debian/jattach.doc-base.EX create mode 100644 debian/manpage.1.ex create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/watch.ex diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..c7c5825 --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,6 @@ +jattach for Debian +----------------- + + + + -- sven Thu, 22 Aug 2019 17:33:17 +0200 diff --git a/debian/README.source b/debian/README.source new file mode 100644 index 0000000..cc9ddac --- /dev/null +++ b/debian/README.source @@ -0,0 +1,10 @@ +jattach for Debian +----------------- + + + + + + -- sven Thu, 22 Aug 2019 17:33:17 +0200 + diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..763a9a5 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +jattach (1.5-1) unstable; urgency=medium + + * Initial release (Closes: #nnnn) + + -- Sven Hoexter Thu, 22 Aug 2019 17:33:50 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..b4de394 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +11 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..df8e0e5 --- /dev/null +++ b/debian/control @@ -0,0 +1,18 @@ +Source: jattach +Section: Java +Priority: optional +Maintainer: Sven Hoexter +Build-Depends: debhelper (>= 11) +Standards-Version: 4.1.3 +Homepage: https://github.com/apangin/jattach +#Vcs-Browser: https://salsa.debian.org/debian/jattach +#Vcs-Git: https://salsa.debian.org/debian/jattach.git + +Package: jattach +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: JVM Dynamic Attach utility a all in one jmap jstack jcmd jinfo + jattach is a utility implementing commands for the JVM Dynamic Attach machenism. + Instead of installing a complete JDK you can use this small utility to query + information from your running JVM. + diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..f97adeb --- /dev/null +++ b/debian/copyright @@ -0,0 +1,38 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: jattach +Source: + +Files: * +Copyright: + +License: + + + . + + +# If you want to use GPL v2 or later for the /debian/* files use +# the following clauses, or change it to suit. Delete these two lines +Files: debian/* +Copyright: 2019 sven +License: GPL-2+ + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 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 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 + . + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". + +# Please also look if there are files or directories which have a +# different copyright/license attached and list them here. +# Please avoid picking licenses with terms that are more restrictive than the +# packaged work, as it may make Debian's contributions unacceptable upstream. diff --git a/debian/dirs b/debian/dirs new file mode 100644 index 0000000..0b11bef --- /dev/null +++ b/debian/dirs @@ -0,0 +1 @@ +/usr/bin \ No newline at end of file diff --git a/debian/jattach-docs.docs b/debian/jattach-docs.docs new file mode 100644 index 0000000..efea0a6 --- /dev/null +++ b/debian/jattach-docs.docs @@ -0,0 +1,2 @@ +README.Debian +README.source diff --git a/debian/jattach.doc-base.EX b/debian/jattach.doc-base.EX new file mode 100644 index 0000000..e3a6be2 --- /dev/null +++ b/debian/jattach.doc-base.EX @@ -0,0 +1,20 @@ +Document: jattach +Title: Debian jattach Manual +Author: +Abstract: This manual describes what jattach is + and how it can be used to + manage online manuals on Debian systems. +Section: unknown + +Format: debiandoc-sgml +Files: /usr/share/doc/jattach/jattach.sgml.gz + +Format: postscript +Files: /usr/share/doc/jattach/jattach.ps.gz + +Format: text +Files: /usr/share/doc/jattach/jattach.text.gz + +Format: HTML +Index: /usr/share/doc/jattach/html/index.html +Files: /usr/share/doc/jattach/html/*.html diff --git a/debian/manpage.1.ex b/debian/manpage.1.ex new file mode 100644 index 0000000..74cb296 --- /dev/null +++ b/debian/manpage.1.ex @@ -0,0 +1,56 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" (C) Copyright 2019 sven , +.\" +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH Jattach SECTION "August 22 2019" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +jattach \- program to do something +.SH SYNOPSIS +.B jattach +.RI [ options ] " files" ... +.br +.B bar +.RI [ options ] " files" ... +.SH DESCRIPTION +This manual page documents briefly the +.B jattach +and +.B bar +commands. +.PP +.\" TeX users may be more comfortable with the \fB\fP and +.\" \fI\fP escape sequences to invode bold face and italics, +.\" respectively. +\fBjattach\fP is a program that... +.SH OPTIONS +These programs follow the usual GNU command line syntax, with long +options starting with two dashes (`-'). +A summary of options is included below. +For a complete description, see the Info files. +.TP +.B \-h, \-\-help +Show summary of options. +.TP +.B \-v, \-\-version +Show version of program. +.SH SEE ALSO +.BR bar (1), +.BR baz (1). +.br +The programs are documented fully by +.IR "The Rise and Fall of a Fooish Bar" , +available via the Info system. diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..bc1e602 --- /dev/null +++ b/debian/rules @@ -0,0 +1,11 @@ +#!/usr/bin/make -f +export DH_VERBOSE = 1 + +export DEB_BUILD_MAINT_OPTIONS = hardening=+all +export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed + +%: + dh $@ + +override_dh_auto_install: + install --mode=755 build/jattach debian/jattach/usr/bin/jattach 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/watch.ex b/debian/watch.ex new file mode 100644 index 0000000..29b95b4 --- /dev/null +++ b/debian/watch.ex @@ -0,0 +1,38 @@ +# Example watch control file for uscan +# Rename this file to "watch" and then you can run the "uscan" command +# to check for upstream updates and more. +# See uscan(1) for format + +# Compulsory line, this is a version 4 file +version=4 + +# PGP signature mangle, so foo.tar.gz has foo.tar.gz.sig +#opts="pgpsigurlmangle=s%$%.sig%" + +# HTTP site (basic) +#http://example.com/downloads.html \ +# files/jattach-([\d\.]+)\.tar\.gz debian uupdate + +# Uncomment to examine an FTP server +#ftp://ftp.example.com/pub/jattach-(.*)\.tar\.gz debian uupdate + +# SourceForge hosted projects +# http://sf.net/jattach/ jattach-(.*)\.tar\.gz debian uupdate + +# GitHub hosted projects +#opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%-$1.tar.gz%" \ +# https://github.com//jattach/tags \ +# (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate + +# PyPI +# https://pypi.debian.net/jattach/jattach-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz))) + +# Direct Git +# opts="mode=git" http://git.example.com/jattach.git \ +# refs/tags/v([\d\.]+) debian uupdate + + + + +# Uncomment to find new files on GooglePages +# http://example.googlepages.com/foo.html jattach-(.*)\.tar\.gz -- 2.39.2