Changes of Revision 6

libdvdcss2.changes Changed
x
 
1
@@ -1,4 +1,9 @@
2
 -------------------------------------------------------------------
3
+Wed Feb 27 00:00:00 UTC 2013 - Manfred.Tremmel@iiv.de
4
+
5
+- Update to Version 1.2.13
6
+
7
+-------------------------------------------------------------------
8
 Sun Apr 15 00:00:00 UTC 2012 - Manfred.Tremmel@iiv.de
9
 
10
 - Update to Version 1.2.12
11
libdvdcss2.spec Changed
18
 
1
@@ -4,7 +4,7 @@
2
 Summary:        Library for accessing DVDs like block device usind deCSS if needed
3
 Summary(de):    Bibliothek zum Zugriff auf DVDs mit deCSS-Entschlüsselung, falls benötigt
4
 Summary(fi):    DVD-aseman käsittelyyn tarkoitettu ohjelmointikirjasto
5
-Version:        1.2.12
6
+Version:        1.2.13
7
 Release:        0
8
 License:        GPL
9
 URL:            http://www.videolan.org/libdvdcss/
10
@@ -104,6 +104,7 @@
11
 mkdir %{buildroot}
12
 %makeinstall
13
 %{__rm} -f %{buildroot}/%{_libdir}/*.a
14
+%{__rm} -rf %{buildroot}%{_datadir}/doc/libdvdcss
15
 
16
 %clean
17
 %{?buildroot:%__rm -rf "%{buildroot}"}
18
libdvdcss-1.2.12.tar.bz2/.auto Deleted
2
 
1
-(directory)
2
libdvdcss-1.2.12.tar.bz2/.auto/config.guess Deleted
201
 
1
@@ -1,1522 +0,0 @@
2
-#! /bin/sh
3
-# Attempt to guess a canonical system name.
4
-#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
5
-#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
6
-#   2011, 2012 Free Software Foundation, Inc.
7
-
8
-timestamp='2012-01-01'
9
-
10
-# This file is free software; you can redistribute it and/or modify it
11
-# under the terms of the GNU General Public License as published by
12
-# the Free Software Foundation; either version 2 of the License, or
13
-# (at your option) any later version.
14
-#
15
-# This program is distributed in the hope that it will be useful, but
16
-# WITHOUT ANY WARRANTY; without even the implied warranty of
17
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18
-# General Public License for more details.
19
-#
20
-# You should have received a copy of the GNU General Public License
21
-# along with this program; if not, write to the Free Software
22
-# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
23
-# 02110-1301, USA.
24
-#
25
-# As a special exception to the GNU General Public License, if you
26
-# distribute this file as part of a program that contains a
27
-# configuration script generated by Autoconf, you may include it under
28
-# the same distribution terms that you use for the rest of that program.
29
-
30
-
31
-# Originally written by Per Bothner.  Please send patches (context
32
-# diff format) to <config-patches@gnu.org> and include a ChangeLog
33
-# entry.
34
-#
35
-# This script attempts to guess a canonical system name similar to
36
-# config.sub.  If it succeeds, it prints the system name on stdout, and
37
-# exits with 0.  Otherwise, it exits with 1.
38
-#
39
-# You can get the latest version of this script from:
40
-# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
41
-
42
-me=`echo "$0" | sed -e 's,.*/,,'`
43
-
44
-usage="\
45
-Usage: $0 [OPTION]
46
-
47
-Output the configuration name of the system \`$me' is run on.
48
-
49
-Operation modes:
50
-  -h, --help         print this help, then exit
51
-  -t, --time-stamp   print date of last modification, then exit
52
-  -v, --version      print version number, then exit
53
-
54
-Report bugs and patches to <config-patches@gnu.org>."
55
-
56
-version="\
57
-GNU config.guess ($timestamp)
58
-
59
-Originally written by Per Bothner.
60
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
61
-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
62
-Free Software Foundation, Inc.
63
-
64
-This is free software; see the source for copying conditions.  There is NO
65
-warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
66
-
67
-help="
68
-Try \`$me --help' for more information."
69
-
70
-# Parse command line
71
-while test $# -gt 0 ; do
72
-  case $1 in
73
-    --time-stamp | --time* | -t )
74
-       echo "$timestamp" ; exit ;;
75
-    --version | -v )
76
-       echo "$version" ; exit ;;
77
-    --help | --h* | -h )
78
-       echo "$usage"; exit ;;
79
-    -- )     # Stop option processing
80
-       shift; break ;;
81
-    - )    # Use stdin as input.
82
-       break ;;
83
-    -* )
84
-       echo "$me: invalid option $1$help" >&2
85
-       exit 1 ;;
86
-    * )
87
-       break ;;
88
-  esac
89
-done
90
-
91
-if test $# != 0; then
92
-  echo "$me: too many arguments$help" >&2
93
-  exit 1
94
-fi
95
-
96
-trap 'exit 1' 1 2 15
97
-
98
-# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
99
-# compiler to aid in system detection is discouraged as it requires
100
-# temporary files to be created and, as you can see below, it is a
101
-# headache to deal with in a portable fashion.
102
-
103
-# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
104
-# use `HOST_CC' if defined, but it is deprecated.
105
-
106
-# Portable tmp directory creation inspired by the Autoconf team.
107
-
108
-set_cc_for_build='
109
-trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
110
-trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
111
-: ${TMPDIR=/tmp} ;
112
- { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
113
- { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
114
- { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
115
- { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
116
-dummy=$tmp/dummy ;
117
-tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
118
-case $CC_FOR_BUILD,$HOST_CC,$CC in
119
- ,,)    echo "int x;" > $dummy.c ;
120
-   for c in cc gcc c89 c99 ; do
121
-     if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
122
-        CC_FOR_BUILD="$c"; break ;
123
-     fi ;
124
-   done ;
125
-   if test x"$CC_FOR_BUILD" = x ; then
126
-     CC_FOR_BUILD=no_compiler_found ;
127
-   fi
128
-   ;;
129
- ,,*)   CC_FOR_BUILD=$CC ;;
130
- ,*,*)  CC_FOR_BUILD=$HOST_CC ;;
131
-esac ; set_cc_for_build= ;'
132
-
133
-# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
134
-# (ghazi@noc.rutgers.edu 1994-08-24)
135
-if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
136
-   PATH=$PATH:/.attbin ; export PATH
137
-fi
138
-
139
-UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
140
-UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
141
-UNAME_SYSTEM=`(uname -s) 2>/dev/null`  || UNAME_SYSTEM=unknown
142
-UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
143
-
144
-# Note: order is significant - the case branches are not exclusive.
145
-
146
-case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
147
-    *:NetBSD:*:*)
148
-   # NetBSD (nbsd) targets should (where applicable) match one or
149
-   # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
150
-   # *-*-netbsdecoff* and *-*-netbsd*.  For targets that recently
151
-   # switched to ELF, *-*-netbsd* would select the old
152
-   # object file format.  This provides both forward
153
-   # compatibility and a consistent mechanism for selecting the
154
-   # object file format.
155
-   #
156
-   # Note: NetBSD doesn't particularly care about the vendor
157
-   # portion of the name.  We always set it to "unknown".
158
-   sysctl="sysctl -n hw.machine_arch"
159
-   UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
160
-       /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
161
-   case "${UNAME_MACHINE_ARCH}" in
162
-       armeb) machine=armeb-unknown ;;
163
-       arm*) machine=arm-unknown ;;
164
-       sh3el) machine=shl-unknown ;;
165
-       sh3eb) machine=sh-unknown ;;
166
-       sh5el) machine=sh5le-unknown ;;
167
-       *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
168
-   esac
169
-   # The Operating System including object format, if it has switched
170
-   # to ELF recently, or will in the future.
171
-   case "${UNAME_MACHINE_ARCH}" in
172
-       arm*|i386|m68k|ns32k|sh3*|sparc|vax)
173
-       eval $set_cc_for_build
174
-       if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
175
-           | grep -q __ELF__
176
-       then
177
-           # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
178
-           # Return netbsd for either.  FIX?
179
-           os=netbsd
180
-       else
181
-           os=netbsdelf
182
-       fi
183
-       ;;
184
-       *)
185
-       os=netbsd
186
-       ;;
187
-   esac
188
-   # The OS release
189
-   # Debian GNU/NetBSD machines have a different userland, and
190
-   # thus, need a distinct triplet. However, they do not need
191
-   # kernel version information, so it can be replaced with a
192
-   # suitable tag, in the style of linux-gnu.
193
-   case "${UNAME_VERSION}" in
194
-       Debian*)
195
-       release='-gnu'
196
-       ;;
197
-       *)
198
-       release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
199
-       ;;
200
-   esac
201
libdvdcss-1.2.12.tar.bz2/.auto/config.sub Deleted
201
 
1
@@ -1,1766 +0,0 @@
2
-#! /bin/sh
3
-# Configuration validation subroutine script.
4
-#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
5
-#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
6
-#   2011, 2012 Free Software Foundation, Inc.
7
-
8
-timestamp='2012-01-01'
9
-
10
-# This file is (in principle) common to ALL GNU software.
11
-# The presence of a machine in this file suggests that SOME GNU software
12
-# can handle that machine.  It does not imply ALL GNU software can.
13
-#
14
-# This file is free software; you can redistribute it and/or modify
15
-# it under the terms of the GNU General Public License as published by
16
-# the Free Software Foundation; either version 2 of the License, or
17
-# (at your option) any later version.
18
-#
19
-# This program is distributed in the hope that it will be useful,
20
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
21
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22
-# GNU General Public License for more details.
23
-#
24
-# You should have received a copy of the GNU General Public License
25
-# along with this program; if not, write to the Free Software
26
-# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
27
-# 02110-1301, USA.
28
-#
29
-# As a special exception to the GNU General Public License, if you
30
-# distribute this file as part of a program that contains a
31
-# configuration script generated by Autoconf, you may include it under
32
-# the same distribution terms that you use for the rest of that program.
33
-
34
-
35
-# Please send patches to <config-patches@gnu.org>.  Submit a context
36
-# diff and a properly formatted GNU ChangeLog entry.
37
-#
38
-# Configuration subroutine to validate and canonicalize a configuration type.
39
-# Supply the specified configuration type as an argument.
40
-# If it is invalid, we print an error message on stderr and exit with code 1.
41
-# Otherwise, we print the canonical config type on stdout and succeed.
42
-
43
-# You can get the latest version of this script from:
44
-# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
45
-
46
-# This file is supposed to be the same for all GNU packages
47
-# and recognize all the CPU types, system types and aliases
48
-# that are meaningful with *any* GNU software.
49
-# Each package is responsible for reporting which valid configurations
50
-# it does not support.  The user should be able to distinguish
51
-# a failure to support a valid configuration from a meaningless
52
-# configuration.
53
-
54
-# The goal of this file is to map all the various variations of a given
55
-# machine specification into a single specification in the form:
56
-#  CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
57
-# or in some cases, the newer four-part form:
58
-#  CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
59
-# It is wrong to echo any other type of specification.
60
-
61
-me=`echo "$0" | sed -e 's,.*/,,'`
62
-
63
-usage="\
64
-Usage: $0 [OPTION] CPU-MFR-OPSYS
65
-       $0 [OPTION] ALIAS
66
-
67
-Canonicalize a configuration name.
68
-
69
-Operation modes:
70
-  -h, --help         print this help, then exit
71
-  -t, --time-stamp   print date of last modification, then exit
72
-  -v, --version      print version number, then exit
73
-
74
-Report bugs and patches to <config-patches@gnu.org>."
75
-
76
-version="\
77
-GNU config.sub ($timestamp)
78
-
79
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
80
-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
81
-Free Software Foundation, Inc.
82
-
83
-This is free software; see the source for copying conditions.  There is NO
84
-warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
85
-
86
-help="
87
-Try \`$me --help' for more information."
88
-
89
-# Parse command line
90
-while test $# -gt 0 ; do
91
-  case $1 in
92
-    --time-stamp | --time* | -t )
93
-       echo "$timestamp" ; exit ;;
94
-    --version | -v )
95
-       echo "$version" ; exit ;;
96
-    --help | --h* | -h )
97
-       echo "$usage"; exit ;;
98
-    -- )     # Stop option processing
99
-       shift; break ;;
100
-    - )    # Use stdin as input.
101
-       break ;;
102
-    -* )
103
-       echo "$me: invalid option $1$help"
104
-       exit 1 ;;
105
-
106
-    *local*)
107
-       # First pass through any local machine types.
108
-       echo $1
109
-       exit ;;
110
-
111
-    * )
112
-       break ;;
113
-  esac
114
-done
115
-
116
-case $# in
117
- 0) echo "$me: missing argument$help" >&2
118
-    exit 1;;
119
- 1) ;;
120
- *) echo "$me: too many arguments$help" >&2
121
-    exit 1;;
122
-esac
123
-
124
-# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
125
-# Here we must recognize all the valid KERNEL-OS combinations.
126
-maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
127
-case $maybe_os in
128
-  nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
129
-  linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
130
-  knetbsd*-gnu* | netbsd*-gnu* | \
131
-  kopensolaris*-gnu* | \
132
-  storm-chaos* | os2-emx* | rtmk-nova*)
133
-    os=-$maybe_os
134
-    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
135
-    ;;
136
-  *)
137
-    basic_machine=`echo $1 | sed 's/-[^-]*$//'`
138
-    if [ $basic_machine != $1 ]
139
-    then os=`echo $1 | sed 's/.*-/-/'`
140
-    else os=; fi
141
-    ;;
142
-esac
143
-
144
-### Let's recognize common machines as not being operating systems so
145
-### that things like config.sub decstation-3100 work.  We also
146
-### recognize some manufacturers as not being operating systems, so we
147
-### can provide default operating systems below.
148
-case $os in
149
-   -sun*os*)
150
-       # Prevent following clause from handling this invalid input.
151
-       ;;
152
-   -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
153
-   -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
154
-   -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
155
-   -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
156
-   -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
157
-   -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
158
-   -apple | -axis | -knuth | -cray | -microblaze)
159
-       os=
160
-       basic_machine=$1
161
-       ;;
162
-   -bluegene*)
163
-       os=-cnk
164
-       ;;
165
-   -sim | -cisco | -oki | -wec | -winbond)
166
-       os=
167
-       basic_machine=$1
168
-       ;;
169
-   -scout)
170
-       ;;
171
-   -wrs)
172
-       os=-vxworks
173
-       basic_machine=$1
174
-       ;;
175
-   -chorusos*)
176
-       os=-chorusos
177
-       basic_machine=$1
178
-       ;;
179
-   -chorusrdb)
180
-       os=-chorusrdb
181
-       basic_machine=$1
182
-       ;;
183
-   -hiux*)
184
-       os=-hiuxwe2
185
-       ;;
186
-   -sco6)
187
-       os=-sco5v6
188
-       basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
189
-       ;;
190
-   -sco5)
191
-       os=-sco3.2v5
192
-       basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
193
-       ;;
194
-   -sco4)
195
-       os=-sco3.2v4
196
-       basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
197
-       ;;
198
-   -sco3.2.[4-9]*)
199
-       os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
200
-       basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
201
libdvdcss-1.2.12.tar.bz2/.auto/depcomp Deleted
201
 
1
@@ -1,688 +0,0 @@
2
-#! /bin/sh
3
-# depcomp - compile a program generating dependencies as side-effects
4
-
5
-scriptversion=2011-12-04.11; # UTC
6
-
7
-# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009, 2010,
8
-# 2011 Free Software Foundation, Inc.
9
-
10
-# This program is free software; you can redistribute it and/or modify
11
-# it under the terms of the GNU General Public License as published by
12
-# the Free Software Foundation; either version 2, or (at your option)
13
-# any later version.
14
-
15
-# This program is distributed in the hope that it will be useful,
16
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
17
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18
-# GNU General Public License for more details.
19
-
20
-# You should have received a copy of the GNU General Public License
21
-# along with this program.  If not, see <http://www.gnu.org/licenses/>.
22
-
23
-# As a special exception to the GNU General Public License, if you
24
-# distribute this file as part of a program that contains a
25
-# configuration script generated by Autoconf, you may include it under
26
-# the same distribution terms that you use for the rest of that program.
27
-
28
-# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
29
-
30
-case $1 in
31
-  '')
32
-     echo "$0: No command.  Try \`$0 --help' for more information." 1>&2
33
-     exit 1;
34
-     ;;
35
-  -h | --h*)
36
-    cat <<\EOF
37
-Usage: depcomp [--help] [--version] PROGRAM [ARGS]
38
-
39
-Run PROGRAMS ARGS to compile a file, generating dependencies
40
-as side-effects.
41
-
42
-Environment variables:
43
-  depmode     Dependency tracking mode.
44
-  source      Source file read by `PROGRAMS ARGS'.
45
-  object      Object file output by `PROGRAMS ARGS'.
46
-  DEPDIR      directory where to store dependencies.
47
-  depfile     Dependency file to output.
48
-  tmpdepfile  Temporary file to use when outputting dependencies.
49
-  libtool     Whether libtool is used (yes/no).
50
-
51
-Report bugs to <bug-automake@gnu.org>.
52
-EOF
53
-    exit $?
54
-    ;;
55
-  -v | --v*)
56
-    echo "depcomp $scriptversion"
57
-    exit $?
58
-    ;;
59
-esac
60
-
61
-if test -z "$depmode" || test -z "$source" || test -z "$object"; then
62
-  echo "depcomp: Variables source, object and depmode must be set" 1>&2
63
-  exit 1
64
-fi
65
-
66
-# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po.
67
-depfile=${depfile-`echo "$object" |
68
-  sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`}
69
-tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
70
-
71
-rm -f "$tmpdepfile"
72
-
73
-# Some modes work just like other modes, but use different flags.  We
74
-# parameterize here, but still list the modes in the big case below,
75
-# to make depend.m4 easier to write.  Note that we *cannot* use a case
76
-# here, because this file can only contain one case statement.
77
-if test "$depmode" = hp; then
78
-  # HP compiler uses -M and no extra arg.
79
-  gccflag=-M
80
-  depmode=gcc
81
-fi
82
-
83
-if test "$depmode" = dashXmstdout; then
84
-   # This is just like dashmstdout with a different argument.
85
-   dashmflag=-xM
86
-   depmode=dashmstdout
87
-fi
88
-
89
-cygpath_u="cygpath -u -f -"
90
-if test "$depmode" = msvcmsys; then
91
-   # This is just like msvisualcpp but w/o cygpath translation.
92
-   # Just convert the backslash-escaped backslashes to single forward
93
-   # slashes to satisfy depend.m4
94
-   cygpath_u='sed s,\\\\,/,g'
95
-   depmode=msvisualcpp
96
-fi
97
-
98
-if test "$depmode" = msvc7msys; then
99
-   # This is just like msvc7 but w/o cygpath translation.
100
-   # Just convert the backslash-escaped backslashes to single forward
101
-   # slashes to satisfy depend.m4
102
-   cygpath_u='sed s,\\\\,/,g'
103
-   depmode=msvc7
104
-fi
105
-
106
-case "$depmode" in
107
-gcc3)
108
-## gcc 3 implements dependency tracking that does exactly what
109
-## we want.  Yay!  Note: for some reason libtool 1.4 doesn't like
110
-## it if -MD -MP comes after the -MF stuff.  Hmm.
111
-## Unfortunately, FreeBSD c89 acceptance of flags depends upon
112
-## the command line argument order; so add the flags where they
113
-## appear in depend2.am.  Note that the slowdown incurred here
114
-## affects only configure: in makefiles, %FASTDEP% shortcuts this.
115
-  for arg
116
-  do
117
-    case $arg in
118
-    -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;;
119
-    *)  set fnord "$@" "$arg" ;;
120
-    esac
121
-    shift # fnord
122
-    shift # $arg
123
-  done
124
-  "$@"
125
-  stat=$?
126
-  if test $stat -eq 0; then :
127
-  else
128
-    rm -f "$tmpdepfile"
129
-    exit $stat
130
-  fi
131
-  mv "$tmpdepfile" "$depfile"
132
-  ;;
133
-
134
-gcc)
135
-## There are various ways to get dependency output from gcc.  Here's
136
-## why we pick this rather obscure method:
137
-## - Don't want to use -MD because we'd like the dependencies to end
138
-##   up in a subdir.  Having to rename by hand is ugly.
139
-##   (We might end up doing this anyway to support other compilers.)
140
-## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
141
-##   -MM, not -M (despite what the docs say).
142
-## - Using -M directly means running the compiler twice (even worse
143
-##   than renaming).
144
-  if test -z "$gccflag"; then
145
-    gccflag=-MD,
146
-  fi
147
-  "$@" -Wp,"$gccflag$tmpdepfile"
148
-  stat=$?
149
-  if test $stat -eq 0; then :
150
-  else
151
-    rm -f "$tmpdepfile"
152
-    exit $stat
153
-  fi
154
-  rm -f "$depfile"
155
-  echo "$object : \\" > "$depfile"
156
-  alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
157
-## The second -e expression handles DOS-style file names with drive letters.
158
-  sed -e 's/^[^:]*: / /' \
159
-      -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
160
-## This next piece of magic avoids the `deleted header file' problem.
161
-## The problem is that when a header file which appears in a .P file
162
-## is deleted, the dependency causes make to die (because there is
163
-## typically no way to rebuild the header).  We avoid this by adding
164
-## dummy dependencies for each header file.  Too bad gcc doesn't do
165
-## this for us directly.
166
-  tr ' ' '
167
-' < "$tmpdepfile" |
168
-## Some versions of gcc put a space before the `:'.  On the theory
169
-## that the space means something, we add a space to the output as
170
-## well.  hp depmode also adds that space, but also prefixes the VPATH
171
-## to the object.  Take care to not repeat it in the output.
172
-## Some versions of the HPUX 10.20 sed can't process this invocation
173
-## correctly.  Breaking it into two sed invocations is a workaround.
174
-    sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \
175
-      | sed -e 's/$/ :/' >> "$depfile"
176
-  rm -f "$tmpdepfile"
177
-  ;;
178
-
179
-hp)
180
-  # This case exists only to let depend.m4 do its work.  It works by
181
-  # looking at the text of this script.  This case will never be run,
182
-  # since it is checked for above.
183
-  exit 1
184
-  ;;
185
-
186
-sgi)
187
-  if test "$libtool" = yes; then
188
-    "$@" "-Wp,-MDupdate,$tmpdepfile"
189
-  else
190
-    "$@" -MDupdate "$tmpdepfile"
191
-  fi
192
-  stat=$?
193
-  if test $stat -eq 0; then :
194
-  else
195
-    rm -f "$tmpdepfile"
196
-    exit $stat
197
-  fi
198
-  rm -f "$depfile"
199
-
200
-  if test -f "$tmpdepfile"; then  # yes, the sourcefile depend on other files
201
libdvdcss-1.2.12.tar.bz2/bootstrap Deleted
134
 
1
@@ -1,132 +0,0 @@
2
-#! /bin/sh
3
-# $Id: bootstrap 214 2008-08-29 18:57:45Z sam $
4
-
5
-# bootstrap: generic bootstrap/autogen.sh script for autotools projects
6
-#
7
-# Copyright (c) 2002-2008 Sam Hocevar <sam@zoy.org>
8
-#
9
-#    This program is free software. It comes without any warranty, to
10
-#    the extent permitted by applicable law. You can redistribute it
11
-#    and/or modify it under the terms of the Do What The Fuck You Want
12
-#    To Public License, Version 2, as published by Sam Hocevar. See
13
-#    http://sam.zoy.org/wtfpl/COPYING for more details.
14
-#
15
-# The latest version of this script can be found at the following place:
16
-#   http://sam.zoy.org/autotools/
17
-
18
-# Die if an error occurs
19
-set -e
20
-
21
-# Guess whether we are using configure.ac or configure.in
22
-if test -f configure.ac; then
23
-  conffile="configure.ac"
24
-elif test -f configure.in; then
25
-  conffile="configure.in"
26
-else
27
-  echo "$0: could not find configure.ac or configure.in"
28
-  exit 1
29
-fi
30
-
31
-# Check for needed features
32
-auxdir="`sed -ne 's/^[ \t]*A._CONFIG_AUX_DIR *([[ ]*\([^] )]*\).*/\1/p' $conffile`"
33
-libtool="`grep '^[ \t]*A._PROG_LIBTOOL' $conffile >/dev/null 2>&1 && echo yes || echo no`"
34
-header="`grep '^[ \t]*A._CONFIG_HEADER' $conffile >/dev/null 2>&1 && echo yes || echo no`"
35
-makefile="`[ -f Makefile.am ] && echo yes || echo no`"
36
-aclocalflags="`sed -ne 's/^[ \t]*ACLOCAL_AMFLAGS[ \t]*=//p' Makefile.am 2>/dev/null || :`"
37
-
38
-# Check for automake
39
-amvers="no"
40
-for v in 11 10 9 8 7 6 5; do
41
-  if automake-1.${v} --version >/dev/null 2>&1; then
42
-    amvers="-1.${v}"
43
-    break
44
-  elif automake1.${v} --version >/dev/null 2>&1; then
45
-    amvers="1.${v}"
46
-    break
47
-  fi
48
-done
49
-
50
-if test "${amvers}" = "no" && automake --version > /dev/null 2>&1; then
51
-  amvers="`automake --version | sed -e '1s/[^0-9]*//' -e q`"
52
-  if expr "$amvers" "<" "1.5" > /dev/null 2>&1; then
53
-    amvers="no"
54
-  else
55
-    amvers=""
56
-  fi
57
-fi
58
-
59
-if test "$amvers" = "no"; then
60
-  echo "$0: you need automake version 1.5 or later"
61
-  exit 1
62
-fi
63
-
64
-# Check for autoconf
65
-acvers="no"
66
-for v in "" "259" "253"; do
67
-  if autoconf${v} --version >/dev/null 2>&1; then
68
-    acvers="${v}"
69
-    break
70
-  fi
71
-done
72
-
73
-if test "$acvers" = "no"; then
74
-  echo "$0: you need autoconf"
75
-  exit 1
76
-fi
77
-
78
-# Check for libtool
79
-if test "$libtool" = "yes"; then
80
-  libtoolize="no"
81
-  if glibtoolize --version >/dev/null 2>&1; then
82
-    libtoolize="glibtoolize"
83
-  else
84
-    for v in "16" "15" "" "14"; do
85
-      if libtoolize${v} --version >/dev/null 2>&1; then
86
-        libtoolize="libtoolize${v}"
87
-        break
88
-      fi
89
-    done
90
-  fi
91
-
92
-  if test "$libtoolize" = "no"; then
93
-    echo "$0: you need libtool"
94
-    exit 1
95
-  fi
96
-fi
97
-
98
-# Remove old cruft
99
-for x in aclocal.m4 configure config.guess config.log config.sub config.cache config.h.in config.h compile libtool.m4 ltoptions.m4 ltsugar.m4 ltversion.m4 ltmain.sh libtool ltconfig missing mkinstalldirs depcomp install-sh; do rm -f $x autotools/$x; if test -n "$auxdir"; then rm -f "$auxdir/$x"; fi; done
100
-rm -Rf autom4te.cache
101
-if test -n "$auxdir"; then
102
-  if test ! -d "$auxdir"; then
103
-    mkdir "$auxdir"
104
-  fi
105
-  aclocalflags="${aclocalflags} -I $auxdir -I ."
106
-fi
107
-
108
-# Explain what we are doing from now
109
-set -x
110
-
111
-# Bootstrap package
112
-if test "$libtool" = "yes"; then
113
-  ${libtoolize} --copy --force
114
-  if test -n "$auxdir" -a ! "$auxdir" = "." -a -f "ltmain.sh"; then
115
-    echo "$0: working around a minor libtool issue"
116
-    mv ltmain.sh "$auxdir/"
117
-  fi
118
-fi
119
-
120
-aclocal${amvers} ${aclocalflags}
121
-autoconf${acvers}
122
-if test "$header" = "yes"; then
123
-  autoheader${acvers}
124
-fi
125
-if test "$makefile" = "yes"; then
126
-  #add --include-deps if you want to bootstrap with any other compiler than gcc
127
-  #automake${amvers} --add-missing --copy --include-deps
128
-  automake${amvers} --foreign --add-missing --copy
129
-fi
130
-
131
-# Remove cruft that we no longer want
132
-rm -Rf autom4te.cache
133
-
134
libdvdcss-1.2.12.tar.bz2/doc/Makefile.am Deleted
30
 
1
@@ -1,28 +0,0 @@
2
-EXTRA_DIST = doxygen.cfg.in footer.html header.html
3
-DISTCLEANFILES = doxygen.cfg
4
-
5
-all: stamp-doxygen stamp-latex
6
-
7
-doxygen.cfg: $(srcdir)/doxygen.cfg.in
8
-   -rm -f $@
9
-   sed 's|@SRCDIR@|$(srcdir)|g; s|@TOP_SRCDIR@|$(top_srcdir)|g' $< > $@
10
-
11
-stamp-doxygen: doxygen.cfg
12
-if DOXYGEN
13
-   doxygen doxygen.cfg
14
-   touch stamp-doxygen
15
-endif
16
-
17
-stamp-latex: stamp-doxygen
18
-if DOXYGEN
19
-if LATEX
20
-   cd latex && $(MAKE) $(AM_CFLAGS) ps
21
-   touch stamp-latex
22
-endif
23
-endif
24
-
25
-clean: clean-local
26
-clean-local:
27
-   -rm -f stamp-latex stamp-doxygen
28
-   -rm -Rf html latex
29
-
30
libdvdcss-1.2.12.tar.bz2/doc/Makefile.in Deleted
201
 
1
@@ -1,384 +0,0 @@
2
-# Makefile.in generated by automake 1.11.3 from Makefile.am.
3
-# @configure_input@
4
-
5
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
6
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
7
-# Foundation, Inc.
8
-# This Makefile.in is free software; the Free Software Foundation
9
-# gives unlimited permission to copy and/or distribute it,
10
-# with or without modifications, as long as this notice is preserved.
11
-
12
-# This program is distributed in the hope that it will be useful,
13
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
14
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
15
-# PARTICULAR PURPOSE.
16
-
17
-@SET_MAKE@
18
-VPATH = @srcdir@
19
-pkgdatadir = $(datadir)/@PACKAGE@
20
-pkgincludedir = $(includedir)/@PACKAGE@
21
-pkglibdir = $(libdir)/@PACKAGE@
22
-pkglibexecdir = $(libexecdir)/@PACKAGE@
23
-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
24
-install_sh_DATA = $(install_sh) -c -m 644
25
-install_sh_PROGRAM = $(install_sh) -c
26
-install_sh_SCRIPT = $(install_sh) -c
27
-INSTALL_HEADER = $(INSTALL_DATA)
28
-transform = $(program_transform_name)
29
-NORMAL_INSTALL = :
30
-PRE_INSTALL = :
31
-POST_INSTALL = :
32
-NORMAL_UNINSTALL = :
33
-PRE_UNINSTALL = :
34
-POST_UNINSTALL = :
35
-build_triplet = @build@
36
-host_triplet = @host@
37
-target_triplet = @target@
38
-subdir = doc
39
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
40
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
41
-am__aclocal_m4_deps = $(top_srcdir)/configure.ac
42
-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
43
-   $(ACLOCAL_M4)
44
-mkinstalldirs = $(install_sh) -d
45
-CONFIG_HEADER = $(top_builddir)/config.h
46
-CONFIG_CLEAN_FILES =
47
-CONFIG_CLEAN_VPATH_FILES =
48
-SOURCES =
49
-DIST_SOURCES =
50
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
51
-ACLOCAL = @ACLOCAL@
52
-AMTAR = @AMTAR@
53
-AR = @AR@
54
-AS = @AS@
55
-AUTOCONF = @AUTOCONF@
56
-AUTOHEADER = @AUTOHEADER@
57
-AUTOMAKE = @AUTOMAKE@
58
-AWK = @AWK@
59
-CC = @CC@
60
-CCDEPMODE = @CCDEPMODE@
61
-CFLAGS = @CFLAGS@
62
-CPP = @CPP@
63
-CPPFLAGS = @CPPFLAGS@
64
-CYGPATH_W = @CYGPATH_W@
65
-DEFS = @DEFS@
66
-DEPDIR = @DEPDIR@
67
-DLLTOOL = @DLLTOOL@
68
-DOXYGEN = @DOXYGEN@
69
-DSYMUTIL = @DSYMUTIL@
70
-DUMPBIN = @DUMPBIN@
71
-DVDCSS_LDFLAGS = @DVDCSS_LDFLAGS@
72
-ECHO_C = @ECHO_C@
73
-ECHO_N = @ECHO_N@
74
-ECHO_T = @ECHO_T@
75
-EGREP = @EGREP@
76
-EXEEXT = @EXEEXT@
77
-FGREP = @FGREP@
78
-GREP = @GREP@
79
-INSTALL = @INSTALL@
80
-INSTALL_DATA = @INSTALL_DATA@
81
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
82
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
83
-INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
84
-LATEX = @LATEX@
85
-LD = @LD@
86
-LDFLAGS = @LDFLAGS@
87
-LIBOBJS = @LIBOBJS@
88
-LIBS = @LIBS@
89
-LIBTOOL = @LIBTOOL@
90
-LIPO = @LIPO@
91
-LN_S = @LN_S@
92
-LTLIBOBJS = @LTLIBOBJS@
93
-MAKEINFO = @MAKEINFO@
94
-MANIFEST_TOOL = @MANIFEST_TOOL@
95
-MKDIR_P = @MKDIR_P@
96
-NM = @NM@
97
-NMEDIT = @NMEDIT@
98
-OBJDUMP = @OBJDUMP@
99
-OBJEXT = @OBJEXT@
100
-OTOOL = @OTOOL@
101
-OTOOL64 = @OTOOL64@
102
-PACKAGE = @PACKAGE@
103
-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
104
-PACKAGE_NAME = @PACKAGE_NAME@
105
-PACKAGE_STRING = @PACKAGE_STRING@
106
-PACKAGE_TARNAME = @PACKAGE_TARNAME@
107
-PACKAGE_URL = @PACKAGE_URL@
108
-PACKAGE_VERSION = @PACKAGE_VERSION@
109
-PATH_SEPARATOR = @PATH_SEPARATOR@
110
-RANLIB = @RANLIB@
111
-SED = @SED@
112
-SET_MAKE = @SET_MAKE@
113
-SHELL = @SHELL@
114
-STRIP = @STRIP@
115
-VERSION = @VERSION@
116
-abs_builddir = @abs_builddir@
117
-abs_srcdir = @abs_srcdir@
118
-abs_top_builddir = @abs_top_builddir@
119
-abs_top_srcdir = @abs_top_srcdir@
120
-ac_ct_AR = @ac_ct_AR@
121
-ac_ct_CC = @ac_ct_CC@
122
-ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
123
-am__include = @am__include@
124
-am__leading_dot = @am__leading_dot@
125
-am__quote = @am__quote@
126
-am__tar = @am__tar@
127
-am__untar = @am__untar@
128
-bindir = @bindir@
129
-build = @build@
130
-build_alias = @build_alias@
131
-build_cpu = @build_cpu@
132
-build_os = @build_os@
133
-build_vendor = @build_vendor@
134
-builddir = @builddir@
135
-datadir = @datadir@
136
-datarootdir = @datarootdir@
137
-docdir = @docdir@
138
-dvidir = @dvidir@
139
-exec_prefix = @exec_prefix@
140
-host = @host@
141
-host_alias = @host_alias@
142
-host_cpu = @host_cpu@
143
-host_os = @host_os@
144
-host_vendor = @host_vendor@
145
-htmldir = @htmldir@
146
-includedir = @includedir@
147
-infodir = @infodir@
148
-install_sh = @install_sh@
149
-libdir = @libdir@
150
-libexecdir = @libexecdir@
151
-localedir = @localedir@
152
-localstatedir = @localstatedir@
153
-mandir = @mandir@
154
-mkdir_p = @mkdir_p@
155
-oldincludedir = @oldincludedir@
156
-pdfdir = @pdfdir@
157
-prefix = @prefix@
158
-program_transform_name = @program_transform_name@
159
-psdir = @psdir@
160
-sbindir = @sbindir@
161
-sharedstatedir = @sharedstatedir@
162
-srcdir = @srcdir@
163
-sysconfdir = @sysconfdir@
164
-target = @target@
165
-target_alias = @target_alias@
166
-target_cpu = @target_cpu@
167
-target_os = @target_os@
168
-target_vendor = @target_vendor@
169
-top_build_prefix = @top_build_prefix@
170
-top_builddir = @top_builddir@
171
-top_srcdir = @top_srcdir@
172
-EXTRA_DIST = doxygen.cfg.in footer.html header.html
173
-DISTCLEANFILES = doxygen.cfg
174
-all: all-am
175
-
176
-.SUFFIXES:
177
-$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
178
-   @for dep in $?; do \
179
-     case '$(am__configure_deps)' in \
180
-       *$$dep*) \
181
-         ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
182
-           && { if test -f $@; then exit 0; else break; fi; }; \
183
-         exit 1;; \
184
-     esac; \
185
-   done; \
186
-   echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign doc/Makefile'; \
187
-   $(am__cd) $(top_srcdir) && \
188
-     $(AUTOMAKE) --foreign doc/Makefile
189
-.PRECIOUS: Makefile
190
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
191
-   @case '$?' in \
192
-     *config.status*) \
193
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
194
-     *) \
195
-       echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
196
-       cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
197
-   esac;
198
-
199
-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
200
-   cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
201
libdvdcss-1.2.12.tar.bz2/src/Makefile.am Deleted
39
 
