mac:~ val$ grep -R 'pkg_add -r' dokuwiki-2009-12-25/ | sed 's/.*pkg_add -r \([^"<]*\).*/\1/' | sort -u > course.pkg.list [gate:~] # pkg_info | cut -f1 -d" " > gate.pkg.list [gate:~] # cat pkg_fetch.sh #!/bin/sh while read i do pkg_fetch -Rf $i done [gate:~] # sh pkg_fetch.sh < *.pkg.list
clamav with milter samba with ads dovecot with kerb php with mod apache ettercap without gtk snort with snortsam asterisk with mysql
Домашним каталогом пользователя ftp должен быть /usr/ports
client# cp /usr/local/etc/pkg.conf.sample /usr/local/etc/pkg.conf client# mkdir -p /usr/local/etc/pkg/repos client# cat /usr/local/etc/pkg/repos/FreeBSD.conf
FreeBSD: { enabled : no } myrep: { url : "http://rep/pkg93", enabled : yes, mirror_type : "http" }