Your message dated Fri, 09 Mar 2007 21:02:06 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#414191: fixed in termpkg 3.3-8
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: termpkg
Severity: important
Tags: patch

Salut Loïc,

currently your package FTBFS on GNU/kFreeBSD with the following error:
> dh_testdir
> ./configure
> 
> GNU/kFreeBSD is not supported
> /usr/bin/make -C linux
> make: *** linux: No such file or directory.  Stop.
> make: *** [build-arch-stamp] Error 2

Full build logs are available at
<http://experimental.ftbfs.de/build.php?arch=kfreebsd-i386&pkg=termpkg>.

Please find attached a patch to fix that.

Cheers,

-- 
Cyril Brulebois
--- termpkg-3.3/configure	2007-03-09 21:11:35.164263000 +0100
+++ termpkg-3.3/configure	2007-03-09 21:31:23.000000000 +0100
@@ -9,7 +9,7 @@
 elif [ "$SYSTEM" = "SCO_SV" ]
 then
    SYSTEM=SCO
-elif [ "$SYSTEM" = "Linux" -o "$SYSTEM" = "linux" ]
+elif [ "$SYSTEM" = "Linux" -o "$SYSTEM" = "linux" -o "$SYSTEM" = "GNU/kFreeBSD" ]
 then
    SYSTEM=LINUX
 fi
@@ -33,7 +33,7 @@
    case "$1" in
       DEC|dec) SYSTEM=OSF;;
       
-      SCO|sco|OSF|osf|AIX|aix|FreeBSD|LINUX|Linux|linux) SYSTEM=$1;;
+      SCO|sco|OSF|osf|AIX|aix|FreeBSD|LINUX|Linux|linux|GNU/kFreeBSD) SYSTEM=$1;;
       
       DBG|dbg) DBG="-g";;
       
