Build System Fixes for debhelper 10 default tip
authorMarkus Bröker <mbroeker@4customers.de>
Fri, 29 Oct 2021 22:31:10 +0200
changeset 62 2d6419d6d4ed
parent 61 fb2cfcee38bd
Build System Fixes for debhelper 10
TODO
config/.mcbotrc
debian/changelog
debian/compat
debian/control
debian/copyright
debian/rules
locale/de/mcbot.po
src/CMakeLists.txt
src/config.c
src/dbtool.c
src/parse.c
--- a/TODO
+++ b/TODO
@@ -13,7 +13,7 @@
 	* AUTO-RECONNECT must be implemented
 
 Author:
-	* Markus Broeker mbroeker@largo.homelinux.org
+	* Markus Bröker mbroeker@4customers.de
 	
 Comments:
 	* scanner/parser rewritten
--- a/config/.mcbotrc
+++ b/config/.mcbotrc
@@ -7,4 +7,4 @@
 SERVER:irc.freenode.net
 PORT:6667
 CHANNEL:#test
-TOPIC:[:test:] Support Channel || ENTER !help for help || Source: http://largo.dyndns.tv/cgi-bin/gitweb.cgi?p=net/mcbot.git
+TOPIC:[:test:] Support Channel || ENTER !help for help || Source: https://4customers.de/hg/mcbot
--- a/debian/changelog
+++ b/debian/changelog
@@ -37,5 +37,7 @@
   * useless feof handling removed
   * spelling error fixed
   * ipv6 support added
+  * Build Process fixed OS=600 instead of 500
+  * email addresses updated
 
- -- Markus Bröker <mbroeker@largo.homelinux.org>  Sat, 13 Nov 2010 08:13:37 +0100
+ -- Markus Bröker <mbroeker@4customers.de>  Sat, 13 Nov 2010 08:13:37 +0100
--- a/debian/compat
+++ b/debian/compat
@@ -1,1 +1,1 @@
-5
+10
--- a/debian/control
+++ b/debian/control
@@ -1,7 +1,7 @@
 Source: mcbot
 Section: net
 Priority: extra
-Maintainer: Markus Bröker <mbroeker@largo.homelinux.org>
+Maintainer: Markus Bröker <mbroeker@4customers.de>
 Build-Depends: debhelper (>= 5)
 Standards-Version: 3.7.2
 
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,16 +1,16 @@
-This package was debianized by Markus Bröker <mbroeker@largo.homelinux.org> on
+This package was debianized by Markus Bröker <mbroeker@4customers.de> on
 Tue, 25 Mar 2008 20:32:44 +0100.
 
-It was downloaded from http://largo.homelinux.org
+It was downloaded from https://www.4customers.de
 
 Upstream Author:
-	mbroeker@largo.homelinux.org
+	mbroeker@4customers.de
 
 Copyright:
-	 © 2009 mbroeker@largo.homelinux.org
+	 © 2009 mbroeker@4customers.de
 
 License:
     GPL
 
-The Debian packaging is (C) 2008, Markus Bröker <mbroeker@largo.homelinux.org> and
+The Debian packaging is (C) 2008, Markus Bröker <mbroeker@4customers.de> and
 is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
--- a/debian/rules
+++ b/debian/rules
@@ -43,7 +43,8 @@
 install: build
 	dh_testdir
 	dh_testroot
-	dh_clean -k
+	#dh_clean -k
+	dh_prep
 	dh_installdirs
 
 	# Add here commands to install the package into debian/mcbot.
--- a/locale/de/mcbot.po
+++ b/locale/de/mcbot.po
@@ -5,11 +5,11 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: mcbot-0.99\n"
-"Report-Msgid-Bugs-To: mbroeker@largo.homelinux.org\n"
+"Report-Msgid-Bugs-To: mbroeker@4customers.de\n"
 "POT-Creation-Date: 2008-06-20 15:44+0100\n"
 "PO-Revision-Date: 2009-01-03 20:23+001\n"
-"Last-Translator: Markus Broeker <mbroeker@largo.homelinux.org>\n"
-"Language-Team: translation <translation@largo.homelinux.org>\n"
+"Last-Translator: Markus Broeker <mbroeker@4customers.de>\n"
+"Language-Team: translation <translation@4customers.de>\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -9,7 +9,7 @@
 
 # C-Definitions
 ADD_DEFINITIONS(-Wall -O2 -ansi)
-ADD_DEFINITIONS(-D_XOPEN_SOURCE=500)
+ADD_DEFINITIONS(-D_XOPEN_SOURCE=600)
 ADD_DEFINITIONS(-DBOT_VERSION=0.99)
 
 # Includes
--- a/src/config.c
+++ b/src/config.c
@@ -64,7 +64,7 @@
             while (CONFIG_OPTIONS[map] != NULL) {
                 if (!strcmp (CONFIG_OPTIONS[map], token)) {
                     if (value) {
-                        if (line[map] != '\0')
+                        if (line[map] != NULL)
                             free (line[map]);
                         line[map] = compat_strdup (value);
                     }
@@ -76,7 +76,7 @@
 
     map = 0;
     while (CONFIG_OPTIONS[map] != NULL) {
-        if (line[map] != '\0')
+        if (line[map] != NULL)
             switch (map) {
             case NICK:
                 uc->nick = compat_strdup (line[map]);
--- a/src/dbtool.c
+++ b/src/dbtool.c
@@ -31,7 +31,7 @@
     printf ("  -V\t\treorganizes the db\n");
     printf ("  -h\t\tprints this help\n");
     printf ("  -?\t\tprints this help\n\n");
-    printf ("Report bugs to mbroeker@largo.homelinux.org\n");
+    printf ("Report bugs to mbroeker@4customers.de\n");
     exit (0);
 }
 
--- a/src/parse.c
+++ b/src/parse.c
@@ -21,7 +21,7 @@
 #endif
 
 #ifndef SOURCE_URL
-#define SOURCE_URL "http://largo.dyndns.tv/cgi-bin/gitweb.cgi?p=net/mcbot.git"
+#define SOURCE_URL "https://4customers.de/hg/mcbot"
 #endif
 
 enum command_map {