Re: [ITP] naim-0.11.8

2005-11-16 Thread Christopher Faylor
On Thu, Nov 17, 2005 at 05:19:17AM +, Jon Allen wrote:
>I intend to package and maintain naim, starting with
>the most recent 0.11.8 release, which fixes the TOC/TOC2
>issue present in the currently-packaged 0.11.7.2 version.
>
>Since naim has no maintainer I'd like to step forward
>to maintain this package.  Unless anyone objects I'll
>produce a package and make it available for inclusion
>shortly.
>
>References:
>
>http://sourceware.org/ml/cygwin-apps/2005-10/msg00246.html
>http://sourceware.org/ml/cygwin-apps/2005-10/msg00207.html

Thanks for volunteering.  Much appreciated.

cgf


[ITP] naim-0.11.8

2005-11-16 Thread Jon Allen
I intend to package and maintain naim, starting with
the most recent 0.11.8 release, which fixes the TOC/TOC2
issue present in the currently-packaged 0.11.7.2 version.

Since naim has no maintainer I'd like to step forward
to maintain this package.  Unless anyone objects I'll
produce a package and make it available for inclusion
shortly.

References:

http://sourceware.org/ml/cygwin-apps/2005-10/msg00246.html
http://sourceware.org/ml/cygwin-apps/2005-10/msg00207.html

jca



Re: [Patch] Setup: Warn about dropped mirrors.

2005-11-16 Thread Bas van Gompel
Op Wed,  2 Nov 2005 22:29:10 +0100 (MET) schreef Bas van Gompel
in buzzy-box.bavag>:
[Warn about dropped mirrors]

I cleaned this up a little (use ``area'', not ``continent'', check for
``!size()'' instead of ``==""''.) I also folded the second patch
(Initializing cache_action) into this one and added some missing parts
to the ChangeLog-entry. Please use this one.


ChangeLog-entry: (please fix the .)

2005-11-16  Bas van Gompel  bavag.tmfweb.nl>

* res.rc (IDD_DROPPED): New dialog.
* resource.h (IDD_DROPPED): New dialog-id.
(IDC_DROP_MIRRORS, IDC_DROP_NOWARN): New control-ids.
* site.cc (site_list_type::init, site_list_type::site_list_type):
Change to four parameter form.
(site_list_type::site_list_type, site_list_type::operator=) Copy
servername, area and location.
(load_site_list): New function, broken out of get_site_list.
Support four-parameter site_list_type.
(get_site_list): Break out load_site_list. Move reading cache
earlier. Don't write new cache. Set flags to record cache state.
Load both all_site_list and cached_site_list.
(SiteSetting::registerSavedSite): Use four-parameter site_list_type.
(drop_proc, check_dropped_mirrors, save_cache_file): New functions.
(SitePage::OnNext): Check for dropped mirrors and save cache as
appropriate.
(SitePage::OnMessageCmd): Use four-parameter site_list_type.
* site.h (site_list_type::init, site_list_type::site_list_type):
Change to four parameter form.
(site_list_type): Add servername, area and location members.


L8r,
-- 
  ) |  | ---/ ---/  Yes, this | This message consists of true | I do not
--  |  |   //   really is |   and false bits entirely.| mail for
  ) |  |  //a 72 by 4 +---+ any1 but
--  \--| /--- /---  .sigfile. |   |perl -pe "s.u(z)\1.as."| me. 4^re
Index: setup/res.rc
===
RCS file: /cvs/cygwin-apps/setup/res.rc,v
retrieving revision 2.67
diff -u -p -r2.67 res.rc
--- setup/res.rc9 Sep 2005 19:52:51 -   2.67
+++ setup/res.rc16 Nov 2005 19:59:08 -
@@ -356,6 +356,32 @@ BEGIN
 
 END
 
+IDD_DROPPED DIALOG DISCARDABLE  0, 0, 317, 142
+STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "Cygwin Setup - Use dropped mirrors?"
+FONT 8, "MS Shell Dlg"
+BEGIN
+LTEXT   "Warning:",IDC_STATIC,7,8,40,8
+LTEXT   "One or more mirrors you have selected is/are not on the"
+"list of official Cygwin mirrors any more. "
+"It/They may be out of date or missing some packages.\n"
+"This affects the following mirror(s):",
+IDC_STATIC,47,8,263,32
+EDITTEXTIDC_DROP_MIRRORS,7,40,303,40,WS_VSCROLL | WS_HSCROLL |
+ES_LEFT | ES_MULTILINE | ES_READONLY | ES_AUTOHSCROLL |
+ES_AUTOVSCROLL
+LTEXT   "If you experience installation problems, consider trying "
+"official mirrors only.\n\n"
+"Do you want to continue, using this/these mirror(s)?",
+IDC_STATIC,7,88,303,24
+CONTROL "&Don't warn me about this/these mirror(s) again",
+IDC_DROP_NOWARN,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,
+7,120,213,15
+PUSHBUTTON  "&Yes",IDYES,220,120,45,15
+DEFPUSHBUTTON   "&No",IDNO,265,120,45,15
+
+END
+
 /
 //
 // Manifest
