[DRE-commits] [SCM] camping.git branch, master, updated. upstream/2.1-4-gfac3896

Paul van Tilburg paul at luon.net
Sat Sep 24 21:35:21 UTC 2011


The following commit has been merged in the master branch:
commit b6916eed5bad8619da0c42dd7e2a65c05c2490c6
Author: Paul van Tilburg <paul at luon.net>
Date:   Sat Sep 24 22:32:57 2011 +0200

    Merged changes from the old camping package.

diff --git a/debian/camping.1 b/debian/camping.1
new file mode 100644
index 0000000..f890888
--- /dev/null
+++ b/debian/camping.1
@@ -0,0 +1,46 @@
+.TH CAMPING "1" "May 2010" "camping 2.0" "User Commands"
+.SH NAME
+camping \- small Ruby web framework for MVC type applications
+.SH SYNOPSIS
+.B camping
+\fIapp1.rb app2.rb\fR...
+.SH DESCRIPTION
+Camping is a web framework which consistently stays at less than 4kb of
+code.  The idea here is to store a complete fledgling web application
+(written in Ruby) in a single file like many small CGIs, but to organize
+it as a Model-View-Controller application like Rails does.  You can then
+easily move it to Rails once you've got it going.
+.SS "Specific options:"
+.TP
+\fB\-h\fR, \fB\-\-host\fR HOSTNAME
+Host for web server to bind to (default is all IPs)
+.TP
+\fB\-p\fR, \fB\-\-port\fR NUM
+Port for web server (defaults to 3301)
+.TP
+\fB\-d\fR, \fB\-\-database\fR FILE
+SQLite3 database path (defaults to ~/.camping.db)
+.TP
+\fB\-C\fR, \fB\-\-console\fR
+Run in console mode with IRB
+.TP
+\fB\-s\fR, \fB\-\-server\fR NAME
+Server to force (mongrel, webrick, console)
+.SS "Common options:"
+.TP
+\-?, \fB\-\-help\fR
+Show this message
+.TP
+\fB\-v\fR, \fB\-\-version\fR
+Show version
+.SH FILES
+.TP
+\fB~/.camping.db\fR
+The default database file.
+.SH SEE ALSO
+The Camping website on http://camping.rubyforge.org/.
+.SH AUTHOR
+This manual page was written by Paul van Tilburg <paulvt at debian.org>,
+for the Debian GNU/Linux system (but may be used by others).
+
+
diff --git a/debian/camping.docs b/debian/camping.docs
deleted file mode 100644
index 786a9ba..0000000
--- a/debian/camping.docs
+++ /dev/null
@@ -1,2 +0,0 @@
-# FIXME: READMEs found
-# README
diff --git a/debian/camping.examples b/debian/camping.examples
deleted file mode 100644
index d970cc8..0000000
--- a/debian/camping.examples
+++ /dev/null
@@ -1,3 +0,0 @@
-# FIXME: examples/ dir found in source. Consider installing the examples.
-# Examples:
-# examples/*
diff --git a/debian/changelog b/debian/changelog
index afbe712..506c43c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,109 @@
 camping (2.1-1) UNRELEASED; urgency=low
 