1
@@ -1,37 +0,0 @@
2
-SUBDIRS = dvdcss
3
-
4
-lib_LTLIBRARIES = libdvdcss.la
5
-
6
-libdvdcss_la_SOURCES = \
7
-   libdvdcss.c libdvdcss.h \
8
-   device.c device.h \
9
-   css.c css.h csstables.h \
10
-   ioctl.c ioctl.h \
11
-   error.c \
12
-   common.h \
13
-   $(bsdi_sources)
14
-
15
-EXTRA_libdvdcss_la_SOURCES = \
16
-   $(bsdi_extras)
17
-
18
-libdvdcss_la_LIBADD = $(bsdi_libadd)
19
-libdvdcss_la_LDFLAGS = -version-info 3:0:1 $(libtool_flags) @DVDCSS_LDFLAGS@
20
-
21
-bsdi_extras = bsdi_ioctl.c bsdi_dvd.h
22
-
23
-if SYS_BSDI
24
-bsdi_sources = $(bsdi_extras)
25
-endif
26
-
27
-if SYS_BSDI_LIBDVD
28
-bsdi_libadd = -ldvd
29
-endif
30
-
31
-if SYS_MSVC
32
-else
33
-libtool_flags = -no-undefined
34
-endif
35
-
36
-pkgconfigdir = $(libdir)/pkgconfig
37
-pkgconfig_DATA = libdvdcss.pc
38
-
39
libdvdcss-1.2.12.tar.bz2/src/Makefile.in Deleted
201
 
1
@@ -1,746 +0,0 @@
2
-# Makefile.in generated by automake 1.11.3 from Makefile.am.
3
-# @configure_input@
4
-
5
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
6
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
7
-# Foundation, Inc.
8
-# This Makefile.in is free software; the Free Software Foundation
9
-# gives unlimited permission to copy and/or distribute it,
10
-# with or without modifications, as long as this notice is preserved.
11
-
12
-# This program is distributed in the hope that it will be useful,
13
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
14
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
15
-# PARTICULAR PURPOSE.
16
-
17
-@SET_MAKE@
18
-
19
-
20
-VPATH = @srcdir@
21
-pkgdatadir = $(datadir)/@PACKAGE@
22
-pkgincludedir = $(includedir)/@PACKAGE@
23
-pkglibdir = $(libdir)/@PACKAGE@
24
-pkglibexecdir = $(libexecdir)/@PACKAGE@
25
-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
26
-install_sh_DATA = $(install_sh) -c -m 644
27
-install_sh_PROGRAM = $(install_sh) -c
28
-install_sh_SCRIPT = $(install_sh) -c
29
-INSTALL_HEADER = $(INSTALL_DATA)
30
-transform = $(program_transform_name)
31
-NORMAL_INSTALL = :
32
-PRE_INSTALL = :
33
-POST_INSTALL = :
34
-NORMAL_UNINSTALL = :
35
-PRE_UNINSTALL = :
36
-POST_UNINSTALL = :
37
-build_triplet = @build@
38
-host_triplet = @host@
39
-target_triplet = @target@
40
-subdir = src
41
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
42
-   $(srcdir)/libdvdcss.pc.in
43
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
44
-am__aclocal_m4_deps = $(top_srcdir)/configure.ac
45
-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
46
-   $(ACLOCAL_M4)
47
-mkinstalldirs = $(install_sh) -d
48
-CONFIG_HEADER = $(top_builddir)/config.h
49
-CONFIG_CLEAN_FILES = libdvdcss.pc
50
-CONFIG_CLEAN_VPATH_FILES =
51
-am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
52
-am__vpath_adj = case $$p in \
53
-    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
54
-    *) f=$$p;; \
55
-  esac;
56
-am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
57
-am__install_max = 40
58
-am__nobase_strip_setup = \
59
-  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
60
-am__nobase_strip = \
61
-  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
62
-am__nobase_list = $(am__nobase_strip_setup); \
63
-  for p in $$list; do echo "$$p $$p"; done | \
64
-  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
65
-  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
66
-    if (++n[$$2] == $(am__install_max)) \
67
-      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
68
-    END { for (dir in files) print dir, files[dir] }'
69
-am__base_list = \
70
-  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
71
-  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
72
-am__uninstall_files_from_dir = { \
73
-  test -z "$$files" \
74
-    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
75
-    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
76
-         $(am__cd) "$$dir" && rm -f $$files; }; \
77
-  }
78
-am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(pkgconfigdir)"
79
-LTLIBRARIES = $(lib_LTLIBRARIES)
80
-am__DEPENDENCIES_1 =
81
-libdvdcss_la_DEPENDENCIES = $(am__DEPENDENCIES_1)
82
-am__libdvdcss_la_SOURCES_DIST = libdvdcss.c libdvdcss.h device.c \
83
-   device.h css.c css.h csstables.h ioctl.c ioctl.h error.c \
84
-   common.h bsdi_ioctl.c bsdi_dvd.h
85
-am__objects_1 = bsdi_ioctl.lo
86
-@SYS_BSDI_TRUE@am__objects_2 = $(am__objects_1)
87
-am_libdvdcss_la_OBJECTS = libdvdcss.lo device.lo css.lo ioctl.lo \
88
-   error.lo $(am__objects_2)
89
-libdvdcss_la_OBJECTS = $(am_libdvdcss_la_OBJECTS)
90
-libdvdcss_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
91
-   $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
92
-   $(libdvdcss_la_LDFLAGS) $(LDFLAGS) -o $@
93
-DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
94
-depcomp = $(SHELL) $(top_srcdir)/.auto/depcomp
95
-am__depfiles_maybe = depfiles
96
-am__mv = mv -f
97
-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
98
-   $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
99
-LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
100
-   --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
101
-   $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
102
-CCLD = $(CC)
103
-LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
104
-   --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
105
-   $(LDFLAGS) -o $@
106
-SOURCES = $(libdvdcss_la_SOURCES) $(EXTRA_libdvdcss_la_SOURCES)
107
-DIST_SOURCES = $(am__libdvdcss_la_SOURCES_DIST) \
108
-   $(EXTRA_libdvdcss_la_SOURCES)
109
-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
110
-   html-recursive info-recursive install-data-recursive \
111
-   install-dvi-recursive install-exec-recursive \
112
-   install-html-recursive install-info-recursive \
113
-   install-pdf-recursive install-ps-recursive install-recursive \
114
-   installcheck-recursive installdirs-recursive pdf-recursive \
115
-   ps-recursive uninstall-recursive
116
-DATA = $(pkgconfig_DATA)
117
-RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive    \
118
-  distclean-recursive maintainer-clean-recursive
119
-AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
120
-   $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
121
-   distdir
122
-ETAGS = etags
123
-CTAGS = ctags
124
-DIST_SUBDIRS = $(SUBDIRS)
125
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
126
-am__relativize = \
127
-  dir0=`pwd`; \
128
-  sed_first='s,^\([^/]*\)/.*$$,\1,'; \
129
-  sed_rest='s,^[^/]*/*,,'; \
130
-  sed_last='s,^.*/\([^/]*\)$$,\1,'; \
131
-  sed_butlast='s,/*[^/]*$$,,'; \
132
-  while test -n "$$dir1"; do \
133
-    first=`echo "$$dir1" | sed -e "$$sed_first"`; \
134
-    if test "$$first" != "."; then \
135
-      if test "$$first" = ".."; then \
136
-        dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
137
-        dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
138
-      else \
139
-        first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
140
-        if test "$$first2" = "$$first"; then \
141
-          dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
142
-        else \
143
-          dir2="../$$dir2"; \
144
-        fi; \
145
-        dir0="$$dir0"/"$$first"; \
146
-      fi; \
147
-    fi; \
148
-    dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
149
-  done; \
150
-  reldir="$$dir2"
151
-ACLOCAL = @ACLOCAL@
152
-AMTAR = @AMTAR@
153
-AR = @AR@
154
-AS = @AS@
155
-AUTOCONF = @AUTOCONF@
156
-AUTOHEADER = @AUTOHEADER@
157
-AUTOMAKE = @AUTOMAKE@
158
-AWK = @AWK@
159
-CC = @CC@
160
-CCDEPMODE = @CCDEPMODE@
161
-CFLAGS = @CFLAGS@
162
-CPP = @CPP@
163
-CPPFLAGS = @CPPFLAGS@
164
-CYGPATH_W = @CYGPATH_W@
165
-DEFS = @DEFS@
166
-DEPDIR = @DEPDIR@
167
-DLLTOOL = @DLLTOOL@
168
-DOXYGEN = @DOXYGEN@
169
-DSYMUTIL = @DSYMUTIL@
170
-DUMPBIN = @DUMPBIN@
171
-DVDCSS_LDFLAGS = @DVDCSS_LDFLAGS@
172
-ECHO_C = @ECHO_C@
173
-ECHO_N = @ECHO_N@
174
-ECHO_T = @ECHO_T@
175
-EGREP = @EGREP@
176
-EXEEXT = @EXEEXT@
177
-FGREP = @FGREP@
178
-GREP = @GREP@
179
-INSTALL = @INSTALL@
180
-INSTALL_DATA = @INSTALL_DATA@
181
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
182
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
183
-INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
184
-LATEX = @LATEX@
185
-LD = @LD@
186
-LDFLAGS = @LDFLAGS@
187
-LIBOBJS = @LIBOBJS@
188
-LIBS = @LIBS@
189
-LIBTOOL = @LIBTOOL@
190
-LIPO = @LIPO@
191
-LN_S = @LN_S@
192
-LTLIBOBJS = @LTLIBOBJS@
193
-MAKEINFO = @MAKEINFO@
194
-MANIFEST_TOOL = @MANIFEST_TOOL@
195
-MKDIR_P = @MKDIR_P@
196
-NM = @NM@
197
-NMEDIT = @NMEDIT@
198
-OBJDUMP = @OBJDUMP@
199
-OBJEXT = @OBJEXT@
200
-OTOOL = @OTOOL@
201
libdvdcss-1.2.12.tar.bz2/src/bsdi_dvd.h Deleted
201
 