--- termpkg-3.3/termnetd/tndCfgParser.c	2007-03-09 21:14:58.343352000 +0100
+++ termpkg-3.3/termnetd/tndCfgParser.c	2007-03-09 21:33:14.000000000 +0100
@@ -44,7 +44,7 @@
 {
    IGNBRK, BRKINT, IGNPAR, PARMRK, INPCK, ISTRIP,
    INLCR, IGNCR, ICRNL,
-#if !defined(FreeBSD)
+#if !defined(FreeBSD) && !defined(__FreeBSD_kernel__)
    IUCLC,
 #else
    0,
@@ -55,25 +55,25 @@
 int xlate_oflag[] =
 {
    OPOST,
-#if !defined(FreeBSD)
+#if !defined(FreeBSD) && !defined(__FreeBSD_kernel__)
    OLCUC,
 #else
    0,
 #endif
    ONLCR,
-#if !defined(FreeBSD)
+#if !defined(FreeBSD) && !defined(__FreeBSD_kernel__)
    OCRNL, ONOCR, ONLRET, OFILL, OFDEL,
    NL0, NL1, CR0, CR1, CR2, CR3, TAB0, TAB1, TAB2, TAB3,
 #else
    0, 0, 0, 0, 0,
    0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
 #endif
-#if !defined(FreeBSD) && !defined(AIX) && !defined(OSF)
+#if !defined(FreeBSD) && !defined(AIX) && !defined(OSF) && !defined(__FreeBSD_kernel__)
    XTABS,
 #else
    0,
 #endif
-#if !defined(FreeBSD)
+#if !defined(FreeBSD) && !defined(__FreeBSD_kernel__)
    BS0, BS1, VT0, VT1, FF0, FF1
 #else
    0, 0, 0, 0, 0, 0,
@@ -99,7 +99,7 @@
 int xlate_lflag[] =
 {
    ISIG, ICANON,
-#if !defined(FreeBSD)
+#if !defined(FreeBSD) && !defined(__FreeBSD_kernel__)
    XCASE,
 #else
    0,
--- termpkg-3.3/termnetd/tndAdmin.c	2007-03-09 21:33:41.537294000 +0100
+++ termpkg-3.3/termnetd/tndAdmin.c	2007-03-09 21:35:20.000000000 +0100
@@ -21,7 +21,7 @@
  ***************************************************************************/
 #include <../sysdefs.h>
 #include <fcntl.h>
-#ifdef FreeBSD
+#if defined(FreeBSD) || defined(__FreeBSD_kernel__)
 #include <sys/ioctl.h>
 #endif
 #include <errno.h>
@@ -665,7 +665,7 @@
                strPut(tmpBuf, sizeof(tmpBuf), "IGNCR");
             if (flag & ICRNL) 
                strPut(tmpBuf, sizeof(tmpBuf), "ICRNL");
-#ifndef FreeBSD
+#if !defined(FreeBSD) && !defined(__FreeBSD_kernel__)
             if (flag & IUCLC) 
                strPut(tmpBuf, sizeof(tmpBuf), "IUCLC");
 #endif /* FreeBSD */
@@ -689,7 +689,7 @@
             if (flag & ONLCR) 
                strPut(tmpBuf, sizeof(tmpBuf), "ONLCR");
 
-#ifndef FreeBSD
+#if !defined(FreeBSD) && !defined(__FreeBSD_kernel__)
             if (flag & OLCUC) 
                strPut(tmpBuf, sizeof(tmpBuf), "OLCUC");
             if (flag & OCRNL) 
@@ -797,7 +797,7 @@
                strPut(tmpBuf, sizeof(tmpBuf), "ISIG");
             if (flag & ICANON)
                strPut(tmpBuf, sizeof(tmpBuf), "ICANON");
-#ifndef FreeBSD
+#if !defined(FreeBSD) && !defined(__FreeBSD_kernel__)
             if (flag & XCASE)
                strPut(tmpBuf, sizeof(tmpBuf), "XCASE");
 #endif /* FreeBSD */

--- End Message ---
--- Begin Message ---
Source: termpkg
Source-Version: 3.3-8

We believe that the bug you reported is fixed in the latest version of
termpkg, which is due to be installed in the Debian FTP archive:

termnet_3.3-8_i386.deb
  to pool/main/t/termpkg/termnet_3.3-8_i386.deb
termnetd_3.3-8_i386.deb
  to pool/main/t/termpkg/termnetd_3.3-8_i386.deb
termpkg_3.3-8.diff.gz
  to pool/main/t/termpkg/termpkg_3.3-8.diff.gz
termpkg_3.3-8.dsc
  to pool/main/t/termpkg/termpkg_3.3-8.dsc
ttyd_3.3-8_i386.deb
  to pool/main/t/termpkg/ttyd_3.3-8_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Loic Minier <[EMAIL PROTECTED]> (supplier of updated termpkg package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Fri,  9 Mar 2007 21:46:51 +0100
Source: termpkg
Binary: termnetd ttyd termnet
Architecture: source i386
Version: 3.3-8
Distribution: unstable
Urgency: medium
Maintainer: Loic Minier <[EMAIL PROTECTED]>
Changed-By: Loic Minier <[EMAIL PROTECTED]>
Description: 
 termnet    - Simple Telnet replacement for termnetd
 termnetd   - Terminal Server daemon
 ttyd       - Remote Modem Utility for Unix
Closes: 414191
Changes: 
 termpkg (3.3-8) unstable; urgency=medium
 .
   * GNU/kFreeBSD support courtersy of Cyril Brulebois; closes: #414191.
Files: 
 16cfd2bb0884238aea08fceef97f1c86 566 net optional termpkg_3.3-8.dsc
 0c137536a0675337ab857ae3e19df413 6373 net optional termpkg_3.3-8.diff.gz
 e6b4dc23cb00869948653d19774e73dc 20986 net optional ttyd_3.3-8_i386.deb
 df817e0fabf438a9c98468c5db31d0dc 34166 net optional termnetd_3.3-8_i386.deb
 2d8e4a5850ca94ca3bcd4c4688653781 20702 net optional termnet_3.3-8_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFF8ciJ4VUX8isJIMARAlc9AJwKknPiKyNzkdjMQuAiouhMvjIncgCfQyds
AcHX5PE6kHmGK/m5HOL6tx4=
=NxIz
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to