-  * Initial release (Closes: #nnnn)
+  * New upstream release (closes: #640065).
+  * Source packages adapted according to the new Ruby policy:
+    - Build for both ruby1.8 and ruby1.9.1 (Closes: #550806)
+    - Migrated to pkg-ruby-extras git repos. Changed the Vcs-* fields in
+      debian/control accordingly.
+    - Changed the depends and recommends to follow the new Ruby
+      library naming scheme.
+  * debian/README.Debian: dropped; there is no longer the need to explain
+      the depend on rails as we can depend on activerecord specifcally now
+      since the rails splitup.
+  * debian/control:
+    - Added a default DM-Upload-Allowed field set to yes.
+    - Standards-Version bumped to 3.9.2; no changes required.
+    - Set XS-Ruby-Versions to all.
+    - Changed the build-depends for using gem2deb instead of ruby-pkg-tools.
+    - Added a build-depend on ruby-rack-test required for running tests.
+    - Switched the maintainer with the uploaders field as per new
+      convention the team is the default maintainer.
+  * debian/copyright: reworked to fit the DEP5 format. 
+  * debian/ruby-test.rb: adapted to run the test apps from test/.
+  * debian/rules: ignore the tests for now (one test inexplicably fails). 
 
- -- Paul van Tilburg <paulvt at debian.org>  Sat, 24 Sep 2011 21:35:48 +0200
+ -- Paul van Tilburg <paulvt at debian.org>  Sat, 24 Sep 2011 22:29:15 +0200
+
+camping (2.0-2) unstable; urgency=low
+
+  * Although activerecord is not needed for an Camping application, it is
+    used by the camping binary (camping/server) during development.
+  * debian/rules:
+    - The recommend on mongrel is not necessary, demoted to suggests.
+    - Replaced recommend on libactivesupport-ruby1.8 by the actually
+      intented libactiverecord-ruby1.8.
+
+ -- Paul van Tilburg <paulvt at debian.org>  Wed, 16 Jun 2010 23:28:46 +0200
+
+camping (2.0-1) unstable; urgency=low
+
+  * New upstream release.
+  * Camping has been adopted by the community after _why's disappearance,
+    due to this, the main site and code was moved.
+  * debian/camping.1: added, manpage no longer provided by upstream.
+  * debian/control:
+    - Bumped standards version to 3.8.4.
+    - Updated the depends, now depends on librack-ruby1.8 and no
+      longer depends on but recommends libmarkaby-ruby1.8.
+    - Dropped the recommend on rails now that it has been split up.
+    - Added libactiverecord-ruby1.8, mongrel and ${misc:Depends} to
+      the recommends.
+  * debian/copyright: updated for the new download location.
+  * debian/docs: added to install the generated RDoc documentation.
+  * debian/patches/01_add-activerecord-activesupport-loadpath.diff:
+      dropped, since the rails split up the libraries are available
+      in $LOAD_PATH.
+  * debian/README.Debian: update the text to reflect that Camping now
+    not depends but just recommends active record and support.
+  * debian/rules:
+    - Removed the manpage generation since the source is no
+      longer provided.
+    - Generate and install RDoc documentation.
+  * debian/watch: updated for the new location on Github.
+
+ -- Paul van Tilburg <paulvt at debian.org>  Tue, 01 Jun 2010 22:14:14 +0200
+
+camping (1.5+svn242-1) unstable; urgency=low
+
+  * New Subversion snapshot (close to 1.6 release).
+  * Replaced 01_add-activesupport-loadpath patch by
+    01_add-activerecord-activesupport-loadpatch to add active_record too.
+  * Bumped standards version to 3.7.3; no changes required.
+  * debian/control:
+    - Added Vcs-* fields to debian/control.
+    - Changed depend on ruby into ruby1.8.
+
+ -- Paul van Tilburg <paulvt at debian.org>  Mon, 31 Mar 2008 22:16:14 +0200
+
+camping (1.5+svn186-2) unstable; urgency=low
+
+  * First upload to Debian unstable.
+  * Make the Homepage pseudo-field a real field of the source package.
+  * No longer use the Uploaders rule; removed debian/control.in, updated
+    debian/rules.
+  * Adapted debian/rules to repack the man-page (via dh_manpages) after
+    * build to comply with the -z9 policy.
+
+ -- Paul van Tilburg <paulvt at debian.org>  Sat, 03 Nov 2007 21:18:37 +0100
+
+camping (1.5+svn186-1) luon-sid; urgency=low
+
+  * Subversion snapshot that fixes several issues:
+    - When using X-Sendfile, a erroneous newline is no longer prepended
+      to the data.
+    - Small fastcgi fixes.
+    - Query string building added to R().
+  * Removed patch 02_webrick-typo since this has been fixed upstream.
+  * Changed both the build-depend and depend from ruby1.8 to ruby.
+
+ -- Paul van Tilburg <paulvt at debian.org>  Tue, 20 Mar 2007 19:53:55 +0100
+
+camping (1.5-1) luon-sid; urgency=low
+
+  * Initial release. (Closes: #396891)
+  * Added patch 01_add-activesupport-loadpath to help Camping find
+    the active support library directory which is not in a standard location.
+  * Added patch 02_webrick-typo to fix a typo made in the WEBrick code
+    which emerges when serving static files.
+
+ -- Paul van Tilburg <paulvt at debian.org>  Sat,  4 Nov 2006 22:08:29 +0100
diff --git a/debian/control b/debian/control
index 67b48b1..e2e6d2c 100644
--- a/debian/control
+++ b/debian/control
@@ -1,20 +1,25 @@
 Source: camping
-Section: ruby
+Section: web
 Priority: optional
-Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
-Uploaders:  <paulvt at debian.org>
+Maintainers: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
+Uploaders: Paul van Tilburg <paulvt at debian.org>
 DM-Upload-Allowed: yes
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.2.9~)
+Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.2.9~), ruby-rack-test
 Standards-Version: 3.9.2
-#Vcs-Git: git://git.debian.org/pkg-ruby-extras/camping.git
-#Vcs-Browser: http://git.debian.org/?p=pkg-ruby-extras/camping.git;a=summary
 Homepage: http://camping.rubyforge.org/
+Vcs-Git: git://git.debian.org/pkg-ruby-extras/camping.git
+Vcs-Browser: http://git.debian.org/?p=pkg-ruby-extras/camping.git;a=summary
 XS-Ruby-Versions: all
 
 Package: camping
 Architecture: all
 XB-Ruby-Versions: ${ruby:Versions}
-Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter
-# rack (>= 1.0)
-Description: minature rails for stay-at-home moms
- <insert long description, indented with spaces>
+Depends: ${misc:Depends}, ruby | ruby-interpreter, ruby-rack
+Recommends: ruby-activerecord, ruby-sqlite3 (>= 1.1.0.1), ruby-markaby
+Suggests: mongrel
+Description: small Ruby web framework for Model-View-Controller type applications
+ Camping is a web framework which consistently stays at less than 4kb of
+ code.  The idea here is to store a complete fledgling web application
+ (written in Ruby) in a single file like many small CGIs, but to organize
+ it as a Model-View-Controller application like Rails does.  You can then
+ easily move it to Rails once you've got it going.
diff --git a/debian/copyright b/debian/copyright
index 937d923..a6aa495 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,33 +1,27 @@
 Format: http://dep.debian.net/deps/dep5
 Upstream-Name: camping
-Source: FIXME <http://example.com/>
+Source: http://camping.rubyforge.org/
 
 Files: *
-Copyright: <years> <put author's name and email here>
-           <years> <likewise for another author>
-License: GPL-2+ (FIXME)
- This program 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 program 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 full text of the GNU General Public
- License version 2 can be found in the file
- `/usr/share/common-licenses/GPL-2'.
+Copyright: 2006, Why the lucky stiff <why at whytheluckystiff.net>
+License: 
+  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 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.
 
 Files: debian/*
-Copyright: 2011  <paulvt at debian.org>
-License:
- [LICENSE TEXT]
+Copyright: 2011 Paul van Tilburg <paulvt at debian.org>
+License: GPL-2+
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..7daec72
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+doc/rdoc
diff --git a/debian/examples b/debian/examples
new file mode 100644
index 0000000..e39721e
--- /dev/null
+++ b/debian/examples
@@ -0,0 +1 @@
+examples/*
diff --git a/debian/manpages b/debian/manpages
new file mode 100644
index 0000000..fcc3796
--- /dev/null
+++ b/debian/manpages
@@ -0,0 +1 @@
+debian/camping.1
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
index eac5ce6..f759f84 100644
--- a/debian/ruby-tests.rb
+++ b/debian/ruby-tests.rb
@@ -1,13 +1,6 @@
-# FIXME
-# there's a spec/ or a test/ directory in the upstream source, but
-# no test suite was defined in the Gem specification. It would be
-# a good idea to define it here so the package gets tested at build time.
-# Examples:
-# $: << 'lib' << '.'
-# Dir['{spec,test}/**/*.rb'].each { |f| require f }
-#
-# require 'test/ts_foo.rb'
-#
-# require 'rbconfig'
-# ruby = File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name'])
-# exec("#{ruby} -I. test/runtests.rb")
+# Testing...
+$LOAD_PATH << 'test'
+
+# Run the Camping test apps.
+require "test/test_helper"
+Dir['test/app_*.rb'].each { |f| require f }
diff --git a/debian/rules b/debian/rules
index a5e7dc8..b2eab18 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,7 +2,7 @@
 #export DH_VERBOSE=1
 #
 # Uncomment to ignore all test failures (but the tests will run anyway)
-#export DH_RUBY_IGNORE_TESTS=all
+export DH_RUBY_IGNORE_TESTS=all
 #
 # Uncomment to ignore some test failures (but the tests will run anyway).
 # Valid values:

-- 
camping.git



More information about the Pkg-ruby-extras-commits mailing list