This article talks about creating Solaris package for latest stable version of ProFTPD (it's 1.3.3e when I write this).
For example, Blastwave.org has version 1.3.0, so say you wanna do this instead of waiting them to create the package.
{host}/tmp/proftpd-1.3.3e> ./configure \ '--prefix=/genpackage' \ '--with-modules=mod_tls:mod_ldap:mod_rewrite:mod_load:mod_readme:mod_radius:mod_rename:mod_exec:mod_deflate:mod_shaper:mod_sftp' \ '--enable-ctrls' \ '--enable-openssl' \ '--with-includes=/opt/csw/include' \ '--with-libraries=/opt/csw/lib' \ '--disable-ipv6' \ '--localstatedir=/var' |
{host}/tmp/proftpd-1.3.3e> gmake |
{host}/> setenv PATH /usr/ccs/bin:$PATH |
{host}/tmp/proftpd-1.3.3e> gmake install |
{host}/genpackage> find /genpackage -print > /tmp/proftpd.file_list.txt |
{host}/tmp> cat proftpd.file_list.txt | sed 's/genpackage/opt\/csw/g' > proftpd.file_list.txt~ {host}/tmp> mv proftpd.file_list.txt~ proftpd.file_list.txt |
{host}/tmp> cat proftpd.file_list.txt | pkgproto > prototype-proftpd |
An example: PKG=MYProftpd NAME=proftpd - GPL-licensed FTP server - for Genesys ARCH=sparc VERSION=1.3.3e CATEGORY=application |
{host}/tmp> pkgmk -o -r / -d . -f prototype-proftpd -o = overwrite package instance if already exists -r = defines root directory for file location -d = defines location where to create package -f = defines prototype file. Can be omitted if filename is [Pp]rototype |
{host}/tmp> tar -cf MYProftpd_1.3.3e-SPARC.pkg.tar MYProftpd {host}/tmp> gzip MYProftpd_1.3.3e-SPARC.pkg.tar |