This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

tin-1.5.9 on cygwin, [patch]


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

Hi tin users,

I now have tin (binaries, sources & diff for building
tin on cygwin) on my homepage: 
	http://familiehaase.de/cygwin.html

So the previous patch includes wrong URL's, here now
the 'stable' patch for the snapshot version 1.5.9 of tin
to build clean on cygwin.

Just apply the patch and type $ sh ./Build.cygwin
That will configure & build & install tin in /usr/local

Patch is attached.

gph


-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8 -- QDPGP 2.61c
Comment: http://community.wow.net/grt/qdpgp.html

iQA/AwUBO0gcfjBeUmEooFE3EQJmmgCg51FJ5wkYZ7h89yywO0ns3cg/2oMAoLtZ
LTnJJrumTpLd2mgxe5AmmIxT
=Ggtn
-----END PGP SIGNATURE-----

-- 
=^..^=

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

diff -urbN tin-1.5.9/Build.cygwin tin-1.5.9-patched/Build.cygwin
- --- tin-1.5.9/Build.cygwin	Thu Jan  1 00:00:00 1970
+++ tin-1.5.9-patched/Build.cygwin	Wed Jul  4 17:02:24 2001
@@ -0,0 +1,21 @@
+#!/usr/bin/sh
+export CC=gcc
+export CFLAGS=-DSTATIC
+
+./configure --verbose \
+	--disable-echo --enable-nls \
+	--disable-mime-strict-charset \
+	--with-domain-name=YOUR.DOMAINNAME.HERE \
+	--with-ncurses --libdir=/usr/local/lib \
+	--with-coffee --with-nntp-default-server=YOUR.NEWSDOMAINNAME.HERE \
+    2>&1 |tee -a log.configure-cywgin
+
+mkdir /usr/doc/tin
+cp -R README.cygwin README doc/WHATSNEW doc/art_handling.txt \
+	doc/auth.txt doc/internals.txt doc/iso2asc.txt doc/mailcap.sample \
+	doc/pgp.txt doc/rcvars.txt doc/reading-mail.txt doc/tin.defaults \
+	doc/tools.txt doc/umlaute.txt doc/umlauts.txt tools /usr/doc/tin
+    
+cd src
+make install 2>&1 | tee log.install-cygwin
+
diff -urbN tin-1.5.9/src/Makefile.in tin-1.5.9-patched/src/Makefile.in
- --- tin-1.5.9/src/Makefile.in	Sat Jun 30 15:19:33 2001
+++ tin-1.5.9-patched/src/Makefile.in	Wed Jul  4 14:30:11 2001
@@ -45,12 +45,12 @@
 # Compiler, linker & parser commands
 CC	= @CC@
 CPP	= @CPP@
- -x	= @PROG_EXT@
+EXEEXT	= @PROG_EXT@
 PRELIB	= @LIB_PREFIX@
 
 DEBUG	= @ENABLE_DEBUG@ -DDEBUG #-DDEBUG_NEWSRC -DPROFILE -DDEBUG_REFS
 CANLOCK = # -DUSE_CANLOCK # -DEVIL_INSIDE
- -CPPOPTS	= @DEFS@ -I. -I../include -I$(top_builddir)/pcre -I$(top_srcdir)/pcre -DLOCALEDIR=\"$(prefix)/@DATADIRNAME@/locale\" -I$(INCDIR) $(DEBUG) $(CANLOCK) @CPPFLAGS@
+CPPOPTS	= @DEFS@ -I. -I../include -DLOCALEDIR=\"$(prefix)/@DATADIRNAME@/locale\" $(DEBUG) $(CANLOCK) @CPPFLAGS@ #-I$(top_builddir)/pcre -I$(top_srcdir)/pcre  -I$(INCDIR) 
 CFLAGS	= @CFLAGS@
 
 LD	= $(CC)
@@ -58,7 +58,8 @@
 YACC	= @YACC@
 
 CANLIB	= # -L../libcanlock -lcanlock
- -LIBS	= -L../pcre -lpcre $(CANLIB) @LIBS@ @INN_NNTPLIB@ @INTLDIR_MAKE@ @INTLLIBS@
+#LIBS	= -L../pcre -lpcre $(CANLIB) @LIBS@ @INN_NNTPLIB@ @INTLDIR_MAKE@ @INTLLIBS@
+LIBS	= -lpcre $(CANLIB) @LIBS@ @INN_NNTPLIB@ @INTLDIR_MAKE@ @INTLLIBS@
 
 # Where do you want the binary & manual page installed?
 DESTDIR	= @DESTDIR@
