--- libwrap-ruby-0.6.orig/debian/docs
+++ libwrap-ruby-0.6/debian/docs
@@ -0,0 +1,4 @@
+README.en
+README.ja
+doc/tcpwrap.html.en
+doc/tcpwrap.html.ja
--- libwrap-ruby-0.6.orig/debian/README.Debian
+++ libwrap-ruby-0.6/debian/README.Debian
@@ -0,0 +1,6 @@
+libwrap-ruby for Debian
+-----------------------
+
+libwrap-ruby is ruby-tcpwrap library packaged for Debian.
+
+Shugo Maeda <shugo@debian.org>, Mon, 16 Apr 2001 18:27:13 +0900
--- libwrap-ruby-0.6.orig/debian/copyright
+++ libwrap-ruby-0.6/debian/copyright
@@ -0,0 +1,32 @@
+This package was debianized by Shugo Maeda <shugo@debian.org> on
+Mon, 16 Apr 2001 18:27:13 +0900
+
+It was downloaded from <URL:http://www.shugo.net/archive/ruby-tcpwrap/>.
+
+Copyright:
+
+/*
+ * Copyright (C) 2000 Shugo Maeda <shugo@ruby-lang.org>
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. 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.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS 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 REGENTS 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.
+ */
+
--- libwrap-ruby-0.6.orig/debian/examples
+++ libwrap-ruby-0.6/debian/examples
@@ -0,0 +1 @@
+sample/echod.rb
--- libwrap-ruby-0.6.orig/debian/libwrap-ruby.substvars
+++ libwrap-ruby-0.6/debian/libwrap-ruby.substvars
@@ -0,0 +1 @@
+shlibs:Depends=libc6 (>= 2.3.2-1), libident (>= 0.22-1), libruby1.8 (>= 1.8.0-2), libwrap0
--- libwrap-ruby-0.6.orig/debian/changelog
+++ libwrap-ruby-0.6/debian/changelog
@@ -0,0 +1,25 @@
+libwrap-ruby (0.6-3) unstable; urgency=low
+
+ * Renamed the binary package libwrap-ruby to libwrap-ruby1.8.
+ * Built with ruby1.8.
+ * Added more detailed description.
+
+ -- Shugo Maeda <shugo@debian.org> Thu, 25 Sep 2003 17:35:31 +0900
+
+libwrap-ruby (0.6-1) unstable; urgency=low
+
+ * Upgraded to new upstream version.
+
+ -- Shugo Maeda <shugo@debian.org> Wed, 20 Aug 2003 12:56:28 +0900
+
+libwrap-ruby (0.2-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Shugo Maeda <shugo@debian.org> Mon, 16 Apr 2001 18:27:13 +0900
+
+Local variables:
+mode: debian-changelog
+debian-changelog-full-name: "Shugo Maeda"
+debian-changelog-mailing-address: "shugo@debian.org"
+End:
--- libwrap-ruby-0.6.orig/debian/control
+++ libwrap-ruby-0.6/debian/control
@@ -0,0 +1,15 @@
+Source: libwrap-ruby
+Section: interpreters
+Priority: optional
+Maintainer: Shugo Maeda <shugo@debian.org>
+Build-Depends: debhelper (>> 2.0.0), ruby1.8, ruby1.8-dev, libwrap0-dev, libident-dev
+Standards-Version: 3.5.8.0
+
+Package: libwrap-ruby1.8
+Architecture: any
+Replaces: libwrap-ruby
+Depends: ${shlibs:Depends}
+Conflicts: libwrap-ruby
+Description: TCP wrappers library for Ruby
+ libwrap-ruby is TCP wrappers library for Ruby.
+ libwrap-ruby provides access control per host, domain and/or service.
--- libwrap-ruby-0.6.orig/debian/rules
+++ libwrap-ruby-0.6/debian/rules
@@ -0,0 +1,88 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This is the debhelper compatability version to use.
+export DH_COMPAT=2
+
+UP_VERSION := $(shell dpkg -s ruby-dev | awk '/Version:/ {print $2}' | sed "s/^Version: \(.*\)-.*$$/\1/")
+NEXTVER := $(shell echo $(UP_VERSION) | awk -F. '{OFS="."; $$NF = $$NF + 1; print}')
+
+libdir := $(shell ruby1.8 -r rbconfig -e 'print Config::CONFIG["rubylibdir"]')
+archdir := $(shell ruby1.8 -r rbconfig -e 'print Config::CONFIG["archdir"]')
+
+configure: configure-stamp
+configure-stamp:
+ dh_testdir
+ # Add here commands to configure the package.
+ ruby1.8 extconf.rb
+
+ touch configure-stamp
+
+build: configure-stamp build-stamp
+build-stamp:
+ dh_testdir
+
+ # Add here commands to compile the package.
+ $(MAKE)
+
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+
+ # Add here commands to clean up after the build process.
+ -$(MAKE) distclean
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ # Add here commands to install the package into debian/libwrap-ruby.
+ \$(MAKE) install RUBYARCHDIR=$(CURDIR)/debian/libwrap-ruby1.8/$(archdir)
+
+# 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 -a
+ dh_testroot -a
+# dh_installdebconf -a
+ dh_installdocs -a
+ dh_installexamples -a
+# dh_installmenu -a
+# dh_installemacsen -a
+# dh_installpam -a
+# dh_installinit -a
+# dh_installcron -a
+# dh_installmanpages -a
+# dh_installinfo -a
+# dh_undocumented -a
+ dh_installchangelogs -a
+ dh_link -a
+ dh_strip -a
+ dh_compress -X.rb -a
+ dh_fixperms -a
+ # You may want to make some executables suid here.
+# dh_suidregister -a
+# dh_makeshlibs -a
+ dh_installdeb -a
+# dh_perl -a
+ dh_shlibdeps -a
+ dh_gencontrol -a -- -VNEXTVER="$(NEXTVER)"
+ dh_md5sums -a
+ dh_builddeb -a
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure