Porting CPM to Solaris 10

I am currently trying to port CPM to Solaris 10 (x86) with alot of support from Roland Buerk roland@h-f-f.de. Here is the documentation about the necessary steps.

Sunfreeware packages

Sunfreeware Packages

  • bzip2-1.0.5-sol10-x86-local.gz
  • coreutils-7.1-sol10-x86-local.gz
  • curl-7.19.4-sol10-x86-local.gz
  • diffutils-2.8.7-sol10-x86-local.gz
  • gettext-0.14.1-sol10-intel-local.gz
  • gnupg-1.4.8-sol10-x86-local.gz
  • gnupg-1.4.8-sol10-x86-local.gz
  • gpgme-1.1.4-sol10-x86-local.gz
  • libgpgerror-1.5-sol10-x86-local.gz
  • libiconv-1.11-sol10-x86-local.gz
  • libiconv-1.11-sol10-x86-local.gz
  • libidn-1.12-sol10-x86-local.gz
  • libintl-3.4.0-sol10-x86-local.gz
  • libxml2-2.6.31-sol10-x86-local.gz
  • ncurses-5.6-sol10-x86-local.gz
  • openssl-0.9.8j-sol10-x86-local.gz
  • readline-5.2-sol10-x86-local.gz
  • zlib-1.2.3-sol10-x86-local.gz

Selfcompiled libraries

Fix for ncurses

To fix /usr/local/bin/ncurses5-config from the ncurses package run

cd /usr/local/bin
ln -s /usr/bin/bash

CDK installation

./configure --with-ncurses
make install

cracklib installation

make install

cracklib wordlist installation

I used the hints from Linux from Scratch.

Starting in the cracklib source directory, assuming the wordlist is in ../cracklib-words-20080507.gz:

install -m 755 -d /usr/share/dict
install -m 755 -d /lib/cracklib
./install-sh -m 644 ../cracklib-words-20080507.gz /usr/share/dict/cracklib-words.gz
gunzip -v /usr/share/dict/cracklib-words.gz
ln -s cracklib-words /usr/share/dict/words
echo $(hostname) >> /usr/share/dict/cracklib-extra-words
/usr/local/sbin/create-cracklib-dict /usr/share/dict/cracklib-words /usr/share/dict/cracklib-extra-words

compiling CPM

./configure --with-ncurses --with-cdk-dir=/usr/local --with-cracklib-dict=/usr/local/share/cracklib/pw_dict
harry/cpm_solaris10.txt · Last modified: 2009/03/06 12:29 (external edit)
Locations of visitors to this page

Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki