os x

Creating OS X Packages for *nix Programs

Create OS X .pkg files for easily installing custom-built *nix programs.

http://developer.apple.com/tools/installerpolicy.html
http://steven.bitsetters.com/articles/2007/05/09/xcode-packagemaker-tutorial/
http://s.sudre.free.fr/Stuff/PackageMaker_Howto.html

The "Trick"!!
When installing the Unix programs using make install, set a specific destination for the files. You'll then use that to build your OS X pkg. Example:

DESTDIR=/where/to/temporarily/put/the/stuff sudo make install

On OS X 10.6 (Snow Leopard), had to change the command a bit:

make install DESTDIR=/where/to/temporarily/put/the/stuff

Technology:

AFP

Add AFP support for native OS X filesharing on the D-Link DNS-323

Install netatalk
http://wiki.dns323.info/howto:appletalk
Telnet into the DNS-323:

telnet <ip-address>

Download the netatalk packages:

cd /ffp/packages
wget http://www.inreto.de/dns323/fun-plug/0.5/extra-packages/All/netatalk-2.0.4-1.tgz
wget http://www.inreto.de/dns323/fun-plug/0.5/packages/db42-4.2.52-1.tgz

/ffp/sbin/funpkg -i netatalk*
/ffp/sbin/funpkg -i db42*

Using the WebGUI for the DNS-323, setup an FTP user and home directory for your AFP client(s).

Technology:

Customize Terminal

Hate how OS X's Terminal.app doesn't respond to page-up, page-down and other keystrokes the same way a Linux shell does? Here's how to tweak it.

Window Settings -> Keyboard

Page Up/Down
Select Page Down and click the Edit button. Change the Action to send string to shell. The \033 is entered by pressing the ESC key. The string to enter is:

\033[6~    (page down)
\033[5~    (page up)

Beginning and end-of-line

\033[1~   (beginning-of-line)
\033[4~   (end-of-line)

Forward/Back a word
Edit both ~/.inputrc and Terminal preferences to get this to work in Vim.

Technology:

OS X Agent

The OS X client is availabel from Codejanitor

The packaged installer can be downloaded here, however it has the server IP hardcoded into it. You'll have to edit /etc/ocsinventory-client/ocsinv.conf with your server address.

Technology:

Bootcamp on an already partitioned drive

New MacBook at work with OS X 10.5 (Leopard) on it. However, due to compatibility issues with some software, the machine will probably need to run OS X 10.4 instead. While I have the thing, figured I'd also install Windows XP on it so I could experiment with my Windows deployment guide.

Technology:

wget for OS X

Wget is a computer program that implements simple and powerful content retrieval from web servers and is part of the GNU Project. Its name is derived from World Wide Web and get, connotative of its primary function. It currently supports downloading via HTTP, HTTPS, and FTP protocols, the most popular TCP/IP-based protocols used for web browsing.

Pre-built for OS X 10.5 and higher on Intel
http://www2.42quarks.com/software/wget-for-os-x

Pre-built for OS X 10.4 and higher
Download from http://andrew.merenbach.com/?q=node/17 (no longer available?)

Compiling wget for OS X
Requires that you have the OS X Developer Tools installed.
Instructions from http://radio.javaranch.com/bear/2005/03/02/1109829480523.html
There's also instructions for building it from CVS.

Technology:

Pages

Subscribe to RSS - os x

Recent Updates

  • 1 year 12 months ago
  • 1 year 12 months ago
  • 2 years 2 days ago
    php 8.x
  • 2 years 3 days ago
    10.6.7
  • 2 years 5 days ago
    Drop Centos 5/6 stuff