r68279 - in /trunk/libio-socket-socks-perl/debian: changelog control rules

periapt-guest at users.alioth.debian.org periapt-guest at users.alioth.debian.org
Thu Feb 10 18:04:02 UTC 2011


Author: periapt-guest
Date: Thu Feb 10 18:02:04 2011
New Revision: 68279

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=68279
Log:
* Corrected permissions and shebang and decompressed example scripts
* Rewrote package description

Modified:
    trunk/libio-socket-socks-perl/debian/changelog
    trunk/libio-socket-socks-perl/debian/control
    trunk/libio-socket-socks-perl/debian/rules

Modified: trunk/libio-socket-socks-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libio-socket-socks-perl/debian/changelog?rev=68279&op=diff
==============================================================================
--- trunk/libio-socket-socks-perl/debian/changelog (original)
+++ trunk/libio-socket-socks-perl/debian/changelog Thu Feb 10 18:02:04 2011
@@ -1,14 +1,8 @@
 libio-socket-socks-perl (0.4-1) UNRELEASED; urgency=low
 
-  TODO: Fix shebang in examples
-  Fix long description
-
-  [ Pierre Neyron ]
-  * Fixed package description: socks V4 is implemented as well now.
-
-  [ Nicholas Bamber ]
   * New upstream release
-  * Corrected permissions and decompressed example scripts
+  * Corrected permissions and shebang and decompressed example scripts
+  * Rewrote package description
 
  -- Nicholas Bamber <nicholas at periapt.co.uk>  Thu, 10 Feb 2011 14:47:48 +0000
 

Modified: trunk/libio-socket-socks-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libio-socket-socks-perl/debian/control?rev=68279&op=diff
==============================================================================
--- trunk/libio-socket-socks-perl/debian/control (original)
+++ trunk/libio-socket-socks-perl/debian/control Thu Feb 10 18:02:04 2011
@@ -15,5 +15,8 @@
 Architecture: all
 Depends: ${perl:Depends}, ${misc:Depends}
 Description: extension to IO::Socket providing SOCKS proxy
- IO::Socket::Socks allows to create IO::Socket objects to establish a TCP
- connection through a SOCKS proxy, as well as creating a SOCKS proxy server.
+ IO::Socket::Socks connects to a SOCKS proxy, tells it to open a
+ connection to a remote host/port when the object is created.  The
+ object you receive can be used directly as a socket for sending and
+ receiving data from the remote host. In addition to create socks client
+ this module could be used to create socks server.

Modified: trunk/libio-socket-socks-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libio-socket-socks-perl/debian/rules?rev=68279&op=diff
==============================================================================
--- trunk/libio-socket-socks-perl/debian/rules (original)
+++ trunk/libio-socket-socks-perl/debian/rules Thu Feb 10 18:02:04 2011
@@ -2,13 +2,20 @@
 
 PKG:=$(shell dh_listpackages)
 TMP:=$(CURDIR)/debian/$(PKG)
+EXAMPLES:=$(TMP)/usr/share/doc/$(PKG)/examples
+
 %:
 	dh $@
 
 override_dh_installexamples:
 	dh_installexamples
-	chmod a+x $(TMP)/usr/share/doc/$(PKG)/examples/*.pl
-	sed -i -e's|^#.*/#!|usr/bin/perl|' $(TMP)/usr/share/doc/$(PKG)/examples/*.pl
+	sed -i -e's|^#!/usr/bin/env perl|#!/usr/bin/perl|' $(EXAMPLES)/*.pl
+	chmod a+x $(EXAMPLES)/*.pl
+	mv $(EXAMPLES)/chain.pl $(EXAMPLES)/chain.pl.bak
+	echo '#!/usr/bin/perl' > $(EXAMPLES)/chain.pl
+	cat $(EXAMPLES)/chain.pl.bak >> $(EXAMPLES)/chain.pl
+	rm $(EXAMPLES)/chain.pl.bak
+	chmod a+x $(EXAMPLES)/*.pl
 
 override_dh_compress:
 	dh_compress -Xexamples




More information about the Pkg-perl-cvs-commits mailing list