1
@@ -1,344 +0,0 @@
2
-/*
3
- * $Id: bsdi_dvd.h 234 2010-08-02 15:38:08Z jb $
4
-*/
5
-
6
-#ifndef DVDCSS_BSDI_DVD_H
7
-#define DVDCSS_BSDI_DVD_H
8
-
9
-#include <sys/cdefs.h>
10
-#include <machine/endian.h>
11
-#include <sys/ioctl.h>
12
-
13
-__BEGIN_DECLS
14
-int    dvd_cdrom_ioctl(int, unsigned long, void *);
15
-int    cdrom_blocksize(int, int);
16
-void   dvd_cdrom_debug(int);
17
-__END_DECLS
18
-
19
-#define    ioctl(a,b,c)    dvd_cdrom_ioctl((a),(b),(c))
20
-
21
-typedef    unsigned char __u8;
22
-typedef    unsigned short __u16;
23
-typedef    unsigned int __u32;
24
-
25
-#define DVD_READ_STRUCT        0x5390  /* Read structure */
26
-#define DVD_WRITE_STRUCT   0x5391  /* Write structure */
27
-#define DVD_AUTH       0x5392  /* Authentication */
28
-
29
-#define DVD_STRUCT_PHYSICAL    0x00
30
-#define DVD_STRUCT_COPYRIGHT   0x01
31
-#define DVD_STRUCT_DISCKEY 0x02
32
-#define DVD_STRUCT_BCA     0x03
33
-#define DVD_STRUCT_MANUFACT    0x04
34
-
35
-struct dvd_layer {
36
-   __u8 book_version   : 4;
37
-   __u8 book_type      : 4;
38
-   __u8 min_rate       : 4;
39
-   __u8 disc_size      : 4;
40
-   __u8 layer_type     : 4;
41
-   __u8 track_path     : 1;
42
-   __u8 nlayers        : 2;
43
-   __u8 track_density  : 4;
44
-   __u8 linear_density : 4;
45
-   __u8 bca        : 1;
46
-   __u32 start_sector;
47
-   __u32 end_sector;
48
-   __u32 end_sector_l0;
49
-};
50
-
51
-struct dvd_physical {
52
-   __u8 type;
53
-   __u8 layer_num;
54
-   struct dvd_layer layer[4];
55
-};
56
-
57
-struct dvd_copyright {
58
-   __u8 type;
59
-
60
-   __u8 layer_num;
61
-   __u8 cpst;
62
-   __u8 rmi;
63
-};
64
-
65
-struct dvd_disckey {
66
-   __u8 type;
67
-
68
-   unsigned agid       : 2;
69
-   __u8 value[2048];
70
-};
71
-
72
-struct dvd_bca {
73
-   __u8 type;
74
-
75
-   int len;
76
-   __u8 value[188];
77
-};
78
-
79
-struct dvd_manufact {
80
-   __u8 type;
81
-
82
-   __u8 layer_num;
83
-   int len;
84
-   __u8 value[2048];
85
-};
86
-
87
-typedef union {
88
-   __u8 type;
89
-
90
-   struct dvd_physical physical;
91
-   struct dvd_copyright    copyright;
92
-   struct dvd_disckey  disckey;
93
-   struct dvd_bca      bca;
94
-   struct dvd_manufact manufact;
95
-} dvd_struct;
96
-
97
-/*
98
- * DVD authentication ioctl
99
- */
100
-
101
-/* Authentication states */
102
-#define DVD_LU_SEND_AGID   0
103
-#define DVD_HOST_SEND_CHALLENGE    1
104
-#define DVD_LU_SEND_KEY1   2
105
-#define DVD_LU_SEND_CHALLENGE  3
106
-#define DVD_HOST_SEND_KEY2 4
107
-
108
-/* Termination states */
109
-#define DVD_AUTH_ESTABLISHED   5
110
-#define DVD_AUTH_FAILURE   6
111
-
112
-/* Other functions */
113
-#define DVD_LU_SEND_TITLE_KEY  7
114
-#define DVD_LU_SEND_ASF        8
115
-#define DVD_INVALIDATE_AGID    9
116
-#define DVD_LU_SEND_RPC_STATE  10
117
-#define DVD_HOST_SEND_RPC_STATE    11
118
-
119
-/* State data */
120
-typedef __u8 dvd_key[5];       /* 40-bit value, MSB is first elem. */
121
-typedef __u8 dvd_challenge[10];    /* 80-bit value, MSB is first elem. */
122
-
123
-struct dvd_lu_send_agid {
124
-   __u8 type;
125
-   unsigned agid       : 2;
126
-};
127
-
128
-struct dvd_host_send_challenge {
129
-   __u8 type;
130
-   unsigned agid       : 2;
131
-
132
-   dvd_challenge chal;
133
-};
134
-
135
-struct dvd_send_key {
136
-   __u8 type;
137
-   unsigned agid       : 2;
138
-
139
-   dvd_key key;
140
-};
141
-
142
-struct dvd_lu_send_challenge {
143
-   __u8 type;
144
-   unsigned agid       : 2;
145
-
146
-   dvd_challenge chal;
147
-};
148
-
149
-#define DVD_CPM_NO_COPYRIGHT   0
150
-#define DVD_CPM_COPYRIGHTED    1
151
-
152
-#define DVD_CP_SEC_NONE        0
153
-#define DVD_CP_SEC_EXIST   1
154
-
155
-#define DVD_CGMS_UNRESTRICTED  0
156
-#define DVD_CGMS_SINGLE        2
157
-#define DVD_CGMS_RESTRICTED    3
158
-
159
-struct dvd_lu_send_title_key {
160
-   __u8 type;
161
-   unsigned agid       : 2;
162
-
163
-   dvd_key title_key;
164
-   int lba;
165
-   unsigned cpm        : 1;
166
-   unsigned cp_sec     : 1;
167
-   unsigned cgms       : 2;
168
-};
169
-
170
-struct dvd_lu_send_asf {
171
-   __u8 type;
172
-   unsigned agid       : 2;
173
-
174
-   unsigned asf        : 1;
175
-};
176
-
177
-struct dvd_host_send_rpcstate {
178
-   __u8 type;
179
-   __u8 pdrc;
180
-};
181
-
182
-struct dvd_lu_send_rpcstate {
183
-   __u8 type       : 2;
184
-   __u8 vra        : 3;
185
-   __u8 ucca       : 3;
186
-   __u8 region_mask;
187
-   __u8 rpc_scheme;
188
-};
189
-
190
-typedef union {
191
-   __u8 type;
192
-
193
-   struct dvd_lu_send_agid     lsa;
194
-   struct dvd_host_send_challenge  hsc;
195
-   struct dvd_send_key     lsk;
196
-   struct dvd_lu_send_challenge    lsc;
197
-   struct dvd_send_key     hsk;
198
-   struct dvd_lu_send_title_key    lstk;
199
-   struct dvd_lu_send_asf      lsasf;
200
-   struct dvd_host_send_rpcstate   hrpcs;
201
libdvdcss-1.2.12.tar.bz2/src/bsdi_ioctl.c Deleted
201
 
1
@@ -1,770 +0,0 @@
2
-#include "config.h"
3
-
4
-/*
5
- * Hacked version of the linux cdrom.c kernel module - everything except the
6
- * DVD handling ripped out and the rest rewritten to use raw SCSI commands
7
- * on BSD/OS 4.2 (but should work with earlier versions as well).
8
-*/
9
-
10
-#include <sys/types.h>
11
-#include <stdlib.h>
12
-#include <stdio.h>
13
-#include <errno.h>
14
-#include <unistd.h>
15
-#include <sys/ioctl.h>
16
-#include </sys/dev/scsi/scsi.h>
17
-#include </sys/dev/scsi/scsi_ioctl.h>
18
-
19
-#include "bsdi_dvd.h"
20
-
21
-/*
22
- * Now get rid of the override/intercept macro so we can call the real ioctl()
23
- * routine!
24
-*/
25
-#undef ioctl
26
-
27
-#define CMD_READ_10             0x28
28
-#define CMD_READ_TOC_PMA_ATIP   0x43
29
-#define CMD_READ_CD             0xbe
30
-#define    CMD_START_STOP_UNIT 0x1b
31
-
32
-#define    CMD_SEND_KEY        0xa3
33
-#define    CMD_REPORT_KEY      0xa4
34
-#define    CMD_READ_DVD_STRUCTURE  0xad
35
-
36
-#define copy_key(dest,src) memcpy((dest), (src), sizeof(dvd_key))
37
-#define copy_chal(dest,src)    memcpy((dest), (src), sizeof(dvd_challenge))
38
-
39
-/* Define the Cdrom Generic Command structure */
40
-typedef    struct  cgc
41
-       {
42
-       u_char  cdb[12];
43
-       u_char  *buf;
44
-       int buflen;
45
-       int rw;
46
-       int timeout;
47
-       scsi_user_sense_t *sus;
48
-       } cgc_t;
49
-
50
-static int scsi_cmd(int, cgc_t *);
51
-static int cdrom_ioctl(int, u_long, void *);
52
-static int cdrom_tray_move(int, int);
53
-static void cdrom_count_tracks(int, tracktype *);
54
-static int dvd_ioctl(int, u_long, void *);
55
-static int debug = 0;
56
-
57
-void dvd_cdrom_debug(int flag)
58
-   {
59
-   debug = flag;
60
-   }
61
-
62
-/*
63
- * This is the published entry point.   Actually applications should simply
64
- * include <dvd.h> and not refer to this at all.
65
-*/
66
-int dvd_cdrom_ioctl(int fd, unsigned long cmd, void *arg)
67
-   {
68
-   switch  (cmd)
69
-       {
70
-       case    DVD_AUTH:
71
-       case    DVD_READ_STRUCT:
72
-           return(dvd_ioctl(fd, cmd, arg));
73
-       case    CDROMREADTOCHDR:
74
-       case    CDROMREADTOCENTRY:
75
-       case    CDROMEJECT:
76
-       case    CDROMREADRAW:
77
-       case    CDROMREADMODE1:
78
-       case    CDROMREADMODE2:
79
-       case    CDROMCLOSETRAY:
80
-       case    CDROM_DRIVE_STATUS:
81
-       case    CDROM_DISC_STATUS:
82
-           return(cdrom_ioctl(fd, cmd, arg));
83
-       default:
84
-           return(ioctl(fd, cmd, arg));
85
-       }
86
-   }
87
-
88
-static void setup_report_key(cgc_t *cgc, u_int agid, u_int type)
89
-   {
90
-
91
-   cgc->cdb[0] = CMD_REPORT_KEY;
92
-   cgc->cdb[10] = type | (agid << 6);
93
-   switch  (type)
94
-       {
95
-       case    0:
96
-       case    5:
97
-       case    8:
98
-           cgc->buflen = 8;
99
-           break;
100
-       case    1:
101
-           cgc->buflen = 16;
102
-           break;
103
-       case    2:
104
-       case    4:
105
-           cgc->buflen = 12;
106
-           break;
107
-       }
108
-   cgc->cdb[9] = cgc->buflen;
109
-   cgc->rw = SUC_READ;;
110
-   }
111
-
112
-static void setup_send_key(cgc_t *cgc, u_int agid, u_int type)
113
-   {
114
-
115
-   cgc->cdb[0] = CMD_SEND_KEY;
116
-   cgc->cdb[10] = type | (agid << 6);
117
-   switch  (type)
118
-       {
119
-       case    1:
120
-           cgc->buflen = 16;
121
-           break;
122
-       case    3:
123
-           cgc->buflen = 12;
124
-           break;
125
-       case    6:
126
-           cgc->buflen = 8;
127
-           break;
128
-       }
129
-   cgc->cdb[9] = cgc->buflen;
130
-   cgc->rw = SUC_WRITE;
131
-   }
132
-
133
-static void cgc_init(cgc_t *cgc, void *buf, int len, int type)
134
-   {
135
-
136
-   memset(cgc, 0, sizeof (*cgc));
137
-   if  (buf)
138
-       memset(buf, 0, len);
139
-   cgc->buf = (u_char *)buf;
140
-   cgc->buflen = len;
141
-   cgc->rw = type;
142
-   cgc->timeout = 5;   /* 5 second timeout */
143
-   }
144
-
145
-static int dvd_do_auth(int fd, dvd_authinfo *ai)
146
-   {
147
-   int ret;
148
-   u_char  buf[20];
149
-   cgc_t   cgc;
150
-   rpc_state_t rpc_state;
151
-
152
-   memset(buf, 0, sizeof(buf));
153
-   cgc_init(&cgc, buf, 0, SUC_READ);
154
-
155
-   switch  (ai->type)
156
-       {
157
-       case    DVD_LU_SEND_AGID:   /* LU data send */
158
-           setup_report_key(&cgc, ai->lsa.agid, 0);
159
-           if  (ret = scsi_cmd(fd, &cgc))
160
-               return ret;
161
-           ai->lsa.agid = buf[7] >> 6;
162
-           break;
163
-       case    DVD_LU_SEND_KEY1:
164
-           setup_report_key(&cgc, ai->lsk.agid, 2);
165
-           if  (ret = scsi_cmd(fd, &cgc))
166
-               return ret;
167
-           copy_key(ai->lsk.key, &buf[4]);
168
-           break;
169
-       case    DVD_LU_SEND_CHALLENGE:
170
-           setup_report_key(&cgc, ai->lsc.agid, 1);
171
-           if  (ret = scsi_cmd(fd, &cgc))
172
-               return ret;
173
-           copy_chal(ai->lsc.chal, &buf[4]);
174
-           break;
175
-       case    DVD_LU_SEND_TITLE_KEY:  /* Post-auth key */
176
-           setup_report_key(&cgc, ai->lstk.agid, 4);
177
-           cgc.cdb[5] = ai->lstk.lba;
178
-           cgc.cdb[4] = ai->lstk.lba >> 8;
179
-           cgc.cdb[3] = ai->lstk.lba >> 16;
180
-           cgc.cdb[2] = ai->lstk.lba >> 24;
181
-           if  (ret = scsi_cmd(fd, &cgc))
182
-               return ret;
183
-           ai->lstk.cpm = (buf[4] >> 7) & 1;
184
-           ai->lstk.cp_sec = (buf[4] >> 6) & 1;
185
-           ai->lstk.cgms = (buf[4] >> 4) & 3;
186
-           copy_key(ai->lstk.title_key, &buf[5]);
187
-           break;
188
-       case    DVD_LU_SEND_ASF:
189
-           setup_report_key(&cgc, ai->lsasf.agid, 5);
190
-           if  (ret = scsi_cmd(fd, &cgc))
191
-               return ret;
192
-           ai->lsasf.asf = buf[7] & 1;
193
-           break;
194
-       case    DVD_HOST_SEND_CHALLENGE: /* LU data receive (LU changes state) */
195
-           setup_send_key(&cgc, ai->hsc.agid, 1);
196
-           buf[1] = 0xe;
197
-           copy_chal(&buf[4], ai->hsc.chal);
198
-           if  (ret = scsi_cmd(fd, &cgc))
199
-               return ret;
200
-           ai->type = DVD_LU_SEND_KEY1;
201
libdvdcss-1.2.12.tar.bz2/src/dvdcss/Makefile.am Deleted
5
 
1
@@ -1,3 +0,0 @@
2
-pkgincludedir = $(includedir)/dvdcss
3
-
4
-pkginclude_HEADERS = dvdcss.h
5
libdvdcss-1.2.12.tar.bz2/src/dvdcss/Makefile.in Deleted
201
 
1
@@ -1,466 +0,0 @@
2
-# Makefile.in generated by automake 1.11.3 from Makefile.am.
3
-# @configure_input@
4
-
5
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
6
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
7
-# Foundation, Inc.
8
-# This Makefile.in is free software; the Free Software Foundation
9
-# gives unlimited permission to copy and/or distribute it,
10
-# with or without modifications, as long as this notice is preserved.
11
-
12
-# This program is distributed in the hope that it will be useful,
13
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
14
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
15
-# PARTICULAR PURPOSE.
16
-
17
-@SET_MAKE@
18
-
19
-VPATH = @srcdir@
20
-pkgdatadir = $(datadir)/@PACKAGE@
21
-pkglibdir = $(libdir)/@PACKAGE@
22
-pkglibexecdir = $(libexecdir)/@PACKAGE@
23
-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
24
-install_sh_DATA = $(install_sh) -c -m 644
25
-install_sh_PROGRAM = $(install_sh) -c
26
-install_sh_SCRIPT = $(install_sh) -c
27
-INSTALL_HEADER = $(INSTALL_DATA)
28
-transform = $(program_transform_name)
29
-NORMAL_INSTALL = :
30
-PRE_INSTALL = :
31
-POST_INSTALL = :
32
-NORMAL_UNINSTALL = :
33
-PRE_UNINSTALL = :
34
-POST_UNINSTALL = :
35
-build_triplet = @build@
36
-host_triplet = @host@
37
-target_triplet = @target@
38
-subdir = src/dvdcss
39
-DIST_COMMON = $(pkginclude_HEADERS) $(srcdir)/Makefile.am \
40
-   $(srcdir)/Makefile.in
41
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
42
-am__aclocal_m4_deps = $(top_srcdir)/configure.ac
43
-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
44
-   $(ACLOCAL_M4)
45
-mkinstalldirs = $(install_sh) -d
46
-CONFIG_HEADER = $(top_builddir)/config.h
47
-CONFIG_CLEAN_FILES =
48
-CONFIG_CLEAN_VPATH_FILES =
49
-SOURCES =
50
-DIST_SOURCES =
51
-am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
52
-am__vpath_adj = case $$p in \
53
-    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
54
-    *) f=$$p;; \
55
-  esac;
56
-am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
57
-am__install_max = 40
58
-am__nobase_strip_setup = \
59
-  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
60
-am__nobase_strip = \
61
-  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
62
-am__nobase_list = $(am__nobase_strip_setup); \
63
-  for p in $$list; do echo "$$p $$p"; done | \
64
-  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
65
-  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
66
-    if (++n[$$2] == $(am__install_max)) \
67
-      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
68
-    END { for (dir in files) print dir, files[dir] }'
69
-am__base_list = \
70
-  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
71
-  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
72
-am__uninstall_files_from_dir = { \
73
-  test -z "$$files" \
74
-    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
75
-    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
76
-         $(am__cd) "$$dir" && rm -f $$files; }; \
77
-  }
78
-am__installdirs = "$(DESTDIR)$(pkgincludedir)"
79
-HEADERS = $(pkginclude_HEADERS)
80
-ETAGS = etags
81
-CTAGS = ctags
82
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
83
-pkgincludedir = $(includedir)/dvdcss
84
-ACLOCAL = @ACLOCAL@
85
-AMTAR = @AMTAR@
86
-AR = @AR@
87
-AS = @AS@
88
-AUTOCONF = @AUTOCONF@
89
-AUTOHEADER = @AUTOHEADER@
90
-AUTOMAKE = @AUTOMAKE@
91
-AWK = @AWK@
92
-CC = @CC@
93
-CCDEPMODE = @CCDEPMODE@
94
-CFLAGS = @CFLAGS@
95
-CPP = @CPP@
96
-CPPFLAGS = @CPPFLAGS@
97
-CYGPATH_W = @CYGPATH_W@
98
-DEFS = @DEFS@
99
-DEPDIR = @DEPDIR@
100
-DLLTOOL = @DLLTOOL@
101
-DOXYGEN = @DOXYGEN@
102
-DSYMUTIL = @DSYMUTIL@
103
-DUMPBIN = @DUMPBIN@
104
-DVDCSS_LDFLAGS = @DVDCSS_LDFLAGS@
105
-ECHO_C = @ECHO_C@
106
-ECHO_N = @ECHO_N@
107
-ECHO_T = @ECHO_T@
108
-EGREP = @EGREP@
109
-EXEEXT = @EXEEXT@
110
-FGREP = @FGREP@
111
-GREP = @GREP@
112
-INSTALL = @INSTALL@
113
-INSTALL_DATA = @INSTALL_DATA@
114
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
115
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
116
-INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
117
-LATEX = @LATEX@
118
-LD = @LD@
119
-LDFLAGS = @LDFLAGS@
120
-LIBOBJS = @LIBOBJS@
121
-LIBS = @LIBS@
122
-LIBTOOL = @LIBTOOL@
123
-LIPO = @LIPO@
124
-LN_S = @LN_S@
125
-LTLIBOBJS = @LTLIBOBJS@
126
-MAKEINFO = @MAKEINFO@
127
-MANIFEST_TOOL = @MANIFEST_TOOL@
128
-MKDIR_P = @MKDIR_P@
129
-NM = @NM@
130
-NMEDIT = @NMEDIT@
131
-OBJDUMP = @OBJDUMP@
132
-OBJEXT = @OBJEXT@
133
-OTOOL = @OTOOL@
134
-OTOOL64 = @OTOOL64@
135
-PACKAGE = @PACKAGE@
136
-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
137
-PACKAGE_NAME = @PACKAGE_NAME@
138
-PACKAGE_STRING = @PACKAGE_STRING@
139
-PACKAGE_TARNAME = @PACKAGE_TARNAME@
140
-PACKAGE_URL = @PACKAGE_URL@
141
-PACKAGE_VERSION = @PACKAGE_VERSION@
142
-PATH_SEPARATOR = @PATH_SEPARATOR@
143
-RANLIB = @RANLIB@
144
-SED = @SED@
145
-SET_MAKE = @SET_MAKE@
146
-SHELL = @SHELL@
147
-STRIP = @STRIP@
148
-VERSION = @VERSION@
149
-abs_builddir = @abs_builddir@
150
-abs_srcdir = @abs_srcdir@
151
-abs_top_builddir = @abs_top_builddir@
152
-abs_top_srcdir = @abs_top_srcdir@
153
-ac_ct_AR = @ac_ct_AR@
154
-ac_ct_CC = @ac_ct_CC@
155
-ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
156
-am__include = @am__include@
157
-am__leading_dot = @am__leading_dot@
158
-am__quote = @am__quote@
159
-am__tar = @am__tar@
160
-am__untar = @am__untar@
161
-bindir = @bindir@
162
-build = @build@
163
-build_alias = @build_alias@
164
-build_cpu = @build_cpu@
165
-build_os = @build_os@
166
-build_vendor = @build_vendor@
167
-builddir = @builddir@
168
-datadir = @datadir@
169
-datarootdir = @datarootdir@
170
-docdir = @docdir@
171
-dvidir = @dvidir@
172
-exec_prefix = @exec_prefix@
173
-host = @host@
174
-host_alias = @host_alias@
175
-host_cpu = @host_cpu@
176
-host_os = @host_os@
177
-host_vendor = @host_vendor@
178
-htmldir = @htmldir@
179
-includedir = @includedir@
180
-infodir = @infodir@
181
-install_sh = @install_sh@
182
-libdir = @libdir@
183
-libexecdir = @libexecdir@
184
-localedir = @localedir@
185
-localstatedir = @localstatedir@
186
-mandir = @mandir@
187
-mkdir_p = @mkdir_p@
188
-oldincludedir = @oldincludedir@
189
-pdfdir = @pdfdir@
190
-prefix = @prefix@
191
-program_transform_name = @program_transform_name@
192
-psdir = @psdir@
193
-sbindir = @sbindir@
194
-sharedstatedir = @sharedstatedir@
195
-srcdir = @srcdir@
196
-sysconfdir = @sysconfdir@
197
-target = @target@
198
-target_alias = @target_alias@
199
-target_cpu = @target_cpu@
200
-target_os = @target_os@
201
libdvdcss-1.2.12.tar.bz2/test/Makefile.am Deleted
17
 
1
@@ -1,15 +0,0 @@
2
-
3
-noinst_PROGRAMS = csstest #dvd_region
4
-
5
-csstest_SOURCES = csstest.c
6
-csstest_LDADD = $(top_builddir)/src/libdvdcss.la $(bsdi_libadd)
7
-csstest_CFLAGS = -I$(top_srcdir)/src
8
-
9
-#dvd_region_SOURCES = dvd_region.c
10
-#dvd_region_LDADD = $(top_builddir)/src/libdvdcss.la
11
-#dvd_region_CFLAGS = -I$(top_srcdir)/src
12
-
13
-if SYS_BSDI_LIBDVD
14
-bsdi_libadd = -ldvd
15
-endif
16
-
17
libdvdcss-1.2.12.tar.bz2/test/Makefile.in Deleted
201
 
1
@@ -1,506 +0,0 @@
2
-# Makefile.in generated by automake 1.11.3 from Makefile.am.
3
-# @configure_input@
4
-
5
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
6
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
7
-# Foundation, Inc.
8
-# This Makefile.in is free software; the Free Software Foundation
9
-# gives unlimited permission to copy and/or distribute it,
10
-# with or without modifications, as long as this notice is preserved.
11
-
12
-# This program is distributed in the hope that it will be useful,
13
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
14
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
15
-# PARTICULAR PURPOSE.
16
-
17
-@SET_MAKE@
18
-
19
-VPATH = @srcdir@
20
-pkgdatadir = $(datadir)/@PACKAGE@
21
-pkgincludedir = $(includedir)/@PACKAGE@
22
-pkglibdir = $(libdir)/@PACKAGE@
23
-pkglibexecdir = $(libexecdir)/@PACKAGE@
24
-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
25
-install_sh_DATA = $(install_sh) -c -m 644
26
-install_sh_PROGRAM = $(install_sh) -c
27
-install_sh_SCRIPT = $(install_sh) -c
28
-INSTALL_HEADER = $(INSTALL_DATA)
29
-transform = $(program_transform_name)
30
-NORMAL_INSTALL = :
31
-PRE_INSTALL = :
32
-POST_INSTALL = :
33
-NORMAL_UNINSTALL = :
34
-PRE_UNINSTALL = :
35
-POST_UNINSTALL = :
36
-build_triplet = @build@
37
-host_triplet = @host@
38
-target_triplet = @target@
39
-noinst_PROGRAMS = csstest$(EXEEXT)
40
-subdir = test
41
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
42
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
43
-am__aclocal_m4_deps = $(top_srcdir)/configure.ac
44
-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
45
-   $(ACLOCAL_M4)
46
-mkinstalldirs = $(install_sh) -d
47
-CONFIG_HEADER = $(top_builddir)/config.h
48
-CONFIG_CLEAN_FILES =
49
-CONFIG_CLEAN_VPATH_FILES =
50
-PROGRAMS = $(noinst_PROGRAMS)
51
-am_csstest_OBJECTS = csstest-csstest.$(OBJEXT)
52
-csstest_OBJECTS = $(am_csstest_OBJECTS)
53
-am__DEPENDENCIES_1 =
54
-csstest_DEPENDENCIES = $(top_builddir)/src/libdvdcss.la \
55
-   $(am__DEPENDENCIES_1)
56
-csstest_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
57
-   --mode=link $(CCLD) $(csstest_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
58
-   $(LDFLAGS) -o $@
59
-DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
60
-depcomp = $(SHELL) $(top_srcdir)/.auto/depcomp
61
-am__depfiles_maybe = depfiles
62
-am__mv = mv -f
63
-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
64
-   $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
65
-LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
66
-   --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
67
-   $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
68
-CCLD = $(CC)
69
-LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
70
-   --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
71
-   $(LDFLAGS) -o $@
72
-SOURCES = $(csstest_SOURCES)
73
-DIST_SOURCES = $(csstest_SOURCES)
74
-ETAGS = etags
75
-CTAGS = ctags
76
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
77
-ACLOCAL = @ACLOCAL@
78
-AMTAR = @AMTAR@
79
-AR = @AR@
80
-AS = @AS@
81
-AUTOCONF = @AUTOCONF@
82
-AUTOHEADER = @AUTOHEADER@
83
-AUTOMAKE = @AUTOMAKE@
84
-AWK = @AWK@
85
-CC = @CC@
86
-CCDEPMODE = @CCDEPMODE@
87
-CFLAGS = @CFLAGS@
88
-CPP = @CPP@
89
-CPPFLAGS = @CPPFLAGS@
90
-CYGPATH_W = @CYGPATH_W@
91
-DEFS = @DEFS@
92
-DEPDIR = @DEPDIR@
93
-DLLTOOL = @DLLTOOL@
94
-DOXYGEN = @DOXYGEN@
95
-DSYMUTIL = @DSYMUTIL@
96
-DUMPBIN = @DUMPBIN@
97
-DVDCSS_LDFLAGS = @DVDCSS_LDFLAGS@
98
-ECHO_C = @ECHO_C@
99
-ECHO_N = @ECHO_N@
100
-ECHO_T = @ECHO_T@
101
-EGREP = @EGREP@
102
-EXEEXT = @EXEEXT@
103
-FGREP = @FGREP@
104
-GREP = @GREP@
105
-INSTALL = @INSTALL@
106
-INSTALL_DATA = @INSTALL_DATA@
107
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
108
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
109
-INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
110
-LATEX = @LATEX@
111
-LD = @LD@
112
-LDFLAGS = @LDFLAGS@
113
-LIBOBJS = @LIBOBJS@
114
-LIBS = @LIBS@
115
-LIBTOOL = @LIBTOOL@
116
-LIPO = @LIPO@
117
-LN_S = @LN_S@
118
-LTLIBOBJS = @LTLIBOBJS@
119
-MAKEINFO = @MAKEINFO@
120
-MANIFEST_TOOL = @MANIFEST_TOOL@
121
-MKDIR_P = @MKDIR_P@
122
-NM = @NM@
123
-NMEDIT = @NMEDIT@
124
-OBJDUMP = @OBJDUMP@
125
-OBJEXT = @OBJEXT@
126
-OTOOL = @OTOOL@
127
-OTOOL64 = @OTOOL64@
128
-PACKAGE = @PACKAGE@
129
-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
130
-PACKAGE_NAME = @PACKAGE_NAME@
131
-PACKAGE_STRING = @PACKAGE_STRING@
132
-PACKAGE_TARNAME = @PACKAGE_TARNAME@
133
-PACKAGE_URL = @PACKAGE_URL@
134
-PACKAGE_VERSION = @PACKAGE_VERSION@
135
-PATH_SEPARATOR = @PATH_SEPARATOR@
136
-RANLIB = @RANLIB@
137
-SED = @SED@
138
-SET_MAKE = @SET_MAKE@
139
-SHELL = @SHELL@
140
-STRIP = @STRIP@
141
-VERSION = @VERSION@
142
-abs_builddir = @abs_builddir@
143
-abs_srcdir = @abs_srcdir@
144
-abs_top_builddir = @abs_top_builddir@
145
-abs_top_srcdir = @abs_top_srcdir@
146
-ac_ct_AR = @ac_ct_AR@
147
-ac_ct_CC = @ac_ct_CC@
148
-ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
149
-am__include = @am__include@
150
-am__leading_dot = @am__leading_dot@
151
-am__quote = @am__quote@
152
-am__tar = @am__tar@
153
-am__untar = @am__untar@
154
-bindir = @bindir@
155
-build = @build@
156
-build_alias = @build_alias@
157
-build_cpu = @build_cpu@
158
-build_os = @build_os@
159
-build_vendor = @build_vendor@
160
-builddir = @builddir@
161
-datadir = @datadir@
162
-datarootdir = @datarootdir@
163
-docdir = @docdir@
164
-dvidir = @dvidir@
165
-exec_prefix = @exec_prefix@
166
-host = @host@
167
-host_alias = @host_alias@
168
-host_cpu = @host_cpu@
169
-host_os = @host_os@
170
-host_vendor = @host_vendor@
171
-htmldir = @htmldir@
172
-includedir = @includedir@
173
-infodir = @infodir@
174
-install_sh = @install_sh@
175
-libdir = @libdir@
176
-libexecdir = @libexecdir@
177
-localedir = @localedir@
178
-localstatedir = @localstatedir@
179
-mandir = @mandir@
180
-mkdir_p = @mkdir_p@
181
-oldincludedir = @oldincludedir@
182
-pdfdir = @pdfdir@
183
-prefix = @prefix@
184
-program_transform_name = @program_transform_name@
185
-psdir = @psdir@
186
-sbindir = @sbindir@
187
-sharedstatedir = @sharedstatedir@
188
-srcdir = @srcdir@
189
-sysconfdir = @sysconfdir@
190
-target = @target@
191
-target_alias = @target_alias@
192
-target_cpu = @target_cpu@
193
-target_os = @target_os@
194
-target_vendor = @target_vendor@
195
-top_build_prefix = @top_build_prefix@
196
-top_builddir = @top_builddir@
197
-top_srcdir = @top_srcdir@
198
-csstest_SOURCES = csstest.c
199
-csstest_LDADD = $(top_builddir)/src/libdvdcss.la $(bsdi_libadd)
200
-csstest_CFLAGS = -I$(top_srcdir)/src
201
libdvdcss-1.2.12.tar.bz2/AUTHORS -> libdvdcss-1.2.13.tar.bz2/AUTHORS Changed
85
 
1
@@ -2,41 +2,40 @@
2
 # 
3
 # Authors and contributors are listed alphabetically.
4
 # 
5
-# The fields are: name (N), email (E), web-address (W), CVS/SVN account login (C),
6
-# PGP key ID and fingerprint (P), description (D), and snail-mail address (S).
7
+# The fields are: name (N), email (E), web-address (W),
8
+# PGP key ID and fingerprint (P), description (D)
9
 
10
 N: Billy Biggs 
11
 E: vektor@dumbterm.net
12
 D: libdvdcss enhancements
13
 
14
-N: Stéphane Borel
15
+N: Diego Biurrun
16
+E: diego@biurrun.de
17
+D: misc build and portability fixes, cleanup
18
+
19
+N: Stéphane Borel
20
 E: stef@via.ecp.fr
21
-C: stef
22
-D: original CSS decryption code from vlc
23
+D: original CSS decryption code from VLC
24
 
25
 N: Sven Heithecker
26
 E: sven.heithecker@web.de
27
 D: cache bug fix for discs with identical content but different keys
28
 
29
-N: Håkan Hjort
30
+N: HÃ¥kan Hjort
31
 E: d95hjort@dtek.chalmers.se
32
-C: hjort
33
 D: Solaris port of the DVD ioctls
34
 D: libdvdcss enhancements
35
 
36
 N: Samuel Hocevar
37
 E: sam@zoy.org
38
-C: sam
39
-D: original CSS decryption code from vlc
40
+D: original CSS decryption code from VLC
41
 
42
 N: Eugenio Jarosiewicz
43
 E: ej0@cise.ufl.edu
44
-C: ej
45
-D: MacOS X DVD ioctls
46
+D: Mac OS X DVD ioctls
47
 
48
 N: Jon Lech Johansen
49
 E: jon-vl@nanocrew.net
50
-C: jlj
51
 D: Win32 port
52
 D: Fixes to the Darwin port
53
 
54
@@ -45,7 +44,6 @@
55
 D: OS/2 port
56
 
57
 N: Jean-Baptiste Kempf
58
-C: jb
59
 E: jb@videolan.org
60
 D: maintainer
61
 
62
@@ -65,11 +63,15 @@
63
 E: massiot@via.ecp.fr
64
 D: former maintainer
65
 
66
+N: Diego Elio Pettenò
67
+E: flameeyes@flameeyes.eu
68
+D: build system rewrite
69
+
70
 N: Steven M. Schultz
71
 E: sms@TO.GD-ES.COM
72
 D: BSD/OS port
73
 
74
-N: David Siebörger
75
+N: David Siebörger
76
 E: drs-videolan@rucus.ru.ac.za
77
 D: HP-UX port of the DVD ioctls
78
 
79
@@ -83,5 +85,4 @@
80
 
81
 N: Gildas Bazin
82
 E: gbazin@netcourrier.com
83
-C: gbazin
84
 D: various fixes to the Win32 port
85
libdvdcss-1.2.12.tar.bz2/ChangeLog -> libdvdcss-1.2.13.tar.bz2/ChangeLog Changed
201
 
1
@@ -1,2494 +1,2236 @@
2
-------------------------------------------------------------------------
3
-r251 | jb | 2012-03-11 13:33:49 +0000 (Sun, 11 Mar 2012) | 3 lines
4
-Changed paths:
5
-   M /trunk/NEWS
6
-   M /trunk/configure.ac
7
-   M /trunk/doc/doxygen.cfg.in
8
+commit 8572e60d54aaa1f752ac5a1aa842183dab900420
9
+Author: Jean-Baptiste Kempf <jb@videolan.org>
10
+Date:   Wed Feb 27 11:12:24 2013 +0100
11
 
12
-Prepare 1.2.12
13
+    NEWS
14
 
15
+commit 745ba0b4f6cdf773adecab0c79e09cceeb5ca982
16
+Author: Jean-Baptiste Kempf <jb@videolan.org>
17
+Date:   Wed Feb 27 11:08:38 2013 +0100
18
 
19
-------------------------------------------------------------------------
20
-r250 | jb | 2012-03-11 12:37:40 +0000 (Sun, 11 Mar 2012) | 3 lines
21
-Changed paths:
22
-   M /trunk/AUTHORS
23
+    Simplify INSTALL document
24
 
25
-Update Authors file
26
+commit 2af9a1e3d10677c2aca1d798b2df4dd8044c258b
27
+Author: Diego Elio Pettenò <flameeyes@flameeyes.eu>
28
+Date:   Wed Feb 27 07:52:56 2013 +0100
29
 
30
+    build: use an alternative method for making O_BINARY use conditional.
31
+    
32
+    Instead of creating a new mode altogether, check for the definition of
33
+    O_BINARY in the headers, and if missing define it to zero.
34
+    
35
+    Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
36
 
37
-------------------------------------------------------------------------
38
-r249 | jb | 2012-02-18 16:22:03 +0000 (Sat, 18 Feb 2012) | 4 lines
39
-Changed paths:
40
-   M /trunk/src/css.c
41
+commit ffb8bab440e45d12b12064720d7fbffbedbc0cb3
42
+Author: Diego Elio Pettenò <flameeyes@flameeyes.eu>
43
+Date:   Mon Feb 18 09:43:21 2013 -0800
44
 
45
-If unsure, assume the drive is of RPC-I type
46
+    build: set the libtool version info in configure.ac
47
+    
48
+    This follows the same pattern used for libdvdread/libdvdnav and xine.
49
+    
50
+    Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
51
 
52
-This can happen when patched drives do not answer to ioctl_ReportRPC correctly
53
+commit 4742c52aa57ade08fc7b03bb0be871c978c9f782
54
+Author: Diego Biurrun <diego@biurrun.de>
55
+Date:   Tue Feb 19 15:23:17 2013 +0100
56
 
57
-------------------------------------------------------------------------
58
-r247 | jb | 2011-11-14 10:40:05 +0000 (Mon, 14 Nov 2011) | 3 lines
59
-Changed paths:
60
-   M /trunk/ChangeLog
61
+    build: proper dependencies for ChangeLog generation target
62
+    
63
+    This fixes the ChangeLog file getting continuously rebuilt instead
64
+    of after each Git commit, which is the case now.
65
+    
66
+    Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
67
 
68
-Update Changelog
69
+commit 1d66d696a1d18db48a868cada1eb9b47cd7f5206
70
+Author: Diego Biurrun <diego@biurrun.de>
71
+Date:   Tue Feb 19 14:48:24 2013 +0100
72
 
73
+    INSTALL: Bootstrap with autoreconf now that ./bootstrap is gone
74
+    
75
+    Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
76
 
77
-------------------------------------------------------------------------
78
-r246 | jb | 2011-11-14 10:27:32 +0000 (Mon, 14 Nov 2011) | 3 lines
79
-Changed paths:
80
-   M /trunk/NEWS
81
-   M /trunk/configure.ac
82
-   M /trunk/doc/doxygen.cfg.in
83
-   M /trunk/msvc/config.h
84
+commit 45999b756e2b6491eabcd548f7eb1453ab7fb365
85
+Author: Jean-Baptiste Kempf <jb@videolan.org>
86
+Date:   Thu Feb 14 22:59:20 2013 +0100
87
 
88
-Bumping version to 1.2.11
89
+    Next release will be 1.2.13
90
 
91
+commit 08198b1215e511c67d27e29594cb0ae1e282ceec
92
+Author: Diego Biurrun <diego@biurrun.de>
93
+Date:   Thu Feb 14 21:04:41 2013 +0100
94
 
95
-------------------------------------------------------------------------
96
-r245 | jb | 2011-11-14 10:26:47 +0000 (Mon, 14 Nov 2011) | 3 lines
97
-Changed paths:
98
-   M /trunk/INSTALL
99
-   M /trunk/README
100
+    Update some comments now that Windows 95 is no longer supported
101
+    
102
+    Signed-off-by: Diego Biurrun <diego@biurrun.de>
103
 
104
-Update README and INSTALL to be a bit less out-of-date
105
+commit 3a5b5a7de809124d3ba1027bcb3dbc3aed97e8a4
106
+Author: Diego Biurrun <diego@biurrun.de>
107
+Date:   Thu Feb 14 20:22:39 2013 +0100
108
 
109
+    doxygen: Fix typo and drop wrong EXCLUDE
110
+    
111
+    Signed-off-by: Diego Biurrun <diego@biurrun.de>
112
 
113
-------------------------------------------------------------------------
114
-r244 | jb | 2011-10-26 05:10:24 +0000 (Wed, 26 Oct 2011) | 3 lines
115
-Changed paths:
116
-   M /trunk/Makefile.am
117
+commit be8000902de468717540e678bdf9c000af2e98f3
118
+Author: Diego Biurrun <diego@biurrun.de>
119
+Date:   Thu Feb 14 18:58:52 2013 +0100
120
 
121
-Fix "doc" Makefile target
122
+    gitignore: Use directory-specific patterns; use wildcard for config.foo
123
+    
124
+    Signed-off-by: Diego Biurrun <diego@biurrun.de>
125
 
126
+commit b9def08ea38f7509a039a362f20a996914c1545b
127
+Author: Diego Elio Pettenò <flameeyes@flameeyes.eu>
128
+Date:   Thu Feb 14 11:29:08 2013 -0800
129
 
130
-------------------------------------------------------------------------
131
-r243 | jb | 2011-10-26 05:01:11 +0000 (Wed, 26 Oct 2011) | 12 lines
132
-Changed paths:
133
-   M /trunk/src/common.h
134
+    src: mark tables static and constant.
135
 
136
-Win32: Drop #define of snprintf() to _snprintf() if the former is undefined.
137
+commit 391ba536164924b0a2b78d9c167661c717f3c2c2
138
+Author: Diego Elio Pettenò <flameeyes@flameeyes.eu>
139
+Date:   Thu Feb 14 11:16:33 2013 -0800
140
 
141
-This workaround was added for MinGW originally, but nowadays MinGW supports
142
-snprintf() directly so it has become unnecessary.
143
+    csstables: mark static constant.
144
 
145
-Furthermore this can play havoc with Cygwin which does not have a _snprintf()
146
-declaration and gives implicit function declaration warnings. Depending on
147
-compiler flags, this can be a fatal error.
148
+commit b3ee829a5e321539ff8ca377637e0b4ac8699ed0
149
+Author: Diego Elio Pettenò <flameeyes@flameeyes.eu>
150
+Date:   Thu Feb 14 11:14:33 2013 -0800
151
 
152
-Patch by Diego Biurrun - diego at biurrun d0t de
153
+    build: include the msvc directory in the distribution.
154
 
155
+commit 58355c7e8726444aea52b08958495ff43d58b8d5
156
+Author: Diego Elio Pettenò <flameeyes@flameeyes.eu>
157
+Date:   Thu Feb 14 11:08:57 2013 -0800
158
 
159
-------------------------------------------------------------------------
160
-r242 | jb | 2011-10-26 04:59:23 +0000 (Wed, 26 Oct 2011) | 8 lines
161
-Changed paths:
162
-   M /trunk/src/device.c
163
+    libdvdcss: use a static constant array instead of a variable to hold the cache sig.
164
 
165
-Win32: consistently use snprintf() instead of _snprintf()
166
+commit 5cb06542b1a0c88e585bb78dc00d0d31970e5833
167
+Author: Diego Elio Pettenò <flameeyes@flameeyes.eu>
168
+Date:   Thu Feb 14 11:03:13 2013 -0800
169
 
170
-Both functions are available on Cygwin and MinGW nowadays so there is
171
-no need to be inconsistent anymore.
172
+    ioctl: rename DVD_INVALIDATE_AGID to DVDCSS_INVALIDATE_AGID
173
+    
174
+    The reason for the rename is that the Linux kernel userspace headers
175
+    are defining their own version of DVD_INVALIDATE_AGID which has a
176
+    different meaning (it's an enumeration, not a command).
177
 
178
-Patch by Diego Biurrun - diego at biurrun d0t de
179
+commit 20621b7176cab00a967d98a3e25282a0d675b09c
180
+Author: Diego Elio Pettenò <flameeyes@flameeyes.eu>
181
+Date:   Thu Feb 14 10:58:20 2013 -0800
182
 
183
+    doxygen: update configuration file to avoid warnings.
184
 
185
-------------------------------------------------------------------------
186
-r241 | jb | 2011-08-16 10:41:24 +0000 (Tue, 16 Aug 2011) | 4 lines
187
-Changed paths:
188
-   M /trunk/INSTALL
189
-   M /trunk/README
190
+commit 76f088780b25aa2476039a98ee963de6533a8ca1
191
+Author: Diego Elio Pettenò <flameeyes@flameeyes.eu>
192
+Date:   Thu Feb 14 10:54:44 2013 -0800
193
 
194
-Fix typos in README and INSTALL
195
+    pkg-config: fix include path, it was always wrong.
196
+    
197
+    Not only the headers are installed in $includedir/dvdcss rather than
198
+    libdvdcss but there was a missing dollar sign in front of the first
199
+    variable.
200
 
201
libdvdcss-1.2.12.tar.bz2/INSTALL -> libdvdcss-1.2.13.tar.bz2/INSTALL Changed
72
 
1
@@ -12,8 +12,8 @@
2
 
3
 
4
 If you got libdvdcss from its version control system, please bootstrap first:
5
- 
6
-   ./bootstrap
7
+
8
+   autoreconf -i
9
 
10
 
11
 Building libdvdcss
12
@@ -38,46 +38,27 @@
13
 
14
 You have two alternatives to build libdvdcss for Win32:
15
 
16
-- natively on Windows, using MSYS + MINGW (www.mingw.org):
17
-
18
- (MSYS is a minimal build environment to compile unixish projects under
19
-  windoze. It provides all the common unix tools like sh, gmake...)
20
-
21
- You will need to download and install the latest MSYS (version 1.0.7 as
22
- of now) and MINGW.
23
- The installation is really easy. Begin with the MSYS auto-installer and once
24
- this is done, extract MINGW into c:\msys\1.0\mingw. You also have to remember
25
- to remove the make utility included with MINGW as it conflicts with the one
26
- from MSYS (just rename or remove c:\msys\1.0\mingw\bin\make.exe).
27
-
28
- http://www.mingw.org/download.shtml
29
- http://prdownloads.sourceforge.net/mingw/MSYS-1.0.7-i686-2002.04.24-1.exe
30
- http://prdownloads.sourceforge.net/mingw/MinGW-1.1.tar.gz
31
-
32
- To build libdvdcss you just have to run the following commands:
33
-  ./configure
34
-  make
35
-
36
-- or on Linux, using the mingw32 cross-compiler:
37
+- on Linux, using the mingw.org or mingw-w64 cross-compilers.
38
 
39
- You can find a mingw32 cross-compiler on the videolan web site:
40
- http://www.videolan.org/vlc/windows.html
41
- Or if you are running Debian, there is a mingw32 package you can use.
42
+ If you are running Debian, there is are mingw32 packages you can use.
43
 
44
  If you are cross-compiling from the Debian package, you can use the following
45
- commands:
46
+ commands, for example:
47
 
48
   ./configure --host=i586-mingw32msvc --target=i586-mingw32msvc \
49
   --build=i386-linux
50
 
51
   make
52
 
53
- If you are cross-compiling using the mingw32 package provided by
54
- www.videolan.org, you have to use something along those lines:
55
+- natively on Windows, using MSYS + MinGW (www.mingw.org):
56
 
57
-  CC=/usr/local/cross-tools/bin/i586-mingw32msvc-gcc \
58
-  PATH=/usr/local/cross-tools/bin:$PATH \
59
-  ./configure --host=i586-mingw32msvc --target=i586-mingw32msvc \
60
-  --build=i386-linux
61
+ (MSYS is a minimal build environment to compile unixish projects under
62
+  Windows. It provides all the common Unix tools like sh, gmake...)
63
+
64
+ You will need to download and install the latest MSYS and MINGW.
65
+
66
+ To build libdvdcss you just have to run the following commands:
67
+  ./configure
68
+  make
69
 
70
-  PATH=/usr/local/cross-tools/bin:$PATH make
71
+ More on MSys on our wiki: http://wiki.videolan.org/Win32CompileMSYS
72
libdvdcss-1.2.12.tar.bz2/Makefile.am -> libdvdcss-1.2.13.tar.bz2/Makefile.am Changed
83
 
1
@@ -1,12 +1,74 @@
2
-SUBDIRS = src test doc
3
-DIST_SUBDIRS = $(SUBDIRS)
4
+ACLOCAL_AMFLAGS = -I m4
5
 
6
-EXTRA_DIST = libdvdcss.spec bootstrap
7
+EXTRA_DIST = msvc libdvdcss.spec doc/header.html doc/footer.html INSTALL
8
 
9
-AUTOMAKE_OPTIONS = foreign dist-bzip2 subdir-objects
10
+dist_doc_DATA = AUTHORS COPYING NEWS README ChangeLog
11
 
12
-doc-dummy:
13
+DISTCLEANFILES = ChangeLog
14
 
15
-doc: doc-dummy
16
-   $(MAKE) -C doc
17
+ChangeLog: $(wildcard $(srcdir)/.git/logs/HEAD)
18
+   -cd $(srcdir) && git log > $(abs_builddir)/$(@)-tmp
19
+   test -s $(@)-tmp && mv $(@)-tmp $(@)
20
+   -rm -f $(@)-tmp
21
+   test -e $(@) || touch $(@)
22
 
23
+lib_LTLIBRARIES = libdvdcss.la
24
+EXTRA_PROGRAMS = csstest dvd_region
25
+
26
+libdvdcss_la_SOURCES = \
27
+   src/libdvdcss.c \
28
+   src/libdvdcss.h \
29
+   src/device.c \
30
+   src/device.h \
31
+   src/css.c \
32
+   src/css.h \
33
+   src/csstables.h \
34
+   src/ioctl.c \
35
+   src/ioctl.h \
36
+   src/error.c \
37
+   src/common.h
38
+
39
+libdvdcss_la_LDFLAGS = -version-info $(DVDCSS_LTVERSION) $(DVDCSS_LDFLAGS)
40
+libdvdcss_la_LIBADD =
41
+
42
+if !SYS_MSVC
43
+libdvdcss_la_LDFLAGS += = -no-undefined
44
+endif
45
+
46
+csstest_SOURCES = test/csstest.c
47
+csstest_LDADD = libdvdcss.la
48
+csstest_CFLAGS = -I $(top_srcdir)/src
49
+
50
+dvd_region_SOURCES = test/dvd_region.c src/ioctl.c
51
+dvd_region_LDADD = libdvdcss.la
52
+dvd_region_CFLAGS = -I $(top_srcdir)/src
53
+
54
+pkgincludedir = $(includedir)/dvdcss
55
+pkginclude_HEADERS = src/dvdcss/dvdcss.h
56
+
57
+pkgconfigdir = $(libdir)/pkgconfig
58
+pkgconfig_DATA = src/libdvdcss.pc
59
+
60
+if APIDOC
61
+all-local: apidoc
62
+install-data-local: install-apidoc
63
+uninstall-hook: uninstall-apidoc
64
+endif
65
+
66
+apidoc: stamp-doxygen
67
+
68
+stamp-doxygen: doc/doxygen.cfg
69
+   cd doc && doxygen doxygen.cfg
70
+   touch $@
71
+
72
+clean-local:
73
+   -rm -Rf stamp-doxygen doc/html
74
+
75
+install-apidoc:
76
+   $(MKDIR_P) $(DESTDIR)$(htmldir)
77
+   for file in doc/html/*; do \
78
+       $(INSTALL_DATA) $$file "$(DESTDIR)$(htmldir)" || exit 1; \
79
+   done;
80
+
81
+uninstall-apidoc:
82
+   -rm -Rf $(DESTDIR)$(htmldir)/*.png $(DESTDIR)$(htmldir)/*.html $(DESTDIR)$(htmldir)/*.css $(DESTDIR)$(htmldir)/*.js
83
libdvdcss-1.2.12.tar.bz2/Makefile.in -> libdvdcss-1.2.13.tar.bz2/Makefile.in Changed
201
 
1
@@ -1,4 +1,4 @@
2
-# Makefile.in generated by automake 1.11.3 from Makefile.am.
3
+# Makefile.in generated by automake 1.11.5 from Makefile.am.
4
 # @configure_input@
5
 
6
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
7
@@ -14,9 +14,28 @@
8
 # PARTICULAR PURPOSE.
9
 
10
 @SET_MAKE@
11
+
12
+
13
+
14
 VPATH = @srcdir@
15
+am__make_dryrun = \
16
+  { \
17
+    am__dry=no; \
18
+    case $$MAKEFLAGS in \
19
+      *\\[\ \  ]*) \
20
+        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
21
+          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
22
+      *) \
23
+        for am__flg in $$MAKEFLAGS; do \
24
+          case $$am__flg in \
25
+            *=*|--*) ;; \
26
+            *n*) am__dry=yes; break;; \
27
+          esac; \
28
+        done;; \
29
+    esac; \
30
+    test $$am__dry = yes; \
31
+  }
32
 pkgdatadir = $(datadir)/@PACKAGE@
33
-pkgincludedir = $(includedir)/@PACKAGE@
34
 pkglibdir = $(libdir)/@PACKAGE@
35
 pkglibexecdir = $(libexecdir)/@PACKAGE@
36
 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
37
@@ -33,37 +52,120 @@
38
 POST_UNINSTALL = :
39
 build_triplet = @build@
40
 host_triplet = @host@
41
-target_triplet = @target@
42
+EXTRA_PROGRAMS = csstest$(EXEEXT) dvd_region$(EXEEXT)
43
+@SYS_MSVC_FALSE@am__append_1 = = -no-undefined
44
 subdir = .
45
-DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
46
+DIST_COMMON = README $(am__configure_deps) $(dist_doc_DATA) \
47
+   $(pkginclude_HEADERS) $(srcdir)/Makefile.am \
48
    $(srcdir)/Makefile.in $(srcdir)/config.h.in \
49
-   $(top_srcdir)/configure .auto/config.guess .auto/config.sub \
50
-   .auto/depcomp .auto/install-sh .auto/ltmain.sh .auto/missing \
51
-   AUTHORS COPYING ChangeLog INSTALL NEWS
52
+   $(top_srcdir)/configure $(top_srcdir)/doc/doxygen.cfg.in \
53
+   $(top_srcdir)/src/libdvdcss.pc.in AUTHORS COPYING ChangeLog \
54
+   INSTALL NEWS config.guess config.sub depcomp install-sh \
55
+   ltmain.sh missing
56
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
57
-am__aclocal_m4_deps = $(top_srcdir)/configure.ac
58
+am__aclocal_m4_deps = $(top_srcdir)/m4/attributes.m4 \
59
+   $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
60
+   $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
61
+   $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
62
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
63
    $(ACLOCAL_M4)
64
 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
65
  configure.lineno config.status.lineno
66
 mkinstalldirs = $(install_sh) -d
67
 CONFIG_HEADER = config.h
68
-CONFIG_CLEAN_FILES =
69
+CONFIG_CLEAN_FILES = doc/doxygen.cfg src/libdvdcss.pc
70
 CONFIG_CLEAN_VPATH_FILES =
71
-SOURCES =
72
-DIST_SOURCES =
73
-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
74
-   html-recursive info-recursive install-data-recursive \
75
-   install-dvi-recursive install-exec-recursive \
76
-   install-html-recursive install-info-recursive \
77
-   install-pdf-recursive install-ps-recursive install-recursive \
78
-   installcheck-recursive installdirs-recursive pdf-recursive \
79
-   ps-recursive uninstall-recursive
80
-RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive    \
81
-  distclean-recursive maintainer-clean-recursive
82
-AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
83
-   $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
84
-   distdir dist dist-all distcheck
85
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
86
+am__vpath_adj = case $$p in \
87
+    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
88
+    *) f=$$p;; \
89
+  esac;
90
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
91
+am__install_max = 40
92
+am__nobase_strip_setup = \
93
+  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
94
+am__nobase_strip = \
95
+  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
96
+am__nobase_list = $(am__nobase_strip_setup); \
97
+  for p in $$list; do echo "$$p $$p"; done | \
98
+  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
99
+  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
100
+    if (++n[$$2] == $(am__install_max)) \
101
+      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
102
+    END { for (dir in files) print dir, files[dir] }'
103
+am__base_list = \
104
+  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
105
+  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
106
+am__uninstall_files_from_dir = { \
107
+  test -z "$$files" \
108
+    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
109
+    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
110
+         $(am__cd) "$$dir" && rm -f $$files; }; \
111
+  }
112
+am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(docdir)" \
113
+   "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(pkgincludedir)"
114
+LTLIBRARIES = $(lib_LTLIBRARIES)
115
+libdvdcss_la_DEPENDENCIES =
116
+am__dirstamp = $(am__leading_dot)dirstamp
117
+am_libdvdcss_la_OBJECTS = src/libdvdcss.lo src/device.lo src/css.lo \
118
+   src/ioctl.lo src/error.lo
119
+libdvdcss_la_OBJECTS = $(am_libdvdcss_la_OBJECTS)
120
+AM_V_lt = $(am__v_lt_@AM_V@)
121
+am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
122
+am__v_lt_0 = --silent
123
+libdvdcss_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
124
+   $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
125
+   $(libdvdcss_la_LDFLAGS) $(LDFLAGS) -o $@
126
+am_csstest_OBJECTS = test/csstest-csstest.$(OBJEXT)
127
+csstest_OBJECTS = $(am_csstest_OBJECTS)
128
+csstest_DEPENDENCIES = libdvdcss.la
129
+csstest_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
130
+   $(LIBTOOLFLAGS) --mode=link $(CCLD) $(csstest_CFLAGS) \
131
+   $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
132
+am_dvd_region_OBJECTS = test/dvd_region-dvd_region.$(OBJEXT) \
133
+   src/dvd_region-ioctl.$(OBJEXT)
134
+dvd_region_OBJECTS = $(am_dvd_region_OBJECTS)
135
+dvd_region_DEPENDENCIES = libdvdcss.la
136
+dvd_region_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
137
+   $(LIBTOOLFLAGS) --mode=link $(CCLD) $(dvd_region_CFLAGS) \
138
+   $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
139
+DEFAULT_INCLUDES = -I.@am__isrc@
140
+depcomp = $(SHELL) $(top_srcdir)/depcomp
141
+am__depfiles_maybe = depfiles
142
+am__mv = mv -f
143
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
144
+   $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
145
+LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
146
+   $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
147
+   $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
148
+   $(AM_CFLAGS) $(CFLAGS)
149
+AM_V_CC = $(am__v_CC_@AM_V@)
150
+am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
151
+am__v_CC_0 = @echo "  CC    " $@;
152
+AM_V_at = $(am__v_at_@AM_V@)
153
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
154
+am__v_at_0 = @
155
+CCLD = $(CC)
156
+LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
157
+   $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
158
+   $(AM_LDFLAGS) $(LDFLAGS) -o $@
159
+AM_V_CCLD = $(am__v_CCLD_@AM_V@)
160
+am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
161
+am__v_CCLD_0 = @echo "  CCLD  " $@;
162
+AM_V_GEN = $(am__v_GEN_@AM_V@)
163
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
164
+am__v_GEN_0 = @echo "  GEN   " $@;
165
+SOURCES = $(libdvdcss_la_SOURCES) $(csstest_SOURCES) \
166
+   $(dvd_region_SOURCES)
167
+DIST_SOURCES = $(libdvdcss_la_SOURCES) $(csstest_SOURCES) \
168
+   $(dvd_region_SOURCES)
169
+am__can_run_installinfo = \
170
+  case $$AM_UPDATE_INFO_DIR in \
171
+    n|no|NO) false;; \
172
+    *) (install-info --version) >/dev/null 2>&1;; \
173
+  esac
174
+DATA = $(dist_doc_DATA) $(pkgconfig_DATA)
175
+HEADERS = $(pkginclude_HEADERS)
176
 ETAGS = etags
177
 CTAGS = ctags
178
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
179
@@ -75,39 +177,16 @@
180
       && rm -rf "$(distdir)" \
181
       || { sleep 5 && rm -rf "$(distdir)"; }; \
182
   else :; fi
183
-am__relativize = \
184
-  dir0=`pwd`; \
185
-  sed_first='s,^\([^/]*\)/.*$$,\1,'; \
186
-  sed_rest='s,^[^/]*/*,,'; \
187
-  sed_last='s,^.*/\([^/]*\)$$,\1,'; \
188
-  sed_butlast='s,/*[^/]*$$,,'; \
189
-  while test -n "$$dir1"; do \
190
-    first=`echo "$$dir1" | sed -e "$$sed_first"`; \
191
-    if test "$$first" != "."; then \
192
-      if test "$$first" = ".."; then \
193
-        dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
194
-        dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
195
-      else \
196
-        first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
197
-        if test "$$first2" = "$$first"; then \
198
-          dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
199
-        else \
200
-          dir2="../$$dir2"; \
201
libdvdcss-1.2.12.tar.bz2/NEWS -> libdvdcss-1.2.13.tar.bz2/NEWS Changed
53
 
1
@@ -1,4 +1,14 @@
2
-$Id: NEWS 251 2012-03-11 13:33:49Z jb $
3
+Changes between 1.2.12 and 1.2.13:
4
+----------------------------------
5
+
6
+  * Drop BSD/OS and Windows 95 support.
7
+  * Rewrite most of the buildsystem, and simplify it
8
+  * System dependant code cleanup
9
+  * Move to git and rewrite of the history to get proper authorship
10
+  * Drop LaTeX documentation
11
+  * Fix build on various systems
12
+  * Fix compilation on MSVC
13
+
14
 
15
 Changes between 1.2.11 and 1.2.12:
16
 ----------------------------------
17
@@ -11,7 +21,7 @@
18
 
19
   * improvements on RPC-II handling.
20
   * more robust key retrieval.
21
-  * fixes for MingW compilation.
22
+  * fixes for MinGW compilation.
23
   * fixes for OS/2 compilation.
24
   * various bug fixes for small issues, memleaks, crashes and build issues.
25
 
26
@@ -50,7 +60,7 @@
27
 Changes between 1.2.5 and 1.2.6:
28
 --------------------------------
29
 
30
-  * compilation fix for most UNIXes
31
+  * compilation fix for most Unixes
32
 
33
 Changes between 1.2.4 and 1.2.5:
34
 --------------------------------
35
@@ -68,7 +78,7 @@
36
 Changes between 1.2.2 and 1.2.3:
37
 --------------------------------
38
 
39
-  * many Windows bugfixes
40
+  * many Windows bug fixes
41
   * workaround for drives which prevent key decryption
42
 
43
 Changes between 1.2.1 and 1.2.2:
44
@@ -100,7 +110,7 @@
45
 --------------------------------
46
 
47
   * merged all patches from the Ogle group
48
-  * lots of bugfixes
49
+  * lots of bug fixes
50
   * HP-UX port
51
   * better error recovery
52
   * third descrambling implementation
53
libdvdcss-1.2.12.tar.bz2/README -> libdvdcss-1.2.13.tar.bz2/README Changed
38
 
1
@@ -1,5 +1,4 @@
2
 README for libdvdcss, a portable abstraction library for DVD decryption
3
-$Id: README 245 2011-11-14 10:26:47Z jb $
4
 
5
 
6
 Introduction
7
@@ -15,10 +14,10 @@
8
 
9
 See the INSTALL or INSTALL.libdvdcss file for this.
10
 
11
-Running lidvdcss
12
-================
13
+Running libdvdcss
14
+=================
15
 
16
-The behaviour of the library can be affected by changing two environment
17
+The behavior of the library can be affected by changing two environment
18
 variables:
19
   DVDCSS_METHOD={title|disc|key}: method for key decryption
20
     title: decrypted title key is guessed from the encrypted sectors of
21
@@ -28,12 +27,11 @@
22
            at the beginning of each title, so it won't work if the key
23
            changes in the middle of a title.
24
     disc: the disc key is first cracked ; then all title keys can be
25
-           decrypted instantly, which allows us to check them often,
26
+          decrypted instantly, which allows us to check them often,
27
     key: the same as "disc" if you don't have a file with player keys at
28
-           compilation time. If you do, the decryption of the disc key
29
-           will be faster with this method. It is the one that was used by
30
-           libcss.
31
-           This is the default method.
32
+         compilation time. If you do, the decryption of the disc key will
33
+         be faster with this method. It is the one that was used by libcss.
34
+         This is the default method.
35
   DVDCSS_VERBOSE={0|1|2}: libdvdcss verbosity
36
     0: no error messages, no debug messages (this is the default)
37
     1: only error messages
38
libdvdcss-1.2.12.tar.bz2/aclocal.m4 -> libdvdcss-1.2.13.tar.bz2/aclocal.m4 Changed
201
 
1
@@ -1,4 +1,4 @@
2
-# generated automatically by aclocal 1.11.3 -*- Autoconf -*-
3
+# generated automatically by aclocal 1.11.5 -*- Autoconf -*-
4
 
5
 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
6
 # 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
7
@@ -14,8599 +14,12 @@
8
 
9
 m4_ifndef([AC_AUTOCONF_VERSION],
10
   [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
11
-m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],,
12
-[m4_warning([this file was generated for autoconf 2.68.
13
+m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
14
+[m4_warning([this file was generated for autoconf 2.69.
15
 You have another version of autoconf.  It may work, but is not guaranteed to.
16
 If you have problems, you may need to regenerate the build system entirely.
17
 To do so, use the procedure documented by the package, typically `autoreconf'.])])
18
 
19
-# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
20
-#
21
-#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
22
-#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
23
-#                 Foundation, Inc.
24
-#   Written by Gordon Matzigkeit, 1996
25
-#
26
-# This file is free software; the Free Software Foundation gives
27
-# unlimited permission to copy and/or distribute it, with or without
28
-# modifications, as long as this notice is preserved.
29
-
30
-m4_define([_LT_COPYING], [dnl
31
-#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
32
-#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
33
-#                 Foundation, Inc.
34
-#   Written by Gordon Matzigkeit, 1996
35
-#
36
-#   This file is part of GNU Libtool.
37
-#
38
-# GNU Libtool is free software; you can redistribute it and/or
39
-# modify it under the terms of the GNU General Public License as
40
-# published by the Free Software Foundation; either version 2 of
41
-# the License, or (at your option) any later version.
42
-#
43
-# As a special exception to the GNU General Public License,
44
-# if you distribute this file as part of a program or library that
45
-# is built using GNU Libtool, you may include this file under the
46
-# same distribution terms that you use for the rest of that program.
47
-#
48
-# GNU Libtool is distributed in the hope that it will be useful,
49
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
50
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
51
-# GNU General Public License for more details.
52
-#
53
-# You should have received a copy of the GNU General Public License
54
-# along with GNU Libtool; see the file COPYING.  If not, a copy
55
-# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
56
-# obtained by writing to the Free Software Foundation, Inc.,
57
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
58
-])
59
-
60
-# serial 57 LT_INIT
61
-
62
-
63
-# LT_PREREQ(VERSION)
64
-# ------------------
65
-# Complain and exit if this libtool version is less that VERSION.
66
-m4_defun([LT_PREREQ],
67
-[m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1,
68
-       [m4_default([$3],
69
-          [m4_fatal([Libtool version $1 or higher is required],
70
-                    63)])],
71
-       [$2])])
72
-
73
-
74
-# _LT_CHECK_BUILDDIR
75
-# ------------------
76
-# Complain if the absolute build directory name contains unusual characters
77
-m4_defun([_LT_CHECK_BUILDDIR],
78
-[case `pwd` in
79
-  *\ * | *\    *)
80
-    AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;;
81
-esac
82
-])
83
-
84
-
85
-# LT_INIT([OPTIONS])
86
-# ------------------
87
-AC_DEFUN([LT_INIT],
88
-[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
89
-AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
90
-AC_BEFORE([$0], [LT_LANG])dnl
91
-AC_BEFORE([$0], [LT_OUTPUT])dnl
92
-AC_BEFORE([$0], [LTDL_INIT])dnl
93
-m4_require([_LT_CHECK_BUILDDIR])dnl
94
-
95
-dnl Autoconf doesn't catch unexpanded LT_ macros by default:
96
-m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
97
-m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
98
-dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
99
-dnl unless we require an AC_DEFUNed macro:
100
-AC_REQUIRE([LTOPTIONS_VERSION])dnl
101
-AC_REQUIRE([LTSUGAR_VERSION])dnl
102
-AC_REQUIRE([LTVERSION_VERSION])dnl
103
-AC_REQUIRE([LTOBSOLETE_VERSION])dnl
104
-m4_require([_LT_PROG_LTMAIN])dnl
105
-
106
-_LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}])
107
-
108
-dnl Parse OPTIONS
109
-_LT_SET_OPTIONS([$0], [$1])
110
-
111
-# This can be used to rebuild libtool when needed
112
-LIBTOOL_DEPS="$ltmain"
113
-
114
-# Always use our own libtool.
115
-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
116
-AC_SUBST(LIBTOOL)dnl
117
-
118
-_LT_SETUP
119
-
120
-# Only expand once:
121
-m4_define([LT_INIT])
122
-])# LT_INIT
123
-
124
-# Old names:
125
-AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT])
126
-AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT])
127
-dnl aclocal-1.4 backwards compatibility:
128
-dnl AC_DEFUN([AC_PROG_LIBTOOL], [])
129
-dnl AC_DEFUN([AM_PROG_LIBTOOL], [])
130
-
131
-
132
-# _LT_CC_BASENAME(CC)
133
-# -------------------
134
-# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
135
-m4_defun([_LT_CC_BASENAME],
136
-[for cc_temp in $1""; do
137
-  case $cc_temp in
138
-    compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
139
-    distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
140
-    \-*) ;;
141
-    *) break;;
142
-  esac
143
-done
144
-cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
145
-])
146
-
147
-
148
-# _LT_FILEUTILS_DEFAULTS
149
-# ----------------------
150
-# It is okay to use these file commands and assume they have been set
151
-# sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'.
152
-m4_defun([_LT_FILEUTILS_DEFAULTS],
153
-[: ${CP="cp -f"}
154
-: ${MV="mv -f"}
155
-: ${RM="rm -f"}
156
-])# _LT_FILEUTILS_DEFAULTS
157
-
158
-
159
-# _LT_SETUP
160
-# ---------
161
-m4_defun([_LT_SETUP],
162
-[AC_REQUIRE([AC_CANONICAL_HOST])dnl
163
-AC_REQUIRE([AC_CANONICAL_BUILD])dnl
164
-AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl
165
-AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
166
-
167
-_LT_DECL([], [PATH_SEPARATOR], [1], [The PATH separator for the build system])dnl
168
-dnl
169
-_LT_DECL([], [host_alias], [0], [The host system])dnl
170
-_LT_DECL([], [host], [0])dnl
171
-_LT_DECL([], [host_os], [0])dnl
172
-dnl
173
-_LT_DECL([], [build_alias], [0], [The build system])dnl
174
-_LT_DECL([], [build], [0])dnl
175
-_LT_DECL([], [build_os], [0])dnl
176
-dnl
177
-AC_REQUIRE([AC_PROG_CC])dnl
178
-AC_REQUIRE([LT_PATH_LD])dnl
179
-AC_REQUIRE([LT_PATH_NM])dnl
180
-dnl
181
-AC_REQUIRE([AC_PROG_LN_S])dnl
182
-test -z "$LN_S" && LN_S="ln -s"
183
-_LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl
184
-dnl
185
-AC_REQUIRE([LT_CMD_MAX_LEN])dnl
186
-_LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl
187
-_LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl
188
-dnl
189
-m4_require([_LT_FILEUTILS_DEFAULTS])dnl
190
-m4_require([_LT_CHECK_SHELL_FEATURES])dnl
191
-m4_require([_LT_PATH_CONVERSION_FUNCTIONS])dnl
192
-m4_require([_LT_CMD_RELOAD])dnl
193
-m4_require([_LT_CHECK_MAGIC_METHOD])dnl
194
-m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl
195
-m4_require([_LT_CMD_OLD_ARCHIVE])dnl
196
-m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
197
-m4_require([_LT_WITH_SYSROOT])dnl
198
-
199
-_LT_CONFIG_LIBTOOL_INIT([
200
-# See if we are running on zsh, and set the options which allow our
201
libdvdcss-1.2.13.tar.bz2/config.guess Added
201
 
1
@@ -0,0 +1,1530 @@
2
+#! /bin/sh
3
+# Attempt to guess a canonical system name.
4
+#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
5
+#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
6
+#   2011, 2012 Free Software Foundation, Inc.
7
+
8
+timestamp='2012-02-10'
9
+
10
+# This file is free software; you can redistribute it and/or modify it
11
+# under the terms of the GNU General Public License as published by
12
+# the Free Software Foundation; either version 2 of the License, or
13
+# (at your option) any later version.
14
+#
15
+# This program is distributed in the hope that it will be useful, but
16
+# WITHOUT ANY WARRANTY; without even the implied warranty of
17
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18
+# General Public License for more details.
19
+#
20
+# You should have received a copy of the GNU General Public License
21
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
22
+#
23
+# As a special exception to the GNU General Public License, if you
24
+# distribute this file as part of a program that contains a
25
+# configuration script generated by Autoconf, you may include it under
26
+# the same distribution terms that you use for the rest of that program.
27
+
28
+
29
+# Originally written by Per Bothner.  Please send patches (context
30
+# diff format) to <config-patches@gnu.org> and include a ChangeLog
31
+# entry.
32
+#
33
+# This script attempts to guess a canonical system name similar to
34
+# config.sub.  If it succeeds, it prints the system name on stdout, and
35
+# exits with 0.  Otherwise, it exits with 1.
36
+#
37
+# You can get the latest version of this script from:
38
+# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
39
+
40
+me=`echo "$0" | sed -e 's,.*/,,'`
41
+
42
+usage="\
43
+Usage: $0 [OPTION]
44
+
45
+Output the configuration name of the system \`$me' is run on.
46
+
47
+Operation modes:
48
+  -h, --help         print this help, then exit
49
+  -t, --time-stamp   print date of last modification, then exit
50
+  -v, --version      print version number, then exit
51
+
52
+Report bugs and patches to <config-patches@gnu.org>."
53
+
54
+version="\
55
+GNU config.guess ($timestamp)
56
+
57
+Originally written by Per Bothner.
58
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
59
+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
60
+Free Software Foundation, Inc.
61
+
62
+This is free software; see the source for copying conditions.  There is NO
63
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
64
+
65
+help="
66
+Try \`$me --help' for more information."
67
+
68
+# Parse command line
69
+while test $# -gt 0 ; do
70
+  case $1 in
71
+    --time-stamp | --time* | -t )
72
+       echo "$timestamp" ; exit ;;
73
+    --version | -v )
74
+       echo "$version" ; exit ;;
75
+    --help | --h* | -h )
76
+       echo "$usage"; exit ;;
77
+    -- )     # Stop option processing
78
+       shift; break ;;
79
+    - )    # Use stdin as input.
80
+       break ;;
81
+    -* )
82
+       echo "$me: invalid option $1$help" >&2
83
+       exit 1 ;;
84
+    * )
85
+       break ;;
86
+  esac
87
+done
88
+
89
+if test $# != 0; then
90
+  echo "$me: too many arguments$help" >&2
91
+  exit 1
92
+fi
93
+
94
+trap 'exit 1' 1 2 15
95
+
96
+# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
97
+# compiler to aid in system detection is discouraged as it requires
98
+# temporary files to be created and, as you can see below, it is a
99
+# headache to deal with in a portable fashion.
100
+
101
+# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
102
+# use `HOST_CC' if defined, but it is deprecated.
103
+
104
+# Portable tmp directory creation inspired by the Autoconf team.
105
+
106
+set_cc_for_build='
107
+trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
108
+trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
109
+: ${TMPDIR=/tmp} ;
110
+ { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
111
+ { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
112
+ { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
113
+ { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
114
+dummy=$tmp/dummy ;
115
+tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
116
+case $CC_FOR_BUILD,$HOST_CC,$CC in
117
+ ,,)    echo "int x;" > $dummy.c ;
118
+   for c in cc gcc c89 c99 ; do
119
+     if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
120
+        CC_FOR_BUILD="$c"; break ;
121
+     fi ;
122
+   done ;
123
+   if test x"$CC_FOR_BUILD" = x ; then
124
+     CC_FOR_BUILD=no_compiler_found ;
125
+   fi
126
+   ;;
127
+ ,,*)   CC_FOR_BUILD=$CC ;;
128
+ ,*,*)  CC_FOR_BUILD=$HOST_CC ;;
129
+esac ; set_cc_for_build= ;'
130
+
131
+# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
132
+# (ghazi@noc.rutgers.edu 1994-08-24)
133
+if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
134
+   PATH=$PATH:/.attbin ; export PATH
135
+fi
136
+
137
+UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
138
+UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
139
+UNAME_SYSTEM=`(uname -s) 2>/dev/null`  || UNAME_SYSTEM=unknown
140
+UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
141
+
142
+# Note: order is significant - the case branches are not exclusive.
143
+
144
+case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
145
+    *:NetBSD:*:*)
146
+   # NetBSD (nbsd) targets should (where applicable) match one or
147
+   # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
148
+   # *-*-netbsdecoff* and *-*-netbsd*.  For targets that recently
149
+   # switched to ELF, *-*-netbsd* would select the old
150
+   # object file format.  This provides both forward
151
+   # compatibility and a consistent mechanism for selecting the
152
+   # object file format.
153
+   #
154
+   # Note: NetBSD doesn't particularly care about the vendor
155
+   # portion of the name.  We always set it to "unknown".
156
+   sysctl="sysctl -n hw.machine_arch"
157
+   UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
158
+       /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
159
+   case "${UNAME_MACHINE_ARCH}" in
160
+       armeb) machine=armeb-unknown ;;
161
+       arm*) machine=arm-unknown ;;
162
+       sh3el) machine=shl-unknown ;;
163
+       sh3eb) machine=sh-unknown ;;
164
+       sh5el) machine=sh5le-unknown ;;
165
+       *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
166
+   esac
167
+   # The Operating System including object format, if it has switched
168
+   # to ELF recently, or will in the future.
169
+   case "${UNAME_MACHINE_ARCH}" in
170
+       arm*|i386|m68k|ns32k|sh3*|sparc|vax)
171
+       eval $set_cc_for_build
172
+       if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
173
+           | grep -q __ELF__
174
+       then
175
+           # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
176
+           # Return netbsd for either.  FIX?
177
+           os=netbsd
178
+       else
179
+           os=netbsdelf
180
+       fi
181
+       ;;
182
+       *)
183
+       os=netbsd
184
+       ;;
185
+   esac
186
+   # The OS release
187
+   # Debian GNU/NetBSD machines have a different userland, and
188
+   # thus, need a distinct triplet. However, they do not need
189
+   # kernel version information, so it can be replaced with a
190
+   # suitable tag, in the style of linux-gnu.
191
+   case "${UNAME_VERSION}" in
192
+       Debian*)
193
+       release='-gnu'
194
+       ;;
195
+       *)
196
+       release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
197
+       ;;
198
+   esac
199
+   # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
200
+   # contains redundant information, the shorter form:
201
libdvdcss-1.2.12.tar.bz2/config.h.in -> libdvdcss-1.2.13.tar.bz2/config.h.in Changed
128
 
1
@@ -3,12 +3,6 @@
2
 /* Have IOKit DVD IOCTL headers */
3
 #undef DARWIN_DVD_IOCTL
4
 
5
-/* Define if <extras/BSDI_dvdioctl/dvd.h> defines DVD_STRUCT. */
6
-#undef DVD_STRUCT_IN_BSDI_DVDIOCTL_DVD_H
7
-
8
-/* Define if <dvd.h> defines DVD_STRUCT. */
9
-#undef DVD_STRUCT_IN_DVD_H
10
-
11
 /* Define if <linux/cdrom.h> defines DVD_STRUCT. */
12
 #undef DVD_STRUCT_IN_LINUX_CDROM_H
13
 
14
@@ -18,12 +12,12 @@
15
 /* Define if <sys/dvdio.h> defines dvd_struct. */
16
 #undef DVD_STRUCT_IN_SYS_DVDIO_H
17
 
18
+/* Define if you have a broken mkdir */
19
+#undef HAVE_BROKEN_MKDIR
20
+
21
 /* Define if FreeBSD-like dvd_struct is defined. */
22
 #undef HAVE_BSD_DVD_STRUCT
23
 
24
-/* Define to 1 if you have the <direct.h> header file. */
25
-#undef HAVE_DIRECT_H
26
-
27
 /* Define to 1 if you have the <dlfcn.h> header file. */
28
 #undef HAVE_DLFCN_H
29
 
30
@@ -33,9 +27,15 @@
31
 /* Define to 1 if you have the <errno.h> header file. */
32
 #undef HAVE_ERRNO_H
33
 
34
+/* Define to 1 if you have the <fcntl.h> header file. */
35
+#undef HAVE_FCNTL_H
36
+
37
 /* Define to 1 if you have the <inttypes.h> header file. */
38
 #undef HAVE_INTTYPES_H
39
 
40
+/* Define to 1 if you have the <io.h> header file. */
41
+#undef HAVE_IO_H
42
+
43
 /* Define to 1 if you have the <limits.h> header file. */
44
 #undef HAVE_LIMITS_H
45
 
46
@@ -78,12 +78,21 @@
47
 /* Define to 1 if you have the <sys/param.h> header file. */
48
 #undef HAVE_SYS_PARAM_H
49
 
50
+/* Define to 1 if you have the <sys/scsi/impl/uscsi.h> header file. */
51
+#undef HAVE_SYS_SCSI_IMPL_USCSI_H
52
+
53
+/* Define to 1 if you have the <sys/scsi/scsi_types.h,> header file. */
54
+#undef HAVE_SYS_SCSI_SCSI_TYPES_H_
55
+
56
 /* Define to 1 if you have the <sys/stat.h> header file. */
57
 #undef HAVE_SYS_STAT_H
58
 
59
 /* Define to 1 if you have the <sys/types.h> header file. */
60
 #undef HAVE_SYS_TYPES_H
61
 
62
+/* Define to 1 if you have the <sys/uio.h> header file. */
63
+#undef HAVE_SYS_UIO_H
64
+
65
 /* Define to 1 if you have the <unistd.h> header file. */
66
 #undef HAVE_UNISTD_H
67
 
68
@@ -93,9 +102,6 @@
69
 /* Define to 1 if you have the <winioctl.h> header file. */
70
 #undef HAVE_WINIOCTL_H
71
 
72
-/* Define to 1 if you have the </sys/dev/scsi/scsi_ioctl.h> header file. */
73
-#undef HAVE__SYS_DEV_SCSI_SCSI_IOCTL_H
74
-
75
 /* Define if <sys/scsi.h> defines sctl_io. */
76
 #undef HPUX_SCTL_IO
77
 
78
@@ -103,6 +109,9 @@
79
    */
80
 #undef LT_OBJDIR
81
 
82
+/* Define O_BINARY if missing */
83
+#undef O_BINARY
84
+
85
 /* Name of package */
86
 #undef PACKAGE
87
 
88
@@ -130,20 +139,30 @@
89
 /* Define to 1 if you have the ANSI C header files. */
90
 #undef STDC_HEADERS
91
 
92
-/* Have a BeOS system. */
93
-#undef SYS_BEOS
94
-
95
-/* Have a Cygwin system. */
96
-#undef SYS_CYGWIN
97
+/* Define this if the compiler supports __attribute__((
98
+   ifelse([visibility("default")], , [visibility_default],
99
+   [visibility("default")]) )) */
100
+#undef SUPPORT_ATTRIBUTE_VISIBILITY_DEFAULT
101
 
102
-/* Have a OS/2 system. */
103
-#undef SYS_OS2
104
+/* Define this if the compiler supports the -fvisibility flag */
105
+#undef SUPPORT_FLAG_VISIBILITY
106
 
107
 /* Version number of package */
108
 #undef VERSION
109
 
110
-/* Using Win32. */
111
-#undef WIN32
112
+/* Enable large inode numbers on Mac OS X 10.5.  */
113
+#ifndef _DARWIN_USE_64_BIT_INODE
114
+# define _DARWIN_USE_64_BIT_INODE 1
115
+#endif
116
+
117
+/* Number of bits in a file offset, on hosts where this is settable. */
118
+#undef _FILE_OFFSET_BITS
119
+
120
+/* Define for large files, on AIX-style hosts. */
121
+#undef _LARGE_FILES
122
+
123
+/* Define to '0x0401' for IE 4.01 (and shell) APIs. */
124
+#undef _WIN32_IE
125
 
126
 /* Define to empty if `const' does not conform to ANSI C. */
127
 #undef const
128
libdvdcss-1.2.13.tar.bz2/config.sub Added
201
 
1
@@ -0,0 +1,1773 @@
2
+#! /bin/sh
3
+# Configuration validation subroutine script.
4
+#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
5
+#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
6
+#   2011, 2012 Free Software Foundation, Inc.
7
+
8
+timestamp='2012-02-10'
9
+
10
+# This file is (in principle) common to ALL GNU software.
11
+# The presence of a machine in this file suggests that SOME GNU software
12
+# can handle that machine.  It does not imply ALL GNU software can.
13
+#
14
+# This file is free software; you can redistribute it and/or modify
15
+# it under the terms of the GNU General Public License as published by
16
+# the Free Software Foundation; either version 2 of the License, or
17
+# (at your option) any later version.
18
+#
19
+# This program is distributed in the hope that it will be useful,
20
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
21
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22
+# GNU General Public License for more details.
23
+#
24
+# You should have received a copy of the GNU General Public License
25
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
26
+#
27
+# As a special exception to the GNU General Public License, if you
28
+# distribute this file as part of a program that contains a
29
+# configuration script generated by Autoconf, you may include it under
30
+# the same distribution terms that you use for the rest of that program.
31
+
32
+
33
+# Please send patches to <config-patches@gnu.org>.  Submit a context
34
+# diff and a properly formatted GNU ChangeLog entry.
35
+#
36
+# Configuration subroutine to validate and canonicalize a configuration type.
37
+# Supply the specified configuration type as an argument.
38
+# If it is invalid, we print an error message on stderr and exit with code 1.
39
+# Otherwise, we print the canonical config type on stdout and succeed.
40
+
41
+# You can get the latest version of this script from:
42
+# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
43
+
44
+# This file is supposed to be the same for all GNU packages
45
+# and recognize all the CPU types, system types and aliases
46
+# that are meaningful with *any* GNU software.
47
+# Each package is responsible for reporting which valid configurations
48
+# it does not support.  The user should be able to distinguish
49
+# a failure to support a valid configuration from a meaningless
50
+# configuration.
51
+
52
+# The goal of this file is to map all the various variations of a given
53
+# machine specification into a single specification in the form:
54
+#  CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
55
+# or in some cases, the newer four-part form:
56
+#  CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
57
+# It is wrong to echo any other type of specification.
58
+
59
+me=`echo "$0" | sed -e 's,.*/,,'`
60
+
61
+usage="\
62
+Usage: $0 [OPTION] CPU-MFR-OPSYS
63
+       $0 [OPTION] ALIAS
64
+
65
+Canonicalize a configuration name.
66
+
67
+Operation modes:
68
+  -h, --help         print this help, then exit
69
+  -t, --time-stamp   print date of last modification, then exit
70
+  -v, --version      print version number, then exit
71
+
72
+Report bugs and patches to <config-patches@gnu.org>."
73
+
74
+version="\
75
+GNU config.sub ($timestamp)
76
+
77
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
78
+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
79
+Free Software Foundation, Inc.
80
+
81
+This is free software; see the source for copying conditions.  There is NO
82
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
83
+
84
+help="
85
+Try \`$me --help' for more information."
86
+
87
+# Parse command line
88
+while test $# -gt 0 ; do
89
+  case $1 in
90
+    --time-stamp | --time* | -t )
91
+       echo "$timestamp" ; exit ;;
92
+    --version | -v )
93
+       echo "$version" ; exit ;;
94
+    --help | --h* | -h )
95
+       echo "$usage"; exit ;;
96
+    -- )     # Stop option processing
97
+       shift; break ;;
98
+    - )    # Use stdin as input.
99
+       break ;;
100
+    -* )
101
+       echo "$me: invalid option $1$help"
102
+       exit 1 ;;
103
+
104
+    *local*)
105
+       # First pass through any local machine types.
106
+       echo $1
107
+       exit ;;
108
+
109
+    * )
110
+       break ;;
111
+  esac
112
+done
113
+
114
+case $# in
115
+ 0) echo "$me: missing argument$help" >&2
116
+    exit 1;;
117
+ 1) ;;
118
+ *) echo "$me: too many arguments$help" >&2
119
+    exit 1;;
120
+esac
121
+
122
+# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
123
+# Here we must recognize all the valid KERNEL-OS combinations.
124
+maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
125
+case $maybe_os in
126
+  nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
127
+  linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
128
+  knetbsd*-gnu* | netbsd*-gnu* | \
129
+  kopensolaris*-gnu* | \
130
+  storm-chaos* | os2-emx* | rtmk-nova*)
131
+    os=-$maybe_os
132
+    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
133
+    ;;
134
+  android-linux)
135
+    os=-linux-android
136
+    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
137
+    ;;
138
+  *)
139
+    basic_machine=`echo $1 | sed 's/-[^-]*$//'`
140
+    if [ $basic_machine != $1 ]
141
+    then os=`echo $1 | sed 's/.*-/-/'`
142
+    else os=; fi
143
+    ;;
144
+esac
145
+
146
+### Let's recognize common machines as not being operating systems so
147
+### that things like config.sub decstation-3100 work.  We also
148
+### recognize some manufacturers as not being operating systems, so we
149
+### can provide default operating systems below.
150
+case $os in
151
+   -sun*os*)
152
+       # Prevent following clause from handling this invalid input.
153
+       ;;
154
+   -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
155
+   -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
156
+   -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
157
+   -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
158
+   -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
159
+   -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
160
+   -apple | -axis | -knuth | -cray | -microblaze)
161
+       os=
162
+       basic_machine=$1
163
+       ;;
164
+   -bluegene*)
165
+       os=-cnk
166
+       ;;
167
+   -sim | -cisco | -oki | -wec | -winbond)
168
+       os=
169
+       basic_machine=$1
170
+       ;;
171
+   -scout)
172
+       ;;
173
+   -wrs)
174
+       os=-vxworks
175
+       basic_machine=$1
176
+       ;;
177
+   -chorusos*)
178
+       os=-chorusos
179
+       basic_machine=$1
180
+       ;;
181
+   -chorusrdb)
182
+       os=-chorusrdb
183
+       basic_machine=$1
184
+       ;;
185
+   -hiux*)
186
+       os=-hiuxwe2
187
+       ;;
188
+   -sco6)
189
+       os=-sco5v6
190
+       basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
191
+       ;;
192
+   -sco5)
193
+       os=-sco3.2v5
194
+       basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
195
+       ;;
196
+   -sco4)
197
+       os=-sco3.2v4
198
+       basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
199
+       ;;
200
+   -sco3.2.[4-9]*)
201
libdvdcss-1.2.12.tar.bz2/configure -> libdvdcss-1.2.13.tar.bz2/configure Changed
201
 
1
@@ -1,11 +1,9 @@
2
 #! /bin/sh
3
 # Guess values for system-dependent variables and create Makefiles.
4
-# Generated by GNU Autoconf 2.68.
5
+# Generated by GNU Autoconf 2.69 for libdvdcss 1.2.13.
6
 #
7
 #
8
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9
-# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10
-# Foundation, Inc.
11
+# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
12
 #
13
 #
14
 # This configure script is free software; the Free Software Foundation
15
@@ -134,6 +132,31 @@
16
 # CDPATH.
17
 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18
 
19
+# Use a proper internal environment variable to ensure we don't fall
20
+  # into an infinite loop, continuously re-executing ourselves.
21
+  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
22
+    _as_can_reexec=no; export _as_can_reexec;
23
+    # We cannot yet assume a decent shell, so we have to provide a
24
+# neutralization value for shells without unset; and this also
25
+# works around shells that cannot unset nonexistent variables.
26
+# Preserve -v and -x to the replacement shell.
27
+BASH_ENV=/dev/null
28
+ENV=/dev/null
29
+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
30
+case $- in # ((((
31
+  *v*x* | *x*v* ) as_opts=-vx ;;
32
+  *v* ) as_opts=-v ;;
33
+  *x* ) as_opts=-x ;;
34
+  * ) as_opts= ;;
35
+esac
36
+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
37
+# Admittedly, this is quite paranoid, since all the known shells bail
38
+# out after a failed `exec'.
39
+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
40
+as_fn_exit 255
41
+  fi
42
+  # We don't want this to propagate to other subprocesses.
43
+          { _as_can_reexec=; unset _as_can_reexec;}
44
 if test "x$CONFIG_SHELL" = x; then
45
   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
46
   emulate sh
47
@@ -167,12 +190,12 @@
48
 else
49
   exitcode=1; echo positional parameters were not saved.
50
 fi
51
-test x\$exitcode = x0 || exit 1"
52
+test x\$exitcode = x0 || exit 1
53
+test -x / || exit 1"
54
   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
55
   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
56
   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
57
   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
58
-test \$(( 1 + 1 )) = 2 || exit 1
59
 
60
   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
61
     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
62
@@ -180,7 +203,8 @@
63
     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
64
     PATH=/empty FPATH=/empty; export PATH FPATH
65
     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
66
-      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
67
+      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
68
+test \$(( 1 + 1 )) = 2 || exit 1"
69
   if (eval "$as_required") 2>/dev/null; then :
70
   as_have_required=yes
71
 else
72
@@ -220,21 +244,25 @@
73
 
74
 
75
       if test "x$CONFIG_SHELL" != x; then :
76
-  # We cannot yet assume a decent shell, so we have to provide a
77
-   # neutralization value for shells without unset; and this also
78
-   # works around shells that cannot unset nonexistent variables.
79
-   # Preserve -v and -x to the replacement shell.
80
-   BASH_ENV=/dev/null
81
-   ENV=/dev/null
82
-   (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
83
-   export CONFIG_SHELL
84
-   case $- in # ((((
85
-     *v*x* | *x*v* ) as_opts=-vx ;;
86
-     *v* ) as_opts=-v ;;
87
-     *x* ) as_opts=-x ;;
88
-     * ) as_opts= ;;
89
-   esac
90
-   exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
91
+  export CONFIG_SHELL
92
+             # We cannot yet assume a decent shell, so we have to provide a
93
+# neutralization value for shells without unset; and this also
94
+# works around shells that cannot unset nonexistent variables.
95
+# Preserve -v and -x to the replacement shell.
96
+BASH_ENV=/dev/null
97
+ENV=/dev/null
98
+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
99
+case $- in # ((((
100
+  *v*x* | *x*v* ) as_opts=-vx ;;
101
+  *v* ) as_opts=-v ;;
102
+  *x* ) as_opts=-x ;;
103
+  * ) as_opts= ;;
104
+esac
105
+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
106
+# Admittedly, this is quite paranoid, since all the known shells bail
107
+# out after a failed `exec'.
108
+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
109
+exit 255
110
 fi
