abijit28

How To Make A Complete Cydia Repo! Full Tutorial + FREE!

27 posts in this topic

So as you guys might have heard, I have created / finished my very own Cydia Repo! It is fully completed with a custom Depiction, Logo, Banner, Icon Pack, Packages and much more! So if you haven't seen my Cydia Repo, go add my Cydia Repo in Cydia, under the Manage tab, Sources, Edit, Add and then add this source, http://cydia.thf.comlu.com/ and that is all there is to it. So if you want to make your OWN Cydia Repo, then keep one thing in mind, this will take quite a while so make sure you have the time!

NOTE - Not for BEGINNERS!!!

Requirements:

~Mac OS X 10.7.2 or Virtual Machine Running Mac OS X 10.7.2 (Find Downloads Elsewhere)

~xCode or Notepad++

~Fink 0.32.4.1

~DS_Store Cleaner 1.6

~Server with MySQL hosting, 000webhost or HostGator!

~Jailbroken iDevice

~iFile on Your Jailbroken iDevice

~Some HTML Knowledge

After installing all the requirements, we can start the actual process of creating your very own Cydia Repo!

Step 1 - Setting Up Your Server!

You now need to set up your server on a site such as 000webhost, or HostGator. HostGator is where you may need to pay so I just went with the free deal on 000webhost. Make sure that your server provides PHP scripting and MySQL databases. Once you have registered your server, login with your info and then go to your cPanel. Once you are there, you want to click on SUBDOMAINS. Create a subdomain called whatever you want (ex. cydia or repo). So in the end, your subdomain will look like this, ex. cydia.yourdomainname.com. If you are given this option, make the Document Root /repo.

Step 2 - Loading Packages On Your Repo!

Now you want to download this ZIP File which has all of the folders and files needed to set up your cydia repo. Extract the contents and place the initialsetup.zip file and the repo folder on your desktop. Next, in cPanel click on FILE MANAGER. Open your repo.[domainname] subdomain’s root directory (usually /public_html/ by default, unless you have changed it to /repo/ as described in the previous step of this tutorial). Once you have open your root directory click on UPLOAD in the top bar menu. Then press the button CHOOSE FILE and select initialsetup.zip from your desktop. It should upload quickly. Once done, close the tab to return to the File Manager. You should be able to see the zipped file within the root directory. Now highlight initialsetup.zip by clicking on it once, and click EXTRACT in the top bar menu. Once extracted, your root directory should contain cgi-bin, depictions, and files folders, as well as the download.php, en_US.gz, index.html (or .php), and initialsetup.zip files. You can delete initialsetup.zip now – it has served its purpose. The repo folder on your desktop will be a mirror image of your root directory online. It is helpful to keep it on your desktop to conveniently upload (and reupload) files to your server.

The last thing you need to do right now is to make your Cydia icon which will be the icon displayed next to your repo on the Sources page in Cydia. The Cydia icon needs to be a 64×64 px PNG file and saved as CydiaIcon.png (CaPiTaLiZaTiOn matters; this applies to this whole tutorial). Place it within the repo folder and upload it to your server root directory in the same way you did with the initialsetup.zip file.

Step 3 - Making your first package

I have built the basic structure of your first Cydia package. It is a folder called Repo-Icon within the _extras_ folder and will be a package that installs your Cydia section(s) repo icon(s). These are icon(s) for different Sections (e.g. tweaks, themes, etc) for packages hosted on your repo. Move the Repo-Icon folder to your desktop. If you open it you will see that it contains 2 folders: DEBIAN and Applications. As you will see, every Cydia package (or .deb file) in its uncompressed state is a folder containing a DEBIAN folder and “path to files” folder(s). What do I mean by the “path to files” folder(s)? This is where iFile (the most useful app/tweak on a jailbroken iPhone) comes in. iFile operates like Finder on your Mac, giving you a way to navigate through all the files and folders on your iPhone. The “path to files” represents the path you have to take to get to the directory where you want the new files installed. In our case, we want to install the section repo icon(s) files in /Applications/Cydia.app/Sections/[here]. Therefore, the “path to files” will be an Application folder, within which will be a Cydia.app folder, within which will be a Sections folder, within which you will place your repo icon image file(s). Note that to open the Cydia.app folder you need to right-click on it and selaecting Show Package Contents. The repo icon image needs to be a 64×64 px PNG file (you can use the same icon as for CydiaIcon.png) and saved as the name you decide to call your section. If the name of the section is longer than one word place an underscore in between words (e.g. My_Themes.png). Place it within the Sections folder. I decided to keep my repo simple (perhaps you might want to do the same) and all my packages are within the TouchTweaks Section, therefore my only repo icon image file is called TouchTweaks.png. In summary, the “path to files” for kr1sis.png will be /Applications/Cydia.app/Sections/TouchTweaks.png. Other “path to files” you might find helpful include (but are not limited to):

BootLogos: /Library/BootLogos/[NameOfBootlogo]/…

Cydia apps: /Applications/[NameOfApplication].app/…

Ringtones: /Library/Ringtones/…

Wallpapers: /Library/Wallpaper/iPhone/…

Winterboard themes: /Library/Themes/[NameOfTheme].theme/…

Zeppelin logos: /Library/Zeppelin/[NameOfZeppelin]/…

The other folder in Repo-Icon is called DEBIAN. It contains a file called control. Let’s open the control file with TextEdit:

09.jpg

As you can see, it is a list with different properties of the package. Lets review them one by one as it is important that you do not make any mistakes.

Package: is the name of your package as Cydia will store it (e.g. com.thf.repo-icon). Keep it simple, keep it lower case.

Name: is the name of your package as it will appear to other users in Cydia (e.g. Icon for THF Repository).

Version: usually start with 1.0. If you update a package later, make sure the new version is higher that previous so it appears at the top of Changes in Cydia.

Architecture: always iphoneos-arm. DO NOT CHANGE.

Description: is the description of the package (e.g. This is a setup package for the thf Repository).