Index: setup/resource.h
===
RCS file: /cvs/cygwin-apps/setup/resource.h,v
retrieving revision 2.32
diff -u -p -r2.32 resource.h
--- setup/resource.h9 Sep 2005 19:52:51 -   2.32
+++ setup/resource.h16 Nov 2005 19:59:09 -
@@ -55,6 +55,7 @@
 #define IDD_VIRUS 218
 #define IDD_DESKTOP   219
 #define IDD_PREREQ220
+#define IDD_DROPPED   221
 
 // Bitmaps
 
@@ -152,3 +153,5 @@
 #define IDC_PREREQ_TEXT   576
 #define IDC_PREREQ_EDIT   577
 #define IDC_PREREQ_CHECK  578
+#define IDC_DROP_MIRRORS  579
+#define IDC_DROP_NOWARN   580
Index: setup/site.cc
===
RCS file: /cvs/cygwin-apps/setup/site.cc,v
retrieving revision 2.40
diff -u -p -r2.40 site.cc
--- setup/site.cc   14 Oct 2005 04:23:14 -  2.40
+++ setup/site.cc   16 Nov 2005 19:59:13 -
@@ -46,6 +46,17 @@ static const char *cvsid =
 
 extern ThreeBarProgressPage Progress;
 
+
+/*
+  What to do if dropped mirrors are selected.
+*/
+enum
+{
+  CACHE_REJECT,// Go back to re-select mirrors.
+  CACHE_ACCEPT_WARN,   // Go 

Re: Please upload: wget-1.10.2-1

2005-11-16 Thread Harold L Hunt II

Both.

Harold

Christopher Faylor wrote:

On Wed, Nov 16, 2005 at 01:42:07PM -0800, Harold L Hunt II wrote:


Files
=
http://homer.starnet.com/~hunth/cygwin/release/wget/wget-1.10.2-1.tar.bz2
http://homer.starnet.com/~hunth/cygwin/release/wget/wget-1.10.2-1-src.tar.bz2
unchanged:
http://homer.starnet.com/~hunth/cygwin/release/wget/setup.hint

Changes
===
2005-11-15 Harold L Hunt II
- Upstream fix for remotely exploitable vulnerability:
- http://www.mail-archive.com/wget@sunsite.dk/msg08300.html
- http://www.mail-archive.com/wget@sunsite.dk/msg08295.html
- Thanks to Alan Dobkin for the heads up.



Uploaded.  Which old version should I remove?

cgf



Re: Please upload: wget-1.10.2-1

2005-11-16 Thread Christopher Faylor
On Wed, Nov 16, 2005 at 01:42:07PM -0800, Harold L Hunt II wrote:
>Files
>=
>http://homer.starnet.com/~hunth/cygwin/release/wget/wget-1.10.2-1.tar.bz2
>http://homer.starnet.com/~hunth/cygwin/release/wget/wget-1.10.2-1-src.tar.bz2
>unchanged:
>http://homer.starnet.com/~hunth/cygwin/release/wget/setup.hint
>
>Changes
>===
>2005-11-15 Harold L Hunt II
>   - Upstream fix for remotely exploitable vulnerability:
>   - http://www.mail-archive.com/wget@sunsite.dk/msg08300.html
>   - http://www.mail-archive.com/wget@sunsite.dk/msg08295.html
>   - Thanks to Alan Dobkin for the heads up.

Uploaded.  Which old version should I remove?

cgf


Please upload: wget-1.10.2-1

2005-11-16 Thread Harold L Hunt II

Files
=
http://homer.starnet.com/~hunth/cygwin/release/wget/wget-1.10.2-1.tar.bz2
http://homer.starnet.com/~hunth/cygwin/release/wget/wget-1.10.2-1-src.tar.bz2
unchanged:
http://homer.starnet.com/~hunth/cygwin/release/wget/setup.hint

Changes
===
2005-11-15 Harold L Hunt II
- Upstream fix for remotely exploitable vulnerability:
- http://www.mail-archive.com/wget@sunsite.dk/msg08300.html
- http://www.mail-archive.com/wget@sunsite.dk/msg08295.html
- Thanks to Alan Dobkin for the heads up.

Harold


setup.hint
==
sdesc: "Utility to retrieve files from the WWW via HTTP and FTP"
ldesc: "GNU Wget is a file retrieval utility which can use either
the HTTP, HTTPS, or FTP protocols. Wget features include the ability
to work in the background while you're logged out, recursive retrieval
of directories, file name wildcard matching, remote file timestamp
storage and comparison, use of Rest with FTP servers and Range with
HTTP servers to retrieve files over slow or unstable connections,
support for Proxy servers, and configurability."
category: Web
requires: openssl libintl3 libiconv2 bash cygwin




Security advisory: gtk2-x11

2005-11-16 Thread Yaakov S (Cygwin Ports)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Gerrit,

The GdkPixbuf library, that is also included in GTK+ 2, contains
vulnerabilities that could lead to a Denial of Service or the execution
of arbitrary code.

Solution: a patch for gtk+-2.x is required (URL below).

(BTW, Gerrit, what are your plans for GTK/GNOME?  I'm willing to take
stuff over if you've lost interest.)

http://www.gentoo.org/security/en/glsa/glsa-200511-14.xml
http://www.idefense.com/application/poi/display?id=339&type=vulnerabilities
http://www.gentoo.org/cgi-bin/viewcvs.cgi/x11-libs/gtk+/files/gtk+-2-xpm_loader.patch?hideattic=1

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDe5qZpiWmPGlmQSMRAgRdAJ9Fh1oRf52xEELoi0gfshs9dKXBIwCfaGGU
Ce7YghJ4hRm8rCB07c3SdgI=
=KMcX
-END PGP SIGNATURE-


Re: setup.exe window resizing

2005-11-16 Thread Christopher Faylor
On Wed, Nov 16, 2005 at 10:00:52AM -0500, Sam Steingold wrote:
>It is nice that the setup.exe window can now be resized, but it would be
>even better if setup.exe remembered how it was resized last time and
>started in my preferred size.
>many applications do that, I see no reason for setup.exe not to.
>thanks.

Wow!  Neither do I!  What were we thinking?

Oh, yeah, I remember.  WJM.

cgf


setup.exe window resizing

2005-11-16 Thread Sam Steingold
It is nice that the setup.exe window can now be resized, but it would be
even better if setup.exe remembered how it was resized last time and
started in my preferred size.
many applications do that, I see no reason for setup.exe not to.
thanks.
-- 
Sam Steingold (http://www.podval.org/~sds) running w2k
http://www.dhimmi.com/ http://truepeace.org http://www.palestinefacts.org/
http://www.openvotingconsortium.org/ http://www.mideasttruth.com/
UNIX, car: hard to learn/easy to use; Windows, bike: hard to learn/hard to use.


Re: [AC21.4] Auto detecting integer types and avoid using Motif for cygwin

2005-11-16 Thread Dr. Volker Zell
> Volker Zell writes:

> Hi
> Here is a patch for auto detecting integer types. The cygwin version has
> the same problems as FreeBSD/NetBSD.

> Also included is a patch which avoids using Motif for cygwin. This is
> needed because the latest gcc-3.4.4 for cygwin seems to produce an
> executable which runs fine but coredumps on every exit which is very 
annoying.

Upps, this was meant to be sent to xemacs-patches.

Ciao
  Volker



[AC21.4] Auto detecting integer types and avoid using Motif for cygwin

2005-11-16 Thread Dr. Volker Zell
Hi

Here is a patch for auto detecting integer types. The cygwin version has
the same problems as FreeBSD/NetBSD.

Also included is a patch which avoids using Motif for cygwin. This is
needed because the latest gcc-3.4.4 for cygwin seems to produce an
executable which runs fine but coredumps on every exit which is very annoying.


Ciao
  Volker


--- xemacs-21.4.17/ChangeLog 

2005-11-15  Dr. Volker Zell  <[EMAIL PROTECTED]>

* configure.in: Avoid using Motif also for cygwin

2005-11-15  Dr. Volker Zell  <[EMAIL PROTECTED]>

* configure.in: Check for u_int*_t typedefs and use them in
Berkeley DB detection.


--- xemacs-21.4.17/src/ChangeLog ---

2005-11-15  Dr. Volker Zell  <[EMAIL PROTECTED]>

* config.h.in: New HAVE_U_INT*_T defines.

* database.c: Only use u_int*_t typedefs if not already
defined.


diff -urN -x .build -x .inst -x .sinst xemacs-21.4.17-orig/configure.in 
xemacs-21.4.17/configure.in
--- xemacs-21.4.17-orig/configure.in2005-01-31 03:54:47.0 +0100
+++ xemacs-21.4.17/configure.in 2005-11-13 14:17:01.355844800 +0100
@@ -3594,7 +3594,7 @@
 
 dnl Avoid using Motif :-(
 case "$opsys" in
-  *linux* )  lucid_prefers_motif="no"  ;;
+  *linux* | cygwin* )  lucid_prefers_motif="no"  ;;
   * )lucid_prefers_motif="yes" ;;
 esac
 
@@ -4456,6 +4456,24 @@
  "$with_database_dbm"  = "yes" && \
   AC_DEFINE(HAVE_DBM)
 
+dnl Check for u_int*_t typedefs.
+AC_CHECK_TYPE(u_int8_t, uint8_t)
+if test $ac_cv_type_u_int8_t = yes; then
+AC_DEFINE(HAVE_U_INT8_T,1)
+fi
+AC_CHECK_TYPE(u_int16_t, uint16_t)
+if test $ac_cv_type_u_int16_t = yes; then
+AC_DEFINE(HAVE_U_INT16_T,1)
+fi
+AC_CHECK_TYPE(u_int32_t, uint32_t)
+if test $ac_cv_type_u_int32_t = yes; then
+AC_DEFINE(HAVE_U_INT32_T,1)
+fi
+AC_CHECK_TYPE(u_int64_t, uint64_t)
+if test $ac_cv_type_u_int64_t = yes; then
+AC_DEFINE(HAVE_U_INT64_T,1)
+fi
+
 dnl Check for Berkeley DB.
 if test "$with_database_berkdb" != "no"; then
   AC_MSG_CHECKING(for Berkeley db.h)
@@ -4480,14 +4498,22 @@
 #ifdef HAVE_INTTYPES_H
 #define __BIT_TYPES_DEFINED__
 #include 
+#if !HAVE_U_INT8_T
 typedef uint8_t  u_int8_t;
+#endif
+#if !HAVE_U_INT16_T
 typedef uint16_t u_int16_t;
+#endif
+#if !HAVE_U_INT32_T
 typedef uint32_t u_int32_t;
+#endif
 #ifdef WE_DONT_NEED_QUADS
+#if !HAVE_U_INT64_T
 typedef uint64_t u_int64_t;
 #endif
 #endif
 #endif
+#endif
 #include <$header>
 ],[], db_h_file="$header"; break)
 ;;