111
 
112
     if test x$as_have_required = xno; then :
113
@@ -336,6 +364,14 @@
114
 
115
 
116
 } # as_fn_mkdir_p
117
+
118
+# as_fn_executable_p FILE
119
+# -----------------------
120
+# Test if FILE is an executable regular file.
121
+as_fn_executable_p ()
122
+{
123
+  test -f "$1" && test -x "$1"
124
+} # as_fn_executable_p
125
 # as_fn_append VAR VALUE
126
 # ----------------------
127
 # Append the text in VALUE to the end of the definition contained in VAR. Take
128
@@ -457,6 +493,10 @@
129
   chmod +x "$as_me.lineno" ||
130
     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
131
 
132
+  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
133
+  # already done that, so ensure we don't try to do so again and fall
134
+  # in an infinite loop.  This has already happened in practice.
135
+  _as_can_reexec=no; export _as_can_reexec
136
   # Don't try to exec as it changes $[0], causing all sort of problems
137
   # (the dirname of $[0] is not the place where we might find the
138
   # original and so on.  Autoconf is especially sensitive to this).
139
@@ -491,16 +531,16 @@
140
     # ... but there are two gotchas:
141
     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
142
     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
143
-    # In both cases, we have to default to `cp -p'.
144
+    # In both cases, we have to default to `cp -pR'.
145
     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
146
-      as_ln_s='cp -p'
147
+      as_ln_s='cp -pR'
148
   elif ln conf$$.file conf$$ 2>/dev/null; then
149
     as_ln_s=ln
150
   else
151
-    as_ln_s='cp -p'
152
+    as_ln_s='cp -pR'
153
   fi
154
 else
155
-  as_ln_s='cp -p'
156
+  as_ln_s='cp -pR'
157
 fi
158
 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
159
 rmdir conf$$.dir 2>/dev/null
160
@@ -512,28 +552,8 @@
161
   as_mkdir_p=false
162
 fi
163
 
164
-if test -x / >/dev/null 2>&1; then
165
-  as_test_x='test -x'
166
-else
167
-  if ls -dL / >/dev/null 2>&1; then
168
-    as_ls_L_option=L
169
-  else
170
-    as_ls_L_option=
171
-  fi
172
-  as_test_x='
173
-    eval sh -c '\''
174
-      if test -d "$1"; then
175
-   test -d "$1/.";
176
-      else
177
-   case $1 in #(
178
-   -*)set "./$1";;
179
-   esac;
180
-   case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
181
-   ???[sx]*):;;*)false;;esac;fi
182
-    '\'' sh
183
-  '
184
-fi
185
-as_executable_p=$as_test_x
186
+as_test_x='test -x'
187
+as_executable_p=as_fn_executable_p
188
 
189
 # Sed expression to map a string onto a valid CPP name.
190
 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
191
@@ -565,12 +585,12 @@
192
 MAKEFLAGS=
193
 
194
 # Identity of this package.
195
-PACKAGE_NAME=
196
-PACKAGE_TARNAME=
197
-PACKAGE_VERSION=
198
-PACKAGE_STRING=
199
-PACKAGE_BUGREPORT=
200
-PACKAGE_URL=
201
libdvdcss-1.2.12.tar.bz2/configure.ac -> libdvdcss-1.2.13.tar.bz2/configure.ac Changed
201
 
1
@@ -1,49 +1,121 @@
2
-AC_INIT(src/libdvdcss.c)
3
+AC_INIT(libdvdcss, 1.2.13)
4
+AC_CONFIG_SRCDIR([src/libdvdcss.c])
5
 
6
 AC_PREREQ(2.50)
7
-AC_CONFIG_AUX_DIR(.auto)
8
-AC_CANONICAL_SYSTEM
9
+AC_CANONICAL_HOST
10
 
11
-AM_INIT_AUTOMAKE(libdvdcss, 1.2.12)
12
-AM_CONFIG_HEADER(config.h)
13
+AM_INIT_AUTOMAKE([foreign dist-bzip2 no-dist-gzip subdir-objects])
14
+AM_MAINTAINER_MODE([enable])
15
+dnl Enable silent rules only when available (automake 1.11 or later).
16
+m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
17
 
18
-AC_PROG_CC
19
-AC_STDC_HEADERS
20
+LT_INIT([win32-dll])
21
 
22
-AC_LIBTOOL_WIN32_DLL
23
-AM_PROG_LIBTOOL
24
+AC_CONFIG_HEADER(config.h)
25
+AC_CONFIG_MACRO_DIR([m4])
26
+
27
+dnl The libtool version numbers (DVDCSS_LT_*); Don't even think about faking this!
28
+dnl
29
+dnl immediately before every release do:
30
+dnl ===================================
31
+dnl if (the interface is totally unchanged from previous release)
32
+dnl    DVDCSS_LT_REVISION ++;
33
+dnl else { /* interfaces have been added, removed or changed */
34
+dnl    DVDCSS_LT_REVISION = 0;
35
+dnl    DVDCSS_LT_CURRENT ++;
36
+dnl    if (any interfaces have been _added_ since last release)
37
+dnl       AGE ++;
38
+dnl    if (any interfaces have been _removed_ or _incompatibly changed_)
39
+dnl       AGE = 0;
40
+dnl }
41
+dnl
42
+dnl If you want to know more about what you are doing, here are some details:
43
+dnl  * DVDCSS_LT_CURRENT is the current API version
44
+dnl  * DVDCSS_LT_REVISION is an internal revision number which is increased when the API
45
+dnl    itself did not change
46
+dnl  * DVDCSS_LT_AGE is the number of previous API versions still supported by this library
47
+dnl  * libtool has its own numbering scheme, because local library numbering schemes
48
+dnl    are platform dependent
49
+dnl  * in Linux, the library will be named
50
+dnl    libname.so.(DVDCSS_LT_CURRENT - DVDCSS_LT_AGE).DVDCSS_LT_AGE.DVDCSS_LT_REVISION
51
+
52
+DVDCSS_LT_CURRENT=3
53
+DVDCSS_LT_AGE=0
54
+DVDCSS_LT_REVISION=1
55
+
56
+AC_SUBST([DVDCSS_LTVERSION], [$DVDCSS_LT_CURRENT:$DVDCSS_LT_AGE:$DVDCSS_LT_REVISION])
57
+
58
+AC_PROG_CC
59
+AC_HEADER_STDC
60
 
61
 AC_C_CONST
62
 AC_C_INLINE
63
 AC_TYPE_SIZE_T
64
 
65
-AC_CHECK_HEADERS(unistd.h sys/param.h limits.h pwd.h errno.h)
66
+AC_CHECK_HEADERS([unistd.h sys/param.h sys/uio.h limits.h pwd.h]dnl
67
+  [errno.h sys/types.h sys/stat.h fcntl.h io.h])
68
+
69
+AC_CHECK_DECL([O_BINARY], [],
70
+  [AC_DEFINE([O_BINARY], [0], [Define O_BINARY if missing])],
71
+  [
72
+    #if HAVE_SYS_TYPES_H
73
+    # include <sys/types.h>
74
+    #endif
75
+    #if HAVE_SYS_STAT_H
76
+    # include <sys/stat.h>
77
+    #endif
78
+    #if HAVE_FCNTL_H
79
+    # include <fcntl.h>
80
+    #endif
81
+  ])
82
+
83
+AC_SYS_LARGEFILE
84
+
85
+AC_CACHE_CHECK(
86
+  [for posix mkdir()],
87
+  [css_cv_mkdir_posix], [
88
+    AC_COMPILE_IFELSE([AC_LANG_SOURCE([
89
+#ifdef HAVE_IO_H
90
+# include <io.h>
91
+#endif
92
+#ifdef HAVE_SYS_STAT_H
93
+# include <sys/stat.h>
94
+#endif
95
+#ifdef HAVE_SYS_TYPES_H
96
+# include <sys/types.h>
97
+#endif
98
+
99
+int mkdir(const char *path, mode_t mode);
100
+      ])
101
+    ],
102
+    [css_cv_mkdir_posix=yes],
103
+    [css_cv_mkdir_posix=no])
104
+  ])
105
+
106
+AS_IF([test "$css_cv_mkdir_posix" = "no"], [
107
+  AC_DEFINE([HAVE_BROKEN_MKDIR], 1, [Define if you have a broken mkdir])
108
+])
109
 
110
 dnl
111
 dnl  Check the operating system
112
 dnl
113
-case x"${target_os}" in
114
+
115
+case x"${host_os}" in
116
   xdarwin*)
117
     CFLAGS="${CFLAGS} -no-cpp-precomp"
118
     ;;
119
   x*cygwin*)
120
-    dnl Check if we are using the mno-cygwin mode in which case we are
121
-    dnl actually dealing with a mingw32 compiler.
122
-    AC_EGREP_CPP(yes, [#ifndef WIN32
123
-                       yes
124
-                       #endif],
125
-                 AC_DEFINE(SYS_CYGWIN, 1, Have a Cygwin system.))
126
-    AC_DEFINE(WIN32, 1, Using Win32.)
127
-    ;;
128
-  xbeos*)
129
-    AC_DEFINE(SYS_BEOS, 1, Have a BeOS system.)
130
+    CFLAGS="${CFLAGS} -mwin32"
131
     ;;
132
   xos2*)
133
     LDFLAGS="-Zbin-files"
134
-    AC_DEFINE(SYS_OS2, 1, Have a OS/2 system.)
135
     ;;
136
   x*msvc*)
137
     SYS_MSVC=1
138
+    AC_DEFINE([_WIN32_IE], 0x0401, [Define to '0x0401' for IE 4.01 (and shell) APIs.])
139
+    ;;
140
+  x*mingw* | *wince* | *mingwce*)
141
+    AC_DEFINE([_WIN32_IE], 0x0401, [Define to '0x0401' for IE 4.01 (and shell) APIs.])
142
     ;;
143
   x*)
144
     ;;
145
@@ -58,9 +130,6 @@
146
 
147
 dnl  for windoze
148
 AC_CHECK_HEADERS(windows.h,[
149
-  AC_CHECK_HEADERS(direct.h,,,[
150
-  #include <windows.h>
151
-  ])
152
   AC_CHECK_HEADERS(winioctl.h,[
153
     CAN_BUILD_LIBDVDCSS=1
154
   ],,[
155
@@ -102,31 +171,13 @@
156
     LINUX_DVD_STRUCT=1
157
   ])
158
   dnl
159
-  dnl BSDI: dvd.h - may require -ldvd IF a local copy of libdvd is installed
160
-  dnl
161
-  AC_EGREP_HEADER(dvd_struct,dvd.h,[
162
-    AC_DEFINE(DVD_STRUCT_IN_DVD_H, 1,
163
-              Define if <dvd.h> defines DVD_STRUCT.)
164
-    SYS_BSDI_LIBDVD=1
165
-    LINUX_DVD_STRUCT=1
166
-  ],[
167
-    dnl
168
-    dnl BSDI: /sys/dev/scsi/scsi_ioctl.h, using our own libdvd
169
-    dnl
170
-    AC_CHECK_HEADERS(/sys/dev/scsi/scsi_ioctl.h,[
171
-      AC_DEFINE(DVD_STRUCT_IN_BSDI_DVDIOCTL_DVD_H, 1,
172
-                Define if <extras/BSDI_dvdioctl/dvd.h> defines DVD_STRUCT.)
173
-      SYS_BSDI=1
174
-      LINUX_DVD_STRUCT=1
175
-    ])
176
-  ])
177
-  dnl
178
   dnl Solaris: sys/scsi/scsi_types.h, sys/scsi/impl/uscsi.h
179
   dnl
180
-  AC_CHECK_HEADER(sys/scsi/scsi_types.h,[
181
-    AC_CHECK_HEADER(sys/scsi/impl/uscsi.h,[
182
-      AC_DEFINE(SOLARIS_USCSI, 1, Have userspace SCSI headers.)
183
-    ])
184
+  solaris_uscsi=yes
185
+  AC_CHECK_HEADERS([sys/scsi/scsi_types.h, sys/scsi/impl/uscsi.h], [],
186
+    [solaris_uscsi=no; break;])
187
+  AS_IF([test "$solaris_uscsi" = "yes"], [
188
+    AC_DEFINE(SOLARIS_USCSI, 1, Have userspace SCSI headers.)
189
   ])
190
   dnl
191
   dnl HP-UX: sys/scsi.h
192
@@ -161,59 +212,30 @@
193
   fi
194
 ])
195
 
196
-dnl
197
-dnl  Check for available warning flags
198
-dnl
199
-CFLAGS_save="${CFLAGS}"
200
-
201
libdvdcss-1.2.13.tar.bz2/depcomp Added
201
 
1
@@ -0,0 +1,708 @@
2
+#! /bin/sh
3
+# depcomp - compile a program generating dependencies as side-effects
4
+
5
+scriptversion=2012-03-27.16; # UTC
6
+
7
+# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009, 2010,
8
+# 2011, 2012 Free Software Foundation, Inc.
9
+
10
+# This program is free software; you can redistribute it and/or modify
11
+# it under the terms of the GNU General Public License as published by
12
+# the Free Software Foundation; either version 2, or (at your option)
13
+# any later version.
14
+
15
+# This program is distributed in the hope that it will be useful,
16
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
17
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18
+# GNU General Public License for more details.
19
+
20
+# You should have received a copy of the GNU General Public License
21
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
22
+
23
+# As a special exception to the GNU General Public License, if you
24
+# distribute this file as part of a program that contains a
25
+# configuration script generated by Autoconf, you may include it under
26
+# the same distribution terms that you use for the rest of that program.
27
+
28
+# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
29
+
30
+case $1 in
31
+  '')
32
+     echo "$0: No command.  Try '$0 --help' for more information." 1>&2
33
+     exit 1;
34
+     ;;
35
+  -h | --h*)
36
+    cat <<\EOF
37
+Usage: depcomp [--help] [--version] PROGRAM [ARGS]
38
+
39
+Run PROGRAMS ARGS to compile a file, generating dependencies
40
+as side-effects.
41
+
42
+Environment variables:
43
+  depmode     Dependency tracking mode.
44
+  source      Source file read by 'PROGRAMS ARGS'.
45
+  object      Object file output by 'PROGRAMS ARGS'.
46
+  DEPDIR      directory where to store dependencies.
47
+  depfile     Dependency file to output.
48
+  tmpdepfile  Temporary file to use when outputting dependencies.
49
+  libtool     Whether libtool is used (yes/no).
50
+
51
+Report bugs to <bug-automake@gnu.org>.
52
+EOF
53
+    exit $?
54
+    ;;
55
+  -v | --v*)
56
+    echo "depcomp $scriptversion"
57
+    exit $?
58
+    ;;
59
+esac
60
+
61
+# A tabulation character.
62
+tab='  '
63
+# A newline character.
64
+nl='
65
+'
66
+
67
+if test -z "$depmode" || test -z "$source" || test -z "$object"; then
68
+  echo "depcomp: Variables source, object and depmode must be set" 1>&2
69
+  exit 1
70
+fi
71
+
72
+# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po.
73
+depfile=${depfile-`echo "$object" |
74
+  sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`}
75
+tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
76
+
77
+rm -f "$tmpdepfile"
78
+
79
+# Some modes work just like other modes, but use different flags.  We
80
+# parameterize here, but still list the modes in the big case below,
81
+# to make depend.m4 easier to write.  Note that we *cannot* use a case
82
+# here, because this file can only contain one case statement.
83
+if test "$depmode" = hp; then
84
+  # HP compiler uses -M and no extra arg.
85
+  gccflag=-M
86
+  depmode=gcc
87
+fi
88
+
89
+if test "$depmode" = dashXmstdout; then
90
+   # This is just like dashmstdout with a different argument.
91
+   dashmflag=-xM
92
+   depmode=dashmstdout
93
+fi
94
+
95
+cygpath_u="cygpath -u -f -"
96
+if test "$depmode" = msvcmsys; then
97
+   # This is just like msvisualcpp but w/o cygpath translation.
98
+   # Just convert the backslash-escaped backslashes to single forward
99
+   # slashes to satisfy depend.m4
100
+   cygpath_u='sed s,\\\\,/,g'
101
+   depmode=msvisualcpp
102
+fi
103
+
104
+if test "$depmode" = msvc7msys; then
105
+   # This is just like msvc7 but w/o cygpath translation.
106
+   # Just convert the backslash-escaped backslashes to single forward
107
+   # slashes to satisfy depend.m4
108
+   cygpath_u='sed s,\\\\,/,g'
109
+   depmode=msvc7
110
+fi
111
+
112
+if test "$depmode" = xlc; then
113
+   # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency informations.
114
+   gccflag=-qmakedep=gcc,-MF
115
+   depmode=gcc
116
+fi
117
+
118
+case "$depmode" in
119
+gcc3)
120
+## gcc 3 implements dependency tracking that does exactly what
121
+## we want.  Yay!  Note: for some reason libtool 1.4 doesn't like
122
+## it if -MD -MP comes after the -MF stuff.  Hmm.
123
+## Unfortunately, FreeBSD c89 acceptance of flags depends upon
124
+## the command line argument order; so add the flags where they
125
+## appear in depend2.am.  Note that the slowdown incurred here
126
+## affects only configure: in makefiles, %FASTDEP% shortcuts this.
127
+  for arg
128
+  do
129
+    case $arg in
130
+    -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;;
131
+    *)  set fnord "$@" "$arg" ;;
132
+    esac
133
+    shift # fnord
134
+    shift # $arg
135
+  done
136
+  "$@"
137
+  stat=$?
138
+  if test $stat -eq 0; then :
139
+  else
140
+    rm -f "$tmpdepfile"
141
+    exit $stat
142
+  fi
143
+  mv "$tmpdepfile" "$depfile"
144
+  ;;
145
+
146
+gcc)
147
+## There are various ways to get dependency output from gcc.  Here's
148
+## why we pick this rather obscure method:
149
+## - Don't want to use -MD because we'd like the dependencies to end
150
+##   up in a subdir.  Having to rename by hand is ugly.
151
+##   (We might end up doing this anyway to support other compilers.)
152
+## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
153
+##   -MM, not -M (despite what the docs say).
154
+## - Using -M directly means running the compiler twice (even worse
155
+##   than renaming).
156
+  if test -z "$gccflag"; then
157
+    gccflag=-MD,
158
+  fi
159
+  "$@" -Wp,"$gccflag$tmpdepfile"
160
+  stat=$?
161
+  if test $stat -eq 0; then :
162
+  else
163
+    rm -f "$tmpdepfile"
164
+    exit $stat
165
+  fi
166
+  rm -f "$depfile"
167
+  echo "$object : \\" > "$depfile"
168
+  alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
169
+## The second -e expression handles DOS-style file names with drive letters.
170
+  sed -e 's/^[^:]*: / /' \
171
+      -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
172
+## This next piece of magic avoids the "deleted header file" problem.
173
+## The problem is that when a header file which appears in a .P file
174
+## is deleted, the dependency causes make to die (because there is
175
+## typically no way to rebuild the header).  We avoid this by adding
176
+## dummy dependencies for each header file.  Too bad gcc doesn't do
177
+## this for us directly.
178
+  tr ' ' "$nl" < "$tmpdepfile" |
179
+## Some versions of gcc put a space before the ':'.  On the theory
180
+## that the space means something, we add a space to the output as
181
+## well.  hp depmode also adds that space, but also prefixes the VPATH
182
+## to the object.  Take care to not repeat it in the output.
183
+## Some versions of the HPUX 10.20 sed can't process this invocation
184
+## correctly.  Breaking it into two sed invocations is a workaround.
185
+    sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \
186
+      | sed -e 's/$/ :/' >> "$depfile"
187
+  rm -f "$tmpdepfile"
188
+  ;;
189
+
190
+hp)
191
+  # This case exists only to let depend.m4 do its work.  It works by
192
+  # looking at the text of this script.  This case will never be run,
193
+  # since it is checked for above.
194
+  exit 1
195
+  ;;
196
+
197
+sgi)
198
+  if test "$libtool" = yes; then
199
+    "$@" "-Wp,-MDupdate,$tmpdepfile"
200
+  else
201
libdvdcss-1.2.12.tar.bz2/doc/doxygen.cfg.in -> libdvdcss-1.2.13.tar.bz2/doc/doxygen.cfg.in Changed
177
 
1
@@ -25,20 +25,20 @@
2
 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded 
3
 # by quotes) that should identify the project.
4
 
5
-PROJECT_NAME           = libdvdcss
6
+PROJECT_NAME           = @PACKAGE_NAME@
7
 
8
 # The PROJECT_NUMBER tag can be used to enter a project or revision number. 
9
 # This could be handy for archiving the generated documentation or 
10
 # if some version control system is used.
11
 
12
-PROJECT_NUMBER         = 1.2.12
13
+PROJECT_NUMBER         = @PACKAGE_VERSION@
14
 
15
 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) 
16
 # base path where the generated documentation will be put. 
17
 # If a relative path is entered, it will be relative to the location 
18
 # where doxygen was started. If left blank the current directory will be used.
19
 
20
-OUTPUT_DIRECTORY       = .
21
+OUTPUT_DIRECTORY       = @top_builddir@/doc
22
 
23
 # If the CREATE_SUBDIRS tag is set to YES, then doxygen will create 
24
 # 4096 sub-directories (in 2 levels) under the output directory of each output 
25
@@ -155,13 +155,6 @@
26
 
27
 MULTILINE_CPP_IS_BRIEF = NO
28
 
29
-# If the DETAILS_AT_TOP tag is set to YES then Doxygen 
30
-# will output the detailed description near the top, like JavaDoc.
31
-# If set to NO, the detailed description appears after the member 
32
-# documentation.
33
-
34
-DETAILS_AT_TOP         = NO
35
-
36
 # If the INHERIT_DOCS tag is set to YES (the default) then an undocumented 
37
 # member inherits the documentation from any documented member that it 
38
 # re-implements.
39
@@ -446,12 +439,6 @@
40
 
41
 SHOW_USED_FILES        = YES
42
 
43
-# If the sources in your project are distributed over multiple directories 
44
-# then setting the SHOW_DIRECTORIES tag to YES will show the directory hierarchy 
45
-# in the documentation. The default is NO.
46
-
47
-SHOW_DIRECTORIES       = NO
48
-
49
 # Set the SHOW_FILES tag to NO to disable the generation of the Files page.
50
 # This will remove the Files entry from the Quick Index and from the 
51
 # Folder Tree View (if specified). The default is YES.
52
@@ -534,8 +521,8 @@
53
 # directories like "/usr/src/myproject". Separate the files or directories 
54
 # with spaces.
55
 
56
-INPUT                  = @TOP_SRCDIR@/src/dvdcss/dvdcss.h \
57
-                         @TOP_SRCDIR@/src/libdvdcss.c
58
+INPUT                  = @top_srcdir@/src/dvdcss/dvdcss.h \
59
+                         @top_srcdir@/src/libdvdcss.c
60
 
61
 # This tag can be used to specify the character encoding of the source files 
62
 # that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is 
63
@@ -565,7 +552,7 @@
64
 # excluded from the INPUT source files. This way you can easily exclude a 
65
 # subdirectory from a directory tree whose root is specified with the INPUT tag.
66
 
67
-EXCLUDE                = ../src/config.h
68
+EXCLUDE                =
69
 
70
 # The EXCLUDE_SYMLINKS tag can be used select whether or not files or 
71
 # directories that are symbolic links (a Unix filesystem feature) are excluded 
72
@@ -743,13 +730,13 @@
73
 # each generated HTML page. If it is left blank doxygen will generate a 
74
 # standard header.
75
 
76
-HTML_HEADER            = @SRCDIR@/header.html
77
+HTML_HEADER            = @top_srcdir@/doc/header.html
78
 
79
 # The HTML_FOOTER tag can be used to specify a personal HTML footer for 
80
 # each generated HTML page. If it is left blank doxygen will generate a 
81
 # standard footer.
82
 
83
-HTML_FOOTER            = @SRCDIR@/footer.html
84
+HTML_FOOTER            = @top_srcdir@/doc/footer.html
85
 
86
 # The HTML_STYLESHEET tag can be used to specify a user-defined cascading 
87
 # style sheet that is used by each HTML page. It can be used to 
88
@@ -760,12 +747,6 @@
89
 
90
 HTML_STYLESHEET        = 
91
 
92
-# If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes, 
93
-# files or namespaces will be aligned in HTML using tables. If set to 
94
-# NO a bullet list will be used.
95
-
96
-HTML_ALIGN_MEMBERS     = YES
97
-
98
 # If the GENERATE_HTMLHELP tag is set to YES, additional index files 
99
 # will be generated that can be used as input for tools like the 
100
 # Microsoft HTML help workshop to generate a compiled HTML help file (.chm) 
101
@@ -892,74 +873,7 @@
102
 # If the GENERATE_LATEX tag is set to YES (the default) Doxygen will 
103
 # generate Latex output.
104
 
105
-GENERATE_LATEX         = YES
106
-
107
-# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. 
108
-# If a relative path is entered the value of OUTPUT_DIRECTORY will be 
109
-# put in front of it. If left blank `latex' will be used as the default path.
110
-
111
-LATEX_OUTPUT           = latex
112
-
113
-# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be 
114
-# invoked. If left blank `latex' will be used as the default command name.
115
-
116
-LATEX_CMD_NAME         = latex
117
-
118
-# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to 
119
-# generate index for LaTeX. If left blank `makeindex' will be used as the 
120
-# default command name.
121
-
122
-MAKEINDEX_CMD_NAME     = makeindex
123
-
124
-# If the COMPACT_LATEX tag is set to YES Doxygen generates more compact 
125
-# LaTeX documents. This may be useful for small projects and may help to 
126
-# save some trees in general.
127
-
128
-COMPACT_LATEX          = NO
129
-
130
-# The PAPER_TYPE tag can be used to set the paper type that is used 
131
-# by the printer. Possible values are: a4, a4wide, letter, legal and 
132
-# executive. If left blank a4wide will be used.
133
-
134
-PAPER_TYPE             = a4wide
135
-
136
-# The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX 
137
-# packages that should be included in the LaTeX output.
138
-
139
-EXTRA_PACKAGES         = 
140
-
141
-# The LATEX_HEADER tag can be used to specify a personal LaTeX header for 
142
-# the generated latex document. The header should contain everything until 
143
-# the first chapter. If it is left blank doxygen will generate a 
144
-# standard header. Notice: only use this tag if you know what you are doing!
145
-
146
-LATEX_HEADER           = 
147
-
148
-# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated 
149
-# is prepared for conversion to pdf (using ps2pdf). The pdf file will 
150
-# contain links (just like the HTML output) instead of page references 
151
-# This makes the output suitable for online browsing using a pdf viewer.
152
-
153
-PDF_HYPERLINKS         = NO
154
-
155
-# If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of 
156
-# plain latex in the generated Makefile. Set this option to YES to get a 
157
-# higher quality PDF documentation.
158
-
159
-USE_PDFLATEX           = NO
160
-
161
-# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode. 
162
-# command to the generated LaTeX files. This will instruct LaTeX to keep 
163
-# running if errors occur, instead of asking the user for help. 
164
-# This option is also used when generating formulas in HTML.
165
-
166
-LATEX_BATCHMODE        = NO
167
-
168
-# If LATEX_HIDE_INDICES is set to YES then doxygen will not 
169
-# include the index chapters (such as File Index, Compound Index, etc.) 
170
-# in the output.
171
-
172
-LATEX_HIDE_INDICES     = NO
173
+GENERATE_LATEX         = NO
174
 
175
 #---------------------------------------------------------------------------
176
 # configuration options related to the RTF output
177
libdvdcss-1.2.12.tar.bz2/doc/footer.html -> libdvdcss-1.2.13.tar.bz2/doc/footer.html Changed
5
 
1
@@ -1,3 +1,2 @@
2
-<!-- $Id: footer.html 186 2005-09-04 07:43:15Z robux4 $ -->
3
   </body>
4
 </html>
5
libdvdcss-1.2.12.tar.bz2/doc/header.html -> libdvdcss-1.2.13.tar.bz2/doc/header.html Changed
6
 
1
@@ -7,4 +7,3 @@
2
     <link href="/doxygen.css" rel="stylesheet" type="text/css">
3
   </head>
4
   <body>
5
-<!-- $Id: header.html 186 2005-09-04 07:43:15Z robux4 $ -->
6
libdvdcss-1.2.13.tar.bz2/install-sh Changed
2
 
1
(renamed from .auto/install-sh)
2
libdvdcss-1.2.12.tar.bz2/libdvdcss.spec -> libdvdcss-1.2.13.tar.bz2/libdvdcss.spec Changed
56
 
1
@@ -12,7 +12,7 @@
2
 %define configure2_5x %configure
3
 %define make %__make
4
 %define makeinstall_std %makeinstall
5
-# adjust define for Redhat.
6
+# adjust define for Red Hat.
7
 %endif
8
 
9
 
10
@@ -32,8 +32,8 @@
11
 libdvdcss is a simple library designed for accessing DVDs like a block device
12
 without having to bother about the decryption. The important features are:
13
  * Portability: currently supported platforms are GNU/Linux, FreeBSD, NetBSD,
14
-   OpenBSD, BSD/OS, BeOS, Windows 95/98/ME, Windows NT/2000/XP, MacOS X,
15
-   Solaris, HP-UX and OS/2.
16
+   OpenBSD, BeOS, Windows 98/ME, Windows NT/2000/XP, Mac OS X, Solaris,
17
+   HP-UX and OS/2.
18
  * Adaptability: unlike most similar projects, libdvdcss doesn't require the
19
    region of your drive to be set and will try its best to read from the disc
20
    even in the case of a region mismatch.
21
@@ -49,8 +49,8 @@
22
 libdvdcss is a simple library designed for accessing DVDs like a block device
23
 without having to bother about the decryption. The important features are:
24
  * Portability: currently supported platforms are GNU/Linux, FreeBSD, NetBSD,
25
-   OpenBSD, BSD/OS, BeOS, Windows 95/98/ME, Windows NT/2000/XP, MacOS X,
26
-   Solaris, HP-UX and OS/2.
27
+   OpenBSD, BeOS, Windows 98/ME, Windows NT/2000/XP, Mac OS X, Solaris,
28
+   HP-UX and OS/2.
29
  * Adaptability: unlike most similar projects, libdvdcss doesn't require the
30
    region of your drive to be set and will try its best to read from the disc
31
    even in the case of a region mismatch.
32
@@ -121,10 +121,10 @@
33
 - new upstream release
34
 - improved robustness in case of read errors
35
 - key cache support
36
-- added more macros to fix RedHat build
37
+- added more macros to fix Red Hat build
38
 
39
 * Mon Nov 18 2002 Alexis de Lattre <alexis@videolan.org> 1.2.4-2
40
-- Changes in .spec file for RedHat and RPM 4.1
41
+- Changes in .spec file for Red Hat and RPM 4.1
42
 
43
 * Thu Nov 14 2002 Alexis de Lattre <alexis@videolan.org> 1.2.4-1
44
 - new upstream release
45
@@ -150,8 +150,8 @@
46
 - major version is 2 (aka guillaume sux).
47
 - spec clean up: do not rm in %%prep, %%buildroot, %%makeinstall_std, %%provides %%version-%%release
48
 - added doc in devel
49
-- sync with cvs's one (%%description,%%files, conflicts).
50
-- fix url
51
+- sync with CVS's one (%%description,%%files, conflicts).
52
+- fix URL
53
 
54
 * Sat Apr 06 2002 Guillaume Rousse <rousse@ccr.jussieu.fr> 1.1.1-1plf
55
 - 1.1.1
56
libdvdcss-1.2.13.tar.bz2/ltmain.sh Changed
2
 
1
(renamed from .auto/ltmain.sh)
2
libdvdcss-1.2.13.tar.bz2/m4 Added
2
 
1
+(directory)
2
libdvdcss-1.2.13.tar.bz2/m4/attributes.m4 Added
201
 
1
@@ -0,0 +1,296 @@
2
+dnl Macros to check the presence of generic (non-typed) symbols.
3
+dnl Copyright (c) 2006-2007 Diego Pettenò <flameeyes@gmail.com>
4
+dnl Copyright (c) 2006-2007 xine project
5
+dnl
6
+dnl This program is free software; you can redistribute it and/or modify
7
+dnl it under the terms of the GNU General Public License as published by
8
+dnl the Free Software Foundation; either version 2, or (at your option)
9
+dnl any later version.
10
+dnl
11
+dnl This program is distributed in the hope that it will be useful,
12
+dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
13
+dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
+dnl GNU General Public License for more details.
15
+dnl
16
+dnl You should have received a copy of the GNU General Public License
17
+dnl along with this program; if not, write to the Free Software
18
+dnl Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
19
+dnl 02110-1301, USA.
20
+dnl
21
+dnl As a special exception, the copyright owners of the
22
+dnl macro gives unlimited permission to copy, distribute and modify the
23
+dnl configure scripts that are the output of Autoconf when processing the
24
+dnl Macro. You need not follow the terms of the GNU General Public
25
+dnl License when using or distributing such scripts, even though portions
26
+dnl of the text of the Macro appear in them. The GNU General Public
27
+dnl License (GPL) does govern all other use of the material that
28
+dnl constitutes the Autoconf Macro.
29
+dnl
30
+dnl This special exception to the GPL applies to versions of the
31
+dnl Autoconf Macro released by this project. When you make and
32
+dnl distribute a modified version of the Autoconf Macro, you may extend
33
+dnl this special exception to the GPL to apply to your modified version as
34
+dnl well.
35
+
36
+dnl Check if the flag is supported by compiler
37
+dnl CC_CHECK_CFLAGS_SILENT([FLAG], [ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
38
+
39
+AC_DEFUN([CC_CHECK_CFLAGS_SILENT], [
40
+  AC_CACHE_VAL(AS_TR_SH([cc_cv_cflags_$1]),
41
+    [ac_save_CFLAGS="$CFLAGS"
42
+     CFLAGS="$CFLAGS $1"
43
+     AC_LINK_IFELSE([AC_LANG_SOURCE([int main() { return 0; }])],
44
+       [eval "AS_TR_SH([cc_cv_cflags_$1])='yes'"],
45
+       [eval "AS_TR_SH([cc_cv_cflags_$1])='no'"])
46
+     CFLAGS="$ac_save_CFLAGS"
47
+    ])
48
+
49
+  AS_IF([eval test x$]AS_TR_SH([cc_cv_cflags_$1])[ = xyes],
50
+    [$2], [$3])
51
+])
52
+
53
+dnl Check if the flag is supported by compiler (cacheable)
54
+dnl CC_CHECK_CFLAGS([FLAG], [ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
55
+
56
+AC_DEFUN([CC_CHECK_CFLAGS], [
57
+  AC_CACHE_CHECK([if $CC supports $1 flag],
58
+    AS_TR_SH([cc_cv_cflags_$1]),
59
+    CC_CHECK_CFLAGS_SILENT([$1]) dnl Don't execute actions here!
60
+  )
61
+
62
+  AS_IF([eval test x$]AS_TR_SH([cc_cv_cflags_$1])[ = xyes],
63
+    [$2], [$3])
64
+])
65
+
66
+dnl CC_CHECK_CFLAG_APPEND(FLAG, [action-if-found], [action-if-not-found])
67
+dnl Check for CFLAG and appends them to CFLAGS if supported
68
+AC_DEFUN([CC_CHECK_CFLAG_APPEND], [
69
+  AC_CACHE_CHECK([if $CC supports $1 flag],
70
+    AS_TR_SH([cc_cv_cflags_$1]),
71
+    CC_CHECK_CFLAGS_SILENT([$1]) dnl Don't execute actions here!
72
+  )
73
+
74
+  AS_IF([eval test x$]AS_TR_SH([cc_cv_cflags_$1])[ = xyes],
75
+    [CFLAGS="$CFLAGS $1"; $2], [$3])
76
+])
77
+
78
+dnl CC_CHECK_CFLAGS_APPEND([FLAG1 FLAG2], [action-if-found], [action-if-not])
79
+AC_DEFUN([CC_CHECK_CFLAGS_APPEND], [
80
+  for flag in $1; do
81
+    CC_CHECK_CFLAG_APPEND($flag, [$2], [$3])
82
+  done
83
+])
84
+
85
+dnl Check if the flag is supported by linker (cacheable)
86
+dnl CC_CHECK_LDFLAGS([FLAG], [ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
87
+
88
+AC_DEFUN([CC_CHECK_LDFLAGS], [
89
+  AC_CACHE_CHECK([if $CC supports $1 flag],
90
+    AS_TR_SH([cc_cv_ldflags_$1]),
91
+    [ac_save_LDFLAGS="$LDFLAGS"
92
+     LDFLAGS="$LDFLAGS $1"
93
+     AC_LINK_IFELSE([AC_LANG_SOURCE([int main() { return 1; }])],
94
+       [eval "AS_TR_SH([cc_cv_ldflags_$1])='yes'"],
95
+       [eval "AS_TR_SH([cc_cv_ldflags_$1])="])
96
+     LDFLAGS="$ac_save_LDFLAGS"
97
+    ])
98
+
99
+  AS_IF([eval test x$]AS_TR_SH([cc_cv_ldflags_$1])[ = xyes],
100
+    [$2], [$3])
101
+])
102
+
103
+dnl Check for a -Werror flag or equivalent. -Werror is the GCC
104
+dnl and ICC flag that tells the compiler to treat all the warnings
105
+dnl as fatal. We usually need this option to make sure that some
106
+dnl constructs (like attributes) are not simply ignored.
107
+dnl
108
+dnl Other compilers don't support -Werror per se, but they support
109
+dnl an equivalent flag:
110
+dnl  - Sun Studio compiler supports -errwarn=%all
111
+AC_DEFUN([CC_CHECK_WERROR], [
112
+  AC_CACHE_CHECK(
113
+    [for $CC way to treat warnings as errors],
114
+    [cc_cv_werror],
115
+    [CC_CHECK_CFLAGS_SILENT([-Werror], [cc_cv_werror=-Werror],
116
+      [CC_CHECK_CFLAGS_SILENT([-errwarn=%all], [cc_cv_werror=-errwarn=%all])])
117
+    ])
118
+])
119
+
120
+AC_DEFUN([CC_CHECK_ATTRIBUTE], [
121
+  AC_REQUIRE([CC_CHECK_WERROR])
122
+  AC_CACHE_CHECK([if $CC supports __attribute__(( ifelse([$2], , [$1], [$2]) ))],
123
+    AS_TR_SH([cc_cv_attribute_$1]),
124
+    [ac_save_CFLAGS="$CFLAGS"
125
+     CFLAGS="$CFLAGS $cc_cv_werror"
126
+     AC_COMPILE_IFELSE([AC_LANG_SOURCE([$3])],
127
+       [eval "AS_TR_SH([cc_cv_attribute_$1])='yes'"],
128
+       [eval "AS_TR_SH([cc_cv_attribute_$1])='no'"])
129
+     CFLAGS="$ac_save_CFLAGS"
130
+    ])
131
+
132
+  AS_IF([eval test x$]AS_TR_SH([cc_cv_attribute_$1])[ = xyes],
133
+    [AC_DEFINE(
134
+       AS_TR_CPP([SUPPORT_ATTRIBUTE_$1]), 1,
135
+         [Define this if the compiler supports __attribute__(( ifelse([$2], , [$1], [$2]) ))]
136
+         )
137
+     $4],
138
+    [$5])
139
+])
140
+
141
+AC_DEFUN([CC_ATTRIBUTE_CONSTRUCTOR], [
142
+  CC_CHECK_ATTRIBUTE(
143
+    [constructor],,
144
+    [extern void foo();
145
+     void __attribute__((constructor)) ctor() { foo(); }],
146
+    [$1], [$2])
147
+])
148
+
149
+AC_DEFUN([CC_ATTRIBUTE_DESTRUCTOR], [
150
+  CC_CHECK_ATTRIBUTE(
151
+    [destructor],,
152
+    [extern void foo();
153
+     void __attribute__((destructor)) dtor() { foo(); }],
154
+    [$1], [$2])
155
+])
156
+
157
+AC_DEFUN([CC_ATTRIBUTE_FORMAT], [
158
+  CC_CHECK_ATTRIBUTE(
159
+    [format], [format(printf, n, n)],
160
+    [void __attribute__((format(printf, 1, 2))) printflike(const char *fmt, ...) { fmt = (void *)0; }],
161
+    [$1], [$2])
162
+])
163
+
164
+AC_DEFUN([CC_ATTRIBUTE_FORMAT_ARG], [
165
+  CC_CHECK_ATTRIBUTE(
166
+    [format_arg], [format_arg(printf)],
167
+    [char *__attribute__((format_arg(1))) gettextlike(const char *fmt) { fmt = (void *)0; }],
168
+    [$1], [$2])
169
+])
170
+
171
+AC_DEFUN([CC_ATTRIBUTE_VISIBILITY], [
172
+  CC_CHECK_ATTRIBUTE(
173
+    [visibility_$1], [visibility("$1")],
174
+    [void __attribute__((visibility("$1"))) $1_function() { }],
175
+    [$2], [$3])
176
+])
177
+
178
+AC_DEFUN([CC_ATTRIBUTE_NONNULL], [
179
+  CC_CHECK_ATTRIBUTE(
180
+    [nonnull], [nonnull()],
181
+    [void __attribute__((nonnull())) some_function(void *foo, void *bar) { foo = (void*)0; bar = (void*)0; }],
182
+    [$1], [$2])
183
+])
184
+
185
+AC_DEFUN([CC_ATTRIBUTE_UNUSED], [
186
+  CC_CHECK_ATTRIBUTE(
187
+    [unused], ,
188
+    [void some_function(void *foo, __attribute__((unused)) void *bar);],
189
+    [$1], [$2])
190
+])
191
+
192
+AC_DEFUN([CC_ATTRIBUTE_SENTINEL], [
193
+  CC_CHECK_ATTRIBUTE(
194
+    [sentinel], ,
195
+    [void some_function(void *foo, ...) __attribute__((sentinel));],
196
+    [$1], [$2])
197
+])
198
+
199
+AC_DEFUN([CC_ATTRIBUTE_DEPRECATED], [
200
+  CC_CHECK_ATTRIBUTE(
201
libdvdcss-1.2.13.tar.bz2/m4/libtool.m4 Added
201
 
1
@@ -0,0 +1,7982 @@
2
+# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
3
+#
4
+#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
5
+#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
6
+#                 Foundation, Inc.
7
+#   Written by Gordon Matzigkeit, 1996
8
+#
9
+# This file is free software; the Free Software Foundation gives
10
+# unlimited permission to copy and/or distribute it, with or without
11
+# modifications, as long as this notice is preserved.
12
+
13
+m4_define([_LT_COPYING], [dnl
14
+#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15
+#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16
+#                 Foundation, Inc.
17
+#   Written by Gordon Matzigkeit, 1996
18
+#
19
+#   This file is part of GNU Libtool.
20
+#
21
+# GNU Libtool is free software; you can redistribute it and/or
22
+# modify it under the terms of the GNU General Public License as
23
+# published by the Free Software Foundation; either version 2 of
24
+# the License, or (at your option) any later version.
25
+#
26
+# As a special exception to the GNU General Public License,
27
+# if you distribute this file as part of a program or library that
28
+# is built using GNU Libtool, you may include this file under the
29
+# same distribution terms that you use for the rest of that program.
30
+#
31
+# GNU Libtool is distributed in the hope that it will be useful,
32
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
33
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
34
+# GNU General Public License for more details.
35
+#
36
+# You should have received a copy of the GNU General Public License
37
+# along with GNU Libtool; see the file COPYING.  If not, a copy
38
+# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
39
+# obtained by writing to the Free Software Foundation, Inc.,
40
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
41
+])
42
+
43
+# serial 57 LT_INIT
44
+
45
+
46
+# LT_PREREQ(VERSION)
47
+# ------------------
48
+# Complain and exit if this libtool version is less that VERSION.
49
+m4_defun([LT_PREREQ],
50
+[m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1,
51
+       [m4_default([$3],
52
+          [m4_fatal([Libtool version $1 or higher is required],
53
+                    63)])],
54
+       [$2])])
55
+
56
+
57
+# _LT_CHECK_BUILDDIR
58
+# ------------------
59
+# Complain if the absolute build directory name contains unusual characters
60
+m4_defun([_LT_CHECK_BUILDDIR],
61
+[case `pwd` in
62
+  *\ * | *\    *)
63
+    AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;;
64
+esac
65
+])
66
+
67
+
68
+# LT_INIT([OPTIONS])
69
+# ------------------
70
+AC_DEFUN([LT_INIT],
71
+[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
72
+AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
73
+AC_BEFORE([$0], [LT_LANG])dnl
74
+AC_BEFORE([$0], [LT_OUTPUT])dnl
75
+AC_BEFORE([$0], [LTDL_INIT])dnl
76
+m4_require([_LT_CHECK_BUILDDIR])dnl
77
+
78
+dnl Autoconf doesn't catch unexpanded LT_ macros by default:
79
+m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
80
+m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
81
+dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
82
+dnl unless we require an AC_DEFUNed macro:
83
+AC_REQUIRE([LTOPTIONS_VERSION])dnl
84
+AC_REQUIRE([LTSUGAR_VERSION])dnl
85
+AC_REQUIRE([LTVERSION_VERSION])dnl
86
+AC_REQUIRE([LTOBSOLETE_VERSION])dnl
87
+m4_require([_LT_PROG_LTMAIN])dnl
88
+
89
+_LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}])
90
+
91
+dnl Parse OPTIONS
92
+_LT_SET_OPTIONS([$0], [$1])
93
+
94
+# This can be used to rebuild libtool when needed
95
+LIBTOOL_DEPS="$ltmain"
96
+
97
+# Always use our own libtool.
98
+LIBTOOL='$(SHELL) $(top_builddir)/libtool'
99
+AC_SUBST(LIBTOOL)dnl
100
+
101
+_LT_SETUP
102
+
103
+# Only expand once:
104
+m4_define([LT_INIT])
105
+])# LT_INIT
106
+
107
+# Old names:
108
+AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT])
109
+AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT])
110
+dnl aclocal-1.4 backwards compatibility:
111
+dnl AC_DEFUN([AC_PROG_LIBTOOL], [])
112
+dnl AC_DEFUN([AM_PROG_LIBTOOL], [])
113
+
114
+
115
+# _LT_CC_BASENAME(CC)
116
+# -------------------
117
+# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
118
+m4_defun([_LT_CC_BASENAME],
119
+[for cc_temp in $1""; do
120
+  case $cc_temp in
121
+    compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
122
+    distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
123
+    \-*) ;;
124
+    *) break;;
125
+  esac
126
+done
127
+cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
128
+])
129
+
130
+
131
+# _LT_FILEUTILS_DEFAULTS
132
+# ----------------------
133
+# It is okay to use these file commands and assume they have been set
134
+# sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'.
135
+m4_defun([_LT_FILEUTILS_DEFAULTS],
136
+[: ${CP="cp -f"}
137
+: ${MV="mv -f"}
138
+: ${RM="rm -f"}
139
+])# _LT_FILEUTILS_DEFAULTS
140
+
141
+
142
+# _LT_SETUP
143
+# ---------
144
+m4_defun([_LT_SETUP],
145
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
146
+AC_REQUIRE([AC_CANONICAL_BUILD])dnl
147
+AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl
148
+AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
149
+
150
+_LT_DECL([], [PATH_SEPARATOR], [1], [The PATH separator for the build system])dnl
151
+dnl
152
+_LT_DECL([], [host_alias], [0], [The host system])dnl
153
+_LT_DECL([], [host], [0])dnl
154
+_LT_DECL([], [host_os], [0])dnl
155
+dnl
156
+_LT_DECL([], [build_alias], [0], [The build system])dnl
157
+_LT_DECL([], [build], [0])dnl
158
+_LT_DECL([], [build_os], [0])dnl
159
+dnl
160
+AC_REQUIRE([AC_PROG_CC])dnl
161
+AC_REQUIRE([LT_PATH_LD])dnl
162
+AC_REQUIRE([LT_PATH_NM])dnl
163
+dnl
164
+AC_REQUIRE([AC_PROG_LN_S])dnl
165
+test -z "$LN_S" && LN_S="ln -s"
166
+_LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl
167
+dnl
168
+AC_REQUIRE([LT_CMD_MAX_LEN])dnl
169
+_LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl
170
+_LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl
171
+dnl
172
+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
173
+m4_require([_LT_CHECK_SHELL_FEATURES])dnl
174
+m4_require([_LT_PATH_CONVERSION_FUNCTIONS])dnl
175
+m4_require([_LT_CMD_RELOAD])dnl
176
+m4_require([_LT_CHECK_MAGIC_METHOD])dnl
177
+m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl
178
+m4_require([_LT_CMD_OLD_ARCHIVE])dnl
179
+m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
180
+m4_require([_LT_WITH_SYSROOT])dnl
181
+
182
+_LT_CONFIG_LIBTOOL_INIT([
183
+# See if we are running on zsh, and set the options which allow our
184
+# commands through without removal of \ escapes INIT.
185
+if test -n "\${ZSH_VERSION+set}" ; then
186
+   setopt NO_GLOB_SUBST
187
+fi
188
+])
189
+if test -n "${ZSH_VERSION+set}" ; then
190
+   setopt NO_GLOB_SUBST
191
+fi
192
+
193
+_LT_CHECK_OBJDIR
194
+
195
+m4_require([_LT_TAG_COMPILER])dnl
196
+
197
+case $host_os in
198
+aix3*)
199
+  # AIX sometimes has problems with the GCC collect2 program.  For some
200
+  # reason, if we set the COLLECT_NAMES environment variable, the problems
201
libdvdcss-1.2.13.tar.bz2/m4/ltoptions.m4 Added
201
 