Maintainer: is you or whoever owns the repo. Add your email between < > (e.g. thf <me@thf.net>).

Author: is whoever made the package. Again, add email between < > (e.g. thf <me@thf.net>).

Section: is the Section your package should be placed in (e.g. TouchTweaks; as discussed above, I only have one Section).

Priority: always extra.

Depiction: is a link to a browsing window that will be inserted between the Author and Package Details parts on a package page in Cydia (e.g. http://cydia.thf.comlu.com/depictions/com.thf.repoicons.html). This is why package pages in different repositories (BigBoss, ModMyi, etc) look differently. I will describe to you later in this tutorial how to make depictions.

Installed-Size: is the size in bytes of the package when it is decompressed (e.g. 10377). It only takes the “path to files” folder(s) into account so the easiest method to determine the size is to right-click on the Applications folder, select Get Info, and bam! you got it. One last thing, but very IMPORTANT: after you type in the size, press RETURN and finish on a new line. Only then save your file as control (without any extensions such as .txt or .rtf).

Ok, so by now you should have a completed, uncompressed package in folder Repo-Icon on your desktop. It should have this “package tree” structure:

10.jpg

The next thing you need to do is clean your folder of .DS_Store files. What are they? They are invisible files that are created automatically within folders every time you open a folder with Finder. They contain information regarding each folder’s View Options. They are harmless but can interfere or corrupt a transfer or upload of packages between your server and Cydia. You can easily remove them with a Mac app called DS_Store Cleaner available for download here. Once installed, open it. You will see a pop up window with the text Drag Folders Here. Just do as it says with the Repo-Icon folder from your desktop, and…

You are now ready to compress your package. To do this open Terminal and enter the following two commands (press RETURN after each one):

12.jpg

13.jpg

If everything is well, following the second command you should receive an output message with 3 or 4 warnings, but the most important thing is that the file Repo-Icon.deb appears on your desktop. Congratulations, you have just made your first package. Move it into the files folder (inside your repo folder). It is probably a good idea to make yourself a folder where you will keep all the uncompressed packages (e.g. the Repo-Icon folder) so that in the future you can easily modify them if necessary. Alternatively, you can decompress a .deb file by entering the following command in Terminal (make sure the .deb file is on your desktop beforehand):

121.jpg

14.jpg

This will create 3 new files on your desktop: debian-binary (which you can immediately delete along with the original .deb file), control.tar.gz, and data.tar.gz. These last two files can be uncompressed by double-click. It will contain all the original files, however should you want to recompress them, you will need to rearrange them into the “package tree” structure (as described above) as well as DS_Store clean them beforehand. You may want to include a package into your repository whose .deb file you have downloaded from a source outside of Cydia. You can place it directly into the files folder or uncompress and recompress them (don’t forget the DS_Store clean) if you want to modify its contents. This might seem like a very lengthy process, but it has been so because you are only learning how to do it. With time, it will become quick and easy.

Step 4 - Preparing your Repository for Cydia

At this time, there should be only one folder on your desktop: repo. Clean up around it so you don’t make any mistakes (don’t hate me because I sound like your mother). What you need to do next is open your repo folder and place the Finder window somewhere in the corner so you can see what is happening within it. Then, open Terminal and enter the following commands:

122.jpg

15.jpg

16.jpg

You will receive a warning message but if you look carefully, a new file will appear inside your repo folder: Packages. Continue with the following commands:

17.jpg

Another new file will appear: Packages.bz2. Next command:

18.jpg

This transforms the Packages file into Packages.gz. Since we need the Packages file in the repo folder, we have to reenter the same command as before:

161.jpg

Next you need to open Release with TextEdit. Similarily to control, it is a list with different properties, but this time of the repository.

Origin: is the name of your repo as Cydia will display it in Sources (e.g. TouchHackerFreak).

Label: same as Origin (e.g. TouchHackerFreak).

Suite: always stable. DO NOT CHANGE.

Version: always 1.0. DO NOT CHANGE.

Codename: is the name of your repo as Cydia will register it. I suggested you make it the same as [yourcompany] in the control file (e.g. THF).

Architecture: always iphoneos-arm. DO NOT CHANGE.

Components: always main. DO NOT CHANGE.

Description: this appears at the very bottom of your package page in Cydia (e.g. Email me if you have any questions or want to report a bug).

MD5Sum: is the fun part. It is a a 32-character long code that you need to generate for each of your Package, Package.gz, and Package.bz2 files. Go to http://www.hashemall.com to hash your files. Once the site opens first you need to choose the ALGORITHM MD5 and then press the button CHOOSE FILE. Select Packages in your repo folder.

20.jpg

Then click on HASH THIS FILE > and several seconds later (0.007 seconds is a slight exaggeration) you will be provided with a hash code:

21.jpg

Copy and paste the code onto the first column 32 asterisks in the row that ends with Packages. Next right-click on the Packages file within the repo folder and choose Get Info. Look at the size of the file (in bytes):

221.jpg

Copy and paste the size onto the second column 3 asterisks in the row that ends with Packages. Now repeat these steps for the Packages.gz and Packages.bz2 files. In the end, the Release file should look like this:

23.jpg

Save it. Now your repository is almost ready, just one last thing… Open Terminal and enter commands:

24.jpg

Then just type the following:

Type 3 then hit RETURN

Type 1024 then hit RETURN

Type 0 then hit RETURN

Type y then hit RETURN

Type your name then hit RETURN

Type your email then hit RETURN

Type the name of your repo then hit RETURN

Type o then hit RETURN

Type a good passphrase (I suggest you use the same as the password on your Mac) then hit RETURN. Repeat this as prompted.

This generates a key (what does it open? Please don’t ask me, I don’t know). Next you need to write the following commands:

123.jpg

151.jpg

25.jpg

Type your passphrase. You will notice the appearance of another file in the repo folder: Release.gpg. This time, you are officially done. All that you must do at this time is upload all your newly made files onto the corresponding folders on your server. At this stage your root directory should have the following structure (note that the cgi-bin folder and index.html file are often present when you set up your server account, do not delete or modify them):

Now the moment you have been waiting for… Open Cydia, go to Manage, open Sources, press on Edit, then Add, and enter [repo.domainname]. If all has been properly installed, Cydia will star downloading your package Repo-Icon and make it available in your repo. Give yourself a good pat on the back… You did it! If you open the Repo-Icon package page now, a large chunk of it will be missing since you haven’t yet made a depiction page. No worries though, I will now show you how to make them.

Step 5 - Creating Your Depiction!

A depiction refers to the segment of the package page which can contain a banner, description tab, download counter tab, link to screenshots, and link to a URL. Cydia also adds a version tab and Filesystem contents tab (which is the exact “package tree” structure).

First make a banner image. It needs to be a 300px-wide PNG file. In order for it to look well aligned, add a transparent zone with a height of 17px above your image. Save it as banner.png and place it within the images folder (inside the depictions folder).

Next you will need to make a depiction .php file for each package in your repo. In order to make such a file you first need to decide whether or not you want a link to screenshots to be displayed. If not, use xCode to open _Depiction.php from the _extras_ folder. If you do want a link to screenshots, open _Depiction_SS.php instead.

For now, modify the entries that are highlighted:

(1) Description of App (the easiest way to do this is to copy and paste the Description line from the control file),

(2) change [NameOfPackage].deb to the name of the .deb file associated with this depiction,

(3) change [NameOfPackage].htm to the same as (2) but with .htm extension (notice that this line will be absent in the _Depiction.php file as there will not be any link to screenshots displayed), and

(4) change [yourwebsiteURL] to a link to your website if you have one. Save the file as [NameOfPackage].php and place it inside the depictions folder. Make sure the name of the .php file corresponds exactly to the one in the Depiction line of the control file (for example Repo-Icon.php).

If you have chosen to link your depiction to screenshots (using _Depiction_SS.php as a template), then place your .png images inside the screenshots folder which is within the depictions folder. I recommend a width of 300px (and height of 450px if you want to preserve the iPhone screen proportions) for the images. Save them as [NameOfPackage]1.png, [NameOfPackage]2.png, etc. Then use Xcode to open _Screenshots.htm from your _extras_ folder.

Modify the entries that are highlighted:

(1) App Name (I recommend to make it the same as in the Name line in the control file), and

(2) change [NameOfPackage]1.png, [NameOfPackage]2.png, etc to the names of the screenshot image files. If there are less or more than 3 screenshot images, delete or add lines, but make sure that the last line finishes with a </div> instead of <br>. Save the file as [NameOfPackage].htm and place it inside the screenshots folder (within the depictions folder). Make sure the name of the .htm file corresponds exactly to the one modified in

(3) in the _Depiction_SS.php file as explained above (e.g. Repo-Icon.htm).

Step 6 - Setting up the Cydia Package Download Counter

One of the last thing that I want to show you is how to make your package page show an download counter. First you need to open the cPanel on your server. Find and click MySQL DATABASES. Within MySQL Databases create a new database by writing a name (e.g. thf_repodb) and pressing on CREATE DATABASE. Once you receive confirmation, press on GO BACK. Next add a new user by writing a name (e.g. thf_user), generating a password (e.g. thfpassword), and pressing on CREATE USER. Go back. Finally add your user to your database by selecting a user and a database, and pressing on ADD. Go back. Return to cPanel and find and click phpMyADMIN. Press once on your MySQL database’s name in the menu on the left side. Now press on IMPORT in the top bar menu. Press the CHOOSE FILE button and select the createtable.sql file which is within your _extras_ folder. Once your .sql file is uploaded, use xCode or Notepad++ to open the connect.php file

Change yourusername, yourpassword, and yourdatabase to the username, password, and name of database that you just created (e.g. thf_user, thfpassword, and thf_repodb). Next, open the counter.php file, find out what is the time difference between your timezone and CST, and change ‘x’ (in both places) to that time difference (include ‘-’ if negative value; e.g. San Francisco: … NOW()+INTERVAL -2 HOUR …)

Now upload the modified files connect.php and counter.php as well as the htaccess file from the _extras_ folder to your root directory on your server. Once uploaded, highlight htaccess by clicking on it once, and click RENAME in the top bar menu. Change the name to .htaccess (i.e. add a ‘.’ in front of the name). The file may disappear from your root directory as files whose names start with a ‘.’ are hidden files (remember the .DS_Store files?)

You are now DONE! At this point you probably feel like your brain is totally overloaded and you start to wonder whether having a Cydia repository was worth all of this hassle. But do not despair. The hard part is over. From now on, all you have to do is add or update packages in your repository and I will summarise the process to you in the next step of the tutorial.

Credit: the original code for the download counter was written by damar1st. Please visit his website http://damarist.de.

Step 7 - Adding and Updating Packages in your Cydia Repository

-Make sure the folder repo is on your desktop.

» ADDING AND UPDATING PACKAGE IN REPOSITORY «

1) If updating a previously created .deb file, place it on your desktop and uncompress it by opening Terminal:

