Groupwise in Gentoo

  1. Emerge layman and subversion
  2. Tell layman about your proxy server by editing /etc/layman/layman.cfg ...
    1. Uncomment Proxy line
    2. Put in correct proxy server info
    3. Change the "nocheck" line to "yes"
  3. Configure portage by....
    1. Add the following line to the bottom of /etc/make.conf
      1. source /usr/portage/local/layman/make.conf
    2. Add the following line to /usr/portage/local/layman/make.conf
      1. PORTDIR_OVERLAY=""
  4. Update layman to get list of available overlays:  layman -f
  5. Add the "Novell-for-Gentoo" overlay:  layman -a n4g .  It will fail if you use a proxy server, but you need it to fail first in order for it to create the ~/.subversion/servers file.
  6. Configure subversion to use proxy server by editing ~/.subversion/servers :
    1. In the [global] section, uncomment/edit the proxy lines
    2. Reset:   http-compression = no
    3. Don't leave a beginning space on any of the lines you edited.
  7. Unmask the Groupwise ebuild:  echo "net-mail/novell-groupwise-gwclient ~x86" >> /etc/portage/package.keywords
  8. You will also want (need?) to add USE flags for it:  echo "net-mail/novell-groupwise-gwclient java novell-jre" >> /etc/portage/package.use
  9. The n4g overlay doesn't include e-builds for the latest beta version of Groupwise (7.0.3).  So you can make one:
    1. Copy the latest e-build for editing....
      1. cd /usr/portage/local/layman/n4g/net-mail/novell-groupwise-gwclient
      2. cp novell-groupwise-gwclient-7.0.2_p20070606-r4.ebuild novell-groupwise-gwclient-7.0.3-beta.ebuild
  10. Installation  When emerging Groupwise, it failed to download the Groupwise client from the Novell site (even the non-beta version) since Novell wasn't accepting my (valid) username & password.  I didn't have a /etc/portage/novell.acc file to specify my login/pass (as detailed on http://n4g.mars.arge.at/wiki/Install), and creating one didn't change results of the attempted emerge.   So...
      1. I went to download.novell.org with Firefox, logged in, and manually downloaded the version of Groupwise for Linux that I wanted.
      2. The filename is titled similarly to:  gw703clnxmulti.tar.gz
      3. I downloaded it into the /usr/portage/distfiles directory.
      4. Then I edited the ebuild:
        1. Comment out the SRC_URI line and add another:
        2. SRC_URI="/usr/portage/distfiles/gw703clnxmulti.tar.gz"
        3. Alternatively, if the download site that the ebuild lists is still the accurate address, you could change the exiisting SRC_URI to include your username/password instead of ${NOVELL_ACCOUNT_USERNAME} and ${NOVELL_ACCOUNT_PASSWORD}  (keep the colon between them).
        4. If you downloaded the tarball manually, comment out the rpm_unpack line and add another:
        5. rpm_unpack ${WORKDIR}/novell-groupwise-gwclient-7.0.3-20080129.i386.rpm
      5. Make a new "digest" (mostly just updating the Manifest file w/digital signature) for the newly edited ebuild:
        1. ebuild novell-groupwise-gwclient-7.0.3.ebuild digest
        2. Wait.
      6. Emerge it!   emerge novell-groupwise-gwclient
        1. Wait some more.
      7. Type groupwise  to start the program.  Enter username, password, and server address.

Powered by Linux