1
@@ -0,0 +1,384 @@
2
+# Helper functions for option handling.                    -*- Autoconf -*-
3
+#
4
+#   Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation,
5
+#   Inc.
6
+#   Written by Gary V. Vaughan, 2004
7
+#
8
+# This file is free software; the Free Software Foundation gives
9
+# unlimited permission to copy and/or distribute it, with or without
10
+# modifications, as long as this notice is preserved.
11
+
12
+# serial 7 ltoptions.m4
13
+
14
+# This is to help aclocal find these macros, as it can't see m4_define.
15
+AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
16
+
17
+
18
+# _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME)
19
+# ------------------------------------------
20
+m4_define([_LT_MANGLE_OPTION],
21
+[[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])])
22
+
23
+
24
+# _LT_SET_OPTION(MACRO-NAME, OPTION-NAME)
25
+# ---------------------------------------
26
+# Set option OPTION-NAME for macro MACRO-NAME, and if there is a
27
+# matching handler defined, dispatch to it.  Other OPTION-NAMEs are
28
+# saved as a flag.
29
+m4_define([_LT_SET_OPTION],
30
+[m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl
31
+m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]),
32
+        _LT_MANGLE_DEFUN([$1], [$2]),
33
+    [m4_warning([Unknown $1 option `$2'])])[]dnl
34
+])
35
+
36
+
37
+# _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET])
38
+# ------------------------------------------------------------
39
+# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
40
+m4_define([_LT_IF_OPTION],
41
+[m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])])
42
+
43
+
44
+# _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET)
45
+# -------------------------------------------------------
46
+# Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME
47
+# are set.
48
+m4_define([_LT_UNLESS_OPTIONS],
49
+[m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
50
+       [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option),
51
+             [m4_define([$0_found])])])[]dnl
52
+m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3
53
+])[]dnl
54
+])
55
+
56
+
57
+# _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST)
58
+# ----------------------------------------
59
+# OPTION-LIST is a space-separated list of Libtool options associated
60
+# with MACRO-NAME.  If any OPTION has a matching handler declared with
61
+# LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about
62
+# the unknown option and exit.
63
+m4_defun([_LT_SET_OPTIONS],
64
+[# Set options
65
+m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
66
+    [_LT_SET_OPTION([$1], _LT_Option)])
67
+
68
+m4_if([$1],[LT_INIT],[
69
+  dnl
70
+  dnl Simply set some default values (i.e off) if boolean options were not
71
+  dnl specified:
72
+  _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no
73
+  ])
74
+  _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no
75
+  ])
76
+  dnl
77
+  dnl If no reference was made to various pairs of opposing options, then
78
+  dnl we run the default mode handler for the pair.  For example, if neither
79
+  dnl `shared' nor `disable-shared' was passed, we enable building of shared
80
+  dnl archives by default:
81
+  _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED])
82
+  _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC])
83
+  _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC])
84
+  _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install],
85
+          [_LT_ENABLE_FAST_INSTALL])
86
+  ])
87
+])# _LT_SET_OPTIONS
88
+
89
+
90
+## --------------------------------- ##
91
+## Macros to handle LT_INIT options. ##
92
+## --------------------------------- ##
93
+
94
+# _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME)
95
+# -----------------------------------------
96
+m4_define([_LT_MANGLE_DEFUN],
97
+[[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])])
98
+
99
+
100
+# LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE)
101
+# -----------------------------------------------
102
+m4_define([LT_OPTION_DEFINE],
103
+[m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl
104
+])# LT_OPTION_DEFINE
105
+
106
+
107
+# dlopen
108
+# ------
109
+LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes
110
+])
111
+
112
+AU_DEFUN([AC_LIBTOOL_DLOPEN],
113
+[_LT_SET_OPTION([LT_INIT], [dlopen])
114
+AC_DIAGNOSE([obsolete],
115
+[$0: Remove this warning and the call to _LT_SET_OPTION when you
116
+put the `dlopen' option into LT_INIT's first parameter.])
117
+])
118
+
119
+dnl aclocal-1.4 backwards compatibility:
120
+dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], [])
121
+
122
+
123
+# win32-dll
124
+# ---------
125
+# Declare package support for building win32 dll's.
126
+LT_OPTION_DEFINE([LT_INIT], [win32-dll],
127
+[enable_win32_dll=yes
128
+
129
+case $host in
130
+*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
131
+  AC_CHECK_TOOL(AS, as, false)
132
+  AC_CHECK_TOOL(DLLTOOL, dlltool, false)
133
+  AC_CHECK_TOOL(OBJDUMP, objdump, false)
134
+  ;;
135
+esac
136
+
137
+test -z "$AS" && AS=as
138
+_LT_DECL([], [AS],      [1], [Assembler program])dnl
139
+
140
+test -z "$DLLTOOL" && DLLTOOL=dlltool
141
+_LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl
142
+
143
+test -z "$OBJDUMP" && OBJDUMP=objdump
144
+_LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl
145
+])# win32-dll
146
+
147
+AU_DEFUN([AC_LIBTOOL_WIN32_DLL],
148
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
149
+_LT_SET_OPTION([LT_INIT], [win32-dll])
150
+AC_DIAGNOSE([obsolete],
151
+[$0: Remove this warning and the call to _LT_SET_OPTION when you
152
+put the `win32-dll' option into LT_INIT's first parameter.])
153
+])
154
+
155
+dnl aclocal-1.4 backwards compatibility:
156
+dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [])
157
+
158
+
159
+# _LT_ENABLE_SHARED([DEFAULT])
160
+# ----------------------------
161
+# implement the --enable-shared flag, and supports the `shared' and
162
+# `disable-shared' LT_INIT options.
163
+# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
164
+m4_define([_LT_ENABLE_SHARED],
165
+[m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl
166
+AC_ARG_ENABLE([shared],
167
+    [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
168
+   [build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])],
169
+    [p=${PACKAGE-default}
170
+    case $enableval in
171
+    yes) enable_shared=yes ;;
172
+    no) enable_shared=no ;;
173
+    *)
174
+      enable_shared=no
175
+      # Look at the argument we got.  We use all the common list separators.
176
+      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
177
+      for pkg in $enableval; do
178
+   IFS="$lt_save_ifs"
179
+   if test "X$pkg" = "X$p"; then
180
+     enable_shared=yes
181
+   fi
182
+      done
183
+      IFS="$lt_save_ifs"
184
+      ;;
185
+    esac],
186
+    [enable_shared=]_LT_ENABLE_SHARED_DEFAULT)
187
+
188
+    _LT_DECL([build_libtool_libs], [enable_shared], [0],
189
+   [Whether or not to build shared libraries])
190
+])# _LT_ENABLE_SHARED
191
+
192
+LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])])
193
+LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])])
194
+
195
+# Old names:
196
+AC_DEFUN([AC_ENABLE_SHARED],
197
+[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
198
+])
199
+
200
+AC_DEFUN([AC_DISABLE_SHARED],
201
libdvdcss-1.2.13.tar.bz2/m4/ltsugar.m4 Added
125
 
1
@@ -0,0 +1,123 @@
2
+# ltsugar.m4 -- libtool m4 base layer.                         -*-Autoconf-*-
3
+#
4
+# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
5
+# Written by Gary V. Vaughan, 2004
6
+#
7
+# This file is free software; the Free Software Foundation gives
8
+# unlimited permission to copy and/or distribute it, with or without
9
+# modifications, as long as this notice is preserved.
10
+
11
+# serial 6 ltsugar.m4
12
+
13
+# This is to help aclocal find these macros, as it can't see m4_define.
14
+AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
15
+
16
+
17
+# lt_join(SEP, ARG1, [ARG2...])
18
+# -----------------------------
19
+# Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their
20
+# associated separator.
21
+# Needed until we can rely on m4_join from Autoconf 2.62, since all earlier
22
+# versions in m4sugar had bugs.
23
+m4_define([lt_join],
24
+[m4_if([$#], [1], [],
25
+       [$#], [2], [[$2]],
26
+       [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])])
27
+m4_define([_lt_join],
28
+[m4_if([$#$2], [2], [],
29
+       [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])])
30
+
31
+
32
+# lt_car(LIST)
33
+# lt_cdr(LIST)
34
+# ------------
35
+# Manipulate m4 lists.
36
+# These macros are necessary as long as will still need to support
37
+# Autoconf-2.59 which quotes differently.
38
+m4_define([lt_car], [[$1]])
39
+m4_define([lt_cdr],
40
+[m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])],
41
+       [$#], 1, [],
42
+       [m4_dquote(m4_shift($@))])])
43
+m4_define([lt_unquote], $1)
44
+
45
+
46
+# lt_append(MACRO-NAME, STRING, [SEPARATOR])
47
+# ------------------------------------------
48
+# Redefine MACRO-NAME to hold its former content plus `SEPARATOR'`STRING'.
49
+# Note that neither SEPARATOR nor STRING are expanded; they are appended
50
+# to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked).
51
+# No SEPARATOR is output if MACRO-NAME was previously undefined (different
52
+# than defined and empty).
53
+#
54
+# This macro is needed until we can rely on Autoconf 2.62, since earlier
55
+# versions of m4sugar mistakenly expanded SEPARATOR but not STRING.
56
+m4_define([lt_append],
57
+[m4_define([$1],
58
+      m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])])
59
+
60
+
61
+
62
+# lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...])
63
+# ----------------------------------------------------------
64
+# Produce a SEP delimited list of all paired combinations of elements of
65
+# PREFIX-LIST with SUFFIX1 through SUFFIXn.  Each element of the list
66
+# has the form PREFIXmINFIXSUFFIXn.
67
+# Needed until we can rely on m4_combine added in Autoconf 2.62.
68
+m4_define([lt_combine],
69
+[m4_if(m4_eval([$# > 3]), [1],
70
+       [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl
71
+[[m4_foreach([_Lt_prefix], [$2],
72
+        [m4_foreach([_Lt_suffix],
73
+       ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[,
74
+   [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])])
75
+
76
+
77
+# lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ])
78
+# -----------------------------------------------------------------------
79
+# Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited
80
+# by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ.
81
+m4_define([lt_if_append_uniq],
82
+[m4_ifdef([$1],
83
+     [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1],
84
+        [lt_append([$1], [$2], [$3])$4],
85
+        [$5])],
86
+     [lt_append([$1], [$2], [$3])$4])])
87
+
88
+
89
+# lt_dict_add(DICT, KEY, VALUE)
90
+# -----------------------------
91
+m4_define([lt_dict_add],
92
+[m4_define([$1($2)], [$3])])
93
+
94
+
95
+# lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE)
96
+# --------------------------------------------
97
+m4_define([lt_dict_add_subkey],
98
+[m4_define([$1($2:$3)], [$4])])
99
+
100
+
101
+# lt_dict_fetch(DICT, KEY, [SUBKEY])
102
+# ----------------------------------
103
+m4_define([lt_dict_fetch],
104
+[m4_ifval([$3],
105
+   m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]),
106
+    m4_ifdef([$1($2)], [m4_defn([$1($2)])]))])
107
+
108
+
109
+# lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE])
110
+# -----------------------------------------------------------------
111
+m4_define([lt_if_dict_fetch],
112
+[m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4],
113
+   [$5],
114
+    [$6])])
115
+
116
+
117
+# lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...])
118
+# --------------------------------------------------------------
119
+m4_define([lt_dict_filter],
120
+[m4_if([$5], [], [],
121
+  [lt_join(m4_quote(m4_default([$4], [[, ]])),
122
+           lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]),
123
+             [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl
124
+])
125
libdvdcss-1.2.13.tar.bz2/m4/ltversion.m4 Added
25
 
1
@@ -0,0 +1,23 @@
2
+# ltversion.m4 -- version numbers          -*- Autoconf -*-
3
+#
4
+#   Copyright (C) 2004 Free Software Foundation, Inc.
5
+#   Written by Scott James Remnant, 2004
6
+#
7
+# This file is free software; the Free Software Foundation gives
8
+# unlimited permission to copy and/or distribute it, with or without
9
+# modifications, as long as this notice is preserved.
10
+
11
+# @configure_input@
12
+
13
+# serial 3337 ltversion.m4
14
+# This file is part of GNU Libtool
15
+
16
+m4_define([LT_PACKAGE_VERSION], [2.4.2])
17
+m4_define([LT_PACKAGE_REVISION], [1.3337])
18
+
19
+AC_DEFUN([LTVERSION_VERSION],
20
+[macro_version='2.4.2'
21
+macro_revision='1.3337'
22
+_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
23
+_LT_DECL(, macro_revision, 0)
24
+])
25
libdvdcss-1.2.13.tar.bz2/m4/lt~obsolete.m4 Added
100
 
1
@@ -0,0 +1,98 @@
2
+# lt~obsolete.m4 -- aclocal satisfying obsolete definitions.    -*-Autoconf-*-
3
+#
4
+#   Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc.
5
+#   Written by Scott James Remnant, 2004.
6
+#
7
+# This file is free software; the Free Software Foundation gives
8
+# unlimited permission to copy and/or distribute it, with or without
9
+# modifications, as long as this notice is preserved.
10
+
11
+# serial 5 lt~obsolete.m4
12
+
13
+# These exist entirely to fool aclocal when bootstrapping libtool.
14
+#
15
+# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN)
16
+# which have later been changed to m4_define as they aren't part of the
17
+# exported API, or moved to Autoconf or Automake where they belong.
18
+#
19
+# The trouble is, aclocal is a bit thick.  It'll see the old AC_DEFUN
20
+# in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us
21
+# using a macro with the same name in our local m4/libtool.m4 it'll
22
+# pull the old libtool.m4 in (it doesn't see our shiny new m4_define
23
+# and doesn't know about Autoconf macros at all.)
24
+#
25
+# So we provide this file, which has a silly filename so it's always
26
+# included after everything else.  This provides aclocal with the
27
+# AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything
28
+# because those macros already exist, or will be overwritten later.
29
+# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6. 
30
+#
31
+# Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here.
32
+# Yes, that means every name once taken will need to remain here until
33
+# we give up compatibility with versions before 1.7, at which point
34
+# we need to keep only those names which we still refer to.
35
+
36
+# This is to help aclocal find these macros, as it can't see m4_define.
37
+AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
38
+
39
+m4_ifndef([AC_LIBTOOL_LINKER_OPTION],  [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])])
40
+m4_ifndef([AC_PROG_EGREP],     [AC_DEFUN([AC_PROG_EGREP])])
41
+m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH],    [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])])
42
+m4_ifndef([_LT_AC_SHELL_INIT],     [AC_DEFUN([_LT_AC_SHELL_INIT])])
43
+m4_ifndef([_LT_AC_SYS_LIBPATH_AIX],    [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])])
44
+m4_ifndef([_LT_PROG_LTMAIN],       [AC_DEFUN([_LT_PROG_LTMAIN])])
45
+m4_ifndef([_LT_AC_TAGVAR],     [AC_DEFUN([_LT_AC_TAGVAR])])
46
+m4_ifndef([AC_LTDL_ENABLE_INSTALL],    [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])])
47
+m4_ifndef([AC_LTDL_PREOPEN],       [AC_DEFUN([AC_LTDL_PREOPEN])])
48
+m4_ifndef([_LT_AC_SYS_COMPILER],   [AC_DEFUN([_LT_AC_SYS_COMPILER])])
49
+m4_ifndef([_LT_AC_LOCK],       [AC_DEFUN([_LT_AC_LOCK])])
50
+m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE],    [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])])
51
+m4_ifndef([_LT_AC_TRY_DLOPEN_SELF],    [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])])
52
+m4_ifndef([AC_LIBTOOL_PROG_CC_C_O],    [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])])
53
+m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])])
54
+m4_ifndef([AC_LIBTOOL_OBJDIR],     [AC_DEFUN([AC_LIBTOOL_OBJDIR])])
55
+m4_ifndef([AC_LTDL_OBJDIR],        [AC_DEFUN([AC_LTDL_OBJDIR])])
56
+m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])])
57
+m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP],  [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])])
58
+m4_ifndef([AC_PATH_MAGIC],     [AC_DEFUN([AC_PATH_MAGIC])])
59
+m4_ifndef([AC_PROG_LD_GNU],        [AC_DEFUN([AC_PROG_LD_GNU])])
60
+m4_ifndef([AC_PROG_LD_RELOAD_FLAG],    [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])])
61
+m4_ifndef([AC_DEPLIBS_CHECK_METHOD],   [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])])
62
+m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])])
63
+m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])])
64
+m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])])
65
+m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])])
66
+m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])])
67
+m4_ifndef([LT_AC_PROG_EGREP],      [AC_DEFUN([LT_AC_PROG_EGREP])])
68
+m4_ifndef([LT_AC_PROG_SED],        [AC_DEFUN([LT_AC_PROG_SED])])
69
+m4_ifndef([_LT_CC_BASENAME],       [AC_DEFUN([_LT_CC_BASENAME])])
70
+m4_ifndef([_LT_COMPILER_BOILERPLATE],  [AC_DEFUN([_LT_COMPILER_BOILERPLATE])])
71
+m4_ifndef([_LT_LINKER_BOILERPLATE],    [AC_DEFUN([_LT_LINKER_BOILERPLATE])])
72
+m4_ifndef([_AC_PROG_LIBTOOL],      [AC_DEFUN([_AC_PROG_LIBTOOL])])
73
+m4_ifndef([AC_LIBTOOL_SETUP],      [AC_DEFUN([AC_LIBTOOL_SETUP])])
74
+m4_ifndef([_LT_AC_CHECK_DLFCN],        [AC_DEFUN([_LT_AC_CHECK_DLFCN])])
75
+m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])])
76
+m4_ifndef([_LT_AC_TAGCONFIG],      [AC_DEFUN([_LT_AC_TAGCONFIG])])
77
+m4_ifndef([AC_DISABLE_FAST_INSTALL],   [AC_DEFUN([AC_DISABLE_FAST_INSTALL])])
78
+m4_ifndef([_LT_AC_LANG_CXX],       [AC_DEFUN([_LT_AC_LANG_CXX])])
79
+m4_ifndef([_LT_AC_LANG_F77],       [AC_DEFUN([_LT_AC_LANG_F77])])
80
+m4_ifndef([_LT_AC_LANG_GCJ],       [AC_DEFUN([_LT_AC_LANG_GCJ])])
81
+m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG],  [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])])
82
+m4_ifndef([_LT_AC_LANG_C_CONFIG],  [AC_DEFUN([_LT_AC_LANG_C_CONFIG])])
83
+m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG],    [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])])
84
+m4_ifndef([_LT_AC_LANG_CXX_CONFIG],    [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])])
85
+m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG],    [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])])
86
+m4_ifndef([_LT_AC_LANG_F77_CONFIG],    [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])])
87
+m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG],    [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])])
88
+m4_ifndef([_LT_AC_LANG_GCJ_CONFIG],    [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])])
89
+m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])])
90
+m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])])
91
+m4_ifndef([AC_LIBTOOL_CONFIG],     [AC_DEFUN([AC_LIBTOOL_CONFIG])])
92
+m4_ifndef([_LT_AC_FILE_LTDLL_C],   [AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
93
+m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS],    [AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])])
94
+m4_ifndef([_LT_AC_PROG_CXXCPP],        [AC_DEFUN([_LT_AC_PROG_CXXCPP])])
95
+m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS],    [AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])])
96
+m4_ifndef([_LT_PROG_ECHO_BACKSLASH],   [AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])])
97
+m4_ifndef([_LT_PROG_F77],      [AC_DEFUN([_LT_PROG_F77])])
98
+m4_ifndef([_LT_PROG_FC],       [AC_DEFUN([_LT_PROG_FC])])
99
+m4_ifndef([_LT_PROG_CXX],      [AC_DEFUN([_LT_PROG_CXX])])
100
libdvdcss-1.2.13.tar.bz2/missing Changed
2
 
1
(renamed from .auto/missing)
2
libdvdcss-1.2.13.tar.bz2/msvc Added
2
 
1
+(directory)
2
libdvdcss-1.2.13.tar.bz2/msvc/config.h Added
45
 
1
@@ -0,0 +1,43 @@
2
+/* config.h.  Generated by hand.  */
3
+
4
+/* #undef DARWIN_DVD_IOCTL */
5
+/* #undef DVD_STRUCT_IN_DVD_H */
6
+/* #undef DVD_STRUCT_IN_LINUX_CDROM_H */
7
+/* #undef DVD_STRUCT_IN_SYS_CDIO_H */
8
+/* #undef DVD_STRUCT_IN_SYS_DVDIO_H */
9
+/* #undef HAVE_BSD_DVD_STRUCT */
10
+#define HAVE_DLFCN_H 1
11
+/* #undef HAVE_DVD_H */
12
+/* #undef HAVE_INTTYPES_H */
13
+/* #undef HAVE_LINUX_CDROM_H */
14
+/* #undef HAVE_LINUX_DVD_STRUCT */
15
+#define HAVE_MEMORY_H 1
16
+/* #undef HAVE_OPENBSD_DVD_STRUCT */
17
+/* #undef HAVE_STDINT_H */
18
+#define HAVE_STDLIB_H 1
19
+#define HAVE_STRINGS_H 1
20
+#define HAVE_STRING_H 1
21
+/* #undef HAVE_SYS_CDIO_H */
22
+/* #undef HAVE_SYS_DVDIO_H */
23
+#define HAVE_SYS_IOCTL_H 1
24
+/* #undef HAVE_SYS_PARAM_H */
25
+#define HAVE_SYS_STAT_H 1
26
+#define HAVE_SYS_TYPES_H 1
27
+/* #undef HAVE_UNISTD_H */
28
+#define HAVE_WINDOWS_H 1
29
+#define HAVE_WINIOCTL_H 1
30
+/* #undef HAVE__SYS_DEV_SCSI_SCSI_IOCTL_H */
31
+/* #undef HPUX_SCTL_IO */
32
+#define PACKAGE "libdvdcss"
33
+#define PACKAGE_BUGREPORT ""
34
+#define PACKAGE_NAME ""
35
+#define PACKAGE_STRING ""
36
+#define PACKAGE_TARNAME ""
37
+#define PACKAGE_VERSION ""
38
+/* #undef SOLARIS_USCSI */
39
+#define STDC_HEADERS 1
40
+#define VERSION "1.2.11"
41
+/* #undef const */
42
+/* #undef inline */
43
+/* #undef size_t */
44
+
45
libdvdcss-1.2.13.tar.bz2/msvc/csstest.dsp Added
106
 
1
@@ -0,0 +1,104 @@
2
+# Microsoft Developer Studio Project File - Name="csstest" - Package Owner=<4>
3
+# Microsoft Developer Studio Generated Build File, Format Version 6.00
4
+# ** DO NOT EDIT **
5
+
6
+# TARGTYPE "Win32 (x86) Console Application" 0x0103
7
+
8
+CFG=csstest - Win32 Debug
9
+!MESSAGE This is not a valid makefile. To build this project using NMAKE,
10
+!MESSAGE use the Export Makefile command and run
11
+!MESSAGE 
12
+!MESSAGE NMAKE /f "csstest.mak".
13
+!MESSAGE 
14
+!MESSAGE You can specify a configuration when running NMAKE
15
+!MESSAGE by defining the macro CFG on the command line. For example:
16
+!MESSAGE 
17
+!MESSAGE NMAKE /f "csstest.mak" CFG="csstest - Win32 Debug"
18
+!MESSAGE 
19
+!MESSAGE Possible choices for configuration are:
20
+!MESSAGE 
21
+!MESSAGE "csstest - Win32 Release" (based on "Win32 (x86) Console Application")
22
+!MESSAGE "csstest - Win32 Debug" (based on "Win32 (x86) Console Application")
23
+!MESSAGE 
24
+
25
+# Begin Project
26
+# PROP AllowPerConfigDependencies 0
27
+# PROP Scc_ProjName ""
28
+# PROP Scc_LocalPath ""
29
+CPP=cl.exe
30
+RSC=rc.exe
31
+
32
+!IF  "$(CFG)" == "csstest - Win32 Release"
33
+
34
+# PROP BASE Use_MFC 0
35
+# PROP BASE Use_Debug_Libraries 0
36
+# PROP BASE Output_Dir "Release"
37
+# PROP BASE Intermediate_Dir "Release"
38
+# PROP BASE Target_Dir ""
39
+# PROP Use_MFC 0
40
+# PROP Use_Debug_Libraries 0
41
+# PROP Output_Dir "Release"
42
+# PROP Intermediate_Dir "Release"
43
+# PROP Target_Dir ""
44
+# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
45
+# ADD CPP /nologo /W3 /GX /O2 /I "." /I "..\src" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
46
+# ADD BASE RSC /l 0x409 /d "NDEBUG"
47
+# ADD RSC /l 0x409 /d "NDEBUG"
48
+BSC32=bscmake.exe
49
+# ADD BASE BSC32 /nologo
50
+# ADD BSC32 /nologo
51
+LINK32=link.exe
52
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
53
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
54
+
55
+!ELSEIF  "$(CFG)" == "csstest - Win32 Debug"
56
+
57
+# PROP BASE Use_MFC 0
58
+# PROP BASE Use_Debug_Libraries 1
59
+# PROP BASE Output_Dir "csstest___Win32_Debug"
60
+# PROP BASE Intermediate_Dir "csstest___Win32_Debug"
61
+# PROP BASE Target_Dir ""
62
+# PROP Use_MFC 0
63
+# PROP Use_Debug_Libraries 1
64
+# PROP Output_Dir "csstest___Win32_Debug"
65
+# PROP Intermediate_Dir "csstest___Win32_Debug"
66
+# PROP Target_Dir ""
67
+# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
68
+# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "." /I "..\src" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
69
+# ADD BASE RSC /l 0x409 /d "_DEBUG"
70
+# ADD RSC /l 0x409 /d "_DEBUG"
71
+BSC32=bscmake.exe
72
+# ADD BASE BSC32 /nologo
73
+# ADD BSC32 /nologo
74
+LINK32=link.exe
75
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
76
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
77
+
78
+!ENDIF 
79
+
80
+# Begin Target
81
+
82
+# Name "csstest - Win32 Release"
83
+# Name "csstest - Win32 Debug"
84
+# Begin Group "Source Files"
85
+
86
+# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
87
+# Begin Source File
88
+
89
+SOURCE=..\test\csstest.c
90
+# End Source File
91
+# End Group
92
+# Begin Group "Header Files"
93
+
94
+# PROP Default_Filter "h;hpp;hxx;hm;inl"
95
+# Begin Source File
96
+
97
+SOURCE=..\src\dvdcss\dvdcss.h
98
+# End Source File
99
+# End Group
100
+# Begin Group "Resource Files"
101
+
102
+# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
103
+# End Group
104
+# End Target
105
+# End Project
106
libdvdcss-1.2.13.tar.bz2/msvc/libdvdcss.dsp Added
146
 
1
@@ -0,0 +1,144 @@
2
+# Microsoft Developer Studio Project File - Name="libdvdcss" - Package Owner=<4>
3
+# Microsoft Developer Studio Generated Build File, Format Version 6.00
4
+# ** DO NOT EDIT **
5
+
6
+# TARGTYPE "Win32 (x86) Static Library" 0x0104
7
+
8
+CFG=libdvdcss - Win32 Debug
9
+!MESSAGE This is not a valid makefile. To build this project using NMAKE,
10
+!MESSAGE use the Export Makefile command and run
11
+!MESSAGE 
12
+!MESSAGE NMAKE /f "libdvdcss.mak".
13
+!MESSAGE 
14
+!MESSAGE You can specify a configuration when running NMAKE
15
+!MESSAGE by defining the macro CFG on the command line. For example:
16
+!MESSAGE 
17
+!MESSAGE NMAKE /f "libdvdcss.mak" CFG="libdvdcss - Win32 Debug"
18
+!MESSAGE 
19
+!MESSAGE Possible choices for configuration are:
20
+!MESSAGE 
21
+!MESSAGE "libdvdcss - Win32 Release" (based on "Win32 (x86) Static Library")
22
+!MESSAGE "libdvdcss - Win32 Debug" (based on "Win32 (x86) Static Library")
23
+!MESSAGE 
24
+
25
+# Begin Project
26
+# PROP AllowPerConfigDependencies 0
27
+# PROP Scc_ProjName ""
28
+# PROP Scc_LocalPath ""
29
+CPP=cl.exe
30
+RSC=rc.exe
31
+
32
+!IF  "$(CFG)" == "libdvdcss - Win32 Release"
33
+
34
+# PROP BASE Use_MFC 0
35
+# PROP BASE Use_Debug_Libraries 0
36
+# PROP BASE Output_Dir "Release"
37
+# PROP BASE Intermediate_Dir "Release"
38
+# PROP BASE Target_Dir ""
39
+# PROP Use_MFC 0
40
+# PROP Use_Debug_Libraries 0
41
+# PROP Output_Dir "Release"
42
+# PROP Intermediate_Dir "Release"
43
+# PROP Target_Dir ""
44
+# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c
45
+# ADD CPP /nologo /W3 /GX /O2 /I "." /D "NDEBUG" /D "WIN32" /D "_MBCS" /D "_LIB" /D PATH_MAX=2048 /YX /FD /c
46
+# ADD BASE RSC /l 0x409 /d "NDEBUG"
47
+# ADD RSC /l 0x409 /d "NDEBUG"
48
+BSC32=bscmake.exe
49
+# ADD BASE BSC32 /nologo
50
+# ADD BSC32 /nologo
51
+LIB32=link.exe -lib
52
+# ADD BASE LIB32 /nologo
53
+# ADD LIB32 /nologo
54
+
55
+!ELSEIF  "$(CFG)" == "libdvdcss - Win32 Debug"
56
+
57
+# PROP BASE Use_MFC 0
58
+# PROP BASE Use_Debug_Libraries 1
59
+# PROP BASE Output_Dir "Debug"
60
+# PROP BASE Intermediate_Dir "Debug"
61
+# PROP BASE Target_Dir ""
62
+# PROP Use_MFC 0
63
+# PROP Use_Debug_Libraries 1
64
+# PROP Output_Dir "Debug"
65
+# PROP Intermediate_Dir "Debug"
66
+# PROP Target_Dir ""
67
+# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c
68
+# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "." /D "_DEBUG" /D "WIN32" /D "_MBCS" /D "_LIB" /D PATH_MAX=2048 /YX /FD /GZ /c
69
+# ADD BASE RSC /l 0x409 /d "_DEBUG"
70
+# ADD RSC /l 0x409 /d "_DEBUG"
71
+BSC32=bscmake.exe
72
+# ADD BASE BSC32 /nologo
73
+# ADD BSC32 /nologo
74
+LIB32=link.exe -lib
75
+# ADD BASE LIB32 /nologo
76
+# ADD LIB32 /nologo
77
+
78
+!ENDIF 
79
+
80
+# Begin Target
81
+
82
+# Name "libdvdcss - Win32 Release"
83
+# Name "libdvdcss - Win32 Debug"
84
+# Begin Group "Source Files"
85
+
86
+# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
87
+# Begin Source File
88
+
89
+SOURCE=..\src\css.c
90
+# End Source File
91
+# Begin Source File
92
+
93
+SOURCE=..\src\device.c
94
+# End Source File
95
+# Begin Source File
96
+
97
+SOURCE=..\src\error.c
98
+# End Source File
99
+# Begin Source File
100
+
101
+SOURCE=..\src\ioctl.c
102
+# End Source File
103
+# Begin Source File
104
+
105
+SOURCE=..\src\libdvdcss.c
106
+# End Source File
107
+# End Group
108
+# Begin Group "Header Files"
109
+
110
+# PROP Default_Filter "h;hpp;hxx;hm;inl"
111
+# Begin Source File
112
+
113
+SOURCE=..\src\common.h
114
+# End Source File
115
+# Begin Source File
116
+
117
+SOURCE=.\config.h
118
+# End Source File
119
+# Begin Source File
120
+
121
+SOURCE=..\src\css.h
122
+# End Source File
123
+# Begin Source File
124
+
125
+SOURCE=..\src\csstables.h
126
+# End Source File
127
+# Begin Source File
128
+
129
+SOURCE=..\src\device.h
130
+# End Source File
131
+# Begin Source File
132
+
133
+SOURCE=..\src\dvdcss\dvdcss.h
134
+# End Source File
135
+# Begin Source File
136
+
137
+SOURCE=..\src\ioctl.h
138
+# End Source File
139
+# Begin Source File
140
+
141
+SOURCE=..\src\libdvdcss.h
142
+# End Source File
143
+# End Group
144
+# End Target
145
+# End Project
146
libdvdcss-1.2.13.tar.bz2/msvc/workspace.dsw Added
46
 
1
@@ -0,0 +1,44 @@
2
+Microsoft Developer Studio Workspace File, Format Version 6.00
3
+# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
4
+
5
+###############################################################################
6
+
7
+Project: "csstest"=.\csstest.dsp - Package Owner=<4>
8
+
9
+Package=<5>
10
+{{{
11
+}}}
12
+
13
+Package=<4>
14
+{{{
15
+    Begin Project Dependency
16
+    Project_Dep_Name libdvdcss
17
+    End Project Dependency
18
+}}}
19
+
20
+###############################################################################
21
+
22
+Project: "libdvdcss"=.\libdvdcss.dsp - Package Owner=<4>
23
+
24
+Package=<5>
25
+{{{
26
+}}}
27
+
28
+Package=<4>
29
+{{{
30
+}}}
31
+
32
+###############################################################################
33
+
34
+Global:
35
+
36
+Package=<5>
37
+{{{
38
+}}}
39
+
40
+Package=<3>
41
+{{{
42
+}}}
43
+
44
+###############################################################################
45
+
46
libdvdcss-1.2.12.tar.bz2/src/common.h -> libdvdcss-1.2.13.tar.bz2/src/common.h Changed
37
 
1
@@ -3,7 +3,6 @@
2
  * Collection of useful common types and macros definitions
3
  *****************************************************************************
4
  * Copyright (C) 1998, 1999, 2000 VideoLAN
5
- * $Id: common.h 243 2011-10-26 05:01:11Z jb $
6
  *
7
  * Authors: Sam Hocevar <sam@via.ecp.fr>
8
  *          Vincent Seguin <seguin@via.ecp.fr>
9
@@ -34,11 +33,6 @@
10
 #   include <stdint.h>
11
 #elif defined( HAVE_INTTYPES_H )
12
 #   include <inttypes.h>
13
-#elif defined( SYS_CYGWIN )
14
-#   include <sys/types.h>
15
-    /* Cygwin only defines half of these... */
16
-    typedef u_int8_t            uint8_t;
17
-    typedef u_int32_t           uint32_t;
18
 #else
19
     /* Fallback types (very x86-centric, sorry) */
20
     typedef unsigned char       uint8_t;
21
@@ -48,6 +42,7 @@
22
 #endif
23
 
24
 #if defined( WIN32 )
25
+#   include <io.h>                                             /* _lseeki64 */
26
 
27
 #   ifndef PATH_MAX
28
 #      define PATH_MAX MAX_PATH
29
@@ -74,6 +69,7 @@
30
 #           define off_t __int64
31
 #       endif
32
 #       define stat _stati64
33
+#       define snprintf _snprintf
34
 #   endif
35
 
36
 #endif
37
libdvdcss-1.2.12.tar.bz2/src/css.c -> libdvdcss-1.2.13.tar.bz2/src/css.c Changed
201
 
1
@@ -2,7 +2,6 @@
2
  * css.c: Functions for DVD authentication and descrambling
3
  *****************************************************************************
4
  * Copyright (C) 1999-2008 VideoLAN
5
- * $Id: css.c 249 2012-02-18 16:22:03Z jb $
6
  *
7
  * Authors: Stéphane Borel <stef@via.ecp.fr>
8
  *          Håkan Hjort <d95hjort@dtek.chalmers.se>
9
@@ -87,6 +86,8 @@
10
 static int  AttackPadding   ( uint8_t const[], int, uint8_t * );
11
 #endif
12
 
13
+static int  _dvdcss_titlekey    ( dvdcss_t, int , dvd_key_t );
14
+
15
 /*****************************************************************************
16
  * _dvdcss_test: check if the disc is encrypted or not
17
  *****************************************************************************
18
@@ -248,7 +249,7 @@
19
 
20
         if( i_ret < 0 )
21
         {
22
-            print_error( dvdcss, "fatal error in vts css key" );
23
+            print_error( dvdcss, "fatal error in VTS CSS key" );
24
             return i_ret;
25
         }
26
 
27
@@ -338,7 +339,7 @@
28
         return -1;
29
     }
30
 
31
-    /* This should have invaidated the AGID and got us ASF=1. */
32
+    /* This should have invalidated the AGID and got us ASF=1. */
33
     if( GetASF( dvdcss ) != 1 )
