diff --git a/debian/debian/README b/debian/debian/README deleted file mode 100644 index cd434e771e1617387fc7c5bde6bbd9144b354cf5..0000000000000000000000000000000000000000 --- a/debian/debian/README +++ /dev/null @@ -1,6 +0,0 @@ -The Debian Package jenkins ----------------------------- - -Comments regarding the Package - - -- Kohsuke Kawaguchi Thu, 24 Apr 2008 23:38:55 -0700 diff --git a/debian/debian/compat b/debian/debian/compat index 7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69..ec635144f60048986bc560c5576355344005e6e7 100644 --- a/debian/debian/compat +++ b/debian/debian/compat @@ -1 +1 @@ -5 +9 diff --git a/debian/debian/control b/debian/debian/control index 5fc9249557d11111b9cb425b14210c36a2d5d1a1..7bba961c1898816890935e01bf9aa53c7205a33c 100644 --- a/debian/debian/control +++ b/debian/debian/control @@ -2,14 +2,15 @@ Source: jenkins Section: devel Priority: extra Maintainer: Kohsuke Kawaguchi -Build-Depends: debhelper (>= 5) -Standards-Version: 3.7.2 +Build-Depends: debhelper (>= 9) +Standards-Version: 3.9.4 Homepage: https://jenkins-ci.org/ Package: jenkins Architecture: all -Depends: ${shlibs:Depends}, ${misc:Depends}, daemon, adduser, psmisc, java2-runtime-headless | java2-runtime +Depends: ${shlibs:Depends}, ${misc:Depends}, daemon, adduser, psmisc, default-jre-headless | java-runtime-headless Conflicts: hudson Replaces: hudson -Description: Continuous integration system written in Java - Jenkins is an extensible continuous engine written in Java. +Description: continuous integration system + Jenkins is an application that monitors executions of repeated jobs, + such as building a software project or jobs run by cron. diff --git a/debian/debian/copyright b/debian/debian/copyright index 60f0fb112c9e91cad14d595f73765ab491ac154c..cbdffdc3e993eec5678115d76f8d9dc1a470e701 100644 --- a/debian/debian/copyright +++ b/debian/debian/copyright @@ -1,40 +1,25 @@ -This package was debianized by Kohsuke Kawaguchi on -Thu, 24 Apr 2008 23:38:55 -0700. - -It was downloaded from - -Upstream Author(s): - - - - -Copyright: - - - - -License: - - 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 package; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -On Debian systems, the complete text of the GNU General -Public License can be found in `/usr/share/common-licenses/GPL'. - -The Debian packaging is (C) 2008, Kohsuke Kawaguchi and -is licensed under the GPL, see above. - - -# Please also look if there are files or directories which have a -# different copyright/license attached and list them here. +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Jenkins +Upstream-Contact: http://jenkins-ci.org/ +Source: https://github.com/jenkinsci/jenkins + +Files: * +Copyright: 2004-, Kohsuke Kawaguchi, Sun Microsystems, Inc., and a number of other of contributors +License: Expat + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. diff --git a/debian/debian/cron.d.ex b/debian/debian/cron.d.ex deleted file mode 100644 index 0baf1d6cab9cdfd8b19d4e512b26f5ee83b3b2e1..0000000000000000000000000000000000000000 --- a/debian/debian/cron.d.ex +++ /dev/null @@ -1,4 +0,0 @@ -# -# Regular cron jobs for the jenkins package -# -0 4 * * * root jenkins_maintenance diff --git a/debian/debian/docs b/debian/debian/docs deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/debian/debian/dirs b/debian/debian/jenkins.dirs similarity index 62% rename from debian/debian/dirs rename to debian/debian/jenkins.dirs index a232932cba25db028bb507fcb4b68965669db04d..f5bfc0e7341f83756ebeaa3242e24c242d4bff63 100644 --- a/debian/debian/dirs +++ b/debian/debian/jenkins.dirs @@ -4,10 +4,6 @@ usr/share/jenkins # this is where JENKINS_HOME is stored, so let's leave it as is for now var/lib/jenkins -# Need to create jenkins's own directory to track the pid since the daemon is not run as root -# and doesn't have permission to write the pid to /var/run (which would be the preferred location). -var/run/jenkins - # Store jenkins log file in it's own directory since they can become rather large and in the future # rotating logs can be easily added. var/log/jenkins diff --git a/debian/debian/manpage.1.ex b/debian/debian/manpage.1.ex deleted file mode 100644 index 5e92b116d8043be1dbbdaa26a58adbda05599f61..0000000000000000000000000000000000000000 --- a/debian/debian/manpage.1.ex +++ /dev/null @@ -1,59 +0,0 @@ -.\" Hey, EMACS: -*- nroff -*- -.\" 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 JENKINS SECTION "April 25, 2008" -.\" 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 -jenkins \- program to do something -.SH SYNOPSIS -.B jenkins -.RI [ options ] " files" ... -.br -.B bar -.RI [ options ] " files" ... -.SH DESCRIPTION -This manual page documents briefly the -.B jenkins -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. -\fBjenkins\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. -.SH AUTHOR -jenkins was written by . -.PP -This manual page was written by Kohsuke Kawaguchi , -for the Debian project (but may be used by others). diff --git a/debian/debian/preinst.ex b/debian/debian/preinst.ex deleted file mode 100644 index a2db226767625eb47d51b231a8a055c87891c1bb..0000000000000000000000000000000000000000 --- a/debian/debian/preinst.ex +++ /dev/null @@ -1,37 +0,0 @@ -#!/bin/sh -# preinst script for jenkins -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * `install' -# * `install' -# * `upgrade' -# * `abort-upgrade' -# 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 - - diff --git a/debian/debian/prerm.ex b/debian/debian/prerm.ex deleted file mode 100644 index 8c43e74ce37fb7d41549fc3f247068363579a9ec..0000000000000000000000000000000000000000 --- a/debian/debian/prerm.ex +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/sh -# prerm script for jenkins -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * `remove' -# * `upgrade' -# * `failed-upgrade' -# * `remove' `in-favour' -# * `deconfigure' `in-favour' -# `removing' -# -# for details, see http://www.debian.org/doc/debian-policy/ or -# the debian-policy package - - -case "$1" in - remove|upgrade|deconfigure) - ;; - - 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 - - diff --git a/debian/debian/rules b/debian/debian/rules index 43b22eafc6684a708f948837415fd520fd295f80..2d33f6ac8992b7da84b39a5bca0742c4962d3349 100755 --- a/debian/debian/rules +++ b/debian/debian/rules @@ -1,89 +1,4 @@ #!/usr/bin/make -f -# -*- makefile -*- -# Sample debian/rules that uses debhelper. -# This file was originally written by Joey Hess and Craig Small. -# As a special exception, when this file is copied by dh-make into a -# dh-make output file, you may use that output file without restriction. -# This special exception was added by Craig Small in version 0.37 of dh-make. -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 - - -configure: configure-stamp -configure-stamp: - dh_testdir - # Add here commands to configure the package. - - touch configure-stamp - - -build: build-stamp - -build-stamp: configure-stamp - dh_testdir - - # Add here commands to compile the package. - - touch $@ - -clean: - dh_testdir - dh_testroot - rm -f build-stamp configure-stamp - - # Add here commands to clean up after the build process. - - dh_clean - -install: build - dh_testdir - dh_testroot - dh_clean -k - dh_installdirs - dh_install - - # Add here commands to install the package into debian/jenkins. - - # Moved creation of dirs to dirs template to be invoked by dh_installdirs - - # Moved copying of 'upstream' files (jenkins.war) to install template to be invoked by dh_install - #cp jenkins.war $(CURDIR)/debian/jenkins/usr/share/jenkins/jenkins.war - - -# Build architecture-independent files here. -binary-indep: build install -# We have nothing to do by default. - -# Build architecture-dependent files here. -binary-arch: build install - dh_testdir - dh_testroot - dh_installchangelogs - dh_installdocs - dh_installexamples -# dh_installmenu -# dh_installdebconf - dh_installlogrotate -# dh_installemacsen -# dh_installpam -# dh_installmime -# dh_python - dh_installinit -# dh_installcron -# dh_installinfo - dh_installman - dh_link - dh_strip - dh_compress - dh_fixperms -# dh_perl -# dh_makeshlibs - dh_installdeb - dh_shlibdeps - dh_gencontrol - dh_md5sums - dh_builddeb - -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install configure +%: + dh $@ diff --git a/debian/debian/source/format b/debian/debian/source/format new file mode 100644 index 0000000000000000000000000000000000000000..89ae9db8f88b823b6a7eabf55e203658739da122 --- /dev/null +++ b/debian/debian/source/format @@ -0,0 +1 @@ +3.0 (native) diff --git a/debian/debian/watch.ex b/debian/debian/watch.ex deleted file mode 100644 index 0439e053379db8434f699760c10c47091052ee67..0000000000000000000000000000000000000000 --- a/debian/debian/watch.ex +++ /dev/null @@ -1,22 +0,0 @@ -# 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 3 file -version=3 - -# Uncomment to examine a Webpage -# -#http://www.example.com/downloads.php jenkins-(.*)\.tar\.gz - -# Uncomment to examine a Webserver directory -#http://www.example.com/pub/jenkins-(.*)\.tar\.gz - -# Uncommment to examine a FTP server -#ftp://ftp.example.com/pub/jenkins-(.*)\.tar\.gz debian uupdate - -# Uncomment to find new files on sourceforge, for debscripts >= 2.9 -# http://sf.net/jenkins/jenkins-(.*)\.tar\.gz - -