[med-svn] r14988 - trunk/packages/socket++/trunk/debian

Mathieu Malaterre malat at alioth.debian.org
Sun Oct 27 06:07:27 UTC 2013


Author: malat
Date: 2013-10-27 06:07:26 +0000 (Sun, 27 Oct 2013)
New Revision: 14988

Modified:
   trunk/packages/socket++/trunk/debian/control
   trunk/packages/socket++/trunk/debian/copyright
   trunk/packages/socket++/trunk/debian/rules
Log:
Cleanup debian*

Modified: trunk/packages/socket++/trunk/debian/control
===================================================================
--- trunk/packages/socket++/trunk/debian/control	2013-10-26 16:11:45 UTC (rev 14987)
+++ trunk/packages/socket++/trunk/debian/control	2013-10-27 06:07:26 UTC (rev 14988)
@@ -5,17 +5,33 @@
 Priority: optional
 Standards-Version: 3.9.4
 Homepage: http://www.linuxhacker.at/socketxx
-Build-Depends: debhelper (>= 9)
+Build-Depends: debhelper (>= 9), dh-autoreconf
 Vcs-Svn: svn://svn.debian.org/debian-med/trunk/packages/socket++/trunk/
 Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/socket++/trunk/
 
 Package: libsocket++1
 Architecture: any
 Depends: ${misc:Depends}, ${shlibs:Depends}
-Description: lightweight convenience library to handle low level BSD sockets in C++
+Description: lightweight convenience library to handle low level BSD sockets in C++ - libs
  Socket++ library defines a family of C++ classes that can be used more
  effectively than directly calling the underlying low-level system functions.
  One distinct advantage of the socket++ is that it has the same interface as
  that of the iostream so that the users can perform type-safe input output.
  See your local IOStream library documentation for more information on
  iostreams.
+ .
+ This package contains the libraries needed to run socket++ applications.
+
+Package: libsocket++-dev
+Section: libdevel
+Architecture: any
+Depends: ${misc:Depends}, libsocket++1 (= ${binary:Version})
+Description: lightweight convenience library to handle low level BSD sockets in C++ -devel
+ Socket++ library defines a family of C++ classes that can be used more
+ effectively than directly calling the underlying low-level system functions.
+ One distinct advantage of the socket++ is that it has the same interface as
+ that of the iostream so that the users can perform type-safe input output.
+ See your local IOStream library documentation for more information on
+ iostreams.
+ .
+ Headers and shared libraries for socket++.

Modified: trunk/packages/socket++/trunk/debian/copyright
===================================================================
--- trunk/packages/socket++/trunk/debian/copyright	2013-10-26 16:11:45 UTC (rev 14987)
+++ trunk/packages/socket++/trunk/debian/copyright	2013-10-27 06:07:26 UTC (rev 14988)
@@ -2,3 +2,27 @@
 Upstream-Name: Socket++
 Upstream-Contact: Herbert Straub <herbert at linuxhacker.at>
 Source: http://www.linuxhacker.at/socketxx/download
+
+Files: *
+Copyright: 1992-1996 Gnanasekaran Swaminathan
+ 2002-2003 Herbert Straub
+License:
+ Permission is granted to use at your own risk and distribute this software
+ in source and  binary forms provided the above copyright notice and  this
+ paragraph are  preserved on all copies. This software is provided "as is"
+ with no express or implied warranty.
+Comment:
+ Modification is explicitely added by upstream in an email:
+ > +++
+ > Hi Herbert,
+ > 
+ > That was not the intention. It is a free code. You can modify,
+ > copy, and distribute and use it in anyway as you see fit.
+ > 
+ > Other people are maintaining it and ported it to different
+ > OSes. Other than that, not much has changed as far as I know.
+ > I haven't looked at it recently.
+ > 
+ > -Sekar
+ ref:
+ http://bugs.debian.org/278940#10

Modified: trunk/packages/socket++/trunk/debian/rules
===================================================================
--- trunk/packages/socket++/trunk/debian/rules	2013-10-26 16:11:45 UTC (rev 14987)
+++ trunk/packages/socket++/trunk/debian/rules	2013-10-27 06:07:26 UTC (rev 14988)
@@ -1,10 +1,25 @@
 #!/usr/bin/make -f
 
 %:
-	dh $@ --parallel
+	dh $@ --with autoreconf
 
-CMAKE_EXTRA_FLAGS += \
-	-DCMAKE_BUILD_TYPE=""
+override_dh_autoreconf:
+	dh_autoreconf ./autogen
 
+SOVERSION = 1
+
+pkg_lib = libsocket++$(SOVERSION)
+pkg_dev = libsocket++-dev
+
+override_dh_install: 
+	# pkg_lib
+	dh_install -p$(pkg_lib) debian/tmp/usr/lib/lib*.so.* usr/lib
+	# pkg_dev
+	#dh_install -p$(pkg_dev) debian/tmp/usr/lib/lib*.a usr/lib
+	dh_install -p$(pkg_dev) debian/tmp/usr/lib/lib*.so usr/lib
+	dh_install -p$(pkg_dev) --autodest debian/tmp/usr/include/socket++/*
+	dh_install -p$(pkg_dev) --autodest usr/share/info/socket++.info
+	dh_install --list-missing
+
 get-orig-source:
 	uscan --verbose --force-download --rename




More information about the debian-med-commit mailing list