-r switch in portupgrade

During update process from php4.4.6 to php4.4.7 I have problem, suhosin patch not found, force me to leave update process for few days while doing some other importing job.

Today I try again to update php4 ports and working well but then I become lazy after see a lot of php4-* ports 🙂

After read more in portupgrade manual I found -r :

From manual :


–recursive            Act on all those packages depending on the given
packages as well.

kongja# portversion -v | grep ‘< '

XFree86-libraries-4.5.0 < needs updating (port has 4.5.0_1) freetype2-2.2.1_1 < needs updating (port has 2.2.1_2) gd-2.0.34,1 < needs updating (port has 2.0.34_1,1) gettext-0.16.1_1 < needs updating (port has 0.16.1_3) gmake-3.81_1 < needs updating (port has 3.81_2) libdrm-2.0.2 < needs updating (port has 2.3.0) libungif-4.1.4_2 < needs updating (port has 4.1.4_3) ming-0.3.0 < needs updating (port has 0.3.0_1) p5-GD-2.35 < needs updating (port has 2.35_1) p5-GD-TextUtil-0.86 < needs updating (port has 0.86_1) pfstat-2.2_2 < needs updating (port has 2.2_3) php4-4.4.6 < needs updating (port has 4.4.7) php4-bz2-4.4.6 < needs updating (port has 4.4.7) php4-ctype-4.4.6 < needs updating (port has 4.4.7) php4-ftp-4.4.6 < needs updating (port has 4.4.7) php4-gd-4.4.6 < needs updating (port has 4.4.7) php4-imap-4.4.6 < needs updating (port has 4.4.7) php4-mbstring-4.4.6 < needs updating (port has 4.4.7) php4-mcrypt-4.4.6 < needs updating (port has 4.4.7) php4-mysql-4.4.6 < needs updating (port has 4.4.7) php4-overload-4.4.6 < needs updating (port has 4.4.7) php4-pcre-4.4.6 < needs updating (port has 4.4.7) php4-posix-4.4.6 < needs updating (port has 4.4.7) php4-recode-4.4.6 < needs updating (port has 4.4.7) php4-session-4.4.6 < needs updating (port has 4.4.7) php4-snmp-4.4.6 < needs updating (port has 4.4.7) php4-sockets-4.4.6 < needs updating (port has 4.4.7) php4-tokenizer-4.4.6 < needs updating (port has 4.4.7) php4-xml-4.4.6 < needs updating (port has 4.4.7) php4-zlib-4.4.6 < needs updating (port has 4.4.7) png-1.2.14 < needs updating (port has 1.2.18) popt-1.7_3 < needs updating (port has 1.7_4) sarg- < needs updating (port has t1lib-5.1.1,1 < needs updating (port has 5.1.1_1,1)

Continue reading

in Unix | 84 Words

Mysql Workbench

From mysql page :

MySQL Workbench is a database modeling tool for MySQL. You can use it to design and create new database schemas, document existing databases and even perform complex migrations to MySQL. Main features:

  • fast OpenGL based canvas (requires hardware OpenGL)
  • database reverse-engineering
  • database/model synchronization
  • SQL script generation
  • quickly accessible ‘Overview’ mode, where the entire model is zoomed out to fit the canvas
  • design your database in conceptual, logical and physical levels
  • extensible architecture
  • export as SQL CREATE script
  • import/export DBDesigner4 models
  • visual representation of tables, views, stored procedure/functions
  • support for MySQL 5 features
  • selectable notations for diagram

at time of writing latest version mysql workbench is 1.1.0Alpha, download link for windows x86

Mysql workbench formerly was dbdesigner from fabforce.net.

I try to install it before learn it more :


Continue reading

101 Resources for Self Learning Cisco

Self learning Cisco? Is it possible?

Why not – with so many resource in internet like Blog, tutorials, video, wiki, forum etc will help newbie like me. After see many term like CCNA, CCIE, frame relay etc that I don’t know in networking field I found that Cisco is the answer, Cisco have standard and their certification is needed in related networking job. I’m just chemical engineer who wanna learn about networking so I need to list useful link to help me learning Cisco.

No intention to take certification for now but who knows I’ll take one some day 🙂 Since I’m very very new in learning Cisco I try to list useful link I found and will update the list on demand.

Learning On Demand rules 🙂

1. About Cisco From Wikipedia

Cisco Systems, Inc.NASDAQ: CSCO, SEHK: 4333) is a global company headquartered in San Jose, California, USA, that designs and sells networking and communications technology and services under four brands: Cisco, Linksys, WebEx and Scientific Atlanta. Initially, Cisco manufactured only enterprise multi-protocol routers, but today Cisco’s products can be found everywhere from the living room to the enterprise to service provider networks. Cisco’s vision is “Changing the Way We Live, Work, Play and Learn.” Cisco’s current tagline is “Welcome to the human network.”.

2. Certification On Cisco From Wikipedia

3. Start Learning On Certification Level

>>>> CCNA

CCNA 1, Intro to Networking, Networking Fundamentals, Networking Media, Cable Testing, Cabling LANs and WANs, Ethernet Fundamentals, Ethernet Technologies, Ethernet Switching, TCP/IP Protocol Suite and IP Addressing, Routing Fundamentals, TCP/IP Transport and Application Layers

Continue reading

Calculating Idle-PC values in Windows XP

First try dynamips make me shock, my winamp get cold 🙂

100% cpu utilization means I can do multitask beside waiting for current process over.

Looking around at dynamips blog and read Hafidz blog give me clue about idle PC.

Try it out on my laptop :

1. Uncompress IOS and put it on images folder

2. Update Dynamips to latest version (0.2.7 final release)

3. Enter command prompt


4. Run dynamips affect process (94%) before using idle PC value

Continue reading

Install xorg 7.2 via package, still error upgrading php4-gd

Finally I’m using xorg 7.2 🙂

Using package

kongja# pkg_add -vr xorg

kongja# portversion -v | grep ‘< '

[Updating the pkgdb in /var/db/pkg … – 405 packages found (-0 +256) …………………………………………………………………………………………………………………………………………………………………………………………………………………………………. done]
dri-6.5.3,2                 <   needs updating (port has 6.5.3_1,2) libGL-6.5.3_1               <  needs updating (port has 6.5.3_2) libungif-4.1.4_2            <  needs updating (port has 4.1.4_3) luit-1.0.2                  <  needs updating (port has 1.0.2_1) php4-gd-4.4.6               <  needs updating (port has 4.4.7) t1lib-5.1.1,1               <  needs updating (port has 5.1.1_1,1) xorg-server-1.2.0_1,1       <  needs updating (port has 1.2.0_2,1)

kongja# portupgrade php4-gd

Continue reading

in Unix | 17 Words