|cd desktop

|ar -x [NameOfPackage].deb

2) Create New [NameOfPackage] folder on the desktop

3) Insert “path to files” folder(s) inside the [NameOfPackage] folder

4) Create New DEBIAN folder inside the [NameOfPackage] folder

5) Use _control file (inside the _extras_ folder) as template to make a new control file, or modify the one obtained by uncompressing the .deb file. Save it inside the DEBIAN folder

6) Clean .DS_Store files from the [NameOfPackage] folder with DS_Store Cleaner

7) Open Terminal:

|cd desktop

|dpkg -b [NameOfPackage]

8) Place [NameOfPackage].deb inside the files folder

» UPDATING REPOSITORY ON CYDIA «

9) Delete files Packages, Packages.gz, Packages.bz2, and Release.gpg

10) Open Terminal:

(|cd desktop)

|cd repo

|dpkg-scanpackages files / > Packages

|bzip2 -fks Packages

|gzip -f Packages

|dpkg-scanpackages files / > Packages

11) Update MD5Sums in the Release file (http://www.hashemall.com, remember to select MD5 algorithm)

12) Open Terminal:

(|cd desktop)

(|cd repo)

|gpg -abs -o Release.gpg Release

|passphrase = ‘??? should be same as Mac if you listened to my advice’

13) Use the _Depiction.php (no screenshots) or _Depiction_SS.php (with screenshots) file (both inside the _extras_ folder) as template to make a new [NameOfPackage].php file. Save it inside the depictions folder

14) If you chose to add screenshots, use the _Screenshots.htm file as template to make a new [NameOfPackage].htm file. Save it inside the screenshots folder. Add screenshot image files as [NameOfPackage]1.png, [NameOfPackage]2.png, etc to the same folder

15) Upload files to the root directory on your server (make sure to tick ‘Overwrite existing files’ before CHOOSE FILE): [NameOfPackage].deb, Packages, Packages.bz2, Packages.gz, Release, Release.gpg, [NameOfPackage].php, [NameOfPackage].htm, [NameOfPackage]1.png, [NameOfPackage]2.png, etc…

For your convenience, I have included a file copy of this summary inside the _extras_ folder (adding new deb.txt).

Sorry for less screenshots, couldnt upload!

I hope this was helpful and you now own your very own Cydia repo. Please do not hesitate to contact me with feedback, comments, bug reports, or demands for further clarifications.

5

Share this post


Link to post
Share on other sites

Would I be able to do this on Ubuntu?

0

Share this post


Link to post
Share on other sites

Seems like you could but i'd prefer mac os x. if you dont have mac os x, run virtual machine

1

Share this post


Link to post
Share on other sites

Mac vm can only run on intel. It's real hard for it to work on amd.

0

Share this post


Link to post
Share on other sites

Someone make a script to make all this locally or at least the folder structure I can't read the post it's too big and blue

0

Share this post


Link to post
Share on other sites

I've ran plenty of VM Mac Machibes on AMD processors lol

It's just as hard as intels.

0

Share this post


Link to post
Share on other sites

Wheres the zip file you are talking about

0

Share this post


Link to post
Share on other sites

I've ran plenty of VM Mac Machibes on AMD processors lol

It's just as hard as intels.

Where the zip I want to see it too.

0

Share this post


Link to post
Share on other sites

Great tutorial, but personal opinion, something that big shouldn't be all size and color enhanced.

Fixed and will edit for style now.

Ok went through it, hope its easier for you all to read.

0

Share this post


Link to post
Share on other sites

Does this work on Mac OS 10.8.1?

You said it worked in lion but i jumped the gun and updated to mountain lion, so im wondering if they allow this to work still?

0

Share this post


Link to post
Share on other sites

Wait J0sh, does source maker work for windows? Is it the easy way? :p Just wondering haha, probably won't make a repo anyway :)

0

Share this post


Link to post
Share on other sites

Someone make a script to make all this locally or at least the folder structure I can't read the post it's too big and blue

Sorry bout that, ill change that to normal

0

Share this post


Link to post
Share on other sites

That's a weird method of checking MD5 Hash. You can simply type md5 and drag your file into terminal, press enter and your presented with your MD5 Hash. If your on Linux you would use md5sum

0

Share this post


Link to post
Share on other sites

That's a weird method of checking MD5 Hash. You can simply type md5 and drag your file into terminal, press enter and your presented with your MD5 Hash. If your on Linux you would use md5sum

Yeah but the thing is, Sull, that this was the way I got used to from the beginning. I also know many other ways, just stuck to this though.

0

Share this post


Link to post
Share on other sites

Thanks a ton for this tutorial, even though I already setup mine :). Awsome work. What I would really like is a dynamically generated depiction page based on info in the control file, do you recon that is possible?

-1

Share this post


Link to post
Share on other sites

Mac vm can only run on intel. It's real hard for it to work on amd.

Already did it on AMD, snow leopard.

Used the hazard boot disk. Choose no bootloaders, choose 2 of those at the top, choose the middle kernal

and choose the package AMD.

0

Share this post


Link to post
Share on other sites

Haha Hazard is so laggy. I hated it. Couldn't even run PwnageTool properly. Had a bunch of bugs for me. Probably because my PC doesn't have one of the motherboards that are 100% compatible.

0

Share this post


Link to post
Share on other sites

Thanks a ton for this tutorial, even though I already setup mine :). Awsome work. What I would really like is a dynamically generated depiction page based on info in the control file, do you recon that is possible?

Yeah not possible as far as now, but in the future, I hope that someone creates a program because I changed up my depiction, you can check it out HERE and this is complete with a border and everything! I also made a template of it so that it would take less time to make a new one!

1

Share this post


Link to post
Share on other sites

Haha Hazard is so laggy. I hated it. Couldn't even run PwnageTool properly. Had a bunch of bugs for me. Probably because my PC doesn't have one of the motherboards that are 100% compatible.

My problem that is i cant run applications >:(

0

Share this post


Link to post
Share on other sites

My packages file has 18 packages but in Cydia it only shows 6 could anyone help?

0

Share this post


Link to post
Share on other sites

My packages file has 18 packages but in Cydia it only shows 6 could anyone help?

Show me the file ?

0

Share this post


Link to post
Share on other sites

Show me the file ?

Tnx btw for replying

Package: atv-lighttpd-php-mysql
Version: 1.0-2
Priority: optional
Section: Networking
Maintainer: J. Anrugas 
Pre-Depends: dpkg (&gt;= 1.14.25-8)
Depends: lighttpd-atv, mysql-atv, php54, preferenceloader, gawk, grep, adv-cmds, com.ericasadun.utilities
Conflicts: php, mysql, ios-lighttpd-php-mysql, com.chattaboxa.blogwiki, com.jpifher.phppod, net.limneos.sbstogglelighttpd, com.jpifher.lighttpdswitchbossprefs
Architecture: iphoneos-arm
Filename: archives/atv-lighttpd-php-mysql_1.0-2_iphoneos-arm.deb
Size: 135752
Installed-Size: 308
MD5sum: ac3746052573c2ef588559d9af7315e6
Description: A whole AppleTV Web Server Solution Stack Composition. Have a look at http://goo.gl/LXfUB .
  A whole AppleTV Web Server Solution Stack Composition.
  
  PLEASE DO NOT INSTALL THIS PACKAGES ON YOUR iPHONE, iPOD OR iPAD!
  YOUR BATTERY WILL BE EMPTY VERY SOON! INSTEAD USE THE CYDIA PACKAGE 
 BELOW:
  'ios-lighttpd-php-mysql'
  You will get more information here: http://goo.gl/LXfUB
   
  If you are not familiar in operation of console and shell scripting 
 please don't install this package!
  
  This cydia package will install some sub cydia packages like:
  
  PHP54 v5.4.8
  Lighttpd-atv v1.4.31
  MySQL-atv v5.1.66
  
  The localtion of your web files is /var/www
  If you need write permission to a www file or folder, change the owner 
 to 'daemon:_www'
  The MySQL root user password is not set during the installation. 
 Please change it as soon as possible. 
 
  You will find the MySQL database files at /var/mysql
  
  With this cydia package you are now free to host your own Content 
 Management Systems (CMS), Blogs, Bulletin Boards or File Servers.
  Such as ownCloud, WebsiteBaker, Contao, TYPO3, WordPress, Joomla!, 
 phpBB, miniBB, etc.
  
  Additional 'example' config files below are installed:
  
  /etc/php.ini
  /etc/lighttpd/lighttpd-atv.conf
  /etc/lighttpd/mod_fastcgi-atv.conf
  
  Furthermore some daemon launcher are installed:
  
  /Library/LaunchDaemons/com.atv.mysql.plist 
  /Library/LaunchDaemons/com.atv.lighttpd.plist
  
  Existing config files will be backed up.
  
  If it is possible, please symlink the folder /usr/local to 
 /var/stash/local.
  Through that the packages data are not stored on your small first ATV 
 flash partition.
  
  To set your MySQL database root password, please run the command below 
 from a ssh console after the installation:
  /usr/local/bin/mysql_secure_installation
  
  If you would like to reinitialize your MySQL database please use this 
 command:
  /usr/local/bin/mysql_install_db --user=daemon
  
  You can stop and kill the Lighttpd and MySQL daemons with the commds 
 below:
  launchctl unload -w /Library/LaunchDaemons/com.atv.lighttpd.plist
  launchctl unload -w /Library/LaunchDaemons/com.atv.mysql.plist
  killall lighttpd
  killall mysqld
  
  If you would like to get more package information, please have a look 
 at http://goo.gl/LXfUB .
Name: atv-lighttpd-php-mysql
Author: J. Anrugas 
Homepage: http://code.google.com/p/cydia-ios-lighttpd-php-mysql-web-stack/wiki/Main

Package: com.eintw1ck.ctrlforterminal
Version: 1.0.4-1
Section: Games
Maintainer: Your Name 
Architecture: iphoneos-arm
Filename: archives/com.eintw1ck.ctrlforterminal_1.0.4-1_iphoneos-arm.deb
Size: 1036
MD5sum: 51f6cf0ac0208d7571ef0a703ba7378f
Description: This tweak adds ctrl to the keyboard, to use hold down v. This is mainly for mobile terminal for example you can use nano or vim.
Name: ctrl for terminal
Author: eintw1ck 
Homepage: http://www.slapwall.co.uk

Package: com.eintw1ck.jukebox
Version: 1.0-1
Priority: optional
Section: Addons (NotificationCenter)
Depends: firmware (&gt;= 5.0)
Architecture: iphoneos-arm
Filename: archives/com.eintw1ck.jukebox_1.0-1_iphoneos-arm.deb
Size: 298442
MD5sum: 23e43b304782bb85b87384050a4f578c
Description: Control your music in style!
Name: Jukebox
Author: Krackie

Package: ios-lighttpd-php-mysql
Version: 1.0-2
Priority: optional
Section: Networking
Maintainer: J. Anrugas 
Pre-Depends: dpkg (&gt;= 1.14.25-8)
Depends: lighttpd-atv, mysql-atv, php54, preferenceloader, gawk, grep, adv-cmds, com.ericasadun.utilities
Conflicts: php, mysql, atv-lighttpd-php-mysql, net.was.lighttpd, com.chattaboxa.blogwiki, com.jpifher.phppod, net.limneos.sbstogglelighttpd, com.jpifher.lighttpdswitchbossprefs
Architecture: iphoneos-arm
Filename: archives/ios-lighttpd-php-mysql_1.0-2_iphoneos-arm.deb
Size: 146042
Installed-Size: 380
MD5sum: e628d18af82ce69604ab49873b5de474
Description: A whole iPad/iPhone Web Server Solution Stack Composition. THIS LAUNCHER PACKAGES IS NOT FOR AppleTV DEVICES. IF YOU ARE ON AN AppleTV DEVICE PLEASE INSTALL THE PACKAGE BELOW atv-lighttpd-php-mysql. HAVE A LOOK AT http://goo.gl/LXfUB .
  A whole iPad/iPhone Web Server Solution Stack Composition.
  
  This software composition was originally compiled for the AppleTV but 
 it works on all iOS devices.
  
  THIS LAUNCHER PACKAGES IS NOT FOR AppleTV DEVICES.
  IF YOU ARE ON AN AppleTV DEVICE PLEASE INSTALL THE PACKAGE BELOW:
  'atv-lighttpd-php-mysql'
  You will get more information here: http://goo.gl/LXfUB
    
  If you are not familiar in operation of console and shell scripting 
 please don't install this package!
  
  This cydia package will install some sub cydia packages like:
  
  PHP54 v5.4.8
  Lighttpd-atv v1.4.31
  MySQL-atv v5.1.66
  
  The localtion of your web files is /var/www.
  If you need write permission to a www file or folder, change the owner 
 to 'daemon:_www'
  The MySQL root user password is not set during the installation. 
 Please change it as soon as possible.
  
  You will find the MySQL database files at /var/mysql
  
  With this cydia packages above you are now free to host your own 
 Content Management Systems (CMS), Blogs, Bulletin Boards or File 
 Servers.
  Such as ownCloud, WebsiteBaker, Contao, TYPO3, WordPress, Joomla!, 
 phpBB, miniBB, etc.
  
  To save battery power and for safety reasons you can switch the 
 servers on/off in your 'Device Settings'.
  To test the installation you have to start the servers and then run 
 Safari on your iOS device and load the web site http://loaclhost.
  (I don't know why, but e.g. Chrome creates some problems with 
 phpMyAdmin.)
  
  Additional 'example' config files below are installed:
  
  /etc/php.ini
  /etc/php.d/load_all.ini
  /etc/lighttpd/lighttpd-atv.conf
  /etc/lighttpd/mod_fastcgi-atv.conf 
  
  An existing config files will be backed up.
  
  Furthermore a preference loader for a daemon launcher are installed.
  The iOS preference launcher scripts are based on scripts from Wizardry 
 and Steamworks: http://was.fm/ios:mysql
   
  Please change your MySQL root password with the command below or with 
 the also installed PHP script 'http://localhost/adminer.php':
  /usr/bin/mysql_secure_installation
    
  If you would like to reinitialize your MySQL database please use this 
 command:
  /usr/local/bin/mysql_install_db  --user=daemon
  
  If you would like to get more package information, please have a look 
 at http://goo.gl/LXfUB .
Name: ios-lighttpd-php-mysql
Author: J. Anrugas 
Homepage: http://code.google.com/p/cydia-ios-lighttpd-php-mysql-web-stack/wiki/Main

Package: libjpeg
Version: 8d-1-1
Priority: 
Section: Multimedia
Maintainer: J. Anrugas 
Pre-Depends: dpkg (&gt;= 1.14.25-8)
Replaces: jpeg
Architecture: iphoneos-arm
Filename: archives/libjpeg_8d-1-1_iphoneos-arm.deb
Size: 165834
Installed-Size: 408
MD5sum: 54c8d0dd1922fd57d4a272368a99d4b2
Description: The Independent JPEG Group's library is a library for handling JPEG files
  A library for handling JPEG files.
  This package contains the shared JPEG library from the the independent 
 JPEG Group's.
Author: J. Anrugas 
Homepage: http://www.ijg.org

Package: libjpeg-dev
Version: 8d-1-1
Priority: 
Section: Multimedia
Maintainer: J. Anrugas 
Pre-Depends: dpkg (&gt;= 1.14.25-8)
Depends: libjpeg
Architecture: iphoneos-arm
Filename: archives/libjpeg-dev_8d-1-1_iphoneos-arm.deb
Size: 21248
Installed-Size: 112
MD5sum: 9830a8aba0b70b8a61723ab735412a20
Description: The Independent JPEG Group's library is a library for handling JPEG files
  A library for handling JPEG files.
  This package contains the libjpeg headers.
Author: J. Anrugas 
Homepage: http://www.ijg.org

Package: libmcrypt
Version: 2.6.8-1
Priority: 
Section: Security
Maintainer: J. Anrugas 
Pre-Depends: dpkg (&gt;= 1.14.25-8)
Architecture: iphoneos-arm
Filename: archives/libmcrypt_2.6.8-1_iphoneos-arm.deb
Size: 70618
Installed-Size: 280
MD5sum: b08403e7111a9fd46fd6ae2827ce64d7
Description: Libmcrypt allows you to use a wide range of encryption function 
  Libmcrypt allows you to use a wide range of encryption function.
  This package contains the shared mcrypt library.
Author: J. Anrugas 

Package: libmcrypt-dev
Version: 2.6.8-1
Priority: 
Section: Security
Maintainer: J. Anrugas 
Pre-Depends: dpkg (&gt;= 1.14.25-8)
Depends: libmcrypt
Architecture: iphoneos-arm
Filename: archives/libmcrypt-dev_2.6.8-1_iphoneos-arm.deb
Size: 5874
Installed-Size: 76
MD5sum: 3007ed1dddd1b19fc61d1bb7b1742914
Description: libmcrypt allows you to use a wide range of encryption function 
  libmcrypt allows you to use a wide range of encryption function.
  This package contains the libmcrypt headers.
Author: J. Anrugas 

Package: libpng
Version: 1.2.50-1
Priority: optional
Section: Multimedia
Maintainer: J. Anrugas 
Pre-Depends: dpkg (&gt;= 1.14.25-8)
Replaces: png
Architecture: iphoneos-arm
Filename: archives/libpng_1.2.50-1_iphoneos-arm.deb
Size: 80274
Installed-Size: 460
MD5sum: f3e343eac2efd445e04b9347add0bf6b
Description: Library for manipulating PNG files
  Library for manipulating PNG files.
  This package contains the shared PNG library.
  Version 1.2.50 removes a potential security vulnerability so all users 
 are recommended to upgrade immediately.
Author: J. Anrugas 
Homepage: http://www.libpng.org/pub/png/libpng.html

Package: libpng-dev
Version: 1.2.50-1
Priority: optional
Section: Multimedia
Maintainer: J. Anrugas 
Pre-Depends: dpkg (&gt;= 1.14.25-8)
Depends: libpng
Architecture: iphoneos-arm
Filename: archives/libpng-dev_1.2.50-1_iphoneos-arm.deb
Size: 42848
Installed-Size: 268
MD5sum: 66cb9806c1faa2b9ca16c3c0756253e0
Description: Library for manipulating PNG files
  This package contains the libpng headers.
  Version 1.2.50 removes a potential security vulnerability so all users 
 are recommended to upgrade immediately.
Author: J. Anrugas 
Homepage: http://www.libpng.org/pub/png/libpng.html

Package: lighttpd-atv
Version: 1.4.31-2
Priority: optional
Section: Networking
Maintainer: J. Anrugas 
Pre-Depends: dpkg (&gt;= 1.14.25-8)
Depends: openssl, pcre, uuid, firmware(&gt;= 3.0), gawk, adv-cmds
Replaces: lighttpd
Architecture: iphoneos-arm
Filename: archives/lighttpd-atv_1.4.31-2_iphoneos-arm.deb
Size: 195202
Installed-Size: 916
MD5sum: e8307548073bbddf84833b2942fddd82
Description: A very small, supposedly fast, webserver. Have a look at http://goo.gl/LXfUB .
  Lighttpd is a very small, supposedly fast, webserver.
   
  This software was originally compiled for the AppleTV but it works on 
 all iOS devices.
  
  With the additional packages 'php54' and 'mysql-atv' you are now free 
 to host your own Content Management Systems (CMS), Blogs, Bulletin 
 Boards, File Servers.
  Such as ownCloud, WebsiteBaker, Contao, TYPO3, WordPress, Joomla!, 
 phpBB, miniBB, etc.
  
  This package does not includes a config file or a Daemon Launcher.
  Therfore you can install it on all iOS-Devices and you can activate 
 the web server as you would like.   
  
  You can start the web server lighttpd with the command below:
  /usr/sbin/lighttpd -f'NameOfYourConfigFile'
  
  After the installation you can place your web content here:
  /var/www
  
  Lighttpd have to be  running as user 'deamon'. Please use the group 
 _www.
  
  If you would like keep it simple then just install one of the cydia 
 packages below:
  - 'atv-lighttpd-php-mysql' for AppleTV 
  - 'ios-lighttpd-php-mysql' for iPhone/iPad 
  They includes this, the above mentioned packages, example config files 
 and daemon launchers for a whole web server solution stack.
  
  If you would like to get more package information, please have a look 
 at http://goo.gl/LXfUB .
Name: lighttpd-atv
Author: J. Anrugas 
Homepage: http://code.google.com/p/cydia-ios-lighttpd-php-mysql-web-stack/wiki/Main

Package: mysql-atv
Version: 5.1.66-2
Priority: optional
Section: Data Storage
Maintainer: J. Anrugas 
Pre-Depends: dpkg (&gt;= 1.14.25-8)
Depends: firmware (&gt;= 3.0), ncurses, inetutils, gawk, adv-cmds
Conflicts: com.was.mysql, mysql, mysql-atv (= 1.14.25-8)
Depends: curl, openssl, png, jpeg, firmware(&gt;= 3.0)
Conflicts: php, com.jpifher.phppod
Replaces: php54
Architecture: iphoneos-arm
Filename: archives/php53_5.3.18-2_iphoneos-arm.deb
Size: 3200510
Installed-Size: 18624
MD5sum: f55f3629a68365a29a00fd3a02d1cfee
Description: The overly popular HTML templating language PHP. Have a look at http://goo.gl/LXfUB .
  The overly popular HTML templating language PHP.
 
  This packages includes PHP 5.3.x with GD and MySQL support (PDO and 
 mysqli).
  
  This software was originally compiled for the AppleTV but it works on 
 all iOS devices.
  
  You have to place your PHP config file at /etc/php.ini
  
  With the additional cydia packages 'mysql' and 'lighttpd' you are now 
 free to host your own Content Management Systems (CMS), Blogs, Bulletin 
 Boards, File Servers.
  Such as ownCloud, WebsiteBaker, Contao, TYPO3, WordPress, Joomla!, 
 phpBB, miniBB, etc. 
    
  If you would like keep it simple then just install one of the 
 AwkwardTV/BigBoss packages below:
  - 'atv-lighttpd-php-mysql' for AppleTV
  - 'ios-lighttpd-php-mysql' for iPhone/iPad
  - 'touch-lighttpd-php-mysql' for iPhone/iPad
     
  They includes this, the above mentioned packages, example config files 
 and daemon launchers for a whole web server solution stack.
  
  If you are interest in the package differences, have a look on 
 http://goo.gl/LXfUB .
Name: PHP53 (with GD and MySQL Support)
Author: J. Anrugas 
Homepage: http://code.google.com/p/cydia-ios-lighttpd-php-mysql-web-stack/wiki/Main

Package: php54
Version: 5.4.8-2
Priority: optional
Section: Scripting
Maintainer: J. Anrugas 
Pre-Depends: dpkg (&gt;= 1.14.25-8)
Depends: curl, libjpeg, libmcrypt, libpng, openssl, firmware(&gt;= 3.0)
Conflicts: php, com.jpifher.phppod
Architecture: iphoneos-arm
Filename: archives/php54_5.4.8-2_iphoneos-arm.deb
Size: 3311408
Installed-Size: 18120
MD5sum: fedcd1a59d6924913bc8e3bc4d12e9d4
Description: The overly popular HTML templating language PHP. Have a look at http://goo.gl/LXfUB .
  The overly popular HTML templating language PHP.
 
  This package includes PHP 5.4.x with GD and MySQL support (PDO and 
 mysqli).
  
  This software was originally compiled for the AppleTV but it works on 
 all iOS devices.
  
  With the additional cydia packages 'mysql-atv' and 'lighttpd-atv' you 
 are now free to host your own Content Management Systems (CMS), Blogs, 
 Bulletin Boards, File Servers.
  Such as ownCloud, WebsiteBaker, Contao, TYPO3, WordPress, Joomla!, 
 phpBB, miniBB, etc. 
  
  You have to place your PHP config file at /etc/php.ini
  
  If you would like keep it simple then just install one of the cydia 
 packages below:
  - 'atv-lighttpd-php-mysql' for AppleTV 
  - 'ios-lighttpd-php-mysql' for iPhone/iPad 
  They includes this, the above mentioned packages, example config files 
 and daemon launchers for a whole web server solution stack.
  
  If you would like to get more package information, please have a look 
 at http://goo.gl/LXfUB .
Name: PHP54 (with GD and MySQL Support)
Author: J. Anrugas 
Homepage: http://code.google.com/p/cydia-ios-lighttpd-php-mysql-web-stack/wiki/Main

Package: phpmyadmin-atv
Version: 3.5.3-2
Priority: optional
Section: Administration
Maintainer: J. Anrugas 
Pre-Depends: dpkg (&gt;= 1.14.25-8)
Architecture: iphoneos-arm
Filename: archives/phpmyadmin-atv_3.5.3-2_iphoneos-arm.deb
Size: 3664370
Installed-Size: 21472
MD5sum: 587d140e7e63895542d40ad69e72b1f6
Description: A tool to handle the administration of MySQL over the World Wide Web. Have a look at http://goo.gl/LXfUB .
  phpMyAdmin is a free software tool written in PHP, intended to handle 
 the administration of MySQL over the World Wide Web. 
  phpMyAdmin supports a wide range of operations with MySQL.
  
  With the cydia packages below you can use phpMyAdmin: 
  - 'atv-lighttpd-php-mysql' for AppleTV
  - 'ios-lighttpd-php-mysql' for iPhone/iPad
  - 'touch-lighttpd-php-mysql' for iPhone/iPad
    (For safety reasons, you should not use the touch- package)
  
  The package files will be stored at /var/www/phpmyadmin
  
  Please open Safari at your iOS Device and type in 
 'http://localhost/phpmyadmin'.
  (Please use Safari. I don't know why, but e.g. Chrome create some 
 problems.)
  
  Be careful with phpMyAdmin. Some hackers use it to get access to your 
 system!
  If you do not use phpMyAdmin any more, please remove it as soon as 
 possible.
  
  If you would like to get more package information, please have a look 
 at http://goo.gl/LXfUB .
Name: phpMyAdmin atv
Homepage: http://www.phpmyadmin.net

Package: websitebaker-atv
Version: 2.8.3-[R1638]-SP1-2
Priority: optional
Section: Networking
Maintainer: J. Anrugas 
Pre-Depends: dpkg (&gt;= 1.14.25-8)
Architecture: iphoneos-arm
Filename: archives/websitebaker-atv_2.8.3-[R1638]-SP1-2_iphoneos-arm.deb
Size: 1827090
Installed-Size: 15524
MD5sum: 0812446f3257c355f73aefcc84ff9e0f
Description: A free, easy and secure, flexible and extensible management system (CMS). Have a look at http://goo.gl/LXfUB .
  WebsiteBaker is free, easy and secure, flexible and extensible open 
 source content management system (CMS).
  It helps you to create the website you want. Create new templates 
 within minutes - powered by (X)HTML, CSS and jQuery.
  
  With the cydia packages below you can use WebsiteBaker: 
  - 'atv-lighttpd-php-mysql' for AppleTV
  - 'ios-lighttpd-php-mysql' for iPhone/iPad
  - 'touch-lighttpd-php-mysql' for iPhone/iPad 
    (For safety reasons, you should not use the touch- package)
  
  Please open Safari at your iOS Device and type in 
 'http://localhost/websitebaker'.
  (Please use Safari. I don't know why, but e.g. Chrome create some 
 problems.)
  
  The WebsiteBaker Setup needs an existing MySQL user and an existing 
 MySQL database.
  Before you start the WebsiteBaker Setup, please create these with 
 'Adminer' or with the cydia package 'phpmyadmin-atv'.
  
  After the WebsiteBaker Setup please log in your iDevice with a ssh 
 shell and remove the folder
  /var/www/websitebaker/install
  
  If you remove this package, please note that all content in 
 /var/www/websitebaker will be deleted.
  Your MySQL database will not be removed. 
  
  If you would like to get more package information, please have a look 
 at http://goo.gl/LXfUB .
Name: WebsiteBaker atv
Homepage: http://owncloud.org

Package: wordpress-atv
Version: 3.4.2-2
Priority: optional
Section: Networking
Maintainer: J. Anrugas 
Pre-Depends: dpkg (&gt;= 1.14.25-8)
Architecture: iphoneos-arm
Filename: archives/wordpress-atv_3.4.2-2_iphoneos-arm.deb
Size: 4024986
Installed-Size: 15624
MD5sum: aecfa71b2054b6aa204818e8de3be0e1
Description: WordPress is web software you can use to create a beautiful website or blog. Have a look at http://goo.gl/LXfUB .
  WordPress is web software you can use to create a beautiful website or 
 blog.
  We like to say that WordPress is both free and priceless at the same 
 time.
  
  With the cydia packages below you can use WordPress: 
  - 'atv-lighttpd-php-mysql' for AppleTV
  - 'ios-lighttpd-php-mysql' for iPhone/iPad
  - 'touch-lighttpd-php-mysql' for iPhone/iPad
    (For safety reasons, you should not use the touch- package)
  
  The package files will be stored at /var/www/wordpress
  During the installation the permission of the above folder will be set 
 to owner 'daemon:_www'. 
 
  Please open Safari at your iOS Device and type in 
 'http://localhost/wordpress'.
  (Please use Safari. I don't know why, but e.g. Chrome create some 
 problems.)
  
  The WordPress Setup needs an existing MySQL user and an existing MySQL 
 database.
  Before you start the WordPress Setup, please create these with 
 'Adminer' or with the cydia package 'phpmyadmin-atv'.
  
  If you remove this package, please note that all content in 
 /var/www/wordpress will be deleted.
  Your MySQL database will not be removed. 
  
  If you would like to get more package information, please have a look 
 at http://goo.gl/LXfUB .
Name: WordPress atv
Homepage: http://wordpress.org/

0

Share this post


Link to post
Share on other sites

Where is the initial setup.zip file ?

1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.