diff -urN -x .build -x .inst -x .sinst xemacs-21.4.17-orig/src/config.h.in 
xemacs-21.4.17/src/config.h.in
--- xemacs-21.4.17-orig/src/config.h.in 2003-08-18 03:42:10.0 +0200
+++ xemacs-21.4.17/src/config.h.in  2005-11-13 14:17:01.425945600 +0100
@@ -422,6 +422,15 @@
 /* Compile in support for DBM databases?  May require libgdbm or libdbm. */
 #undef HAVE_DBM
 
+/* Define to 1 if the system has the type `u_int8_t'. */
+#undef HAVE_U_INT8_T
+/* Define to 1 if the system has the type `u_int16_t'. */
+#undef HAVE_U_INT16_T
+/* Define to 1 if the system has the type `u_int32_t'. */
+#undef HAVE_U_INT32_T
+/* Define to 1 if the system has the type `u_int64_t'. */
+#undef HAVE_U_INT64_T
+
 /* Compile in support for Berkeley DB style databases?  May require libdb. */
 #undef HAVE_BERKELEY_DB
 /* Full #include file path for Berkeley DB's db.h */
diff -urN -x .build -x .inst -x .sinst xemacs-21.4.17-orig/src/database.c 
xemacs-21.4.17/src/database.c
--- xemacs-21.4.17-orig/src/database.c  2003-06-19 05:34:42.0 +0200
+++ xemacs-21.4.17/src/database.c   2005-11-13 14:17:01.445974400 +0100
@@ -46,13 +46,21 @@
 #define __BIT_TYPES_DEFINED__
 #include 
 #ifndef __FreeBSD__
+#if !HAVE_U_INT8_T
 typedef uint8_t  u_int8_t;
+#endif
+#if !HAVE_U_INT16_T
 typedef uint16_t u_int16_t;
+#endif
+#if !HAVE_U_INT32_T
 typedef uint32_t u_int32_t;
+#endif
 #ifdef WE_DONT_NEED_QUADS
+#if !HAVE_U_INT64_T
 typedef uint64_t u_int64_t;
 #endif
 #endif /* WE_DONT_NEED_QUADS */
+#endif /* !defined(__FreeBSD__) */
 #endif /* HAVE_INTTYPES_H */
 #endif /* !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) */
 /* Berkeley DB wants __STDC__ to be defined; else if does `#define const' */