now I hope this one gets the definitive answer for updating programs on FreeBSD

Lem0nHead

Verified User
Joined
Nov 28, 2004
Messages
265
how to update:

exim
====
wget http://files.directadmin.com/services/freebsd4.8/da_exim-NEWVERSION.tgz
pkg_del da_exim-OLDVERSION
pkg_add da_exim-NEWVERSION


ProFTPd
====
wget http://files.directadmin.com/services/freebsd4.8/da_proftpd-NEWVERSION.tgz
pkg_del da_proftpd-OLDVERSION
pkg_add da_proftpd-NEWVERSION


vm-pop3d
========
wget http://files.directadmin.com/services/freebsd4.8/da_vm-pop3d.tgz
pkg_del da_vm-pop3d
pkg_add da_vm-pop3d


imapd
=====
cd /usr/sbin/
rm imapd
wget http://files.directadmin.com/services/freebsd4.8/imapd


libmysqlclient.so (why is that useful?)
=======================================
cd /usr/local/lib/mysql/
rm libmysqlclient.so
wget http://files.directadmin.com/services/freebsd4.8/libmysqlclient.so


mysql
=====
cd /usr/local
wget http://files.directadmin.com/services/freebsd4.8/mysql-standard-NEWVERSION.tar.gz
tar -zxpvf mysql-standard-NEWVERSION.tar.gz
rm mysql
ln -s mysql-standard-NEWVERSION/ mysql
cd /usr/local/mysql/
rm -rf data/
ln -s /home/mysql/ data


majordomo
=========
?


PHP, Apache, curl, ZendOptimizer, FrontPage Extensions (and mod_frontpage), GD, libmcrypt, libpng, mhash, mod_perl, mod_ssl, webalizer, zlib, zziplib
=====================================================================================================================================================
/usr/local/directadmin/customapache/


phpMyAdmin
==========
/usr/local/directadmin/scripts/phpMyAdmin.sh


SquirrelMail
============
/usr/local/directadmin/scripts/squirrelmail.sh


UebiMiau
========
cd /var/www/html
wget http://files.directadmin.com/services/freebsd4.8/webmail.tar.gz
tar -zxpvf webmail.tar.gz
?


webalizer
=========
cd /usr/local/bin/
wget http://files.directadmin.com/services/freebsd4.8/webalizer

-------------------------------------------------------------------------------------

All other programs should be updated using portupgrade
A list can be seen running CVS, then
cd /usr/ports
make fetchindex
portversion -l \<

-------------------------------------------------------------------------------------

So... what do you think about that?
Some of those I haven't tried... this isn't supposed to be a tutorial, but a question, because I may be wrong on many of those.

I'd like to know if anyone could give suggestion, point mistakes and maybe we'd finally have a definitive document on how to upgrade DirectAdmin on FreeBSD. Maybe then this could be posted on help.directadmin.com

And now a suggestion: It seens many programs are updated in different ways (some are pkg, others are uncompressed, others are binary...). It would be nice if this got standarlized (maybe all as packages or, possibly, a updates/ directory on /usr/local/directadmin that would have scripts to update them)

thanks
 
Hello,

That looks good. The "webmail.sh" wont do anything in 1.25.5 or older as the webmail.sh doesn't have a version # in it. In 1.25.6 and later, webmail.sh will in fact update it (now that they are updating Uebimiau again). Here is the new webmail.sh for anyone interested (new version, new skins)
Code:
cd /usr/local/directadmin/scripts
wget -O webmail.sh [url]http://files.directadmin.com/services/all/webmail.sh[/url]
chmod 700 webmail.sh
./webmail.sh

libmysqlclient.so is rarely ever used, just there if you need it for compiling some things like perl modules.

Majordomo hasn't seen an update in quite some time. If there is, I'll likely convert it to the same format as the webmail.sh will be (same as squirrelmail and phpmyadmin). Currently, if there is an update you'd need to download the tar.gz into the packages folder, extract it, change the version in majordomo.sh and run majordomo.sh.

John
 
Tried to upgrade vmpop3d

Tried to upgrade vmpop3d:

server# pkg_add da_vm_pop3d
pkg_add: can't stat package file 'da_vm_pop3d'

Any idea?
 
Re: Tried to upgrade vmpop3d

pcoeman said:
Tried to upgrade vmpop3d:

server# pkg_add da_vm_pop3d
pkg_add: can't stat package file 'da_vm_pop3d'

Any idea?

it's vm-, not vm_
 
Re: Re: Tried to upgrade vmpop3d

Lem0nHead said:
it's vm-, not vm_

Indeed, but still...

server# wget http://files.directadmin.com/services/freebsd4.8/da_vm-pop3d.tgz
--18:50:16-- http://files.directadmin.com/services/freebsd4.8/da_vm-pop3d.tgz
=> `da_vm-pop3d.tgz'
Resolving files.directadmin.com... done.
Connecting to files.directadmin.com[199.237.54.170]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 53,928 [application/x-tar]

100%[================================================================================================================>] 53,928 262.01K/s ETA 00:00

18:50:16 (262.01 KB/s) - `da_vm-pop3d.tgz' saved [53928/53928]

server# pkg_delete da_vm_pop3d
pkg_delete: no such package 'da_vm_pop3d' installed
server# pkg_add da_vm_pop3d
pkg_add: can't stat package file 'da_vm_pop3d'
server# pkg_delete da_vm-pop3d
pkg_delete: no such package 'da_vm-pop3d' installed
server# pkg_add da_vm-pop3d
pkg_add: can't stat package file 'da_vm-pop3d'
server#
 
Back
Top