--- regionset-0.1.orig/debian/control +++ regionset-0.1/debian/control @@ -0,0 +1,18 @@ +Source: regionset +Section: utils +Priority: optional +Maintainer: Josselin Mouette +Build-Depends: cdbs, debhelper (>= 4.1.0) +Standards-Version: 3.7.2 + +Package: regionset +Architecture: any +Depends: ${shlibs:Depends} +Description: view and modify the region code of DVD drives + Regionset is a small utility which displays and sets + the region/zone setting of a DVD drive, allowing it to decrypt + the DVD's sold in this geographical zone. Hardware vendors + often limit the number of such modifications, but it is + necessary to set it at least once with a brand new drive. + . + URL: http://linvdr.org/projects/regionset/ --- regionset-0.1.orig/debian/rules +++ regionset-0.1/debian/rules @@ -0,0 +1,5 @@ +#! /usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/makefile.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk --- regionset-0.1.orig/debian/changelog +++ regionset-0.1/debian/changelog @@ -0,0 +1,24 @@ +regionset (0.1-3) unstable; urgency=low + + * kfreebsd.patch: patch from Cyril Brulebois to port regionset on + kFreeBSD (closes: #415151). + * Standards-version is 3.7.2. + + -- Josselin Mouette Sun, 18 Mar 2007 21:22:21 +0100 + +regionset (0.1-2) unstable; urgency=low + + * wording.patch: improve the wording of error messages + (closes: #325084). Thanks to Edwin Taylor for the idea. + * control: Standards-version is 3.6.2. + * copyright: Update the FSF address. + * regionset.8: use the groff escape sequences for the name. + + -- Josselin Mouette Sat, 3 Sep 2005 19:14:31 +0200 + +regionset (0.1-1) unstable; urgency=low + + * Initial release (closes: #149651, #226173). + + -- Josselin Mouette Sun, 4 Jan 2004 21:34:31 +0100 + --- regionset-0.1.orig/debian/manpages +++ regionset-0.1/debian/manpages @@ -0,0 +1 @@ +regionset.8 --- regionset-0.1.orig/debian/compat +++ regionset-0.1/debian/compat @@ -0,0 +1 @@ +4 --- regionset-0.1.orig/debian/patches/kfreebsd.patch +++ regionset-0.1/debian/patches/kfreebsd.patch @@ -0,0 +1,11 @@ +--- regionset-0.1/dvd_udf.c 2007-03-16 15:49:05.599352000 +0100 ++++ regionset-0.1/dvd_udf.c 2007-03-16 15:49:52.000000000 +0100 +@@ -37,7 +37,7 @@ + #include + #include + +-#if defined(__OpenBSD__) ++#if defined(__OpenBSD__) || defined(__FreeBSD_kernel__) + # include + #elif defined(__linux__) + # include --- regionset-0.1.orig/debian/patches/wording.patch +++ regionset-0.1/debian/patches/wording.patch @@ -0,0 +1,17 @@ +--- regionset.c.old 2005-09-03 18:39:36.000000000 +0200 ++++ regionset.c 2005-09-03 18:50:20.000000000 +0200 +@@ -40,11 +40,12 @@ + else err=UDFOpenDisc(DEFAULTDEVICE); + if (err<0) { + printf("ERROR: Could not open disc \"%s\"!\n",((argc>=1)?argv[1]:DEFAULTDEVICE)); +- printf("Ensure that there is any readable CD or DVD in the drive.\n"); ++ printf("Please ensure there is a readable CD or DVD in the drive.\n"); + return 1; + } + if (UDFRPCGet(&type,&vra,&ucca,®ion_mask,&rpc_scheme)) { +- printf("ERROR: Could not retreive region code settings of the drive!\n"); ++ printf("ERROR: Could not retrieve region code settings of the drive!\n"); ++ printf("This could mean your drive is region free and doesn't need any setting.\n"); + } else { + printf("Current Region Code settings:\n"); + printf("RPC Phase: %s\n",((rpc_scheme==0)?"Unknown (I)":((rpc_scheme==1)?"II":"Reserved (III?)"))); --- regionset-0.1.orig/debian/copyright +++ regionset-0.1/debian/copyright @@ -0,0 +1,25 @@ +This package was debianized by Josselin Mouette on +Sun, 04 Jan 2004 21:49:11 +0100. + +It was downloaded from http://linvdr.org/download/regionset + +Upstream Author: Mirko Dölle + +Copyright: + + 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 Free Software Foundation; version 2 dated June, 1991. + + This package 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 GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. --- regionset-0.1.orig/debian/install +++ regionset-0.1/debian/install @@ -0,0 +1 @@ +regionset /usr/sbin --- regionset-0.1.orig/regionset.8 +++ regionset-0.1/regionset.8 @@ -0,0 +1,23 @@ +.TH regionset 8 "5 Jan 2004" +.SH NAME +regionset \- display and set the zone setting of a DVD drive +.SH SYNOPSIS +.B regionset +.RI [ device ] +.SH DESCRIPTION +.B regionset +is a small utility which displays and sets +the region/zone setting of a DVD drive, allowing it to decrypt +the DVD's sold in this geographical area. +.SH OPTIONS +.TP +.I device +The device corresponding to the DVD drive. +.SH SEE ALSO +This program is documented fully in +.IR /usr/share/doc/regionset/README . +.SH AUTHOR +Mirko D\[:o]lle . +.P +This manual page was written by Josselin Mouette , +for the Debian project (but may be used by others).