Re: Package post-install scripts ?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Re: Package post-install scripts ?

Uwe Dippel
On Thu, 27 Oct 2005 13:41:57 +0100, David Cathcart wrote:

> pkg_info -M `ls -rt /var/db/pkg/`

Good one, but incomplete:

# pkg_add /usr/ports/packages/i386/all/postfix-2.2.5p0.tgz                                        <
postfix-2.2.5p0: complete
--- postfix-2.2.5p0 -------------------
-> Creating /etc/mailer.conf.postfix
-> Creating Postfix spool directory and chroot area under /var/spool/postfix

| The existing configuration files in /etc/postfix has been preserved.
| You may want to compare them to the current sample files,
| /usr/local/share/examples/postfix, and update your configuration as needed.
| /etc/postfix/post{fix-{script,files},-install} has been updated.

| Don't forget to add "-a /var/spool/postfix/dev/log" to syslogd_flags
| in /etc/rc.conf.local (or /etc/rc.conf) and restart syslogd.

| Postfix can be set up to replace sendmail entirely. Please read the
| documentation at file:/usr/local/share/doc/postfix/html/index.html or
| carefully before you decide to do this!
| To replace sendmail with postfix you have to install a new mailer.conf
| using the following command:
|     /usr/local/sbin/postfix-enable
| If you want to restore sendmail, this is done using the following command:
|     /usr/local/sbin/postfix-disable

# pkg_info -M `ls -rt /var/db/pkg/`
Information for metaauto-0.5


Information for pcre-4.5p1

Information for postfix-2.2.5p0