提交 df606403 编写于 作者: K Kohsuke Kawaguchi

Merge branch 'master' of ssh://github.com/jenkinsci/jenkins

The Debian Package jenkins
----------------------------
Comments regarding the Package
-- Kohsuke Kawaguchi <kk@kohsuke.org> Thu, 24 Apr 2008 23:38:55 -0700
...@@ -2,14 +2,15 @@ Source: jenkins ...@@ -2,14 +2,15 @@ Source: jenkins
Section: devel Section: devel
Priority: extra Priority: extra
Maintainer: Kohsuke Kawaguchi <kk@kohsuke.org> Maintainer: Kohsuke Kawaguchi <kk@kohsuke.org>
Build-Depends: debhelper (>= 5) Build-Depends: debhelper (>= 9)
Standards-Version: 3.7.2 Standards-Version: 3.9.4
Homepage: https://jenkins-ci.org/ Homepage: https://jenkins-ci.org/
Package: jenkins Package: jenkins
Architecture: all 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 Conflicts: hudson
Replaces: hudson Replaces: hudson
Description: Continuous integration system written in Java Description: continuous integration system
Jenkins is an extensible continuous engine written in Java. Jenkins is an application that monitors executions of repeated jobs,
such as building a software project or jobs run by cron.
This package was debianized by Kohsuke Kawaguchi <kk@kohsuke.org> on Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Thu, 24 Apr 2008 23:38:55 -0700. Upstream-Name: Jenkins
Upstream-Contact: http://jenkins-ci.org/
It was downloaded from <url://example.com> Source: https://github.com/jenkinsci/jenkins
Upstream Author(s): Files: *
Copyright: 2004-, Kohsuke Kawaguchi, Sun Microsystems, Inc., and a number of other of contributors
<put author's name and email here> License: Expat
<likewise for another author> Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Copyright: in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
<Copyright (C) YYYY Name OfAuthor> copies of the Software, and to permit persons to whom the Software is
<likewise for another author> furnished to do so, subject to the following conditions:
.
License: The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
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 SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
the Free Software Foundation; either version 2 of the License, or IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
(at your option) any later version. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
This package is distributed in the hope that it will be useful, LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
but WITHOUT ANY WARRANTY; without even the implied warranty of OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the THE SOFTWARE.
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 <kk@kohsuke.org> 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.
#
# Regular cron jobs for the jenkins package
#
0 4 * * * root jenkins_maintenance
...@@ -4,10 +4,6 @@ usr/share/jenkins ...@@ -4,10 +4,6 @@ usr/share/jenkins
# this is where JENKINS_HOME is stored, so let's leave it as is for now # this is where JENKINS_HOME is stored, so let's leave it as is for now
var/lib/jenkins 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 # 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. # rotating logs can be easily added.
var/log/jenkins var/log/jenkins
......
.\" 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 <n> 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<whatever>\fP and
.\" \fI<whatever>\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 <upstream author>.
.PP
This manual page was written by Kohsuke Kawaguchi <kk@kohsuke.org>,
for the Debian project (but may be used by others).
#!/bin/sh
# preinst script for jenkins
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <new-preinst> `install'
# * <new-preinst> `install' <old-version>
# * <new-preinst> `upgrade' <old-version>
# * <old-preinst> `abort-upgrade' <new-version>
# 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
#!/bin/sh
# prerm script for jenkins
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <prerm> `remove'
# * <old-prerm> `upgrade' <new-version>
# * <new-prerm> `failed-upgrade' <old-version>
# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
# * <deconfigured's-prerm> `deconfigure' `in-favour'
# <package-being-installed> <version> `removing'
# <conflicting-package> <version>
# 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
#!/usr/bin/make -f #!/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 dh $@
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
# 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
# <Webpage URL> <string match>
#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
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册