34
     {
35
         /* Region mismatch (or region not set) is the most likely source. */
36
@@ -406,7 +407,7 @@
37
 /*****************************************************************************
38
  * _dvdcss_titlekey: get title key.
39
  *****************************************************************************/
40
-int _dvdcss_titlekey( dvdcss_t dvdcss, int i_pos, dvd_key_t p_title_key )
41
+static int _dvdcss_titlekey( dvdcss_t dvdcss, int i_pos, dvd_key_t p_title_key )
42
 {
43
     static uint8_t p_garbage[ DVDCSS_BLOCK_SIZE ];  /* we never read it back */
44
     uint8_t p_key[ KEY_SIZE ];
45
@@ -454,9 +455,9 @@
46
                 break;
47
 
48
             case 1:
49
-                /* Drive status is ok. */
50
+                /* Drive status is OK. */
51
                 /* If the title key request failed, but we did not loose ASF,
52
-                 * we might stil have the AGID.  Other code assume that we
53
+                 * we might still have the AGID.  Other code assumes that we
54
                  * will not after this so invalidate it(?). */
55
                 if( i_ret < 0 )
56
                 {
57
@@ -509,7 +510,7 @@
58
     /* METHOD is TITLE, we can't use the ioctls or requesting the title key
59
      * failed above.  For these cases we try to crack the key instead. */
60
 
61
-    /* For now, the read limit is 9Gb / 2048 =  4718592 sectors. */
62
+    /* For now, the read limit is 9GB / 2048 =  4718592 sectors. */
63
     i_ret = CrackTitleKey( dvdcss, i_pos, 4718592, p_key );
64
 
65
     memcpy( p_title_key, p_key, KEY_SIZE );
66
@@ -572,7 +573,7 @@
67
  * It simulates the mutual authentication between logical unit and host,
68
  * and stops when a session key (called bus key) has been established.
69
  * Always do the full auth sequence. Some drives seem to lie and always
70
- * respond with ASF=1.  For instance the old DVD roms on Compaq Armada says
71
+ * respond with ASF=1. For instance the old DVD-ROMs on Compaq Armada says
72
  * that ASF=1 from the start and then later fail with a 'read of scrambled
73
  * block without authentication' error.
74
  *****************************************************************************/
75
@@ -754,7 +755,7 @@
76
 /*****************************************************************************
77
  * CryptKey : shuffles bits and unencrypt keys.
78
  *****************************************************************************
79
- * Used during authentication and disc key negociation in GetBusKey.
80
+ * Used during authentication and disc key negotiation in GetBusKey.
81
  * i_key_type : 0->key1, 1->key2, 2->buskey.
82
  * i_variant : between 0 and 31.
83
  *****************************************************************************/
84
@@ -762,13 +763,13 @@
85
                       uint8_t const *p_challenge, uint8_t *p_key )
86
 {
87
     /* Permutation table for challenge */
88
-    uint8_t pp_perm_challenge[3][10] =
89
+    static const uint8_t pp_perm_challenge[3][10] =
90
             { { 1, 3, 0, 7, 5, 2, 9, 6, 4, 8 },
91
               { 6, 1, 9, 3, 8, 5, 7, 4, 0, 2 },
92
               { 4, 0, 3, 5, 7, 2, 8, 6, 1, 9 } };
93
 
94
     /* Permutation table for variant table for key2 and buskey */
95
-    uint8_t pp_perm_variant[2][32] =
96
+    static const uint8_t pp_perm_variant[2][32] =
97
             { { 0x0a, 0x08, 0x0e, 0x0c, 0x0b, 0x09, 0x0f, 0x0d,
98
                 0x1a, 0x18, 0x1e, 0x1c, 0x1b, 0x19, 0x1f, 0x1d,
99
                 0x02, 0x00, 0x06, 0x04, 0x03, 0x01, 0x07, 0x05,
100
@@ -778,14 +779,14 @@
101
                 0x13, 0x1b, 0x17, 0x1f, 0x03, 0x0b, 0x07, 0x0f,
102
                 0x11, 0x19, 0x15, 0x1d, 0x01, 0x09, 0x05, 0x0d } };
103
 
104
-    uint8_t p_variants[32] =
105
+    static const uint8_t p_variants[32] =
106
             {   0xB7, 0x74, 0x85, 0xD0, 0xCC, 0xDB, 0xCA, 0x73,
107
                 0x03, 0xFE, 0x31, 0x03, 0x52, 0xE0, 0xB7, 0x42,
108
                 0x63, 0x16, 0xF2, 0x2A, 0x79, 0x52, 0xFF, 0x1B,
109
                 0x7A, 0x11, 0xCA, 0x1A, 0x9B, 0x40, 0xAD, 0x01 };
110
 
111
     /* The "secret" key */
112
-    uint8_t p_secret[5] = { 0x55, 0xD6, 0xC4, 0xC5, 0x28 };
113
+    static const uint8_t p_secret[5] = { 0x55, 0xD6, 0xC4, 0xC5, 0x28 };
114
 
115
     uint8_t p_bits[30], p_scratch[10], p_tmp1[5], p_tmp2[5];
116
     uint8_t i_lfsr0_o;  /* 1 bit used */
117
@@ -835,7 +836,7 @@
118
      * The first LFSR is of degree 25,  and has a polynomial of:
119
      * x^13 + x^5 + x^4 + x^1 + 1
120
      *
121
-     * The second LSFR is of degree 17,  and has a (primitive) polynomial of:
122
+     * The second LFSR is of degree 17,  and has a (primitive) polynomial of:
123
      * x^15 + x^1 + 1
124
      *
125
      * I don't know if these polynomials are primitive modulo 2,  and thus
126
@@ -849,7 +850,7 @@
127
      */
128
 
129
     /* In order to ensure that the LFSR works we need to ensure that the
130
-     * initial values are non-zero.  Thus when we initialise them from
131
+     * initial values are non-zero.  Thus when we initialize them from
132
      * the seed,  we ensure that a bit is set.
133
      */
134
     i_lfsr0 = ( p_tmp1[0] << 17 ) | ( p_tmp1[1] << 9 ) |
135
@@ -958,7 +959,7 @@
136
  * in _dvdcss_titlekey.
137
  * The player keys and the resulting disc key are only used as KEKs
138
  * (key encryption keys).
139
- * Decryption is slightly dependant on the type of key:
140
+ * Decryption is slightly dependent on the type of key:
141
  *  -for disc key, invert is 0x00,
142
  *  -for title key, invert if 0xff.
143
  *****************************************************************************/
144
@@ -1163,8 +1164,7 @@
145
      */
146
 
147
     /* initialize lookup tables for k[1] */
148
-    K1table = malloc( 65536 * K1TABLEWIDTH );
149
-    memset( K1table, 0 , 65536 * K1TABLEWIDTH );
150
+    K1table = calloc( 65536, K1TABLEWIDTH );
151
     if( K1table == NULL )
152
     {
153
         return -1;
154
@@ -1194,9 +1194,8 @@
155
         }
156
     }
157
 
158
-    /* Initing our Really big table */
159
-    BigTable = malloc( 16777216 * sizeof(int) );
160
-    memset( BigTable, 0 , 16777216 * sizeof(int) );
161
+    /* Initializing our really big table */
162
+    BigTable = calloc( 16777216, sizeof(int) );
163
     if( BigTable == NULL )
164
     {
165
         free( K1table );
166
@@ -1224,7 +1223,7 @@
167
     }
168
 
169
     /*
170
-     * We are done initing, now reverse hash
171
+     * We are done initializing, now reverse hash
172
      */
173
     tmp5 = p_disc_key[0] ^ p_css_tab1[ p_disc_key[1] ];
174
 
175
@@ -1242,7 +1241,7 @@
176
             out1[ i ] = p_css_tab4[ tmp ];
177
         }
178
 
179
-        /* cumpute and cache some variables */
180
+        /* compute and cache some variables */
181
         C[0] = nStepA >> 8;
182
         C[1] = nStepA & 0xff;
183
         tmp = p_disc_key[3] ^ p_css_tab1[ p_disc_key[4] ];
184
@@ -1358,7 +1357,7 @@
185
         /* iterate cipher 4 times to reconstruct LFSR2 */
186
         for( i = 0 ; i < 4 ; i++ )
187
         {
188
-            /* advance LFSR1 normaly */
189
+            /* advance LFSR1 normally */
190
             i_t4 = p_css_tab2[i_t2] ^ p_css_tab3[i_t1];
191
             i_t2 = i_t1 >> 1;
192
             i_t1 = ( ( i_t1 & 1 ) << 8 ) ^ i_t4;
193
@@ -1411,7 +1410,7 @@
194
             {
195
                 i_t1 = i_t3 & 0xff;
196
                 i_t3 = ( i_t3 >> 8 );
197
-                /* easy to code, and fast enough bruteforce
198
+                /* easy to code, and fast enough brute-force
199
                  * search for byte shifted in */
200
                 for( j = 0 ; j < 256 ; j++ )
201
libdvdcss-1.2.12.tar.bz2/src/css.h -> libdvdcss-1.2.13.tar.bz2/src/css.h Changed
26
 
1
@@ -2,7 +2,6 @@
2
  * css.h: Structures for DVD authentication and unscrambling
3
  *****************************************************************************
4
  * Copyright (C) 1999-2001 VideoLAN
5
- * $Id: css.h 236 2010-08-02 15:59:13Z jb $
6
  *
7
  * Author: Stéphane Borel <stef@via.ecp.fr>
8
  *
9
@@ -45,7 +44,7 @@
10
 
11
 typedef struct css_s
12
 {
13
-    int             i_agid;      /* Current Authenication Grant ID. */
14
+    int             i_agid;      /* Current Authentication Grant ID. */
15
     dvd_key_t       p_bus_key;   /* Current session key. */
16
     dvd_key_t       p_disc_key;  /* This DVD disc's key. */
17
     dvd_key_t       p_title_key; /* Current title key. */
18
@@ -57,7 +56,6 @@
19
 int   _dvdcss_test        ( dvdcss_t );
20
 int   _dvdcss_title       ( dvdcss_t, int );
21
 int   _dvdcss_disckey     ( dvdcss_t );
22
-int   _dvdcss_titlekey    ( dvdcss_t, int , dvd_key_t );
23
 int   _dvdcss_unscramble  ( uint8_t *, uint8_t * );
24
 
25
 #endif /* DVDCSS_CSS_H */
26
libdvdcss-1.2.12.tar.bz2/src/csstables.h -> libdvdcss-1.2.13.tar.bz2/src/csstables.h Changed
90
 
1
@@ -2,7 +2,6 @@
2
  * csstables.h: CSS Tables for DVD unscrambling
3
  *****************************************************************************
4
  * Copyright (C) 1999-2001 VideoLAN
5
- * $Id: csstables.h 235 2010-08-02 15:41:14Z jb $
6
  *
7
  * Author: Stéphane Borel <stef@via.ecp.fr>
8
  *
9
@@ -32,7 +31,7 @@
10
 #ifndef DVDCSS_CSSTABLES_H
11
 #define DVDCSS_CSSTABLES_H
12
 
13
-static uint8_t p_css_tab1[ 256 ] =
14
+static const uint8_t p_css_tab1[ 256 ] =
15
 {
16
     0x33, 0x73, 0x3b, 0x26, 0x63, 0x23, 0x6b, 0x76,
17
     0x3e, 0x7e, 0x36, 0x2b, 0x6e, 0x2e, 0x66, 0x7b,
18
@@ -68,7 +67,7 @@
19
     0xba, 0xfa, 0xb2, 0xaf, 0xea, 0xaa, 0xe2, 0xff
20
 };
21
 
22
-static uint8_t p_css_tab2[ 256 ] =
23
+static const uint8_t p_css_tab2[ 256 ] =
24
 {
25
     0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
26
     0x09, 0x08, 0x0b, 0x0a, 0x0d, 0x0c, 0x0f, 0x0e,
27
@@ -104,7 +103,7 @@
28
     0xe4, 0xe5, 0xe6, 0xe7, 0xe0, 0xe1, 0xe2, 0xe3
29
 };
30
 
31
-static uint8_t p_css_tab3[ 512 ] =
32
+static const uint8_t p_css_tab3[ 512 ] =
33
 {
34
     0x00, 0x24, 0x49, 0x6d, 0x92, 0xb6, 0xdb, 0xff,
35
     0x00, 0x24, 0x49, 0x6d, 0x92, 0xb6, 0xdb, 0xff,
36
@@ -172,7 +171,7 @@
37
     0x00, 0x24, 0x49, 0x6d, 0x92, 0xb6, 0xdb, 0xff
38
 };
39
 
40
-static uint8_t p_css_tab4[ 256 ] =
41
+static const uint8_t p_css_tab4[ 256 ] =
42
 {
43
     0x00, 0x80, 0x40, 0xc0, 0x20, 0xa0, 0x60, 0xe0,
44
     0x10, 0x90, 0x50, 0xd0, 0x30, 0xb0, 0x70, 0xf0,
45
@@ -208,7 +207,7 @@
46
     0x1f, 0x9f, 0x5f, 0xdf, 0x3f, 0xbf, 0x7f, 0xff
47
 };
48
 
49
-static uint8_t p_css_tab5[ 256 ] =
50
+static const uint8_t p_css_tab5[ 256 ] =
51
 {
52
     0xff, 0x7f, 0xbf, 0x3f, 0xdf, 0x5f, 0x9f, 0x1f,
53
     0xef, 0x6f, 0xaf, 0x2f, 0xcf, 0x4f, 0x8f, 0x0f,
54
@@ -244,7 +243,7 @@
55
     0xe0, 0x60, 0xa0, 0x20, 0xc0, 0x40, 0x80, 0x00
56
 };
57
 
58
-static uint8_t p_crypt_tab0[ 256 ] =
59
+static const uint8_t p_crypt_tab0[ 256 ] =
60
 {
61
     0xB7, 0xF4, 0x82, 0x57, 0xDA, 0x4D, 0xDB, 0xE2,
62
     0x2F, 0x52, 0x1A, 0xA8, 0x68, 0x5A, 0x8A, 0xFF,
63
@@ -280,7 +279,7 @@
64
     0xAD, 0x94, 0x77, 0x04, 0x9A, 0x39, 0xCF, 0x7C
65
 };
66
 
67
-static uint8_t p_crypt_tab1[ 256 ] =
68
+static const uint8_t p_crypt_tab1[ 256 ] =
69
 {
70
     0x8C, 0x47, 0xB0, 0xE1, 0xEB, 0xFC, 0xEB, 0x56,
71
     0x10, 0xE5, 0x2C, 0x1A, 0x5D, 0xEF, 0xBE, 0x4F,
72
@@ -316,7 +315,7 @@
73
     0xAA, 0x1B, 0x79, 0x8E, 0x97, 0xB4, 0xC3, 0xF4
74
 };
75
 
76
-static uint8_t p_crypt_tab2[ 256 ] =
77
+static const uint8_t p_crypt_tab2[ 256 ] =
78
 {
79
     0xB7, 0x75, 0x81, 0xD5, 0xDC, 0xCA, 0xDE, 0x66,
80
     0x23, 0xDF, 0x15, 0x26, 0x62, 0xD1, 0x83, 0x77,
81
@@ -352,7 +351,7 @@
82
     0x29, 0x91, 0xF0, 0x02, 0x18, 0x3A, 0x4E, 0x7C
83
 };
84
 
85
-static uint8_t p_crypt_tab3[ 288 ] =
86
+static const uint8_t p_crypt_tab3[ 288 ] =
87
 {
88
     0x73, 0x51, 0x95, 0xE1, 0x12, 0xE4, 0xC0, 0x58,
89
     0xEE, 0xF2, 0x08, 0x1B, 0xA9, 0xFA, 0x98, 0x4C,
90
libdvdcss-1.2.12.tar.bz2/src/device.c -> libdvdcss-1.2.13.tar.bz2/src/device.c Changed
201
 
1
@@ -2,7 +2,6 @@
2
  * device.h: DVD device access
3
  *****************************************************************************
4
  * Copyright (C) 1998-2006 VideoLAN
5
- * $Id: device.c 242 2011-10-26 04:59:23Z jb $
6
  *
7
  * Authors: Stéphane Borel <stef@via.ecp.fr>
8
  *          Sam Hocevar <sam@zoy.org>
9
@@ -49,12 +48,6 @@
10
 #   include <limits.h>
11
 #endif
12
 
13
-#if defined( WIN32 ) && !defined( SYS_CYGWIN )
14
-#   include <io.h>                                                 /* read() */
15
-#else
16
-#   include <sys/uio.h>                                      /* struct iovec */
17
-#endif
18
-
19
 #ifdef DARWIN_DVD_IOCTL
20
 #   include <paths.h>
21
 #   include <CoreFoundation/CoreFoundation.h>
22
@@ -65,7 +58,7 @@
23
 #   include <IOKit/storage/IODVDMedia.h>
24
 #endif
25
 
26
-#ifdef SYS_OS2
27
+#ifdef __OS2__
28
 #   define INCL_DOS
29
 #   define INCL_DOSDEVIOCTL
30
 #   include <os2.h>
31
@@ -99,7 +92,7 @@
32
 static int win_readv  ( dvdcss_t, struct iovec *, int );
33
 
34
 static int aspi_read_internal  ( int, void *, int );
35
-#elif defined( SYS_OS2 )
36
+#elif defined( __OS2__ )
37
 static int os2_open ( dvdcss_t, char const * );
38
 /* just use macros for libc */
39
 #   define os2_seek     libc_seek
40
@@ -124,7 +117,7 @@
41
     {
42
         return 1;
43
     }
44
-#elif defined( SYS_OS2 )
45
+#elif defined( __OS2__ )
46
     ULONG ulMode;
47
 
48
     if( DosQueryFHState( dvdcss->i_fd, &ulMode ) != 0 )
49
@@ -154,7 +147,6 @@
50
      * OpenBSD  needs a char device
51
      * NetBSD   needs a char device
52
      * FreeBSD  can use either the block or the char device
53
-     * BSD/OS   can use either the block or the char device
54
      */
55
 
56
     /* Check if this is a block/char device */
57
@@ -181,7 +173,7 @@
58
     kern_return_t kern_result;
59
     io_iterator_t media_iterator;
60
     CFMutableDictionaryRef classes_to_match;
61
-#elif defined( SYS_OS2 )
62
+#elif defined( __OS2__ )
63
 #pragma pack( 1 )
64
     struct
65
     {
66
@@ -239,7 +231,7 @@
67
         /* Remove trailing backslash */
68
         psz_device[2] = '\0';
69
 
70
-        /* FIXME: we want to differenciate between CD and DVD drives
71
+        /* FIXME: we want to differentiate between CD and DVD drives
72
          * using DeviceIoControl() */
73
         print_debug( dvdcss, "defaulting to drive `%s'", psz_device );
74
         free( dvdcss->psz_device );
75
@@ -316,7 +308,7 @@
76
     }
77
 
78
     IOObjectRelease( media_iterator );
79
-#elif defined( SYS_OS2 )
80
+#elif defined( __OS2__ )
81
     for( i = 0; i < 26; i++ )
82
     {
83
         param.bCmdInfo = 0;
84
@@ -394,7 +386,7 @@
85
         return aspi_open( dvdcss, psz_device );
86
     }
87
     else
88
-#elif defined( SYS_OS2 )
89
+#elif defined( __OS2__ )
90
     /* If device is "X:" or "X:\", we are not actually opening a file. */
91
     if( psz_device[0] && psz_device[1] == ':' &&
92
         ( !psz_device[2] || ( psz_device[2] == '\\' && !psz_device[3] ) ) )
93
@@ -416,7 +408,7 @@
94
     }
95
 }
96
 
97
-#if !defined(WIN32) && !defined(SYS_OS2)
98
+#ifdef DVDCSS_RAW_OPEN
99
 int _dvdcss_raw_open ( dvdcss_t dvdcss, char const *psz_device )
100
 {
101
     dvdcss->i_raw_fd = open( psz_device, 0 );
102
@@ -452,7 +444,7 @@
103
     {
104
         struct w32_aspidev *fd = (struct w32_aspidev *) dvdcss->i_fd;
105
 
106
-        /* Unload aspi and free w32_aspidev structure */
107
+        /* Unload ASPI and free w32_aspidev structure */
108
         FreeLibrary( (HMODULE) fd->hASPI );
109
         free( (void*) dvdcss->i_fd );
110
     }
111
@@ -469,7 +461,7 @@
112
 #else
113
     close( dvdcss->i_fd );
114
 
115
-#ifndef SYS_OS2
116
+#ifdef DVDCSS_RAW_OPEN
117
     if( dvdcss->i_raw_fd >= 0 )
118
     {
119
         close( dvdcss->i_raw_fd );
120
@@ -488,11 +480,7 @@
121
  *****************************************************************************/
122
 static int libc_open ( dvdcss_t dvdcss, char const *psz_device )
123
 {
124
-#if !defined( WIN32 ) && !defined( SYS_OS2 )
125
-    dvdcss->i_fd = dvdcss->i_read_fd = open( psz_device, 0 );
126
-#else
127
     dvdcss->i_fd = dvdcss->i_read_fd = open( psz_device, O_BINARY );
128
-#endif
129
 
130
     if( dvdcss->i_fd == -1 )
131
     {
132
@@ -516,7 +504,7 @@
133
     /* To work around an M$ bug in IOCTL_DVD_READ_STRUCTURE, we need read
134
      * _and_ write access to the device (so we can make SCSI Pass Through
135
      * Requests). Unfortunately this is only allowed if you have
136
-     * administrator priviledges so we allow for a fallback method with
137
+     * administrator privileges so we allow for a fallback method with
138
      * only read access to the device (in this case ioctl_ReadCopyright()
139
      * won't send back the right result).
140
      * (See Microsoft Q241374: Read and Write Access Required for SCSI
141
@@ -554,7 +542,7 @@
142
     SENDASPI32COMMAND lpSendCommand;
143
     char c_drive = psz_device[0];
144
 
145
-    /* load aspi and init w32_aspidev structure */
146
+    /* load ASPI and init w32_aspidev structure */
147
     hASPI = LoadLibrary( "wnaspi32.dll" );
148
     if( hASPI == NULL )
149
     {
150
@@ -567,7 +555,7 @@
151
 
152
     if(lpGetSupport == NULL || lpSendCommand == NULL )
153
     {
154
-        print_error( dvdcss, "unable to get aspi function pointers" );
155
+        print_error( dvdcss, "unable to get ASPI function pointers" );
156
         FreeLibrary( hASPI );
157
         return -1;
158
     }
159
@@ -583,7 +571,7 @@
160
 
161
     if( HIBYTE( LOWORD ( dwSupportInfo ) ) != SS_COMP )
162
     {
163
-        print_error( dvdcss, "unable to initalize aspi layer" );
164
+        print_error( dvdcss, "unable to initialize ASPI layer" );
165
         FreeLibrary( hASPI );
166
         return -1;
167
     }
168
@@ -628,10 +616,9 @@
169
             if( (srbDiskInfo.SRB_Status == SS_COMP) &&
170
                 (srbDiskInfo.SRB_Int13HDriveInfo == c_drive) )
171
             {
172
-                /* Make sure this is a cdrom device */
173
-                struct SRB_GDEVBlock srbGDEVBlock;
174
+                /* Make sure this is a CD-ROM device */
175
+                struct SRB_GDEVBlock srbGDEVBlock = { 0 };
176
 
177
-                memset( &srbGDEVBlock, 0, sizeof(struct SRB_GDEVBlock) );
178
                 srbGDEVBlock.SRB_Cmd    = SC_GET_DEV_TYPE;
179
                 srbGDEVBlock.SRB_HaId   = i;
180
                 srbGDEVBlock.SRB_Target = j;
181
@@ -650,7 +637,7 @@
182
                 {
183
                     free( (void*) fd );
184
                     FreeLibrary( hASPI );
185
-                    print_error( dvdcss,"this is not a cdrom drive" );
186
+                    print_error( dvdcss,"this is not a CD-ROM drive" );
187
                     return -1;
188
                 }
189
             }
190
@@ -659,12 +646,12 @@
191
 
192
     free( (void*) fd );
193
     FreeLibrary( hASPI );
194
-    print_error( dvdcss, "unable to get haid and target (aspi)" );
195
+    print_error( dvdcss, "unable to get haid and target (ASPI)" );
196
     return -1;
197
 }
198
 #endif
199
 
200
-#ifdef SYS_OS2
201
libdvdcss-1.2.12.tar.bz2/src/device.h -> libdvdcss-1.2.13.tar.bz2/src/device.h Changed
56
 
1
@@ -2,7 +2,6 @@
2
  * device.h: DVD device access
3
  *****************************************************************************
4
  * Copyright (C) 1998-2002 VideoLAN
5
- * $Id: device.h 236 2010-08-02 15:59:13Z jb $
6
  *
7
  * Authors: Stéphane Borel <stef@via.ecp.fr>
8
  *          Sam Hocevar <sam@zoy.org>
9
@@ -26,11 +25,18 @@
10
 #ifndef DVDCSS_DEVICE_H
11
 #define DVDCSS_DEVICE_H
12
 
13
+#include "config.h"
14
+
15
 /*****************************************************************************
16
  * iovec structure: vectored data entry
17
  *****************************************************************************/
18
-#if defined( WIN32 ) && !defined( SYS_CYGWIN )
19
+#ifndef HAVE_SYS_UIO_H
20
 #   include <io.h>                                                 /* read() */
21
+struct iovec
22
+{
23
+    void *iov_base;     /* Pointer to data. */
24
+    size_t iov_len;     /* Length of data.  */
25
+};
26
 #else
27
 #   include <sys/types.h>
28
 #   include <sys/uio.h>                                      /* struct iovec */
29
@@ -38,14 +44,11 @@
30
 
31
 #include "dvdcss/dvdcss.h"
32
 
33
-#if defined( WIN32 ) && !defined( SYS_CYGWIN )
34
-struct iovec
35
-{
36
-    void *iov_base;     /* Pointer to data. */
37
-    size_t iov_len;     /* Length of data.  */
38
-};
39
+#if !defined(WIN32) && !defined(__OS2__)
40
+#   define DVDCSS_RAW_OPEN
41
 #endif
42
 
43
+
44
 /*****************************************************************************
45
  * Device reading prototypes
46
  *****************************************************************************/
47
@@ -57,8 +60,6 @@
48
 /*****************************************************************************
49
  * Device reading prototypes, raw-device specific
50
  *****************************************************************************/
51
-#if !defined(WIN32) && !defined(SYS_OS2)
52
 int _dvdcss_raw_open     ( dvdcss_t, char const * );
53
-#endif
54
 
55
 #endif /* DVDCSS_DEVICE_H */
56
libdvdcss-1.2.12.tar.bz2/src/dvdcss/dvdcss.h -> libdvdcss-1.2.13.tar.bz2/src/dvdcss/dvdcss.h Changed
18
 
1
@@ -10,7 +10,6 @@
2
 
3
 /*
4
  * Copyright (C) 1998-2008 VideoLAN
5
- * $Id: dvdcss.h 219 2009-02-09 00:03:47Z jb $
6
  *
7
  * This program is free software; you can redistribute it and/or modify
8
  * it under the terms of the GNU General Public License as published by
9
@@ -60,6 +59,8 @@
10
 #define LIBDVDCSS_EXPORT __declspec(dllexport) extern
11
 #elif defined(LIBDVDCSS_IMPORTS)
12
 #define LIBDVDCSS_EXPORT __declspec(dllimport) extern
13
+#elif defined(SUPPORT_ATTRIBUTE_VISIBILITY_DEFAULT)
14
+#define LIBDVDCSS_EXPORT __attribute__((visibility("default"))) extern
15
 #else
16
 #define LIBDVDCSS_EXPORT extern
17
 #endif
18
libdvdcss-1.2.12.tar.bz2/src/error.c -> libdvdcss-1.2.13.tar.bz2/src/error.c Changed
9
 
1
@@ -2,7 +2,6 @@
2
  * error.c: error management functions
3
  *****************************************************************************
4
  * Copyright (C) 1998-2002 VideoLAN
5
- * $Id: error.c 221 2009-02-09 00:45:44Z sam $
6
  *
7
  * Author: Sam Hocevar <sam@zoy.org>
8
  *
9
libdvdcss-1.2.12.tar.bz2/src/ioctl.c -> libdvdcss-1.2.13.tar.bz2/src/ioctl.c Changed
201
 
1
@@ -2,7 +2,6 @@
2
  * ioctl.c: DVD ioctl replacement function
3
  *****************************************************************************
4
  * Copyright (C) 1999-2001 VideoLAN
5
- * $Id: ioctl.c 221 2009-02-09 00:45:44Z sam $
6
  *
7
  * Authors: Markus Kuespert <ltlBeBoy@beosmail.com>
8
  *          Sam Hocevar <sam@zoy.org>
9
@@ -41,7 +40,7 @@
10
 #if defined( WIN32 )
11
 #   include <windows.h>
12
 #   include <winioctl.h>
13
-#elif defined ( SYS_OS2 )
14
+#elif defined ( __OS2__ )
15
 #   define INCL_DOSFILEMGR
16
 #   define INCL_DOSDEVICES
17
 #   define INCL_DOSDEVIOCTL
18
@@ -65,10 +64,7 @@
19
 #ifdef DVD_STRUCT_IN_DVD_H
20
 #   include <dvd.h>
21
 #endif
22
-#ifdef DVD_STRUCT_IN_BSDI_DVDIOCTL_DVD_H
23
-#   include "bsdi_dvd.h"
24
-#endif
25
-#ifdef SYS_BEOS
26
+#ifdef __BEOS__
27
 #   include <malloc.h>
28
 #   include <scsi.h>
29
 #endif
30
@@ -97,7 +93,7 @@
31
 /*****************************************************************************
32
  * Local prototypes, BeOS specific
33
  *****************************************************************************/
34
-#if defined( SYS_BEOS )
35
+#if defined( __BEOS__ )
36
 static void BeInitRDC ( raw_device_command *, int );
37
 #endif
38
 
39
@@ -135,7 +131,7 @@
40
 /*****************************************************************************
41
  * Local prototypes, OS2 specific
42
  *****************************************************************************/
43
-#if defined( SYS_OS2 )
44
+#if defined( __OS2__ )
45
 static void OS2InitSDC( struct OS2_ExecSCSICmd *, int );
46
 #endif
47
 
48
@@ -147,9 +143,8 @@
49
     int i_ret;
50
 
51
 #if defined( HAVE_LINUX_DVD_STRUCT )
52
-    dvd_struct dvd;
53
+    dvd_struct dvd = { 0 };
54
 
55
-    memset( &dvd, 0, sizeof( dvd ) );
56
     dvd.type = DVD_STRUCT_COPYRIGHT;
57
     dvd.copyright.layer_num = i_layer;
58
 
59
@@ -158,9 +153,8 @@
60
     *pi_copyright = dvd.copyright.cpst;
61
 
62
 #elif defined( HAVE_BSD_DVD_STRUCT )
63
-    struct dvd_struct dvd;
64
+    struct dvd_struct dvd = { 0 };
65
 
66
-    memset( &dvd, 0, sizeof( dvd ) );
67
     dvd.format = DVD_STRUCT_COPYRIGHT;
68
     dvd.layer_num = i_layer;
69
 
70
@@ -168,7 +162,7 @@
71
 
72
     *pi_copyright = dvd.cpst;
73
 
74
-#elif defined( SYS_BEOS )
75
+#elif defined( __BEOS__ )
76
     INIT_RDC( GPCMD_READ_DVD_STRUCTURE, 8 );
77
 
78
     rdc.command[ 6 ] = i_layer;
79
@@ -221,7 +215,7 @@
80
         /*  When using IOCTL_DVD_READ_STRUCTURE and
81
             DVD_COPYRIGHT_DESCRIPTOR, CopyrightProtectionType
82
             seems to be always 6 ???
83
-            To work around this MS bug we try to send a raw scsi command
84
+            To work around this MS bug we try to send a raw SCSI command
85
             instead (if we've got enough privileges to do so). */
86
 
87
         sptd.Cdb[ 6 ] = i_layer;
88
@@ -257,7 +251,7 @@
89
 
90
     *pi_copyright = p_buffer[4];
91
 
92
-#elif defined( SYS_OS2 )
93
+#elif defined( __OS2__ )
94
     INIT_SSC( GPCMD_READ_DVD_STRUCTURE, 8 );
95
 
96
     sdc.command[ 6 ] = i_layer;
97
@@ -284,12 +278,10 @@
98
     int i_ret;
99
 
100
 #if defined( HAVE_LINUX_DVD_STRUCT )
101
-    dvd_struct dvd;
102
+    dvd_struct dvd = { 0 };
103
 
104
-    memset( &dvd, 0, sizeof( dvd ) );
105
     dvd.type = DVD_STRUCT_DISCKEY;
106
     dvd.disckey.agid = *pi_agid;
107
-    memset( dvd.disckey.value, 0, DVD_DISCKEY_SIZE );
108
 
109
     i_ret = ioctl( i_fd, DVD_READ_STRUCT, &dvd );
110
 
111
@@ -301,12 +293,10 @@
112
     memcpy( p_key, dvd.disckey.value, DVD_DISCKEY_SIZE );
113
 
114
 #elif defined( HAVE_BSD_DVD_STRUCT )
115
-    struct dvd_struct dvd;
116
+    struct dvd_struct dvd = { 0 };
117
 
118
-    memset( &dvd, 0, sizeof( dvd ) );
119
     dvd.format = DVD_STRUCT_DISCKEY;
120
     dvd.agid = *pi_agid;
121
-    memset( dvd.data, 0, DVD_DISCKEY_SIZE );
122
 
123
     i_ret = ioctl( i_fd, DVDIOCREADSTRUCTURE, &dvd );
124
 
125
@@ -317,7 +307,7 @@
126
 
127
     memcpy( p_key, dvd.data, DVD_DISCKEY_SIZE );
128
 
129
-#elif defined( SYS_BEOS )
130
+#elif defined( __BEOS__ )
131
     INIT_RDC( GPCMD_READ_DVD_STRUCTURE, DVD_DISCKEY_SIZE + 4 );
132
 
133
     rdc.command[ 7 ]  = DVD_STRUCT_DISCKEY;
134
@@ -377,11 +367,9 @@
135
     if( WIN2K ) /* NT/2k/XP */
136
     {
137
         DWORD tmp;
138
-        uint8_t buffer[DVD_DISK_KEY_LENGTH];
139
+        uint8_t buffer[DVD_DISK_KEY_LENGTH] = { 0 };
140
         PDVD_COPY_PROTECT_KEY key = (PDVD_COPY_PROTECT_KEY) &buffer;
141
 
142
-        memset( &buffer, 0, sizeof( buffer ) );
143
-
144
         key->KeyLength  = DVD_DISK_KEY_LENGTH;
145
         key->SessionId  = *pi_agid;
146
         key->KeyType    = DvdDiskKey;
147
@@ -425,7 +413,7 @@
148
 
149
     memcpy( p_key, p_buffer + 4, DVD_DISCKEY_SIZE );
150
 
151
-#elif defined ( SYS_OS2 )
152
+#elif defined ( __OS2__ )
153
     INIT_SSC( GPCMD_READ_DVD_STRUCTURE, DVD_DISCKEY_SIZE + 4 );
154
 
155
     sdc.command[ 7 ]  = DVD_STRUCT_DISCKEY;
156
@@ -457,9 +445,8 @@
157
     int i_ret;
158
 
159
 #if defined( HAVE_LINUX_DVD_STRUCT )
160
-    dvd_authinfo auth_info;
161
+    dvd_authinfo auth_info = { 0 };
162
 
163
-    memset( &auth_info, 0, sizeof( auth_info ) );
164
     auth_info.type = DVD_LU_SEND_TITLE_KEY;
165
     auth_info.lstk.agid = *pi_agid;
166
     auth_info.lstk.lba = i_pos;
167
@@ -469,9 +456,8 @@
168
     memcpy( p_key, auth_info.lstk.title_key, DVD_KEY_SIZE );
169
 
170
 #elif defined( HAVE_BSD_DVD_STRUCT )
171
-    struct dvd_authinfo auth_info;
172
+    struct dvd_authinfo auth_info = { 0 };
173
 
174
-    memset( &auth_info, 0, sizeof( auth_info ) );
175
     auth_info.format = DVD_REPORT_TITLE_KEY;
176
     auth_info.agid = *pi_agid;
177
     auth_info.lba = i_pos;
178
@@ -480,7 +466,7 @@
179
 
180
     memcpy( p_key, auth_info.keychal, DVD_KEY_SIZE );
181
 
182
-#elif defined( SYS_BEOS )
183
+#elif defined( __BEOS__ )
184
     INIT_RDC( GPCMD_REPORT_KEY, 12 );
185
 
186
     rdc.command[ 2 ] = ( i_pos >> 24 ) & 0xff;
187
@@ -545,11 +531,9 @@
188
     if( WIN2K ) /* NT/2k/XP */
189
     {
190
         DWORD tmp;
191
-        uint8_t buffer[DVD_TITLE_KEY_LENGTH];
192
+        uint8_t buffer[DVD_TITLE_KEY_LENGTH] = { 0 };
193
         PDVD_COPY_PROTECT_KEY key = (PDVD_COPY_PROTECT_KEY) &buffer;
194
 
195
-        memset( &buffer, 0, sizeof( buffer ) );
196
-
197
         key->KeyLength  = DVD_TITLE_KEY_LENGTH;
198
         key->SessionId  = *pi_agid;
199
         key->KeyType    = DvdTitleKey;
200
@@ -591,7 +575,7 @@
201
libdvdcss-1.2.12.tar.bz2/src/ioctl.h -> libdvdcss-1.2.13.tar.bz2/src/ioctl.h Changed
185
 
1
@@ -2,7 +2,6 @@
2
  * ioctl.h: DVD ioctl replacement function
3
  *****************************************************************************
4
  * Copyright (C) 1999-2001 VideoLAN
5
- * $Id: ioctl.h 235 2010-08-02 15:41:14Z jb $
6
  *
7
  * Authors: Sam Hocevar <sam@zoy.org>
8
  *
9
@@ -35,7 +34,6 @@
10
 int ioctl_SendChallenge     ( int, int *, uint8_t * );
11
 int ioctl_SendKey2          ( int, int *, uint8_t * );
12
 int ioctl_ReportRPC         ( int, int *, int *, int * );
13
-int ioctl_SendRPC           ( int, int );
14
 
15
 #define DVD_KEY_SIZE 5
16
 #define DVD_CHALLENGE_SIZE 10
17
@@ -44,11 +42,10 @@
18
 /*****************************************************************************
19
  * Common macro, BeOS specific
20
  *****************************************************************************/
21
-#if defined( SYS_BEOS )
22
+#if defined( __BEOS__ )
23
 #define INIT_RDC( TYPE, SIZE ) \
24
-    raw_device_command rdc; \
25
+    raw_device_command rdc = { 0 }; \
26
     uint8_t p_buffer[ (SIZE)+1 ]; \
27
-    memset( &rdc, 0, sizeof( raw_device_command ) ); \
28
     rdc.data = (char *)p_buffer; \
29
     rdc.data_length = (SIZE); \
30
     BeInitRDC( &rdc, (TYPE) );
31
@@ -59,9 +56,8 @@
32
  *****************************************************************************/
33
 #if defined( HPUX_SCTL_IO )
34
 #define INIT_SCTL_IO( TYPE, SIZE ) \
35
-    struct sctl_io sctl_io; \
36
+    struct sctl_io sctl_io = { 0 }; \
37
     uint8_t p_buffer[ (SIZE)+1 ]; \
38
-    memset( &sctl_io, 0, sizeof( sctl_io ) ); \
39
     sctl_io.data = (void *)p_buffer; \
40
     sctl_io.data_length = (SIZE); \
41
     HPUXInitSCTL( &sctl_io, (TYPE) );
42
@@ -74,10 +70,9 @@
43
 #define USCSI_TIMEOUT( SC, TO ) ( (SC)->uscsi_timeout = (TO) )
44
 #define USCSI_RESID( SC )       ( (SC)->uscsi_resid )
45
 #define INIT_USCSI( TYPE, SIZE ) \
46
-    struct uscsi_cmd sc; \
47
+    struct uscsi_cmd sc = { 0 }; \
48
     union scsi_cdb rs_cdb; \
49
     uint8_t p_buffer[ (SIZE)+1 ]; \
50
-    memset( &sc, 0, sizeof( struct uscsi_cmd ) ); \
51
     sc.uscsi_cdb = (caddr_t)&rs_cdb; \
52
     sc.uscsi_bufaddr = (caddr_t)p_buffer; \
53
     sc.uscsi_buflen = (SIZE); \
54
@@ -89,10 +84,8 @@
55
  *****************************************************************************/
56
 #if defined( DARWIN_DVD_IOCTL )
57
 #define INIT_DVDIOCTL( DKDVD_TYPE, BUFFER_TYPE, FORMAT ) \
58
-    DKDVD_TYPE dvd; \
59
-    BUFFER_TYPE dvdbs; \
60
-    memset( &dvd, 0, sizeof(dvd) ); \
61
-    memset( &dvdbs, 0, sizeof(dvdbs) ); \
62
+    DKDVD_TYPE dvd = { 0 }; \
63
+    BUFFER_TYPE dvdbs = { 0 }; \
64
     dvd.format = FORMAT; \
65
     dvd.buffer = &dvdbs; \
66
     dvd.bufferLength = sizeof(dvdbs);
67
@@ -104,9 +97,8 @@
68
 #if defined( WIN32 )
69
 #define INIT_SPTD( TYPE, SIZE ) \
70
     DWORD tmp; \
71
-    SCSI_PASS_THROUGH_DIRECT sptd; \
72
+    SCSI_PASS_THROUGH_DIRECT sptd = { 0 }; \
73
     uint8_t p_buffer[ (SIZE) ]; \
74
-    memset( &sptd, 0, sizeof( SCSI_PASS_THROUGH_DIRECT ) ); \
75
     sptd.Length = sizeof( SCSI_PASS_THROUGH_DIRECT ); \
76
     sptd.DataBuffer = p_buffer; \
77
     sptd.DataTransferLength = (SIZE); \
78
@@ -117,10 +109,9 @@
79
                       (SPTD), sizeof( SCSI_PASS_THROUGH_DIRECT ), \
80
                       (TMP), NULL ) ? 0 : -1)
81
 #define INIT_SSC( TYPE, SIZE ) \
82
-    struct SRB_ExecSCSICmd ssc; \
83
+    struct SRB_ExecSCSICmd ssc = { 0 }; \
84
     uint8_t p_buffer[ (SIZE)+1 ]; \
85
-    memset( &ssc, 0, sizeof( struct SRB_ExecSCSICmd ) ); \
86
-    ssc.SRB_BufPointer = (char *)p_buffer; \
87
+    ssc.SRB_BufPointer = (unsigned char *)p_buffer; \
88
     ssc.SRB_BufLen = (SIZE); \
89
     WinInitSSC( &ssc, (TYPE) );
90
 #endif
91
@@ -130,12 +121,11 @@
92
  *****************************************************************************/
93
 #if defined( __QNXNTO__ )
94
 #define INIT_CPT( TYPE, SIZE ) \
95
-    CAM_PASS_THRU * p_cpt; \
96
+    CAM_PASS_THRU * p_cpt = { 0 }; \
97
     uint8_t * p_buffer; \
98
     int structSize = sizeof( CAM_PASS_THRU ) + (SIZE); \
99
     p_cpt = (CAM_PASS_THRU *) malloc ( structSize ); \
100
     p_buffer = (uint8_t *) p_cpt + sizeof( CAM_PASS_THRU ); \
101
-    memset( p_cpt, 0, structSize ); \
102
       p_cpt->cam_data_ptr = sizeof( CAM_PASS_THRU ); \
103
       p_cpt->cam_dxfer_len = (SIZE); \
104
     QNXInitCPT( p_cpt, (TYPE) );
105
@@ -144,14 +134,12 @@
106
 /*****************************************************************************
107
  * Common macro, OS2 specific
108
  *****************************************************************************/
109
-#if defined( SYS_OS2 )
110
+#if defined( __OS2__ )
111
 #define INIT_SSC( TYPE, SIZE ) \
112
-    struct OS2_ExecSCSICmd sdc; \
113
-    uint8_t p_buffer[ (SIZE)+1 ]; \
114
+    struct OS2_ExecSCSICmd sdc = { 0 }; \
115
+    uint8_t p_buffer[ (SIZE) + 1 ] = { 0 }; \
116
     unsigned long ulParamLen; \
117
     unsigned long ulDataLen; \
118
-    memset( &sdc, 0, sizeof( OS2_ExecSCSICmd ) ); \
119
-    memset( &p_buffer, 0, SIZE ); \
120
     sdc.data_length = (SIZE); \
121
     ulParamLen = sizeof(sdc); \
122
     OS2InitSDC( &sdc, (TYPE) )
123
@@ -168,30 +156,28 @@
124
 /*****************************************************************************
125
  * Various DVD I/O tables
126
  *****************************************************************************/
127
-#if defined( SYS_BEOS ) || defined( WIN32 ) || defined ( SOLARIS_USCSI ) || defined ( HPUX_SCTL_IO ) || defined ( __QNXNTO__ ) || defined ( SYS_OS2 )
128
-    /* The generic packet command opcodes for CD/DVD Logical Units,
129
-     * From Table 57 of the SFF8090 Ver. 3 (Mt. Fuji) draft standard. */
130
-#   define GPCMD_READ_DVD_STRUCTURE 0xad
131
-#   define GPCMD_REPORT_KEY         0xa4
132
-#   define GPCMD_SEND_KEY           0xa3
133
-    /* DVD struct types */
134
-#   define DVD_STRUCT_PHYSICAL      0x00
135
-#   define DVD_STRUCT_COPYRIGHT     0x01
136
-#   define DVD_STRUCT_DISCKEY       0x02
137
-#   define DVD_STRUCT_BCA           0x03
138
-#   define DVD_STRUCT_MANUFACT      0x04
139
-    /* Key formats */
140
-#   define DVD_REPORT_AGID          0x00
141
-#   define DVD_REPORT_CHALLENGE     0x01
142
-#   define DVD_SEND_CHALLENGE       0x01
143
-#   define DVD_REPORT_KEY1          0x02
144
-#   define DVD_SEND_KEY2            0x03
145
-#   define DVD_REPORT_TITLE_KEY     0x04
146
-#   define DVD_REPORT_ASF           0x05
147
-#   define DVD_SEND_RPC             0x06
148
-#   define DVD_REPORT_RPC           0x08
149
-#   define DVD_INVALIDATE_AGID      0x3f
150
-#endif
151
+/* The generic packet command opcodes for CD/DVD Logical Units,
152
+ * From Table 57 of the SFF8090 Ver. 3 (Mt. Fuji) draft standard. */
153
+#define GPCMD_READ_DVD_STRUCTURE 0xad
154
+#define GPCMD_REPORT_KEY         0xa4
155
+#define GPCMD_SEND_KEY           0xa3
156
+ /* DVD struct types */
157
+#define DVD_STRUCT_PHYSICAL      0x00
158
+#define DVD_STRUCT_COPYRIGHT     0x01
159
+#define DVD_STRUCT_DISCKEY       0x02
160
+#define DVD_STRUCT_BCA           0x03
161
+#define DVD_STRUCT_MANUFACT      0x04
162
+ /* Key formats */
163
+#define DVD_REPORT_AGID          0x00
164
+#define DVD_REPORT_CHALLENGE     0x01
165
+#define DVD_SEND_CHALLENGE       0x01
166
+#define DVD_REPORT_KEY1          0x02
167
+#define DVD_SEND_KEY2            0x03
168
+#define DVD_REPORT_TITLE_KEY     0x04
169
+#define DVD_REPORT_ASF           0x05
170
+#define DVD_SEND_RPC             0x06
171
+#define DVD_REPORT_RPC           0x08
172
+#define DVDCSS_INVALIDATE_AGID   0x3f
173
 
174
 /*****************************************************************************
175
  * win32 ioctl specific
176
@@ -408,7 +394,7 @@
177
 /*****************************************************************************
178
  * OS2 ioctl specific
179
  *****************************************************************************/
180
-#if defined( SYS_OS2 )
181
+#if defined( __OS2__ )
182
 
183
 #define CDROMDISK_EXECMD      0x7A
184
 
185
libdvdcss-1.2.12.tar.bz2/src/libdvdcss.c -> libdvdcss-1.2.13.tar.bz2/src/libdvdcss.c Changed
174
 
1
@@ -5,7 +5,6 @@
2
  *          Håkan Hjort <d95hjort@dtek.chalmers.se>
3
  *
4
  * Copyright (C) 1998-2008 VideoLAN
5
- * $Id: libdvdcss.c 237 2010-09-25 14:21:47Z reimar $
6
  *
7
  * This library is free software; you can redistribute it and/or modify
8
  * it under the terms of the GNU General Public License as published by
9
@@ -31,7 +30,7 @@
10
  * device without having to bother about the decryption. The important features
11
  * are:
12
  * \li portability: currently supported platforms are GNU/Linux, FreeBSD,
13
- *     NetBSD, OpenBSD, BSD/OS, BeOS, Windows 95/98, Windows NT/2000, MacOS X,
14
+ *     NetBSD, OpenBSD, BeOS, Windows 98/ME, Windows NT/2000/XP, Mac OS X,
15
  *     Solaris, HP-UX and OS/2.
16
  * \li adaptability: unlike most similar projects, libdvdcss doesn't require
17
  *     the region of your drive to be set and will try its best to read from
18
@@ -50,7 +49,7 @@
19
  *
20
  * \section env Environment variables
21
  *
22
- * Some environment variables can be used to change the behaviour of
23
+ * Some environment variables can be used to change the behavior of
24
  * \e libdvdcss without having to modify the program which uses it. These
25
  * variables are:
26
  *
27
@@ -120,10 +119,6 @@
28
 #   include <limits.h>
29
 #endif
30
 
31
-#ifdef HAVE_DIRECT_H
32
-#   include <direct.h>
33
-#endif
34
-
35
 #include "dvdcss/dvdcss.h"
36
 
37
 #include "common.h"
38
@@ -132,6 +127,11 @@
39
 #include "ioctl.h"
40
 #include "device.h"
41
 
42
+#ifdef HAVE_BROKEN_MKDIR
43
+#include <direct.h>
44
+#define mkdir(a, b) _mkdir(a)
45
+#endif
46
+
47
 /**
48
  * \brief Symbol for version checks.
49
  *
50
@@ -166,7 +166,7 @@
51
     char *psz_method = getenv( "DVDCSS_METHOD" );
52
     char *psz_verbose = getenv( "DVDCSS_VERBOSE" );
53
     char *psz_cache = getenv( "DVDCSS_CACHE" );
54
-#if !defined(WIN32) && !defined(SYS_OS2)
55
+#ifdef DVDCSS_RAW_OPEN
56
     char *psz_raw_device = getenv( "DVDCSS_RAW_DEVICE" );
57
 #endif
58
 
59
@@ -184,7 +184,7 @@
60
     /*
61
      *  Initialize structure with default values
62
      */
63
-#if !defined(WIN32) && !defined(SYS_OS2)
64
+#ifdef DVDCSS_RAW_OPEN
65
     dvdcss->i_raw_fd = -1;
66
 #endif
67
     dvdcss->p_titles = NULL;
68
@@ -238,7 +238,7 @@
69
      */
70
     if( psz_cache == NULL || psz_cache[0] == '\0' )
71
     {
72
-#ifdef HAVE_DIRECT_H
73
+#if defined(_WIN32_IE) && _WIN32_IE >= 0x401
74
         typedef HRESULT( WINAPI *SHGETFOLDERPATH )
75
                        ( HWND, int, HANDLE, DWORD, LPTSTR );
76
 
77
@@ -252,7 +252,7 @@
78
 
79
         *psz_home = '\0';
80
 
81
-        /* Load the shfolder dll to retrieve SHGetFolderPath */
82
+        /* Load the shfolder DLL to retrieve SHGetFolderPath */
83
         p_dll = LoadLibrary( "shfolder.dll" );
84
         if( p_dll )
85
         {
86
@@ -308,7 +308,7 @@
87
         {
88
             int home_pos = 0;
89
 
90
-#ifdef SYS_OS2
91
+#ifdef __OS2__
92
             if( *psz_home == '/' || *psz_home == '\\')
93
             {
94
                 char *psz_unixroot = getenv("UNIXROOT");
95
@@ -404,7 +404,8 @@
96
     /* If the cache is enabled, write the cache directory tag */
97
     if( psz_cache )
98
     {
99
-        char *psz_tag = "Signature: 8a477f597d28d172789f06886806bc55\r\n"
100
+        static const char psz_tag[] =
101
+            "Signature: 8a477f597d28d172789f06886806bc55\r\n"
102
             "# This file is a cache directory tag created by libdvdcss.\r\n"
103
             "# For information about cache directory tags, see:\r\n"
104
             "#   http://www.brynosaurus.com/cachedir/\r\n";
105
@@ -521,11 +522,7 @@
106
 
107
         /* We have a disc name or ID, we can create the cache dir */
108
         i = sprintf( dvdcss->psz_cachefile, "%s", psz_cache );
109
-#if !defined( WIN32 ) || defined( SYS_CYGWIN )
110
         i_ret = mkdir( dvdcss->psz_cachefile, 0755 );
111
-#else
112
-        i_ret = mkdir( dvdcss->psz_cachefile );
113
-#endif
114
         if( i_ret < 0 && errno != EEXIST )
115
         {
116
             print_error( dvdcss, "failed creating cache directory" );
117
@@ -535,11 +532,7 @@
118
 
119
         i += sprintf( dvdcss->psz_cachefile + i, "/%s-%s%s", psz_title,
120
                       psz_serial, psz_key );
121
-#if !defined( WIN32 ) || defined( SYS_CYGWIN )
122
         i_ret = mkdir( dvdcss->psz_cachefile, 0755 );
123
-#else
124
-        i_ret = mkdir( dvdcss->psz_cachefile );
125
-#endif
126
         if( i_ret < 0 && errno != EEXIST )
127
         {
128
             print_error( dvdcss, "failed creating cache subdirectory" );
129
@@ -556,7 +549,7 @@
130
     }
131
     nocache:
132
 
133
-#if !defined(WIN32) && !defined(SYS_OS2)
134
+#ifdef DVDCSS_RAW_OPEN
135
     if( psz_raw_device != NULL )
136
     {
137
         _dvdcss_raw_open( dvdcss, psz_raw_device );
138
@@ -590,7 +583,7 @@
139
  *
140
  * \param dvdcss a \e libdvdcss instance.
141
  * \param i_blocks an absolute block offset to seek to.
142
- * \param i_flags #DVDCSS_NOFLAGS, optionally ored with one of #DVDCSS_SEEK_KEY
143
+ * \param i_flags #DVDCSS_NOFLAGS, optionally ORed with one of #DVDCSS_SEEK_KEY
144
  *        or #DVDCSS_SEEK_MPEG.
145
  * \return the new position in blocks, or a negative value in case an error
146
  *         happened.
147
@@ -600,7 +593,7 @@
148
  * You typically set \p i_flags to #DVDCSS_NOFLAGS when seeking in a .IFO.
149
  *
150
  * If #DVDCSS_SEEK_MPEG is specified in \p i_flags and if \e libdvdcss finds it
151
- * reasonable to do so (ie, if the dvdcss method is not "title"), the current
152
+ * reasonable to do so (i.e., if the dvdcss method is not "title"), the current
153
  * title key will be checked and a new one will be calculated if necessary.
154
  * This flag is typically used when reading data from a VOB.
155
  *
156
@@ -632,7 +625,7 @@
157
  * \param dvdcss a \e libdvdcss instance.
158
  * \param p_buffer a buffer that will contain the data read from the disc.
159
  * \param i_blocks the amount of blocks to read.
160
- * \param i_flags #DVDCSS_NOFLAGS, optionally ored with #DVDCSS_READ_DECRYPT.
161
+ * \param i_flags #DVDCSS_NOFLAGS, optionally ORed with #DVDCSS_READ_DECRYPT.
162
  * \return the amount of blocks read, or a negative value in case an
163
  *         error happened.
164
  *
165
@@ -702,7 +695,7 @@
166
  * \param p_iovec a pointer to an array of iovec structures that will contain
167
  *        the data read from the disc.
168
  * \param i_blocks the amount of blocks to read.
169
- * \param i_flags #DVDCSS_NOFLAGS, optionally ored with #DVDCSS_READ_DECRYPT.
170
+ * \param i_flags #DVDCSS_NOFLAGS, optionally ORed with #DVDCSS_READ_DECRYPT.
171
  * \return the amount of blocks read, or a negative value in case an
172
  *         error happened.
173
  *
174
libdvdcss-1.2.12.tar.bz2/src/libdvdcss.h -> libdvdcss-1.2.13.tar.bz2/src/libdvdcss.h Changed
28
 
1
@@ -2,7 +2,6 @@
2
  * libdvdcss.h: private DVD reading library data
3
  *****************************************************************************
4
  * Copyright (C) 1998-2001 VideoLAN
5
- * $Id: libdvdcss.h 240 2011-03-23 15:00:06Z jb $
6
  *
7
  * Authors: Stéphane Borel <stef@via.ecp.fr>
8
  *          Sam Hocevar <sam@zoy.org>
9
@@ -27,8 +26,7 @@
10
 
11
 #include "dvdcss/dvdcss.h"
12
 #include "css.h"
13
-
14
-struct iovec;
15
+#include "device.h"
16
 
17
 /*****************************************************************************
18
  * The libdvdcss structure
19
@@ -68,7 +66,7 @@
20
     int    i_readv_buf_size;
21
 #endif
22
 
23
-#if !defined(WIN32) && !defined(SYS_OS2)
24
+#ifdef DVDCSS_RAW_OPEN
25
     int    i_raw_fd;
26
 #endif
27
 };
28
libdvdcss-1.2.12.tar.bz2/src/libdvdcss.pc.in -> libdvdcss-1.2.13.tar.bz2/src/libdvdcss.pc.in Changed
7
 
1
@@ -7,4 +7,4 @@
2
 Description: DVD access and decryption library.
3
 Version: @VERSION@
4
 Libs: -L${libdir} -ldvdcss
5
-Cflags: -I{includedir} -I${includedir}/@PACKAGE@
6
+Cflags: -I${includedir} -I${includedir}/dvdcss
7
libdvdcss-1.2.13.tar.bz2/test/dvd_region.c Added
201
 
1
@@ -0,0 +1,310 @@
2
+/*
3
+ * Set / inspect region settings on a DVD drive. This is most interesting
4
+ * on a RPC Phase-2 drive, of course.
5
+ *
6
+ * Usage: dvd_region [ -d device ] [ [ -s ] [ -r region ] ]
7
+ *
8
+ * Based on code from Jens Axboe <axboe@suse.de>.
9
+ *
10
+ * FIXME:  This code does _not_ work yet.
11
+ */
12
+#include <stdio.h>
13
+#include <stdlib.h>
14
+#include <string.h>
15
+#include <sys/types.h>
16
+#include <sys/stat.h>
17
+#include <fcntl.h>
18
+#include <getopt.h>
19
+
20
+#include <dvdcss/dvdcss.h>
21
+
22
+#include "config.h"
23
+#include "common.h"
24
+#include "ioctl.h"
25
+
26
+#define DEFAULT_DEVICE "/dev/dvd"
27
+
28
+/*****************************************************************************
29
+ * ioctl_SendRPC: set RPC status for the drive
30
+ *****************************************************************************/
31
+static int ioctl_SendRPC( int i_fd, int i_pdrc )
32
+{
33
+    int i_ret;
34
+
35
+#if defined( HAVE_LINUX_DVD_STRUCT ) && defined( DVD_HOST_SEND_RPC_STATE )
36
+    dvd_authinfo auth_info = { 0 };
37
+
38
+    auth_info.type = DVD_HOST_SEND_RPC_STATE;
39
+    auth_info.hrpcs.pdrc = i_pdrc;
40
+
41
+    i_ret = ioctl( i_fd, DVD_AUTH, &auth_info );
42
+
43
+#elif defined( HAVE_LINUX_DVD_STRUCT )
44
+    /* FIXME: OpenBSD doesn't know this */
45
+    i_ret = -1;
46
+
47
+#elif defined( HAVE_BSD_DVD_STRUCT )
48
+    struct dvd_authinfo auth_info = { 0 };
49
+
50
+    auth_info.format = DVD_SEND_RPC;
51
+    auth_info.region = i_pdrc;
52
+
53
+    i_ret = ioctl( i_fd, DVDIOCSENDKEY, &auth_info );
54
+
55
+#elif defined( __BEOS__ )
56
+    INIT_RDC( GPCMD_SEND_KEY, 8 );
57
+
58
+    rdc.command[ 10 ] = DVD_SEND_RPC;
59
+
60
+    p_buffer[ 1 ] = 6;
61
+    p_buffer[ 4 ] = i_pdrc;
62
+
63
+    i_ret = ioctl( i_fd, B_RAW_DEVICE_COMMAND, &rdc, sizeof(rdc) );
64
+
65
+#elif defined( HPUX_SCTL_IO )
66
+    INIT_SCTL_IO( GPCMD_SEND_KEY, 8 );
67
+
68
+    sctl_io.cdb[ 10 ] = DVD_SEND_RPC;
69
+
70
+    p_buffer[ 1 ] = 6;
71
+    p_buffer[ 4 ] = i_pdrc;
72
+
73
+    i_ret = ioctl( i_fd, SIOC_IO, &sctl_io );
74
+
75
+#elif defined( SOLARIS_USCSI )
76
+    INIT_USCSI( GPCMD_SEND_KEY, 8 );
77
+
78
+    rs_cdb.cdb_opaque[ 10 ] = DVD_SEND_RPC;
79
+
80
+    p_buffer[ 1 ] = 6;
81
+    p_buffer[ 4 ] = i_pdrc;
82
+
83
+    i_ret = SolarisSendUSCSI( i_fd, &sc );
84
+
85
+    if( i_ret < 0 || sc.uscsi_status )
86
+    {
87
+        i_ret = -1;
88
+    }
89
+
90
+#elif defined( DARWIN_DVD_IOCTL )
91
+    INIT_DVDIOCTL( dk_dvd_send_key_t, DVDRegionPlaybackControlInfo,
92
+                   kDVDKeyFormatSetRegion );
93
+
94
+    dvd.keyClass = kDVDKeyClassCSS_CPPM_CPRM;
95
+    dvdbs.driveRegion = i_pdrc;
96
+
97
+    i_ret = ioctl( i_fd, DKIOCDVDSENDKEY, &dvd );
98
+
99
+#elif defined( WIN32 )
100
+    if( WIN2K ) /* NT/2k/XP */
101
+    {
102
+        INIT_SPTD( GPCMD_SEND_KEY, 8 );
103
+
104
+        sptd.Cdb[ 10 ] = DVD_SEND_RPC;
105
+
106
+        p_buffer[ 1 ] = 6;
107
+        p_buffer[ 4 ] = i_pdrc;
108
+
109
+        i_ret = SEND_SPTD( i_fd, &sptd, &tmp );
110
+    }
111
+    else
112
+    {
113
+        INIT_SSC( GPCMD_SEND_KEY, 8 );
114
+
115
+        ssc.CDBByte[ 10 ] = DVD_SEND_RPC;
116
+
117
+        p_buffer[ 1 ] = 6;
118
+        p_buffer[ 4 ] = i_pdrc;
119
+
120
+        i_ret = WinSendSSC( i_fd, &ssc );
121
+    }
122
+
123
+#elif defined( __QNXNTO__ )
124
+
125
+    INIT_CPT( GPCMD_SEND_KEY, 8 );
126
+
127
+    p_cpt->cam_cdb[ 10 ] = DVD_SEND_RPC;
128
+
129
+    p_buffer[ 1 ] = 6;
130
+    p_buffer[ 4 ] = i_pdrc;
131
+
132
+    i_ret = devctl(i_fd, DCMD_CAM_PASS_THRU, p_cpt, structSize, NULL);
133
+
134
+#elif defined( __OS2__ )
135
+    INIT_SSC( GPCMD_SEND_KEY, 8 );
136
+
137
+    sdc.command[ 10 ] = DVD_SEND_RPC;
138
+
139
+    p_buffer[ 1 ] = 6;
140
+    p_buffer[ 4 ] = i_pdrc;
141
+
142
+    i_ret = DosDevIOCtl( i_fd, IOCTL_CDROMDISK, CDROMDISK_EXECMD,
143
+                         &sdc, sizeof(sdc), &ulParamLen,
144
+                         p_buffer, sizeof(p_buffer), &ulDataLen );
145
+
146
+#else
147
+#   error "DVD ioctls are unavailable on this system"
148
+
149
+#endif
150
+    return i_ret;
151
+}
152
+
153
+static int set_region(int fd, int region)
154
+{
155
+  int ret, region_mask;
156
+
157
+  if(region > 8 || region <= 0) {
158
+    printf("Invalid region( %d)\n", region);
159
+    return 1;
160
+  }
161
+  printf("Setting drive region can only be done a finite " \
162
+         "number of times, press Ctrl-C now to cancel!\n");
163
+  getchar();
164
+
165
+  region_mask = 0xff & ~(1 << (region - 1));
166
+  printf("Setting region to %d( %x)\n", region, region_mask);
167
+  if( (ret = ioctl_SendRPC(fd, region_mask)) < 0) {
168
+    perror("dvd_region");
169
+    return ret;
170
+  }
171
+
172
+  return 0;
173
+}
174
+
175
+static int print_region(int fd)
176
+{
177
+  int type, region_mask, rpc_scheme;
178
+  int region = 1;
179
+  int ret;
180
+   
181
+  printf("Drive region info:\n");
182
+
183
+  if( (ret = ioctl_ReportRPC(fd, &type, &region_mask, &rpc_scheme)) < 0) {
184
+    perror("dvd_region");
185
+    return ret;
186
+  }
187
+
188
+  printf("Type: ");
189
+  switch( type ) {
190
+  case 0:
191
+    printf("No drive region setting\n");
192
+    break;
193
+  case 1:
194
+    printf("Drive region is set\n");
195
+    break;
196
+  case 2:
197
+    printf("Drive region is set, with additional " \
198
+      "restrictions required to make a change\n");
199
+    break;
200
+  case 3:
201