~ubuntu-branches/ubuntu/saucy/dahdi-tools/saucy

« back to all changes in this revision

Viewing changes to debian/patches/perl_diet

  • Committer: Bazaar Package Importer
  • Author(s): Mark Purcell, Tzafrir Cohen, Mark Purcell
  • Date: 2009-06-01 08:23:38 UTC
  • Revision ID: james.westby@ubuntu.com-20090601082338-vsy4cmuguxqhhrsi
Tags: 1:2.2.0~rc3-1
[ Tzafrir Cohen ]
* New upstream release candidate.

[ Mark Purcell ]
* Cleanup debian/watch to point to upstream dahdi-tools ;-)
* Update Standards version -> 3.8.1
* Fix binary-control-field-duplicates-source

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Remove the dependency on the module File::Basename. 
 
2
 
 
3
This provides the ability to run the scripts using a local modules 
 
4
directory. While that ability is very handy with the source distribution 
 
5
and in testing environments, it is useless on a Debian package.
 
6
 
 
7
It is removed in a (currently still failed) attempt to remove the 
 
8
dependency on perl and depend on perl-base alone.
 
9
 
 
10
--- a/xpp/dahdi.cgi
 
11
+++ b/xpp/dahdi.cgi
 
12
@@ -6,8 +6,6 @@
 
13
 # modify it under the same terms as Perl itself.
 
14
 
 
15
 use strict;
 
16
-use File::Basename;
 
17
-BEGIN { my $dir = dirname($0); unshift(@INC, "$dir", "$dir/perl_modules"); }
 
18
 
 
19
 use CGI::Pretty qw/:standard start_ul start_li start_div start_pre/;
 
20
 use Dahdi;
 
21
--- a/xpp/dahdi_drivers
 
22
+++ b/xpp/dahdi_drivers
 
23
@@ -1,7 +1,5 @@
 
24
 #! /usr/bin/perl -w
 
25
 use strict;
 
26
-use File::Basename;
 
27
-BEGIN { my $dir = dirname($0); unshift(@INC, "$dir", "$dir/perl_modules"); }
 
28
 
 
29
 use Dahdi::Hardware;
 
30
 
 
31
--- a/xpp/dahdi_genconf
 
32
+++ b/xpp/dahdi_genconf
 
33
@@ -8,8 +8,6 @@
 
34
 # $Id: dahdi_genconf 5440 2008-12-05 00:24:09Z tzafrir $
 
35
 #
 
36
 use strict;
 
37
-use File::Basename;
 
38
-BEGIN { my $dir = dirname($0); unshift(@INC, "$dir", "$dir/perl_modules"); }
 
39
 
 
40
 use Dahdi;
 
41
 use Dahdi::Hardware;
 
42
--- a/xpp/dahdi_hardware
 
43
+++ b/xpp/dahdi_hardware
 
44
@@ -8,9 +8,7 @@
 
45
 # $Id: dahdi_hardware 4484 2008-06-29 16:57:48Z tzafrir $
 
46
 #
 
47
 use strict;
 
48
-use File::Basename;
 
49
 use Getopt::Std;
 
50
-BEGIN { my $dir = dirname($0); unshift(@INC, "$dir", "$dir/perl_modules"); }
 
51
 
 
52
 use Dahdi;
 
53
 use Dahdi::Span;
 
54
--- a/xpp/dahdi_registration
 
55
+++ b/xpp/dahdi_registration
 
56
@@ -8,8 +8,6 @@
 
57
 # $Id: dahdi_registration 4533 2008-07-03 08:22:02Z tzafrir $
 
58
 #
 
59
 use strict;
 
60
-use File::Basename;
 
61
-BEGIN { my $dir = dirname($0); unshift(@INC, "$dir", "$dir/perl_modules"); }
 
62
 
 
63
 use Dahdi;
 
64
 use Dahdi::Span;
 
65
--- a/xpp/lsdahdi
 
66
+++ b/xpp/lsdahdi
 
67
@@ -8,8 +8,6 @@
 
68
 # $Id: lsdahdi 4764 2008-08-12 10:21:53Z tzafrir $
 
69
 #
 
70
 use strict;
 
71
-use File::Basename;
 
72
-BEGIN { my $dir = dirname($0); unshift(@INC, "$dir", "$dir/perl_modules"); }
 
73
 
 
74
 use Dahdi;
 
75
 use Dahdi::Span;
 
76
--- a/xpp/xpp_blink
 
77
+++ b/xpp/xpp_blink
 
78
@@ -8,8 +8,6 @@
 
79
 # $Id: xpp_blink 4416 2008-06-19 17:34:36Z tzafrir $
 
80
 #
 
81
 use strict;
 
82
-use File::Basename;
 
83
-BEGIN { my $dir = dirname($0); unshift(@INC, "$dir", "$dir/perl_modules"); }
 
84
 
 
85
 use Dahdi;
 
86
 use Dahdi::Span;
 
87
--- a/xpp/xpp_sync
 
88
+++ b/xpp/xpp_sync
 
89
@@ -8,8 +8,6 @@
 
90
 # $Id: xpp_sync 4484 2008-06-29 16:57:48Z tzafrir $
 
91
 #
 
92
 use strict;
 
93
-use File::Basename;
 
94
-BEGIN { my $dir = dirname($0); unshift(@INC, "$dir", "$dir/perl_modules"); }
 
95
 
 
96
 use Dahdi::Xpp;
 
97
 use Dahdi::Xpp::Xbus;