[DRE-commits] r4879 - in trunk/libffi-ruby: . debian
Micah Anderson
micah at alioth.debian.org
Fri Mar 5 05:32:28 UTC 2010
Author: micah
Date: 2010-03-05 05:32:27 +0000 (Fri, 05 Mar 2010)
New Revision: 4879
Added:
trunk/libffi-ruby/debian/
trunk/libffi-ruby/debian/changelog
trunk/libffi-ruby/debian/compat
trunk/libffi-ruby/debian/control
trunk/libffi-ruby/debian/copyright
trunk/libffi-ruby/debian/libffi-ruby1.8.docs
trunk/libffi-ruby/debian/libffi-ruby1.8.examples
trunk/libffi-ruby/debian/libffi-ruby1.9.1.docs
trunk/libffi-ruby/debian/libffi-ruby1.9.1.examples
trunk/libffi-ruby/debian/repack.sh
trunk/libffi-ruby/debian/rules
trunk/libffi-ruby/debian/watch
Log:
[svn-inject] Applying Debian modifications to trunk
Added: trunk/libffi-ruby/debian/changelog
===================================================================
--- trunk/libffi-ruby/debian/changelog (rev 0)
+++ trunk/libffi-ruby/debian/changelog 2010-03-05 05:32:27 UTC (rev 4879)
@@ -0,0 +1,6 @@
+libffi-ruby (0.6.2debian-1) unstable; urgency=low
+
+ * Repack upstream source to remove embedded libffi
+ * Initial release (Closes: #572597)
+
+ -- Micah Anderson <micah at debian.org> Thu, 04 Mar 2010 15:45:17 -0500
Added: trunk/libffi-ruby/debian/compat
===================================================================
--- trunk/libffi-ruby/debian/compat (rev 0)
+++ trunk/libffi-ruby/debian/compat 2010-03-05 05:32:27 UTC (rev 4879)
@@ -0,0 +1 @@
+7
Added: trunk/libffi-ruby/debian/control
===================================================================
--- trunk/libffi-ruby/debian/control (rev 0)
+++ trunk/libffi-ruby/debian/control 2010-03-05 05:32:27 UTC (rev 4879)
@@ -0,0 +1,49 @@
+Source: libffi-ruby
+Section: ruby
+Priority: optional
+Maintainer: Micah Anderson <micah at debian.org>
+Uploaders: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>, Micah Anderson <micah at debian.org>
+Build-Depends: debhelper (>= 7), cdbs, ruby-pkg-tools (>= 0.8), libsetup-ruby1.8, quilt, libffi-dev
+Build-Depends-Indep: ruby1.8, ruby1.8-dev, ruby1.9.1, ruby1.9.1-dev
+Standards-Version: 3.8.4
+Homepage: http://github.com/ffi/ffi
+Vcs-Browser: http://svn.debian.org/viewsvn/pkg-ruby-extras/trunk/libffi-ruby/
+Vcs-Svn: svn://svn.debian.org/svn/pkg-ruby-extras/trunk/libffi-ruby/
+
+Package: libffi-ruby
+Architecture: all
+Depends: libruby1.8, ${misc:Depends}
+Description: load dynamic libraries, bind functions from within ruby code
+ Ruby-FFI is a ruby extension for programmatically loading dynamic
+ libraries, binding functions within them, and calling those functions
+ from Ruby code. Moreover, a Ruby-FFI extension works without changes
+ on Ruby and JRuby. Discover why should you write your next extension
+ using Ruby-FFI here[http://wiki.github.com/ffi/ffi/why-use-ffi].
+ .
+ This is a dependency package which depends on Debian's default Ruby version
+ (currently 1.8).
+
+Package: libffi-ruby1.8
+Architecture: all
+Depends: libruby1.8, ${misc:Depends}
+Description: load dynamic libraries, bind functions from within ruby code
+ Ruby-FFI is a ruby extension for programmatically loading dynamic
+ libraries, binding functions within them, and calling those functions
+ from Ruby code. Moreover, a Ruby-FFI extension works without changes
+ on Ruby and JRuby. Discover why should you write your next extension
+ using Ruby-FFI here[http://wiki.github.com/ffi/ffi/why-use-ffi].
+ .
+ This package is built for Ruby 1.8.
+
+
+Package: libffi-ruby1.9.1
+Architecture: any
+Depends: ruby1.9.1, ${shlibs:Depends}, ${misc:Depends}
+Description: load dynamic libraries, bind functions from within ruby code
+ Ruby-FFI is a ruby extension for programmatically loading dynamic
+ libraries, binding functions within them, and calling those functions
+ from Ruby code. Moreover, a Ruby-FFI extension works without changes
+ on Ruby and JRuby. Discover why should you write your next extension
+ using Ruby-FFI here[http://wiki.github.com/ffi/ffi/why-use-ffi].
+ .
+ This package is built for Ruby 1.9.1.
Added: trunk/libffi-ruby/debian/copyright
===================================================================
--- trunk/libffi-ruby/debian/copyright (rev 0)
+++ trunk/libffi-ruby/debian/copyright 2010-03-05 05:32:27 UTC (rev 4879)
@@ -0,0 +1,58 @@
+Files: *
+Copyright (c) 2008, 2009 Ruby FFI contributors
+
+License:
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+* Redistributions of source code must retain the above copyright notice, this
+ list of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the above copyright notice
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+* Neither the name of the JRuby Project nor the names of its contributors
+ may be used to endorse or promote products derived from this software
+ without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Files: ext/ffi_c/libffi
+libffi - Copyright (c) 1996-2009 Anthony Green, Red Hat, Inc and others.
+See source files for details.
+
+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.
+
+
+Files: debian/*
+Copyright: (c) 2010, Micah Anderson <micah at debian.org>
+License: Public Domain
+ It is assumed that all contributors release their packaging works under the
+ same term as the module itself.
+
Added: trunk/libffi-ruby/debian/libffi-ruby1.8.docs
===================================================================
--- trunk/libffi-ruby/debian/libffi-ruby1.8.docs (rev 0)
+++ trunk/libffi-ruby/debian/libffi-ruby1.8.docs 2010-03-05 05:32:27 UTC (rev 4879)
@@ -0,0 +1,2 @@
+README.rdoc
+History.txt
Added: trunk/libffi-ruby/debian/libffi-ruby1.8.examples
===================================================================
--- trunk/libffi-ruby/debian/libffi-ruby1.8.examples (rev 0)
+++ trunk/libffi-ruby/debian/libffi-ruby1.8.examples 2010-03-05 05:32:27 UTC (rev 4879)
@@ -0,0 +1 @@
+samples/*
Added: trunk/libffi-ruby/debian/libffi-ruby1.9.1.docs
===================================================================
--- trunk/libffi-ruby/debian/libffi-ruby1.9.1.docs (rev 0)
+++ trunk/libffi-ruby/debian/libffi-ruby1.9.1.docs 2010-03-05 05:32:27 UTC (rev 4879)
@@ -0,0 +1,2 @@
+README.rdoc
+History.txt
Added: trunk/libffi-ruby/debian/libffi-ruby1.9.1.examples
===================================================================
--- trunk/libffi-ruby/debian/libffi-ruby1.9.1.examples (rev 0)
+++ trunk/libffi-ruby/debian/libffi-ruby1.9.1.examples 2010-03-05 05:32:27 UTC (rev 4879)
@@ -0,0 +1 @@
+samples/*
Added: trunk/libffi-ruby/debian/repack.sh
===================================================================
--- trunk/libffi-ruby/debian/repack.sh (rev 0)
+++ trunk/libffi-ruby/debian/repack.sh 2010-03-05 05:32:27 UTC (rev 4879)
@@ -0,0 +1,43 @@
+#!/bin/sh
+# Repackage upstream source to exclude non-distributable files
+# should be called as "repack.sh --upstream-source <ver> <downloaded file>
+# (for example, via uscan)
+
+set -e
+set -u
+
+VER="$2debian"
+FILE="$3"
+PKG=`dpkg-parsechangelog|grep ^Source:|sed 's/^Source: //'`
+
+REPACK_DIR="$PKG-$VER.orig" # DevRef § 6.7.8.2
+
+echo -e "\nRepackaging $FILE\n"
+
+DIR=`mktemp -d ./tmpRepackXXXXXX`
+trap "rm -rf \"$DIR\"" QUIT INT EXIT
+
+# Create an extra directory to cope with rootless tarballs
+UP_BASE="$DIR/unpack"
+mkdir "$UP_BASE"
+tar xzf "$FILE" -C "$UP_BASE"
+
+if [ `ls -1 "$UP_BASE" | wc -l` -eq 1 ]; then
+ # Tarball does contain a root directory
+ UP_BASE="$UP_BASE/`ls -1 "$UP_BASE"`"
+fi
+
+## Remove stuff
+rm -vfr $UP_BASE/ext/ffi_c/libffi
+
+## End
+
+mv "$UP_BASE" "$DIR/$REPACK_DIR"
+
+# Using a pipe hides tar errors!
+tar cfC "$DIR/repacked.tar" "$DIR" "$REPACK_DIR"
+gzip -9 < "$DIR/repacked.tar" > "$DIR/repacked.tar.gz"
+FILE="../${PKG}_${VER}.orig.tar.gz"
+mv "$DIR/repacked.tar.gz" "$FILE"
+
+echo "*** $FILE repackaged"
Added: trunk/libffi-ruby/debian/rules
===================================================================
--- trunk/libffi-ruby/debian/rules (rev 0)
+++ trunk/libffi-ruby/debian/rules 2010-03-05 05:32:27 UTC (rev 4879)
@@ -0,0 +1,6 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/ruby-pkg-tools/1/class/ruby-setup-rb.mk
+
+
Property changes on: trunk/libffi-ruby/debian/rules
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/libffi-ruby/debian/watch
===================================================================
--- trunk/libffi-ruby/debian/watch (rev 0)
+++ trunk/libffi-ruby/debian/watch 2010-03-05 05:32:27 UTC (rev 4879)
@@ -0,0 +1,5 @@
+version=3
+opts=uversionmangle=s/_/./g,downloadurlmangle=s/commits/tarball/,filenamemangle=s/.*\/commits\/(.*)$/ffi-$1.tar.gz/ \
+ http://github.com/ffi/ffi/commits/([\d.]+) debian debian/repack.sh
+
+
More information about the Pkg-ruby-extras-commits
mailing list