NetCat for Solaris

Tech-note: Solaris packaging of Netcat Index    

What:

Minimalistic packaging of Hobbit's netcat utility (version 1.10) for the Solaris package system, running on a SPARC-based architecture. [Download NTLMnetcat-sparc.pkg]

Netcat is the de facto (TCP|UDP)/IP swiss-army knife for the Unix world.

Characteristics:

Does not mess up your directory permissions.

Installs only two files: the binary, /usr/bin/nc and a man page, /usr/share/man/man1/nc.1 (stolen from the Debian project).

Compiled with Sun One Studio Compiler.

Compiled for SPARCv1 instruction set.

Installation:

Download the package to a temporary directory.

Run pkgadd -d NTLMnetcat-sparc.pkg from that directory and select the package for installation.

Installation transcript:

# pkgadd -d NTLMnetcat-sparc.pkg 

The following packages are available:

  1  NTLMnetcat     Hobbit's Netcat Utility

                    (sparc) 1.10

Select package(s) you wish to process (or 'all' to process

all packages). (default: all) [?,??,q]: 1

Processing package instance <NTLMnetcat> from </tmp/NTLMnetcat-sparc.pkg>

Hobbit's Netcat Utility

(sparc) 1.10

Using </> as the package base directory.

## Processing package information.

## Processing system information.

## Verifying disk space requirements.

## Checking for conflicts with packages already installed.

## Checking for setuid/setgid programs.

Installing Hobbit's Netcat Utility as <NTLMnetcat>

## Installing part 1 of 1.

/usr/bin/nc

/usr/share/man/man1/nc.1

[ verifying class <none> ]

Installation of <NTLMnetcat> was successful.

猜你喜欢

转载自sheng.iteye.com/blog/969085