From ModMyiFone - Wiki
Getting Started
Hi there! This is a quick guide on setting up your very own source for Installer.app. To start, we're going to need a few things:
-A webserver with FTP access
-An FTP client (winSCP)
-An iPhone with Installer.app
-An interface to connect to your iPhone (iBrickr, iPhoneBrowser, SSH, etc.)
I won't get into details about connecting to your webserver via FTP as you should already know how. If you don't, check your hosting service's support.
We're going to set up a demo repository on your website.
You will need to download this package to begin: Demo Repository.
In the long run, you probably won't want to host the packages included in the demo, but they should give you an example structure off which you can base your own packages.
Step One - Configure Your Repository
Extract the recently downloaded 'demo.zip' to a directory of your choice.
In your file manager, browse to the directory you extracted the files to.
Open the file 'repository.plist' in a plain-text editor.
Edit the text as follows, replacing the highlighted portions with your own information.
<dict>
<key>name</key>
<string>[name of source]</string>
<key>maintainer</key>
<string>[your name]</string>
<key>contact</key>
<string>[your email]</string>
<key>url</key>
<string>[URL of your homepage]</string>
<key>category</key>
<string>[category of source]</string>
</dict>
When you're finished, save the file.
Step Two - Upload Your Repository
In your preferred FTP client, connect to your webserver.
Create a remote directory in the publicly accessible directory of your server (often '/public_html' or '/httpdocs'). Upload the files you extracted and edited locally to this remote directory.
Step Three - Add Your Source in Installer.App
Next, using any iPhone interface such as iBrickr, iPhoneBrowser, or even SSH, download your 'PackageSources.plist' file located in the remote /private/var/root/Library/Installer directory on your iPhone.
Open the recently downloaded 'PackageSources.plist' in a plain-text editor.
After the <array> tag, insert the following text, replacing the highlighted portions with your own information. If you're confused, use the other sources as a guideline.
<dict>
<key>category</key>
<string>[category of source]</string>
<key>contact</key>
<string>[your email]</string>
<key>description</key>
<string>[description of source]</string>
<key>location</key>
<string>[URL of directory created in Step Two]</string>
<key>maintainer</key>
<string>[your name]</string>
<key>name</key>
<string>[name of source]</string>
<key>url</key>
<string>[URL of your homepage]</string>
</dict>
When you're finished, save the file. In your preferred iPhone interface, upload the recently edited 'PackageSources.plist' file to the remote /private/var/root/Library/Installer directory on your iPhone. If you are prompted to replace the file, say yes.
Congratulations!
That's it! Assuming you've done everything correctly, you should now be able to open Installer.app and see your source listed in the Sources tab. Of course, your source doesn't actually have any packages (except any included in the demo) so you'll need to learn how to create them. Detailed instructions on creating your own packages soon!