debian/0000755000000000000000000000000012233400516007162 5ustar debian/rules0000755000000000000000000000070112231315034010236 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 # # Uncomment to ignore all test failures (but the tests will run anyway) #export DH_RUBY_IGNORE_TESTS=all # # Uncomment to ignore some test failures (but the tests will run anyway). # Valid values: #export DH_RUBY_IGNORE_TESTS=ruby1.8 ruby1.9.1 require-rubygems # # If you need to specify the .gemspec (eg there is more than one) #export DH_RUBY_GEMSPEC=gem.gemspec %: dh $@ --buildsystem=ruby --with ruby debian/watch0000644000000000000000000000015312231201162010204 0ustar version=3 http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/ruby-shadow .*/ruby-shadow-(.*).tar.gz debian/source/0000755000000000000000000000000012231201162010454 5ustar debian/source/format0000644000000000000000000000001412231201162011662 0ustar 3.0 (quilt) debian/copyright0000644000000000000000000000323212231201162011107 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: ruby-shadow Source: https://github.com/apalmblad/ruby-shadow Disclaimer: License phrase written in the released file 'LICENSE' is "Free for any use with your own risk!" or Public Domain License but the copyright holder emailed Taku that the software has been licensed under the same license as Ruby. The upstream sources claims in the file 'metadata.yml' that the license is Public Domain License. So, for the moment, we switch to this later one. Files: * Copyright: 1998-1999 Takaaki Tateishi License: public-domain ruby-shadow was written by Takaaki Tateishi, and is placed in the public domain. The author hereby disclaims copyright to this source code. Files: debian/* Copyright: 2012 Taku YASUI License: GPL-2+ 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'. debian/control0000644000000000000000000000160012233400516010562 0ustar Source: ruby-shadow Section: ruby Priority: extra Maintainer: Debian Ruby Extras Maintainers Uploaders: akira yamada , Taku YASUI Build-Depends: debhelper (>= 8), gem2deb (>= 0.2.13~) Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-shadow.git Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/ruby-shadow.git;a=summary Homepage: https://github.com/apalmblad/ruby-shadow XS-Ruby-Versions: all Package: ruby-shadow Architecture: any XB-Ruby-Versions: ${ruby:Versions} Depends: ${shlibs:Depends}, ${misc:Depends} Description: interface of shadow password for Ruby This is a module which is used when you want to access shadow password files from the Ruby programing languaje. It gives access to the same C level functions provided by the shadow password API. debian/ruby-shadow.docs0000644000000000000000000000002212231201162012264 0ustar README README.euc debian/patches/0000755000000000000000000000000012233400516010611 5ustar debian/patches/dont-overwrite-compiler-flags0000644000000000000000000000133412233400516016427 0ustar Description: Don't overwrite CFLAGS|LDFLAGS It seems that the current extconf.rb overwrites the CFLAGS/LDFLAGS. Author: Cédric Boutillier Author: David Suárez Last-Update: 2013-10-26 --- ruby-shadow-2.2.0.orig/extconf.rb +++ ruby-shadow-2.2.0/extconf.rb @@ -6,16 +6,16 @@ require 'mkmf' -$CFLAGS = case RUBY_VERSION - when /^1\.9/; '-DRUBY19' - when /^2\./; '-DRUBY19' +$CFLAGS += case RUBY_VERSION + when /^1\.9/; ' -DRUBY19' + when /^2\./; ' -DRUBY19' else; '' end #$LDFLAGS = "-lshadow" if( ! (ok = have_library("shadow","getspent")) ) - $LDFLAGS = "" + #$LDFLAGS = "" ok = have_func("getspent") end debian/patches/series0000644000000000000000000000005712233400516012030 0ustar 010_fix_license dont-overwrite-compiler-flags debian/patches/010_fix_license0000644000000000000000000000173012233400461013404 0ustar Description: Fix license problems Fix the LICENSE and README's files to reflect upstream's choice for a license. --- ruby-shadow-2.2.0.orig/LICENSE +++ ruby-shadow-2.2.0/LICENSE @@ -1,5 +1 @@ -License: Free for any use with your own risk! - -OR - The terms of the Public Domain License (http://creativecommons.org/licenses/publicdomain/) --- ruby-shadow-2.2.0.orig/README.euc +++ ruby-shadow-2.2.0/README.euc @@ -2,7 +2,7 @@ Shadow Password module Copyright (C) 1998-1999 Takaaki Tateishi Modified at: <1999/8/19 06:48:01 by ttate> -License: Free for any use with your own risk! +License: See LICENSE 1. ³µÍ× --- ruby-shadow-2.2.0.orig/shadow.c +++ ruby-shadow-2.2.0/shadow.c @@ -4,7 +4,7 @@ * Ruby extention module for using Linux shadow password. * * Copyright (C) 1998-1999 by Takaaki.Tateishi(ttate@jaist.ac.jp) - * License: Free for any use with your own risk! + * License: See LICENSE * Modified at: <1999/8/19 06:48:18 by ttate> */ debian/compat0000644000000000000000000000000212231201162010352 0ustar 8 debian/changelog0000644000000000000000000000767412233400516011052 0ustar ruby-shadow (2.2.0-1) unstable; urgency=low * Team upload [ David Suárez ] * New upstream release (Closes: #720229) * Refresh fix_license patch * Bump standards version to 3.9.4; no changes needed * Remove libshadow-ruby1.8 transitional package * Add DEP-3 header to fix_license patch * Update copyright file * Add patch to avoid overwriting CFLAGS|LDFLAGS * Lowercase the sort description and extend the long one [ Cédric Boutillier ] * use canonical anonscm.debian.org URI in Vcs-* fields * use DEP5 copyright-format/1.0 official URL in debian/copyright [Jérémy Bobbio] * Fix grammar error in package description -- David Suárez Sat, 26 Oct 2013 12:43:05 +0200 ruby-shadow (2.1.4-2) unstable; urgency=low * debian/copyright: Add license disclaimer, * Add debian/patches/010_fix_license to fix license clause. -- Taku YASUI Thu, 31 May 2012 01:08:31 +0900 ruby-shadow (2.1.4-1) unstable; urgency=low * New upstream release. * Ruby package transition - Change package name to ruby-shadow * Change maintainer to Debian Ruby Extras Maintainers. - akira yamada and Taku YASUI are uploaders. * Commit debian source to git.debian.org. - git://git.debian.org/pkg-ruby-extras/ruby-shadow.git - Add Vcs metadata to debian/control. * Change source format to '3.0 (quilt)'. * Bump Standards-Verson to 3.9.3. * Use gem2deb to build package. -- Taku YASUI Tue, 08 May 2012 18:45:21 +0900 libshadow-ruby (1.4.1-8) unstable; urgency=medium * applied patch from Kostas Georgiou (the Fedora maintainer for shadow-ruby) to shadow.c: rb_struct_new expects NULL (!=0) for termination. Thanks: Matthew Palmer. (closes: 425234) -- akira yamada Fri, 05 Oct 2007 09:25:23 +0900 libshadow-ruby (1.4.1-7) unstable; urgency=low * dropped ruby1.6 support. (Closes: #367914) -- akira yamada Tue, 23 May 2006 15:19:48 +0900 libshadow-ruby (1.4.1-6) unstable; urgency=low * build with ruby1.6 and ruby1.8. (closes: #212268) * renamed to libshadow-ruby1.6 from libshadow-ruby. * updated description. (closes: #210091) -- akira yamada Thu, 11 Dec 2003 15:20:56 +0900 libshadow-ruby (1.4.1-5) unstable; urgency=low * rebuild with correct version of libruby. -- akira yamada Sun, 16 Sep 2001 14:14:22 +0900 libshadow-ruby (1.4.1-4) unstable; urgency=low * removed incorrect dependency in Makefile, closes: #111409. -- akira yamada Sun, 9 Sep 2001 10:21:13 +0900 libshadow-ruby (1.4.1-3) unstable; urgency=low * debian/rules: libdir and archdir is bad value when using ruby 1.6.4 or later. fixed it, closes: #107718. -- akira yamada Fri, 24 Aug 2001 15:34:07 +0900 libshadow-ruby (1.4.1-2) unstable; urgency=low * rebuild with ruby_1.6.2-5. -- akira yamada Thu, 25 Jan 2001 22:59:02 +0900 libshadow-ruby (1.4.1-1) unstable; urgency=low * Upgraded to new upstream version. * Updated Standards-Version to 3.2.1. * Added Build-Depends field into control file. -- akira yamada Fri, 1 Sep 2000 18:10:49 +0900 libshadow-ruby (1.4-3) unstable; urgency=low * Rebuild with ruby_1.4.4. -- akira yamada Tue, 4 Apr 2000 21:08:08 +0900 libshadow-ruby (1.4-2) unstable; urgency=low * FHS complience. -- akira yamada Thu, 21 Oct 1999 23:09:06 +0900 libshadow-ruby (1.4-1) unstable; urgency=low * Upgraded to new upstream version. -- akira yamada Fri, 27 Aug 1999 11:48:25 +0900 ruby-shadow-module (1.2-2) unstable; urgency=low * Build with ruby1.2_1.2.2. -- akira yamada Mon, 1 Feb 1999 14:53:55 +0900 ruby-shadow-module (1.2-1) unstable; urgency=low * Initial Release. -- akira yamada Fri, 22 Jan 1999 18:28:47 +0900