r74087 - in /trunk/libapache2-authcookie-perl/debian: changelog rules
keith-guest at users.alioth.debian.org
keith-guest at users.alioth.debian.org
Sat May 7 01:46:46 UTC 2011
Author: keith-guest
Date: Sat May 7 01:46:10 2011
New Revision: 74087
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=74087
Log:
Add Perl shebang to examples
Modified:
trunk/libapache2-authcookie-perl/debian/changelog
trunk/libapache2-authcookie-perl/debian/rules
Modified: trunk/libapache2-authcookie-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libapache2-authcookie-perl/debian/changelog?rev=74087&op=diff
==============================================================================
--- trunk/libapache2-authcookie-perl/debian/changelog (original)
+++ trunk/libapache2-authcookie-perl/debian/changelog Sat May 7 01:46:10 2011
@@ -18,10 +18,6 @@
*** This test suite requires Apache::Test available from CPAN
- lintian: manpage-has-bad-whatis-entry -> patch
- - lintian: executable-not-elf-or-script -> either add hashbang (cf.
- http://pkg-perl.alioth.debian.org/debhelper.html#fixing_interpreter_shebang_lines
- with adding instead if substituting) or rm x bit
- (http://pkg-perl.alioth.debian.org/debhelper.html#fixing_permissions)
* Initial Release. Closes: #624142
Modified: trunk/libapache2-authcookie-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libapache2-authcookie-perl/debian/rules?rev=74087&op=diff
==============================================================================
--- trunk/libapache2-authcookie-perl/debian/rules (original)
+++ trunk/libapache2-authcookie-perl/debian/rules Sat May 7 01:46:10 2011
@@ -1,4 +1,16 @@
#!/usr/bin/make -f
+
+PACKAGE = $(shell dh_listpackages)
+TMP = $(CURDIR)/debian/$(PACKAGE)
%:
dh $@
+
+override_dh_installexamples:
+ dh_installexamples
+ sed -i -e \
+ '1i #!/usr/bin/perl\n' $(TMP)/usr/share/doc/$(PACKAGE)/examples/htdocs/docs/logout.pl
+ sed -i -e \
+ '1i #!/usr/bin/perl\n' $(TMP)/usr/share/doc/$(PACKAGE)/examples/htdocs/docs/protected/echo_user.pl
+ sed -i -e \
+ '1i #!/usr/bin/perl\n' $(TMP)/usr/share/doc/$(PACKAGE)/examples/htdocs/docs/echo_cookie.pl
More information about the Pkg-perl-cvs-commits
mailing list