HaikuPorts
  • Login
  • Preferences
  • Help/Guide
  • Wiki
  • Timeline
  • Roadmap
  • View Tickets
  • Search
  • Port Log
  • Blog

Context Navigation

  • ← Previous Change
  • Wiki History
  • Next Change →

Changes between Version 1 and Version 2 of net-misc/putty/0.60/1


Ignore:
Timestamp:
02/04/09 22:09:01 (6 years ago)
Author:
scottmc
Comment:

initial build attempt

Legend:

Unmodified
Added
Removed
Modified
  • net-misc/putty/0.60/1

    v1 v2  
    1   
     1  I edited configure.ac to fix their AC_CHECK_HEADERS, changing that section to: 
     2{{{ 
     3AC_CHECK_HEADERS([utmpx.h]) 
     4AC_CHECK_HEADERS([sys/select.h]) 
     5AC_CHECK_HEADERS([sys/types.h]) 
     6AC_CHECK_HEADERS([utmp.h])  
     7}}} 
     8 
     9Then I added a check for -lnetwork: 
     10{{{ 
     11AC_SEARCH_LIBS([socket], [network]) 
     12}}} 
     13 
     14And commented out the gtk-path part: 
     15{{{ 
     16#AM_PATH_GTK([1.2.0], [all_targets="all-cli all-gtk"], [all_targets="all-cli"]) 
     17}}} 
     18 
     19In the Makefile I added: 
     20{{{ 
     21XLDFLAGS =  -lnetwork 
     22ULDFLAGS =  -lnetwork  
     23}}} 
     24 
     25After the install: section I added: 
     26{{{ 
     27install-cli: 
     28        $(INSTALL_PROGRAM) -m 755 plink $(DESTDIR)$(bindir)/plink 
     29        $(INSTALL_PROGRAM) -m 755 pscp $(DESTDIR)$(bindir)/pscp 
     30        $(INSTALL_PROGRAM) -m 755 psftp $(DESTDIR)$(bindir)/psftp 
     31        $(INSTALL_PROGRAM) -m 755 puttygen $(DESTDIR)$(bindir)/puttygen 
     32        $(INSTALL_DATA) -m 644 ../doc/plink.1 $(DESTDIR)$(man1dir)/plink.1 
     33        $(INSTALL_DATA) -m 644 ../doc/pscp.1 $(DESTDIR)$(man1dir)/pscp.1 
     34        $(INSTALL_DATA) -m 644 ../doc/psftp.1 $(DESTDIR)$(man1dir)/psftp.1 
     35        $(INSTALL_DATA) -m 644 ../doc/puttygen.1 $(DESTDIR)$(man1dir)/puttygen.1 
     36}}} 
     37 
     38This allows for using "make install-cli" to get just the parts that will work built. 
     39 
     40I edited uxplink.c to comment out an occurance of O_NDELAY /* O_NDELAY */ and commented out another section near the end of the file where another macro was undefined thus causing a compare to always be false. 
     41 
     42unser.c also needed minor patching. 
     43 
     44TODO: figure out a better way to patch this one. 
     45 
     46run autoconf, then ./configure --prefix=/boot/common, make all-cli, make install-cli 
     47do not run automake, run "perl ../mkfiles.pl" if you need to generate the Makefile, and then add the fixed listed above.  A correct patch will need to figure out how to put these fixes into the mkfile.pl file. 
     48 
     49TODO: figure out how to run the tests if any 
     50 
     51NOTE: wrote this from memory so might have missed a step or two. 

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/