@@ -70,7 +71,7 @@
 
 # Project
 PROJECT	= @PACKAGE@
- -EXE	= @PACKAGE@$x
+EXE	= @PACKAGE@
 VER	= @VERSION@
 
 # directory structure
@@ -182,7 +183,7 @@
 
 EXTRAOBJS = @EXTRAOBJS@
 
- -EXTRALIBS = ../pcre/$(PRELIB)pcre.a @INTLDIR_MAKE@ @INTLLIBS@
+EXTRALIBS = -lpcre @INTLDIR_MAKE@ @INTLLIBS@ # ../pcre/$(PRELIB)pcre.a 
 
 OFILES	= @ALLOCA@ $(EXTRAOBJS) \
 	$(OBJDIR)/active.o \
@@ -283,9 +284,9 @@
 	$(MV) y.tab.c $(OBJDIR)/parsdate.c
 
 $(BINDIR)/$(EXE): $(OFILES) $(EXTRALIBS)
- -	@$(ECHO) "Linking $(EXE) v$(VER)..."
+	@$(ECHO) "Linking $(EXE)$(EXEEXT) v$(VER)..."
 	$(LD) $(LDFLAGS) -o $(BINDIR)/$(EXE) $(OFILES) $(NNTPLIB) $(NETLIBS) $(LIBS) $(DEBUG)
- -	@$(LS) $(BINDIR)/$(EXE)
+	@$(LS) $(BINDIR)/$(EXE)$(EXEEXT)
 
 help:
 	@$(ECHO) "This Makefile offers the following options:"
@@ -330,16 +331,16 @@
 
 install: $(DESTDIR)$(INS_BINARY_DIR)
 	@$(MAKE) all
- -	@$(ECHO) "Installing $(EXE) v$(VER) to $(DESTDIR)$(INS_BINARY_DIR)..."
- -	@$(INSTALL) -s $(BINDIR)/$(EXE) $(DESTDIR)$(INS_BINARY_DIR)/$(EXE)
- -	@( $(CD) $(DESTDIR)$(INS_BINARY_DIR) && $(RM) -f r$(EXE) && $(LN) $(EXE) r$(EXE) )
+	@$(ECHO) "Installing $(EXE)$(EXEEXT) v$(VER) to $(DESTDIR)$(INS_BINARY_DIR)..."
+	@$(INSTALL) -s $(BINDIR)/$(EXE)$(EXEEXT) $(DESTDIR)$(INS_BINARY_DIR)/$(EXE)$(EXEEXT)
+	@( $(CD) $(DESTDIR)$(INS_BINARY_DIR) && $(RM) -f r$(EXE)$(EXEEXT) && $(LN) $(EXE)$(EXEEXT) r$(EXE)$(EXEEXT) )
 	@$(MAKE) install_manpage
 	@$(MAKE) install_nls
 
 uninstall:
 	@$(ECHO) "Uninstalling $(EXE) in $(DESTDIR)$(INS_BINARY_DIR)..."
- -	@-$(RM) -f $(DESTDIR)$(INS_BINARY_DIR)/$(EXE)
- -	@-$(RM) -f $(DESTDIR)$(INS_BINARY_DIR)/r$(EXE)
+	@-$(RM) -f $(DESTDIR)$(INS_BINARY_DIR)/$(EXE)$(EXEEXT)
+	@-$(RM) -f $(DESTDIR)$(INS_BINARY_DIR)/r$(EXE)$(EXEEXT)
 	@$(MAKE) uninstall_manpage
 	@$(MAKE) uninstall_nls
 
@@ -368,9 +369,9 @@
 	@-$(RM) -f $(OFILES)
 	@-$(RM) -f $(OBJDIR)/parsdate.c
 	@-$(RM) -f LINT *.ln *.out
- -	@-$(RM) -f makecfg$x makecfg.o tincfg.h
+	@-$(RM) -f makecfg$(EXEEXT) makecfg.o tincfg.h
 	@-$(RM) -f core *~
- -	@-$(RM) -f $(EXE)
+	@-$(RM) -f $(EXE)$(EXEEXT)
 	@-if test -r ../pcre/Makefile ; then $(CD) ../pcre && $(ECHO) "Cleaning Philip Hazel's Perl-compatible regular expressions library..." && $(MAKE) @cf_cv_makeflags@ clean ; fi
 @MSG_DIR_MAKE@	@-if test -r ../po/Makefile ; then $(CD) ../po && $(MAKE) @cf_cv_makeflags@ $@ ; fi
 @INTLDIR_MAKE@	@-if test -r ../intl/Makefile ; then $(CD) ../intl && $(MAKE) @cf_cv_makeflags@ $@ ; fi
