--- libyahoo2-0.7.7.orig/debian/compat +++ libyahoo2-0.7.7/debian/compat @@ -0,0 +1 @@ +5 --- libyahoo2-0.7.7.orig/debian/libyahoo2-dev.install +++ libyahoo2-0.7.7/debian/libyahoo2-dev.install @@ -0,0 +1,5 @@ +usr/include/* +usr/lib/lib*.a +usr/lib/lib*.so +usr/lib/*.la +usr/lib/pkgconfig --- libyahoo2-0.7.7.orig/debian/symbols +++ libyahoo2-0.7.7/debian/symbols @@ -0,0 +1,283 @@ +libyahoo2.so.10 libyahoo2-10 #MINVER# + SHA1Final@Base 0.7.7 + SHA1Init@Base 0.7.7 + SHA1Update@Base 0.7.7 + md5_append@Base 0.7.7 + md5_finish@Base 0.7.7 + md5_init@Base 0.7.7 + table_0@Base 0.7.7 + table_100@Base 0.7.7 + table_101@Base 0.7.7 + table_102@Base 0.7.7 + table_103@Base 0.7.7 + table_104@Base 0.7.7 + table_105@Base 0.7.7 + table_106@Base 0.7.7 + table_107@Base 0.7.7 + table_108@Base 0.7.7 + table_109@Base 0.7.7 + table_10@Base 0.7.7 + table_110@Base 0.7.7 + table_111@Base 0.7.7 + table_112@Base 0.7.7 + table_113@Base 0.7.7 + table_114@Base 0.7.7 + table_115@Base 0.7.7 + table_116@Base 0.7.7 + table_117@Base 0.7.7 + table_118@Base 0.7.7 + table_119@Base 0.7.7 + table_11@Base 0.7.7 + table_120@Base 0.7.7 + table_121@Base 0.7.7 + table_122@Base 0.7.7 + table_123@Base 0.7.7 + table_124@Base 0.7.7 + table_125@Base 0.7.7 + table_126@Base 0.7.7 + table_127@Base 0.7.7 + table_128@Base 0.7.7 + table_129@Base 0.7.7 + table_12@Base 0.7.7 + table_130@Base 0.7.7 + table_131@Base 0.7.7 + table_132@Base 0.7.7 + table_133@Base 0.7.7 + table_134@Base 0.7.7 + table_135@Base 0.7.7 + table_136@Base 0.7.7 + table_137@Base 0.7.7 + table_138@Base 0.7.7 + table_139@Base 0.7.7 + table_13@Base 0.7.7 + table_140@Base 0.7.7 + table_141@Base 0.7.7 + table_142@Base 0.7.7 + table_143@Base 0.7.7 + table_144@Base 0.7.7 + table_145@Base 0.7.7 + table_146@Base 0.7.7 + table_147@Base 0.7.7 + table_148@Base 0.7.7 + table_149@Base 0.7.7 + table_14@Base 0.7.7 + table_150@Base 0.7.7 + table_151@Base 0.7.7 + table_152@Base 0.7.7 + table_153@Base 0.7.7 + table_154@Base 0.7.7 + table_155@Base 0.7.7 + table_156@Base 0.7.7 + table_157@Base 0.7.7 + table_158@Base 0.7.7 + table_159@Base 0.7.7 + table_15@Base 0.7.7 + table_160@Base 0.7.7 + table_161@Base 0.7.7 + table_162@Base 0.7.7 + table_163@Base 0.7.7 + table_164@Base 0.7.7 + table_165@Base 0.7.7 + table_166@Base 0.7.7 + table_167@Base 0.7.7 + table_168@Base 0.7.7 + table_169@Base 0.7.7 + table_16@Base 0.7.7 + table_170@Base 0.7.7 + table_171@Base 0.7.7 + table_172@Base 0.7.7 + table_173@Base 0.7.7 + table_174@Base 0.7.7 + table_175@Base 0.7.7 + table_176@Base 0.7.7 + table_177@Base 0.7.7 + table_178@Base 0.7.7 + table_179@Base 0.7.7 + table_17@Base 0.7.7 + table_180@Base 0.7.7 + table_181@Base 0.7.7 + table_182@Base 0.7.7 + table_183@Base 0.7.7 + table_184@Base 0.7.7 + table_185@Base 0.7.7 + table_186@Base 0.7.7 + table_187@Base 0.7.7 + table_18@Base 0.7.7 + table_19@Base 0.7.7 + table_1@Base 0.7.7 + table_20@Base 0.7.7 + table_21@Base 0.7.7 + table_22@Base 0.7.7 + table_23@Base 0.7.7 + table_24@Base 0.7.7 + table_25@Base 0.7.7 + table_26@Base 0.7.7 + table_27@Base 0.7.7 + table_28@Base 0.7.7 + table_29@Base 0.7.7 + table_2@Base 0.7.7 + table_30@Base 0.7.7 + table_31@Base 0.7.7 + table_32@Base 0.7.7 + table_33@Base 0.7.7 + table_34@Base 0.7.7 + table_35@Base 0.7.7 + table_36@Base 0.7.7 + table_37@Base 0.7.7 + table_38@Base 0.7.7 + table_39@Base 0.7.7 + table_3@Base 0.7.7 + table_40@Base 0.7.7 + table_41@Base 0.7.7 + table_42@Base 0.7.7 + table_43@Base 0.7.7 + table_44@Base 0.7.7 + table_45@Base 0.7.7 + table_46@Base 0.7.7 + table_47@Base 0.7.7 + table_48@Base 0.7.7 + table_49@Base 0.7.7 + table_4@Base 0.7.7 + table_50@Base 0.7.7 + table_51@Base 0.7.7 + table_52@Base 0.7.7 + table_53@Base 0.7.7 + table_54@Base 0.7.7 + table_55@Base 0.7.7 + table_56@Base 0.7.7 + table_57@Base 0.7.7 + table_58@Base 0.7.7 + table_59@Base 0.7.7 + table_5@Base 0.7.7 + table_60@Base 0.7.7 + table_61@Base 0.7.7 + table_62@Base 0.7.7 + table_63@Base 0.7.7 + table_64@Base 0.7.7 + table_65@Base 0.7.7 + table_66@Base 0.7.7 + table_67@Base 0.7.7 + table_68@Base 0.7.7 + table_69@Base 0.7.7 + table_6@Base 0.7.7 + table_70@Base 0.7.7 + table_71@Base 0.7.7 + table_72@Base 0.7.7 + table_73@Base 0.7.7 + table_74@Base 0.7.7 + table_75@Base 0.7.7 + table_76@Base 0.7.7 + table_77@Base 0.7.7 + table_78@Base 0.7.7 + table_79@Base 0.7.7 + table_7@Base 0.7.7 + table_80@Base 0.7.7 + table_81@Base 0.7.7 + table_82@Base 0.7.7 + table_83@Base 0.7.7 + table_84@Base 0.7.7 + table_85@Base 0.7.7 + table_86@Base 0.7.7 + table_87@Base 0.7.7 + table_88@Base 0.7.7 + table_89@Base 0.7.7 + table_8@Base 0.7.7 + table_90@Base 0.7.7 + table_91@Base 0.7.7 + table_92@Base 0.7.7 + table_93@Base 0.7.7 + table_94@Base 0.7.7 + table_95@Base 0.7.7 + table_96@Base 0.7.7 + table_97@Base 0.7.7 + table_98@Base 0.7.7 + table_99@Base 0.7.7 + table_9@Base 0.7.7 + y_list_append@Base 0.7.7 + y_list_concat@Base 0.7.7 + y_list_copy@Base 0.7.7 + y_list_empty@Base 0.7.7 + y_list_find@Base 0.7.7 + y_list_find_custom@Base 0.7.7 + y_list_foreach@Base 0.7.7 + y_list_free@Base 0.7.7 + y_list_free_1@Base 0.7.7 + y_list_insert_sorted@Base 0.7.7 + y_list_length@Base 0.7.7 + y_list_nth@Base 0.7.7 + y_list_prepend@Base 0.7.7 + y_list_remove@Base 0.7.7 + y_list_remove_link@Base 0.7.7 + y_list_singleton@Base 0.7.7 + y_str_to_utf8@Base 0.7.7 + y_string_append@Base 0.7.7 + y_utf8_to_str@Base 0.7.7 + yahoo_add_buddy@Base 0.7.7 + yahoo_buddyicon_request@Base 0.7.7 + yahoo_change_buddy_group@Base 0.7.7 + yahoo_chat_keepalive@Base 0.7.7 + yahoo_chat_logoff@Base 0.7.7 + yahoo_chat_logon@Base 0.7.7 + yahoo_chat_message@Base 0.7.7 + yahoo_close@Base 0.7.7 + yahoo_conference_addinvite@Base 0.7.7 + yahoo_conference_decline@Base 0.7.7 + yahoo_conference_invite@Base 0.7.7 + yahoo_conference_logoff@Base 0.7.7 + yahoo_conference_logon@Base 0.7.7 + yahoo_conference_message@Base 0.7.7 + yahoo_connect@Base 0.7.7 + yahoo_crypt@Base 0.7.7 + yahoo_current_status@Base 0.7.7 + yahoo_fntable@Base 0.7.7 + yahoo_get_buddylist@Base 0.7.7 + yahoo_get_chatrooms@Base 0.7.7 + yahoo_get_cookie@Base 0.7.7 + yahoo_get_fd@Base 0.7.7 + yahoo_get_identities@Base 0.7.7 + yahoo_get_ignorelist@Base 0.7.7 + yahoo_get_list@Base 0.7.7 + yahoo_get_log_level@Base 0.7.7 + yahoo_get_profile_url@Base 0.7.7 + yahoo_get_url_fd@Base 0.7.7 + yahoo_get_url_handle@Base 0.7.7 + yahoo_get_yab@Base 0.7.7 + yahoo_group_rename@Base 0.7.7 + yahoo_http_get@Base 0.7.7 + yahoo_http_post@Base 0.7.7 + yahoo_ignore_buddy@Base 0.7.7 + yahoo_init@Base 0.7.7 + yahoo_init_with_attributes@Base 0.7.7 + yahoo_keepalive@Base 0.7.7 + yahoo_log_message@Base 0.7.7 + yahoo_login@Base 0.7.7 + yahoo_logoff@Base 0.7.7 + yahoo_read_ready@Base 0.7.7 + yahoo_refresh@Base 0.7.7 + yahoo_reject_buddy@Base 0.7.7 + yahoo_remove_buddy@Base 0.7.7 + yahoo_search@Base 0.7.7 + yahoo_search_again@Base 0.7.7 + yahoo_send_file@Base 0.7.7 + yahoo_send_im@Base 0.7.7 + yahoo_send_picture@Base 0.7.7 + yahoo_send_picture_checksum@Base 0.7.7 + yahoo_send_picture_info@Base 0.7.7 + yahoo_send_picture_update@Base 0.7.7 + yahoo_send_typing@Base 0.7.7 + yahoo_set_away@Base 0.7.7 + yahoo_set_identity_status@Base 0.7.7 + yahoo_set_log_level@Base 0.7.7 + yahoo_set_yab@Base 0.7.7 + yahoo_stealth_buddy@Base 0.7.7 + yahoo_tcp_readline@Base 0.7.7 + yahoo_urldecode@Base 0.7.7 + yahoo_urlencode@Base 0.7.7 + yahoo_webcam_accept_viewer@Base 0.7.7 + yahoo_webcam_close_feed@Base 0.7.7 + yahoo_webcam_get_feed@Base 0.7.7 + yahoo_webcam_invite@Base 0.7.7 + yahoo_webcam_send_image@Base 0.7.7 + yahoo_write_ready@Base 0.7.7 + yahoo_xfrm@Base 0.7.7 + yahoo_xmldecode@Base 0.7.7 --- libyahoo2-0.7.7.orig/debian/libyahoo2-10.docs +++ libyahoo2-0.7.7/debian/libyahoo2-10.docs @@ -0,0 +1,2 @@ +NEWS +TODO --- libyahoo2-0.7.7.orig/debian/watch +++ libyahoo2-0.7.7/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/libyahoo2/libyahoo2-(.+)\.tar\.gz --- libyahoo2-0.7.7.orig/debian/changelog +++ libyahoo2-0.7.7/debian/changelog @@ -0,0 +1,118 @@ +libyahoo2 (0.7.7-2ubuntu1) karmic; urgency=low + + * Merge from Debian unstable, remaining Ubuntu changes: + - add dpatch support + - add h_addr_glibc28.dpatch patch, fix FTBFS. + + -- Devid Antonio Filoni Fri, 01 May 2009 10:02:19 +0200 + +libyahoo2 (0.7.7-2) unstable; urgency=low + + * debian/control: + + [Lintian] Removed duplicate section field from binary + + Updated my maintainer email address + + Updated debhelper dependency to 7 + * debian/copyright: + + [Lintian] Updated for symbol © instead of (C) + + Updated Debian packaging copyright year and email address + * debian/rules: + + Used dh_prep instead of deprecated dh_clean -k + + -- Kartik Mistry Thu, 26 Feb 2009 03:33:16 +0530 + +libyahoo2 (0.7.7-1ubuntu1) intrepid; urgency=low + + * Merge from Debian unstable (LP: #257699). Remaining Ubuntu changes: + - add dpatch support + - add h_addr_glibc28.dpatch patch, fix FTBFS. + + -- Devid Antonio Filoni Fri, 15 Aug 2008 20:29:43 +0200 + +libyahoo2 (0.7.7-1) unstable; urgency=low + + * New upstream release + * debian/control: + + Renamed binary library package libyahoo2-9 to libyahoo2-10 as soname is + changed by upstream + + Updated Standards-Version to 3.8.0 (no changes needed) + + Updated Depends due to change in package name + * Updated names of .install and .docs files for libyahoo2-10 binary package + * Added debian/symbol file using dpkg-gensymbols, Thanks to Jaldhar for help + * debian/rules: + + dh_makeshlibs -V now generates needed shlibs file + + Fixed config.sub/config.guess presence in .diff.gz by moving its section + after ./configure and removing them in clean section + * Uploaded for Kartik by Jaldhar H. Vyas + + -- Kartik Mistry Tue, 15 Jul 2008 22:11:58 +0530 + +libyahoo2 (0.7.6-1ubuntu1) intrepid; urgency=low + + * Add dpatch support. + * Add h_addr_glibc28.dpatch patch, fix FTBFS (LP: #256124). + + -- Devid Antonio Filoni Fri, 08 Aug 2008 15:35:10 +0200 + +libyahoo2 (0.7.6-1) unstable; urgency=low + + * New upstream release + + Dropped dpatch support, patch 01_sha_replacements.dpatch + merged with upstream + * debian/README.Debian: + + Removed as it is not required now + * Added debian/watch file + * debian/rules: + + [Lintian] Fixed config.guess, config.sub presence in .diff.gz, + Thanks to Kumar Appaiah for help + * debian/copyright: + + Updated Authors list + + Updated Debian package copyright year + * Uploaded for Kartik by Jaldhar H. Vyas + + -- Kartik Mistry Tue, 06 May 2008 14:27:51 +0530 + +libyahoo2 (0.7.5+dfsg-4) unstable; urgency=low + + * debian/control: + + Updated Standards-Version to 3.7.3 + + Updated Homepage entry + * Added debian/README.Debian explaining about dfsg tarball + * debian/copyright: + + Added missing copyright owner for package + + Updated link of GPL license + * debian/rules: + + Moved CFLAGS inside ./configure + * Uploaded for Kartik by Jaldhar H. Vyas + + -- Kartik Mistry Sat, 29 Dec 2007 12:54:27 +0530 + +libyahoo2 (0.7.5+dfsg-3) unstable; urgency=low + + * debian/rules: fixed clean target, formatted configure flags + * debian/copyright: moved copyright out of license section, added package + copyright + * debian/control: fixed long description, added homepage entry + + -- Kartik Mistry Fri, 12 Oct 2007 15:34:21 +0530 + +libyahoo2 (0.7.5+dfsg-2) unstable; urgency=low + + * Updated debhelper compability to 5 + * debian/control: added ${misc:Depends}, minor cleanups, + changed dependency of libyahoo2-dev to libyahoo2-9 (= ${binary:Version}) + * debian/copyright: minor cleanups + * debian/rules: minor cleanups + + -- Kartik Mistry Mon, 23 Apr 2007 11:47:36 +0530 + +libyahoo2 (0.7.5+dfsg-1) unstable; urgency=low + + * Initial release (Closes: #399668) + * Rename package from libyahoo2 to libyahoo2-9 according to soname + standards + * Removed src/sha.c and src/sha.h to make it DFSG compatible + * Added src/sha1.c and src/sha1.h from svn repository of project + * Changes in src/libyahoo2.c, src/Makefile.in, src/Makefile.am due to + replacement of sha.* files + + -- Kartik Mistry Thu, 04 Jan 2007 17:01:10 +0530 --- libyahoo2-0.7.7.orig/debian/control +++ libyahoo2-0.7.7/debian/control @@ -0,0 +1,28 @@ +Source: libyahoo2 +Priority: optional +Section: libs +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Kartik Mistry +Uploaders: Jaldhar H. Vyas +Build-Depends: debhelper (>= 7), dpatch, autotools-dev, libglib2.0-dev +Homepage: http://libyahoo2.sourceforge.net/ +Standards-Version: 3.8.0 + +Package: libyahoo2-10 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Yahoo Messenger protocol C library + libyahoo2 is a C library that handles the new Yahoo! Messenger protocol. It + communicates with clients via a callback mechanism and has the capability to + handle multiple accounts simultaneously. + +Package: libyahoo2-dev +Section: libdevel +Architecture: any +Depends: libyahoo2-10 (= ${binary:Version}), ${misc:Depends} +Description: Yahoo Messenger protocol C library (development) + libyahoo2 is a C library that handles the new Yahoo! Messenger protocol. It + communicates with clients via a callback mechanism and has the capability to + handle multiple accounts simultaneously. + . + This package contains the development files. --- libyahoo2-0.7.7.orig/debian/libyahoo2-10.install +++ libyahoo2-0.7.7/debian/libyahoo2-10.install @@ -0,0 +1 @@ +usr/lib/lib*.so.* --- libyahoo2-0.7.7.orig/debian/copyright +++ libyahoo2-0.7.7/debian/copyright @@ -0,0 +1,134 @@ +This package was debianized by Kartik Mistry on +Wed, 04 Jan 2007 17:01:10 +0530. + +It was downloaded from: . + +Upstream authors: + +Philip S Tellis Maintainer +Steve McAndrewSmith Code cleanups +Michael Kamp Webcam Support +Wayne Parrott Yahoo Chat +Doug Davis Various Patches +Konstantin Klyagin Yahoo Search +Tri S. Windows Support + +(except crypt.c, md5.*, sha1.*) +Copyright © 1998-1999 Mark Spencer + 1998-1999 Adam Fritzler + 1998-2002 Rob Flynn + 2000-2002 Eric Warmenhoven + 2001-2002 Brian Macke + 2001 Anand Biligiri S + 2001 Valdis Kletnieks + 2002 Sean Egan + 2002 Toby Gray + 2004 Craig West + +This library also uses code from other libraries, namely: +Portions from libfaim, + +Copyright © 1998-1999 Adam Fritzler + +Portions of Sylpheed, +Copyright © 2000-2002 Hiroyuki Yamamoto + +License: + + This package is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the + Free Software Foundation; either version 2 of the License, or (at your + option) any later version. + + This package is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General + Public License for more details. + + You should have received a copy of the GNU General Public License along + with this package; if not, write to the Free Software Foundation, Inc., + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + +On Debian systems, the complete text of the GNU General Public License can be +found in /usr/share/common-licenses/GPL-2 and in /usr/share/common-licenses/GPL +files. + +(crypt.c) +Copyright © 1996, 1997, 1999, 2000 Free Software Foundation, Inc. + +License: + + This file is part of the GNU C Library. + Contributed by Ulrich Drepper , 1996. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation; either version 2.1 of the + License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with the GNU C Library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, + USA. + +On Debian systems, the complete text of the GNU Lesser General Public License +can be found in `/usr/share/common-licenses/LGPL'. + +(md5.*) +Copyright © 1999 Aladdin Enterprises. All rights reserved. + +License: + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + + L. Peter Deutsch + ghost@aladdin.com + +(sha1.*) +Copyright © 2001-2003 Allan Saddi + +License: + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY ALLAN SADDI AND HIS CONTRIBUTORS ``AS IS'' + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, + THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ALLAN SADDI OR HIS + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +The Debian packaging is © 2006-2009, Kartik Mistry and is +licensed under the GPL, see above. --- libyahoo2-0.7.7.orig/debian/rules +++ libyahoo2-0.7.7/debian/rules @@ -0,0 +1,75 @@ +#!/usr/bin/make -f + +include /usr/share/dpatch/dpatch.make + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +config.status: configure + dh_testdir + +ifneq "$(wildcard /usr/share/misc/config.sub)" "" + cp -f /usr/share/misc/config.sub config.sub +endif +ifneq "$(wildcard /usr/share/misc/config.guess)" "" + cp -f /usr/share/misc/config.guess config.guess +endif + + ./configure CFLAGS="$(CFLAGS)" \ + --host=$(DEB_HOST_GNU_TYPE) \ + --build=$(DEB_BUILD_GNU_TYPE) \ + --prefix=/usr + +build: build-stamp +build-stamp: patch-stamp config.status + dh_testdir + $(MAKE) + touch $@ + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp + rm -f config.sub config.guess + [ ! -f Makefile ] || $(MAKE) distclean + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp + +binary-indep: build install + +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs README + dh_install --sourcedir=debian/tmp + dh_link + dh_strip + dh_compress + dh_fixperms + dh_makeshlibs -V + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- libyahoo2-0.7.7.orig/debian/patches/00list +++ libyahoo2-0.7.7/debian/patches/00list @@ -0,0 +1 @@ +h_addr_glibc28 --- libyahoo2-0.7.7.orig/debian/patches/h_addr_glibc28.dpatch +++ libyahoo2-0.7.7/debian/patches/h_addr_glibc28.dpatch @@ -0,0 +1,31 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## h_addr_glibc28.dpatch by Devid Antonio Filoni +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fix "'struct hostent' has no member named 'h_addr'" build errors. + +@DPATCH@ +diff -urNad libyahoo2-0.7.6~/src/autoresponder.c libyahoo2-0.7.6/src/autoresponder.c +--- libyahoo2-0.7.6~/src/autoresponder.c 2008-04-28 04:52:27.000000000 +0200 ++++ libyahoo2-0.7.6/src/autoresponder.c 2008-08-08 17:52:39.000000000 +0200 +@@ -265,7 +265,7 @@ + + hn = gethostbyname(buff); + if(hn) +- strncpy_term(addresses, inet_ntoa( *((struct in_addr*)hn->h_addr)), sizeof(addresses) ); ++ strncpy_term(addresses, inet_ntoa( *((struct in_addr*)hn->h_addr_list[0])), sizeof(addresses) ); + else + addresses[0] = 0; + +diff -urNad libyahoo2-0.7.6~/src/sample_client.c libyahoo2-0.7.6/src/sample_client.c +--- libyahoo2-0.7.6~/src/sample_client.c 2008-04-28 04:52:27.000000000 +0200 ++++ libyahoo2-0.7.6/src/sample_client.c 2008-08-08 17:51:27.000000000 +0200 +@@ -252,7 +252,7 @@ + + hn = gethostbyname(buff); + if(hn) +- strncpy(addresses, inet_ntoa( *((struct in_addr*)hn->h_addr)), sizeof(addresses) ); ++ strncpy(addresses, inet_ntoa( *((struct in_addr*)hn->h_addr_list[0])), sizeof(addresses) ); + else + addresses[0] = 0; +