|
|
www.lissyara.su
—>
—>
—> portupgrade
portupgrade - `` .
: lissyara.
. - . - , , . , , , . - portupgrade.
/usr/home/lissyara/>cd /usr/ports/
/usr/ports/>make search name='portupgrade'
Port: portupgrade-2.0.1_1,1
Path: /usr/ports/sysutils/portupgrade
Info: FreeBSD ports/packages administration and management tool suite
Maint: koma2@lovepeers.org
B-deps: ruby-1.8.4_4,1
R-deps: perl-5.8.8 ruby-1.8.4_4,1 ruby18-bdb1-0.2.2
WWW:
/usr/ports/>
/usr/ports/>cd /usr/ports/sysutils/portupgrade
/usr/ports/sysutils/portupgrade/>make && make install && make clean
| - . BDB4 - 4.11. ( , .)
[X] BDB4 Use Berkeley DB >=2 as backend. (Use BDB 1.85 if off)
| (, - 10 .) , :
/usr/ports/sysutils/portupgrade/>pkg_version -v | grep "need"
fontconfig-2.3.2,1 < needs updating (port has 2.3.2_3,1)
freetype2-2.1.10_2 < needs updating (port has 2.1.10_3)
gettext-0.14.5 < needs updating (port has 0.14.5_2)
glib-2.8.6 < needs updating (port has 2.8.6_1)
john-1.6.40 < needs updating (port has 1.7_1)
jpeg-6b_3 < needs updating (port has 6b_4)
libdrm-2.0 < needs updating (port has 2.0_1)
libiconv-1.9.2_1 < needs updating (port has 1.9.2_2)
libmcrypt-2.5.7_1 < needs updating (port has 2.5.7_2)
libtool-1.5.18 < needs updating (port has 1.5.22_2)
mysql-server-5.0.18 < needs updating (port has 5.0.18_2)
perl-5.8.7_2 < needs updating (port has 5.8.8)
phpMyAdmin-2.7.0.2 < needs updating (port has 2.8.0.1)
png-1.2.8_2 < needs updating (port has 1.2.8_3)
popt-1.7 < needs updating (port has 1.7_1)
samba-3.0.21a,1 < needs updating (port has 3.0.21b,1)
t1lib-5.1.0,1 < needs updating (port has 5.1.0_1,1)
/usr/ports/sysutils/portupgrade/>
| . :portupgrade _ . :
#!/bin/sh
# ,
#
portupgrade="/usr/local/sbin/portupgrade"
pkg_ver="/usr/sbin/pkg_version"
# ,
#
${pkg_ver} -v | grep "need" | awk '{print $1}' |
{
while read pkg_name
do
# , pkg_name
${portupgrade} ${pkg_name}
done
}
# :
# ,
# . , , "" :)
| , - .. , , , , , MySQL? samba, - ? , - . - , .. MySQL, perl`a . :
/usr/home/lissyara/>pkg_version -v | grep "need"
libtool-1.5.18 < needs updating (port has 1.5.22_2)
/usr/home/lissyara>pkg_info | grep libtool-
libtool-1.5.18 Generic shared library support script (1.5)
libtool-1.5.22_2 Generic shared library support script
/usr/home/lissyara/>
| . libtool ... - , , , - . :
/usr/home/lissyara/>pkgdb -F
---> Checking the package registry database
Duplicated origin: devel/libtool15 - libtool-1.5.18 libtool-1.5.22_2
Unregister any of them? [no] yes
Unregister libtool-1.5.18 keeping the installed files intact? [no] yes
-> libtool-1.5.22_2 is kept.
--> Saving the libtool-1.5.18's +CONTENTS file as /var/db/pkg/libtool-1.5.22_2/
+CONTENTS.libtool-1.5.18
--> Unregistering libtool-1.5.18
--> Done.
[Updating the pkgdb <format:dbm_hash> in /var/db/pkg ... - 71 packages found
(-1 +0) (...) done]
Stale dependency: mysql-server-5.0.18_2 -> ldconfig_compat-1.0_6
(misc/ldconfig_compat):
New dependency? (? to help):
^C
| - - . , - , :
/usr/home/lissyara/>cd /usr/ports/misc/ldconfig_compat
/usr/ports/misc/ldconfig_compat/>make && make install && make clean
===> Vulnerability check disabled, database not found
===> Extracting for ldconfig_compat-1.0_6
===> Patching for ldconfig_compat-1.0_6
===> Configuring for ldconfig_compat-1.0_6
===> Installing for ldconfig_compat-1.0_6
===> Generating temporary packing list
===> Checking if misc/ldconfig_compat already installed
===> Registering installation for ldconfig_compat-1.0_6
===> Cleaning for ldconfig_compat-1.0_6
/usr/ports/misc/ldconfig_compat/>pkgdb -F
---> Checking the package registry database
[Updating the pkgdb <format:dbm_hash> in /var/db/pkg ... - 72 packages
found (-0 +1) . done]
/usr/ports/misc/ldconfig_compat/>
| . , .
P.S. , , make - , portupgrade . Makefile - . - - pkg_delete make && make install && make clean :)
P.S.2 , portupgrade :
/usr/home/lissyara/>pkg_info -xL portupgrade | grep man
/usr/local/man/man1/pkg_deinstall.1.gz
/usr/local/man/man1/pkg_fetch.1.gz
/usr/local/man/man1/pkg_glob.1.gz
/usr/local/man/man1/pkg_sort.1.gz
/usr/local/man/man1/pkgdb.1.gz
/usr/local/man/man1/portcvsweb.1.gz
/usr/local/man/man1/portsclean.1.gz
/usr/local/man/man1/portsdb.1.gz
/usr/local/man/man1/portupgrade.1.gz
/usr/local/man/man1/portversion.1.gz
/usr/local/man/man5/pkgtools.conf.5.gz
/usr/local/man/man1/pkg_which.1.gz
/usr/local/man/man1/portinstall.1.gz
/usr/local/man/man1/ports_glob.1.gz
/usr/home/lissyara/>
| .
P.S. :) - portupgrade , ! :
1. courier-imap . -- .
2. MySQL cp1251 - - ... , . .
|
|
2010-08-25, manefesto
freebsd lvm
linux_lvm LVM - FreeBSD. lvm
2010-04-30, gonzo111
proftpd file auth"a
Proftpd - , /
2010-04-22, lissyara
tw_cli
RAID 3ware, . email.
2010-04-14, fox
MySQL Master+Master
MySQL (Master Master) and (Master Slave)
2010-03-22, Mufanu
named 9.7.0
(Domain Name Service, DNS) - , , , .
2010-03-09, terminus
DNS zones
DNS . DNS .
2010-03-09, aspera
Squid+AD (group access)
SQUID AD.
2010-03-02, BlackCat
: 4
: (OpenNTPD), DynDNS.org.
2010-03-01, BlackCat
: 3
DHCP DNS , c ( ) DNS, DHCP DNS .
2010-03-01, BlackCat
: 2
pf , FTP
2010-03-01, BlackCat
: 1
/ PPPoE-, NAT DNS-forwarding.
2010-02-23, Morty
darkstat
, -. , , , ,
2010-01-23, gonzo111
squid+sams+sqstat
squid sams - . SqStat.
2009-12-19, schizoid
mpd5 + radius + ng_car + Abills
pppoe- Abills ng_car
|
|
: 50 .
|
30 : 225
|
15832 , 1773 IP
|
|
|
|
,
,
( ), — .
— . —
, , , ,
, .
— .
© lissyara 2006-10-24 08:47 MSK
|
|
|
[30 .]