@@ -382,7 +383,7 @@
 distclean \
 clobber :: clean
 	@$(ECHO) "Clobbering..."
- -	@-$(RM) -f $(OFILES) $(BINDIR)/$(EXE) tags TAGS LINT cflow.$(PROJECT)
+	@-$(RM) -f $(OFILES) $(BINDIR)/$(EXE)$(EXEEXT) tags TAGS LINT cflow.$(PROJECT)
 
 distclean ::
 @INTLDIR_MAKE@	@-$(CD) ../intl && $(MAKE) @cf_cv_makeflags@ $@
@@ -419,10 +420,10 @@
 @INTLDIR_MAKE@	@$(CD) ../intl && $(MAKE) @cf_cv_makeflags@
 
 tincfg.h:			$(SRCDIR)/tincfg.tbl \
- -				makecfg$x
+				makecfg$(EXEEXT)
 	./makecfg $(SRCDIR)/tincfg.tbl tincfg.h
 
- -makecfg$x:			$(OBJDIR)/makecfg.o
+makecfg$(EXEEXT):			$(OBJDIR)/makecfg.o
 	$(LD) $(LDFLAGS) $(OBJDIR)/makecfg.o -o $@ @LIBS@
 
 $(OBJDIR)/active.o:		$(SRCDIR)/active.c $(TIN_DEP)
diff -urbN tin-1.5.9/README.cygwin tin-1.5.9-patched/README.cygwin
- --- tin-1.5.9/README.cygwin	Thu Jan  1 00:00:00 1970
+++ tin-1.5.9-patched/README.cygwin	Wed Jul  4 17:03:32 2001
@@ -0,0 +1,57 @@
+     *tin-1.5.9*
+     -----------
+
+     - what is it?
+       - A Usenet newsreader
+
+     - system
+       - Win32 (NT fits best) + Cygwin
+
+     - Cygwin (http://www.cygwin.com/setup.exe)
+       - it will not work outside of cygwin's bash shell environment
+       - I have no Win98 to test on, but you should use rxvt to have
+          a resizable terminal window. Please tell me if it works o.k.
+
+     - preliminaries
+       - install ncurses first (http://www.cygwin.com/setup.exe)
+       - install sharutils (for uuencode + uudecode), get the binaries from
+         http://familiehaase.de/cygwin.html
+       - get tin sources
+       - get the patch (is already applied in cygwin source package)
+       - or fetch it at http://familiehaase.de/cygwin.html
+       - To mail from tin install ssmtp & do the following:
+          $ cd /usr/sbin
+          $ ln -s ssmtp.exe sendmail.exe
+
+     - tin can be found
+       - on ftp://ftp.tin.org
+       - in /tin/v1.5/snapshots/ or in /tin/v1.5/
+       - as tin-1.5.9.tar.bz2
+       - or at http://familiehaase.de/cygwin.html
+       - as tin-1.5.9.tar.bz2
+       - the patch is named tin-1.5.9-3-cygwin.diff
+       - put all together in one directory
+
+     - unpack the source
+       - $ tar jxvf tin-1.5.9.tar.bz2
+       - $ cd tin-1.5.9
+
+     - patch the source
+       - $ patch -p1 < ../tin-1.5.9-3-cygwin.diff 
+
+     - configure & make install
+       - $ Build.cygwin
+
+     - after install
+       - add to your profile (.bashrc):
+              export NNTPSERVER=your.nntp.server
+
+     - notes
+       - You also need an editor. 'vim' works fine. 'joe' works,
+         get it at http://familiehaase.de/cygwin.html
+
+     - package availability
+	      - on http://familiehaase.de/cygwin.html
+
+     - contributed by
+       - gerrit@familiehaase.de (Gerrit Peter Haase) 2001-07-08
+

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8 -- QDPGP 2.61c
Comment: http://community.wow.net/grt/qdpgp.html

iQA/AwUBO0gcfzBeUmEooFE3EQKERwCgu2mOtEeUjZi/xNjG5JgU/PCBSKsAoP6s
g+ViNeD68inG0BbyNjdGkzmH
=5U4P
-----END PGP SIGNATURE-----

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]