Date: Mon, 25 Aug 2003 02:47:52 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [Ux2bs_Archive] No. 182 ************************************************** Sunday 24 August 2003 Number 182 ************************************************** Subjects for today 1 Re: -h6072 : James Moe" 2 Re: Autoconf : T.Sikora" 3 New update : T.Sikora" 4 Re: GCC builds : Cheng-Yang_Tan 5 OS/2 EMX sessions : T.Sikora" 6 README : T.Sikora" 7 Re: GCC builds : T.Sikora" 8 README revisions : T.Sikora" 9 Withdrawing the db build : T.Sikora" 10 Another update : T.Sikora" 11 Re: README revisions : T.Sikora" 12 Re: README : Dave Saville" 13 minor screwup : T.Sikora" 14 Re: minor screwup : T.Sikora" 15 Re: README revisions : Dave Saville" 16 Re: Autoconf : Paul Smedley" 17 Building Gphoto : Paul Smedley **= Email 1 ==========================** Date: Mon, 25 Aug 2003 09:49:59 -0700 (MST) From: "James Moe" Subject: Re: -h6072 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, 22 Aug 2003 12:05:24 -0400, T.Sikora wrote: >What exactly does this do? SET emxopt=-c -n -h6072 -!0x800 > The env variable modifies default emx runtime options. -c disables core dumps -h sets the number of available file handles. The default is 256. This should be at least 1024 if Apache httpd is running. -!0x800 This is a kludge for one of the earlier fixpaks. I do not remember what it does. - -- jimoe at sohnen-moe dot com pgp/gpg public key: http://www.keyserver.net/en/ -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0 OS/2 for non-commercial use Comment: PGP 5.0 for OS/2 Charset: cp850 wj8DBQE/Sj43sxxMki0foKoRAleSAKDMHdL+UjYPB1uBkM2qNI0RFYiv7ACgzMIZ QEU3eQlOz7I+Xlj1HAG2MAc= =Kgao -----END PGP SIGNATURE----- _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 2 ==========================** Date: Mon, 25 Aug 2003 10:18:21 -0400 From: "T.Sikora" Subject: Re: Autoconf Paul Smedley wrote: > On Sun, 24 Aug 2003 13:03:32 +0200, Andreas Buening wrote: > > >>You can try http://unix.os2site.com/pub/source/autoconf/autoconf-2_57.zip >>or if you want to try the first "binary" release: >>http://unix.os2site.com/pub/binary/autoconf/autoconf-2_57-bin.zip >>If you still have problems please give a more detailed description. > > > The below is the output of trying to install autoconf-2_57-bin.zip > > [unixos2 E:\>sh -c ./install-ux2.sh > program 'sed' is available and works > program 'install-info' is available and works > program '/usr/bin/m4' is available and works > program '/usr/bin/perl' is available and works > program 'patchux2' is available and works > patchux2 --level 2 usr/bin/autoconf > patchux2 0.1.0 program to patch UnixOS/2 script files > 313 +++ rc = SysFileTree(filename, 'temp', 'F'); > REX0016: Error 16 running E:\bin\patchux2.cmd, line 313: Label not found > 685 +++ If Exist(option.file) = false; > 113 +++ Call ParseCommandLine commandline; > error: execution of patchux2 failed > > Cheers, > > I'll have a look at it this afternoon. New ux2bs_update. Patches bsd db lib and builds it as multithreaded lib. Patches courtesy Andrew MacIntyre. 4 left to re port and this thing is pure ux2. regex expat rand zlib So far gmp gdbm gnuufc build with GCC-3.2.1 Perl fails at perl harness with a patched config.h. I'll look into some more environmental changes. I would really like to make 3.2.1 the default and emx the 'old standby' if all else fails. -- T.Sikora tsikora at ntplx dot net _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 3 ==========================** Date: Mon, 25 Aug 2003 10:38:40 -0400 From: "T.Sikora" Subject: New update Run ux2bs_update it will patch the bsd db library and rebuild it as a multithreaded lib. Patches courtesy Andrew MacIntyre. Included are some missing emx packages. 4 re ports to do and it's all ux2. expat regex zlib rand -- T.Sikora tsikora at ntplx dot net _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 4 ==========================** Date: Mon, 25 Aug 2003 11:25:43 -0500 (CDT) From: Cheng-Yang_Tan Subject: Re: GCC builds > > gdbm, gmp, and crypt all build fine with 3.2.1. Go in there and do a > clean and build in the GCC shell. You need to do a ux2bs_update > first. > > -- > T.Sikora > tsikora at ntplx dot net > > > _______________________________________________ > UX2BS mailing list > UX2BS at os2ports.com > http://os2ports.com/mailman/listinfo/ux2bs > Hi, Will gdbm, gmp and crypt be available for separate binary downloads? Cheng-Yang Tan _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 5 ==========================** Date: Mon, 25 Aug 2003 11:39:03 -0400 From: "T.Sikora" Subject: OS/2 EMX sessions You should add this to your config.sys for emx to interact with 3rd party emx programs and to make it perform seamless with ux2. LIBPATH=D:\emx\dll;D:\emx\lib; PATH=D:\emx\bin; HELP=D:\emx\help; BOOK=D:\emx\book; SET HELPNDX=emxbook.ndx SET EMXBOOK=emxdev.inf+emxlib.inf+emxgnu.inf+emxbsd.inf After experimenting with Python this provided the best solution. You can define it all in UX2 but it cripples the 3rd party stuff in regular OS/2 sessions unless you call ux2_env. -- T.Sikora tsikora at ntplx dot net _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 6 ==========================** Date: Mon, 25 Aug 2003 12:40:02 -0400 From: "T.Sikora" Subject: README This is a multi-part message in MIME format. --------------030809020003040402080908 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit How's this. -- T.Sikora tsikora at ntplx dot net --------------030809020003040402080908 Content-Type: text/plain; name="ux2bs.README" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="ux2bs.README" The UX2 Developers Build System for OS/2 ------------------------------------------ Assuming you have the ux2bs_inst.cmd script already, edit the drive letters at the top to reflect your drives where (osrt) OS/2 is installed and where you want to install (uxrt) the Unix environment. UX2 installs many directories in root so be forwarned. A seperate partition or drive is highly recommended. It will create these in your (uxrt) root directory: bin/ boot/ dev/ emx/ etc/ home/ install/ lib/ proc/ root/ sbin/ tmp/ usr/ var/ If any of the above directories exist rename them or delete them. Prerequisites -------------------------------------------------- None except a clean environment (config.sys) devoid of all Unix environmental settings including EMX. Recommended EMX config.sys settings for 3rd party programs: LIBPATH=D:\emx\dll;D:\emx\lib; PATH=D:\emx\bin; HELP=D:\emx\help; BOOK=D:\emx\book; SET HELPNDX=emxbook.ndx SET EMXBOOK=emxdev.inf+emxlib.inf+emxgnu.inf+emxbsd.inf This will provide seamless interaction with all 3rd party EMX programs like Python. Set the drive letter to (uxrt) where you will install the Unix environment. Install ----------------------------------------------------- Edit the drive letters at the top of the script to reflect your drives where (osrt) OS/2 is installed and where you want to install (uxrt) the Unix environment. Then run ux2bs_inst. It will download and install the required packages and build several libraries before finishing up with Perl. Two shell desktop icons will be made. The UX2BS Shell which is the default gcc-2.8.1 environment. The GCC-3.2.1 Shell is set up for the GCC-3.2.1 environment. User-defined Enviroment settings ------------------------------------------------------ User defined env settings can be added to etc\ux2_local which is system wide. Specific GCC-3.2.1 settings can be added to etc\gcc_local. The system is designed to be used with the desktop shells. The ux2 environment can be used at anytime by a regular OS/2 window by calling \sbin\ux2-env first. Using GCC-3.2.1 REQUIRES the desktop shell as the specific settings are defined in the shell itself. Updates ------------------------------------------------------ Your Build System can be updated at anytime with the latest changes by running ux2bs_update in the default shell. The ports tree can also be made current by running ports_update. Using the Ports tree ------------------------------------------------------- What is the ports tree you ask? Rooted in the FreeBSD tradition it allows the developer, hobbyist or anyone for that matter to build his/her own ports from source with a single command. The ports are named by directories so cd to \ports\gmp for example. Do a 'clean' to ensure the old workdir is removed and to build the port just run 'build gmp'. What it does is check for the existance of the source in your local \install\archives. If it does not exist it downloads it, extracts it, builds and installs it. It's really that simple. You can do a 'clean' afterwards to remove the workdir. As of this writing we have four working ports in the tree. Perl, gmp, gnugdbm, and gnuufc. Websites and Mailists -------------------------------------------------------- UnixOS2.org http://unixos2.com/ UX2 Build System http://os2ports.com/sections/ux2bs UX2BS Mailing List http://os2ports.com/mailman/listinfo/ux2bs OS2-Unix Developers List majordomo at mail.warpix.org Complaints -------------------------------------------------------- > /dev/null Raves -------------------------------------------------------- Just send the beer... Enjoy! The UnixOS2.org Team --------------030809020003040402080908 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs --------------030809020003040402080908-- **= Email 7 ==========================** Date: Mon, 25 Aug 2003 12:45:43 -0400 From: "T.Sikora" Subject: Re: GCC builds Cheng-Yang_Tan wrote: >>gdbm, gmp, and crypt all build fine with 3.2.1. Go in there and do a >>clean and build in the GCC shell. You need to do a ux2bs_update >>first. >> >>-- >>T.Sikora >>tsikora at ntplx dot net >> >> >>_______________________________________________ >> > > > Hi, > Will gdbm, gmp and crypt be available for separate binary downloads? > > As soon as we have a working makepkg it will join the other ux2 packages for UnixOS2. Shoudn't be too long now I heard Andreas is hard at work building it. -- T.Sikora tsikora at ntplx dot net _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 8 ==========================** Date: Mon, 25 Aug 2003 13:09:40 -0400 From: "T.Sikora" Subject: README revisions This is a multi-part message in MIME format. --------------000209020808090704000909 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit I added a Reinstall section. Dave I hope this clears things up. I guess I was too busy working on it. I understood it but nobody else did. -- T.Sikora tsikora at ntplx dot net --------------000209020808090704000909 Content-Type: text/plain; name="ux2bs.README" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="ux2bs.README" The UX2 Developers Build System for OS/2 ------------------------------------------ Assuming you have the ux2bs_inst.cmd script already, edit the drive letters at the top to reflect your drives where (osrt) OS/2 is installed and where you want to install (uxrt) the Unix environment. UX2 installs many directories in root so be forwarned. A seperate partition or drive is highly recommended. It will create these in your (uxrt) root directory: bin/ boot/ dev/ emx/ etc/ home/ install/ lib/ proc/ root/ sbin/ tmp/ usr/ var/ If any of the above directories exist rename them or delete them. Prerequisites -------------------------------------------------- None except a clean environment (config.sys) devoid of all Unix environmental settings including EMX. Recommended EMX config.sys settings for 3rd party programs: LIBPATH=D:\emx\dll;D:\emx\lib; PATH=D:\emx\bin; HELP=D:\emx\help; BOOK=D:\emx\book; SET HELPNDX=emxbook.ndx SET EMXBOOK=emxdev.inf+emxlib.inf+emxgnu.inf+emxbsd.inf This will provide seamless interaction with all 3rd party EMX programs like Python. Set the drive letter to (uxrt) where you will install the Unix environment. Install ----------------------------------------------------- Edit the drive letters at the top of the script to reflect your drives where (osrt) OS/2 is installed and where you want to install (uxrt) the Unix environment. Then run ux2bs_inst. It will download and install the required packages and build several libraries before finishing up with Perl. Two shell desktop icons will be made. The UX2BS Shell which is the default gcc-2.8.1 environment. The GCC-3.2.1 Shell is set up for the GCC-3.2.1 environment. User-defined Enviroment settings ------------------------------------------------------ User defined env settings can be added to etc\ux2_local which is system wide. Specific GCC-3.2.1 settings can be added to etc\gcc_local. The system is designed to be used with the desktop shells. The ux2 environment can be used at anytime by a regular OS/2 window by calling \sbin\ux2_env first. Using GCC-3.2.1 REQUIRES the desktop shell as the specific settings are defined in the shell itself. Updates ------------------------------------------------------ Your Build System can be updated at anytime with the latest changes by running ux2bs_update in the default shell. The ports tree can also be made current by running ports_update. Using the Ports tree ------------------------------------------------------- What is the ports tree you ask? Rooted in the FreeBSD tradition it allows the developer, hobbyist or anyone for that matter to build his/her own ports from source with a single command. The ports are named by directories so cd to \ports\gmp for example. Do a 'clean' to ensure the old workdir is removed and to build the port just run 'build gmp'. What it does is check for the existance of the source in your local \install\archives. If it does not exist it downloads it, extracts it, builds and installs it. It's really that simple. You can do a 'clean' afterwards to remove the workdir. As of this writing we have four working ports in the tree. Perl, gmp, gnugdbm, and gnuufc. Reinstalls -------------------------------------------------------- If you should ever decide to reinstall the UX2BS for any reason, delete everything *except* \install\archives. This will save you the expense of redownloading it again. The install script checks for the existance of it and will continue the install. As of this writing there is no way to refresh it automatically so you will have to maintain it yourself. Once the install completes the subdirectories are no longer of use since the source required for the ports tree are automagiclly downloaded to \install\archives. Websites and Mailists -------------------------------------------------------- UnixOS2.org http://unixos2.com/ UX2 Build System http://os2ports.com/sections/ux2bs UX2BS Mailing List http://os2ports.com/mailman/listinfo/ux2bs OS2-Unix Developers List majordomo at mail.warpix.org Complaints -------------------------------------------------------- > /dev/null Raves -------------------------------------------------------- Just send the beer... Enjoy! The UnixOS2.org Team --------------000209020808090704000909 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs --------------000209020808090704000909-- **= Email 9 ==========================** Date: Mon, 25 Aug 2003 13:25:15 -0400 From: "T.Sikora" Subject: Withdrawing the db build Has problems.. Will reflect it in ux2bs_update in a while. -- T.Sikora tsikora at ntplx dot net _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 10 ==========================** Date: Mon, 25 Aug 2003 14:14:56 -0400 From: "T.Sikora" Subject: Another update Run ux2bs_update again I replaced that broken bsd db -- T.Sikora tsikora at ntplx dot net _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 11 ==========================** Date: Mon, 25 Aug 2003 14:25:31 -0400 From: "T.Sikora" Subject: Re: README revisions This is a multi-part message in MIME format. --------------060101090401060500030700 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Dave Saville wrote: > On Mon, 25 Aug 2003 13:09:40 -0400, T.Sikora wrote: > > >>I added a Reinstall section. Dave I hope this clears things up. I guess >>I was too busy working on it. I understood it but nobody else did. >> > > > I don't understand the last sentence of the re-install part. > Once you install it you don't need to maintain it. If there's any changes running the ux2bs_update will update it. When you build a port with 'build port' if it's not in /install/archives it gets it for you. > BTW Where is the source for rsync - I might have a look at it. > ftp://rsync.samba.org/pub/rsync/rsync-2.5.6.tar.gz OS/2 is here: ftp://os2ports.com/pub/os2/unix/internet/rsync/rsync255.zip -- T.Sikora tsikora at ntplx dot net --------------060101090401060500030700 Content-Type: text/plain; name="rsync.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="rsync.patch" Only in rsync-2.5.5: access.o diff -urbB rsync-2.5.5.0/authenticate.c rsync-2.5.5/authenticate.c --- rsync-2.5.5.0/authenticate.c Thu Jan 24 03:33:44 2002 +++ rsync-2.5.5/authenticate.c Fri Jul 19 15:56:44 2002 at at -153,13 +153,17 at at if (do_stat(filename, &st) == -1) { rsyserr(FERROR, errno, "stat(%s)", filename); ok = 0; - } else if ((st.st_mode & 06) != 0) { + } +#ifndef __EMX__ + else if ((st.st_mode & 06) != 0) { rprintf(FERROR,"password file must not be other-accessible\n"); ok = 0; } else if (am_root && (st.st_uid != 0)) { rprintf(FERROR,"password file must be owned by root when running as root\n"); ok = 0; } +#endif // __EMX__ + if (!ok) { rprintf(FERROR,"continuing without password file\n"); if (envpw) rprintf(FERROR,"using RSYNC_PASSWORD environment variable.\n"); Only in rsync-2.5.5: authenticate.o diff -urbB rsync-2.5.5.0/backup.c rsync-2.5.5/backup.c --- rsync-2.5.5.0/backup.c Mon May 7 08:59:36 2001 +++ rsync-2.5.5/backup.c Fri Jun 21 23:56:40 2002 at at -103,10 +103,18 at at /* Make the directories */ while ((p=strchr(p,'/'))) { *p = 0; +#if SUPPORT_LINKS if(do_lstat(fullpath,&st)!=0) { +#else + if(do_stat(fullpath,&st)!=0) { +#endif do_mkdir(fullpath,0777 & ~orig_umask); if(p>q) { +#if SUPPORT_LINKS if(do_lstat(q,&st)!=0) { +#else + if(do_stat(q,&st)!=0) { +#endif rprintf(FERROR,"make_bak_dir stat %s : %s\n",fullpath,strerror(errno)); } else { st2=&st; Only in rsync-2.5.5: backup.o Only in rsync-2.5.5: batch.o Only in rsync-2.5.5: checksum.o Only in rsync-2.5.5: cleanup.o Only in rsync-2.5.5: clientname.o diff -urbB rsync-2.5.5.0/clientserver.c rsync-2.5.5/clientserver.c --- rsync-2.5.5.0/clientserver.c Wed Mar 27 02:03:12 2002 +++ rsync-2.5.5/clientserver.c Fri Jun 21 23:50:30 2002 at at -278,11 +278,13 at at * a warning, unless a "require chroot" flag is set, * in which case we fail. */ +#ifndef __EMX__ if (chroot(lp_path(i))) { rsyserr(FERROR, errno, "chroot %s failed", lp_path(i)); io_printf(fd," at ERROR: chroot failed\n"); return -1; } +#endif if (!push_dir("/", 0)) { rsyserr(FERROR, errno, "chdir %s failed\n", lp_path(i)); Only in rsync-2.5.5: clientserver.o Only in rsync-2.5.5: compat.o Only in rsync-2.5.5: config.h Only in rsync-2.5.5: config.log Only in rsync-2.5.5: config.status Only in rsync-2.5.5: configure Only in rsync-2.5.5: CONFIGURE..lineno diff -urbB rsync-2.5.5.0/configure.in rsync-2.5.5/configure.in --- rsync-2.5.5.0/configure.in Tue Apr 2 03:41:58 2002 +++ rsync-2.5.5/configure.in Fri Jun 21 23:37:54 2002 at at -3,7 +3,7 at at AC_INIT() AC_CONFIG_SRCDIR([byteorder.h]) AC_CONFIG_HEADER(config.h) -AC_PREREQ(2.52) +AC_PREREQ(2.50) RSYNC_VERSION=2.5.5 AC_SUBST(RSYNC_VERSION) Only in rsync-2.5.5.0: configure0 Only in rsync-2.5.5: connection.o Only in rsync-2.5.5/doc: rsync.html Only in rsync-2.5.5/doc: rsyncd.conf.html Only in rsync-2.5.5: exclude.o Only in rsync-2.5.5: fileio.o diff -urbB rsync-2.5.5.0/flist.c rsync-2.5.5/flist.c --- rsync-2.5.5.0/flist.c Thu Mar 14 22:20:20 2002 +++ rsync-2.5.5/flist.c Fri Jun 21 23:46:38 2002 at at -396,9 +396,11 at at add_gid(file->gid); write_int(f, (int) file->gid); } +#ifndef __EMX__ if (preserve_devices && IS_DEVICE(file->mode) && !(flags & SAME_RDEV)) write_int(f, (int) file->rdev); +#endif #if SUPPORT_LINKS if (preserve_links && S_ISLNK(file->mode)) { at at -520,9 +522,11 at at if (preserve_gid) file->gid = (flags & SAME_GID) ? last_gid : (gid_t) read_int(f); +#ifndef __EMX__ if (preserve_devices && IS_DEVICE(file->mode)) file->rdev = (flags & SAME_RDEV) ? last_rdev : (dev_t) read_int(f); +#endif if (preserve_links && S_ISLNK(file->mode)) { int l = read_int(f); Only in rsync-2.5.5: flist.o Only in rsync-2.5.5: generator.o Only in rsync-2.5.5: getgroups Only in rsync-2.5.5: getgroups.exe Only in rsync-2.5.5: hlink.o Only in rsync-2.5.5: io.o Only in rsync-2.5.5/lib: compat.o Only in rsync-2.5.5/lib: dummy Only in rsync-2.5.5/lib: fnmatch.o Only in rsync-2.5.5/lib: getaddrinfo.o Only in rsync-2.5.5/lib: getnameinfo.o Only in rsync-2.5.5/lib: inet_ntop.o Only in rsync-2.5.5/lib: inet_pton.o Only in rsync-2.5.5/lib: mdfour.o diff -urbB rsync-2.5.5.0/lib/permstring.c rsync-2.5.5/lib/permstring.c --- rsync-2.5.5.0/lib/permstring.c Thu Nov 29 01:15:20 2001 +++ rsync-2.5.5/lib/permstring.c Fri Jun 21 23:48:04 2002 at at -47,12 +47,16 at at if (mode & S_ISGID) perms[6] = (mode & S_IXGRP) ? 's' : 'S'; +#ifndef __EMX__ if (mode & S_ISVTX) perms[9] = (mode & S_IXOTH) ? 't' : 'T'; +#endif if (S_ISLNK(mode)) perms[0] = 'l'; if (S_ISDIR(mode)) perms[0] = 'd'; +#ifndef __EMX__ if (S_ISBLK(mode)) perms[0] = 'b'; +#endif if (S_ISCHR(mode)) perms[0] = 'c'; if (S_ISSOCK(mode)) perms[0] = 's'; if (S_ISFIFO(mode)) perms[0] = 'p'; Only in rsync-2.5.5/lib: permstring.o Only in rsync-2.5.5/lib: snprintf.o Only in rsync-2.5.5: loadparm.o Only in rsync-2.5.5: log.o diff -urbB rsync-2.5.5.0/main.c rsync-2.5.5/main.c --- rsync-2.5.5.0/main.c Wed Mar 27 06:10:44 2002 +++ rsync-2.5.5/main.c Fri Jul 19 15:50:34 2002 at at -615,6 +615,11 at at p = strchr(s,':'); if (!p) return NULL; +#ifdef __EMX__ + if ((s[1] == ':') && ((s[2] == '/') || (s[2] == '\\'))) + return NULL; +#endif + /* now check to see if there is a / in the string before the : - if there is then discard the colon on the assumption that the : is part of a filename */ p2 = strchr(s,'/'); at at -840,6 +845,11 at at extern int write_batch; int orig_argc; char **orig_argv; + +#ifdef __EMX__ + tzset(); + _wildcard( &argc, &argv); +#endif orig_argc = argc; orig_argv = argv; Only in rsync-2.5.5: main.o Only in rsync-2.5.5: Makefile Only in rsync-2.5.5: match.o Only in rsync-2.5.5: options.o Only in rsync-2.5.5: params.o Only in rsync-2.5.5/popt: dummy Only in rsync-2.5.5/popt: findme.o Only in rsync-2.5.5/popt: popt.o Only in rsync-2.5.5/popt: poptconfig.o Only in rsync-2.5.5/popt: popthelp.o Only in rsync-2.5.5/popt: poptparse.o Only in rsync-2.5.5: receiver.o Only in rsync-2.5.5: rsync Only in rsync-2.5.5: rsync.exe Only in rsync-2.5.5: rsync.o Only in rsync-2.5.5: rsync.txt Only in rsync-2.5.5: rsync.zip Only in rsync-2.5.5: rsyncd.conf Only in rsync-2.5.5: rsyncd.log Only in rsync-2.5.5: rsyncd.motd Only in rsync-2.5.5: rsyncd.pwd Only in rsync-2.5.5: sender.o Only in rsync-2.5.5: shconfig Only in rsync-2.5.5: socket.o diff -urbB rsync-2.5.5.0/syscall.c rsync-2.5.5/syscall.c --- rsync-2.5.5.0/syscall.c Mon Mar 25 04:51:16 2002 +++ rsync-2.5.5/syscall.c Sat Jun 22 17:47:44 2002 at at -39,6 +39,7 at at return unlink(fname); } +#if HAVE_LINK int do_symlink(char *fname1, char *fname2) { if (dry_run) return 0; at at -46,7 +47,6 at at return symlink(fname1, fname2); } -#if HAVE_LINK int do_link(char *fname1, char *fname2) { if (dry_run) return 0; at at -59,7 +59,11 at at { if (dry_run) return 0; CHECK_RO +#if HAVE_CHOWN return lchown(path, owner, group); +#else + return 0; +#endif } #if HAVE_MKNOD at at -107,6 +111,10 at at { if (dry_run) return 0; CHECK_RO +#ifdef __EMX__ + /* OS/2 rename fails if target exist */ + unlink(fname2); +#endif return rename(fname1, fname2); } Only in rsync-2.5.5: syscall.o Only in rsync-2.5.5: tls diff -urbB rsync-2.5.5.0/tls.c rsync-2.5.5/tls.c --- rsync-2.5.5.0/tls.c Mon Feb 18 23:49:00 2002 +++ rsync-2.5.5/tls.c Sat Jun 22 16:58:00 2002 at at -68,7 +68,11 at at char datebuf[50]; char linkbuf[4096]; +#if SUPPORT_LINKS if (do_lstat(fname, &buf) == -1) +#else + if (do_stat(fname, &buf) == -1) +#endif failed ("stat", fname); /* The size of anything but a regular file is probably not at at -79,6 +83,7 at at /* On some BSD platforms the mode bits of a symlink are * undefined. Also it tends not to be possible to reset a * symlink's mtime, so we have to ignore it too. */ +#if SUPPORT_LINKS if (S_ISLNK(buf.st_mode)) { int len; buf.st_mode &= ~0777; at at -95,6 +100,7 at at } else { linkbuf[0] = 0; } +#endif permstring(permbuf, buf.st_mode); Only in rsync-2.5.5: tls.exe Only in rsync-2.5.5: token.o Only in rsync-2.5.5: trimslash Only in rsync-2.5.5: trimslash.exe Only in rsync-2.5.5: uidlist.o diff -urbB rsync-2.5.5.0/util.c rsync-2.5.5/util.c --- rsync-2.5.5.0/util.c Wed Mar 20 02:09:48 2002 +++ rsync-2.5.5/util.c Sat Jun 22 18:27:28 2002 at at -26,6 +26,11 at at */ #include "rsync.h" +#ifdef __EMX__ +#define INCL_DOS +#include +#endif + extern int verbose; at at -549,6 +554,22 at at /* lock a byte range in a open file */ int lock_range(int fd, int offset, int len) { +#ifdef __EMX__ + + FILELOCK LockArea = {0,0}, UnlockArea = {0,0}; + APIRET rc; + + LockArea.lOffset = offset; + LockArea.lRange = len ? len : 0x7fffffffL; + rc = DosSetFileLocks( fd, &UnlockArea, &LockArea, 0, 0); + if (rc == 33) { /* Lock Violation */ + rc = DosSetFileLocks( fd, &UnlockArea, &LockArea, 1 * 1000, 0); + } + if (rc) + errno = EINVAL; + return (rc == 0 ? 0 : 1); + +#else struct flock lock; lock.l_type = F_WRLCK; at at -558,6 +579,7 at at lock.l_pid = 0; return fcntl(fd,F_SETLK,&lock) == 0; +#endif } at at -805,18 +827,30 at at if (!initialised) { initialised = 1; +#ifdef __EMX__ + _getcwd2(curr_dir, sizeof(curr_dir)-1); +#else getcwd(curr_dir, sizeof(curr_dir)-1); +#endif } if (!dir) return NULL; /* this call was probably just to initialize */ +#ifdef __EMX__ + if (_chdir2(dir)) return NULL; +#else if (chdir(dir)) return NULL; +#endif if (save) { ret = strdup(curr_dir); } +#ifdef __EMX__ + if ((*dir == '/') || (dir[1] == ':')) { +#else if (*dir == '/') { +#endif strlcpy(curr_dir, dir, sizeof(curr_dir)); } else { strlcat(curr_dir,"/", sizeof(curr_dir)); at at -833,7 +867,11 at at { int ret; +#ifdef __EMX__ + ret = _chdir2(dir); +#else ret = chdir(dir); +#endif if (ret) { free(dir); return ret; Only in rsync-2.5.5: util.o Only in rsync-2.5.5/zlib: adler32.o Only in rsync-2.5.5/zlib: deflate.o Only in rsync-2.5.5/zlib: dummy Only in rsync-2.5.5/zlib: infblock.o Only in rsync-2.5.5/zlib: infcodes.o Only in rsync-2.5.5/zlib: inffast.o Only in rsync-2.5.5/zlib: inflate.o Only in rsync-2.5.5/zlib: inftrees.o Only in rsync-2.5.5/zlib: infutil.o Only in rsync-2.5.5/zlib: trees.o Only in rsync-2.5.5/zlib: zutil.o --------------060101090401060500030700 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs --------------060101090401060500030700-- **= Email 12 ==========================** Date: Mon, 25 Aug 2003 17:41:25 +0100 (BST) From: "Dave Saville" Subject: Re: README On Mon, 25 Aug 2003 12:40:02 -0400, T.Sikora wrote: >How's this. Looks good to me. -- Regards Dave Saville _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 13 ==========================** Date: Mon, 25 Aug 2003 18:01:20 -0400 From: "T.Sikora" Subject: minor screwup The culprit of the bsd db build gone wrong... emxsrcd2.zip was missing from baseline. If you downloaded ux2bs in the last 4 hours you definitely need the ux2bs_update. You may want to rebuild gdbm gmp crypt perl Don't worry it's painless. clean, cd \ports\gmp, build gmp, clean, etc. I think it's time to take a break. -- T.Sikora tsikora at ntplx dot net _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 14 ==========================** Date: Mon, 25 Aug 2003 18:26:27 -0400 From: "T.Sikora" Subject: Re: minor screwup T.Sikora wrote: > The culprit of the bsd db build gone wrong... emxsrcd2.zip was missing > from baseline. If you downloaded ux2bs in the last 4 hours you > definitely need the ux2bs_update. You may want to rebuild > > gdbm > gmp > crypt > perl > > Don't worry it's painless. clean, cd \ports\gmp, build gmp, clean, etc. > I think it's time to take a break. > I definitelty need a break that's.. cd \ports\gmp clean build gmp clean -- T.Sikora tsikora at ntplx dot net _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 15 ==========================** Date: Mon, 25 Aug 2003 18:51:56 +0100 (BST) From: "Dave Saville" Subject: Re: README revisions On Mon, 25 Aug 2003 13:09:40 -0400, T.Sikora wrote: >I added a Reinstall section. Dave I hope this clears things up. I guess >I was too busy working on it. I understood it but nobody else did. > I don't understand the last sentence of the re-install part. BTW Where is the source for rsync - I might have a look at it. -- Regards Dave Saville _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 16 ==========================** Date: Mon, 25 Aug 2003 19:56:08 +0950 (CST) From: "Paul Smedley" Subject: Re: Autoconf On Sun, 24 Aug 2003 13:03:32 +0200, Andreas Buening wrote: >You can try http://unix.os2site.com/pub/source/autoconf/autoconf-2_57.zip >or if you want to try the first "binary" release: >http://unix.os2site.com/pub/binary/autoconf/autoconf-2_57-bin.zip >If you still have problems please give a more detailed description. The below is the output of trying to install autoconf-2_57-bin.zip [unixos2 E:\>sh -c ./install-ux2.sh program 'sed' is available and works program 'install-info' is available and works program '/usr/bin/m4' is available and works program '/usr/bin/perl' is available and works program 'patchux2' is available and works patchux2 --level 2 usr/bin/autoconf patchux2 0.1.0 program to patch UnixOS/2 script files 313 +++ rc = SysFileTree(filename, 'temp', 'F'); REX0016: Error 16 running E:\bin\patchux2.cmd, line 313: Label not found 685 +++ If Exist(option.file) = false; 113 +++ Call ParseCommandLine commandline; error: execution of patchux2 failed Cheers, Paul. _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 17 ==========================** Date: Mon, 25 Aug 2003 21:02:40 +0930 From: Paul Smedley Subject: Building Gphoto Hi All, Well I think I hacked together Autoconf 2.57 by looking at what install-ux2.sh was trying to do. Used it to build the configure script for the Gphoto2 shared libraries, and unfortunately get the same result as when I tried using os2unix. configure runs for a while, but terminates with: *** Could not determine how to handle *** shared libraries! Tried running configure with the option --enable-shared=no to disable the building of shared libraries but it didn't help. Tried replacing libtool with the version used to build the Sane shared libraries, but this also didn't help. Anyone come across this before? I'll admit to being a porting newbie :) Cheers, Paul. _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs