Step by Step How To Create Cydia Repository on Mac

Hello, this article will try to explain as simply as possible how to make your own repository using a Mac I found a few guides online and I thought it might be helpful to write an article explaining this topic. In any case, it is worth remembering that many repositories offer the opportunity to put their online app.

Back to the Guide, we list everything you need first.
You must first download “Fink” that will take us a little more to the world of open source. We can download Fink from this link: http://www.finkproject.org . To install Fink you can follow the instructions on the download page (linked above) are very detailed and you should have no problems. In case you OSX10.6 on this site is not the installer, but the sources are available, so you can easily install Fink again. As with the other OSX, I suggest you follow the detailed guidance of the site indicated.

Next, you must delete the file ‘. DS_Store’ from the files that we create. These files contain various information about what is in the folder and are automatically created every time we handle a folder. To delete these files, there are several software or as iRemove DS_Store Cleaner. I’ll give you the link to it that I myself have used and which I think is very convenient: software.ryangrier.com; This software is very easy to use: once started, just drag the window cleaner DS_Store the folder we want to delete the files in question.

You’ll need a software or online service to calculate the md5. I, frankly, I preferred to use the terminal on my macbook, in fact, just move them (the terminal) is located in the folder where the file we want to calculate the md5 and type:

openssl md5 filename

And last but definitely not least, we must have a website on which we will position our folders with our app. I recommend using Altervista.org ilbello.com or (very useful if we want to exploit the domain using sql or cms that can be installed at registration).

At this point we can begin to describe the steps necessary to create our own repository.

Let’s start by creating a folder on your desktop that will call MyProgram. Inside the folder you created, create two folders called Debian, and Application. We insert now our application with the ‘. App’ and inseriamola Application folder we created earlier.

Now open TextEdit, click on ‘Format’ and click ‘Convert to Plain Text’. We should remember, whenever we go to save files created, uncheck the box for ‘If no extension is given, use it. “Txt”‘, otherwise, we can go in the Preferences tab and select ‘New Document’ item ‘text simple ‘tab and go to uncheck the’ add. txt extension to plain text documents, ‘so we set TextEdit any time, without having to remember to follow the first two steps listed.

Another important thing to remember is to use TextEdit to save the file in which we select, heading ‘Text Encoding only’ encoding ‘Unicode (UTF-8)’. At this point, we create a new file with TextEdit and paste the following text:

  • Website: http://www.rikez.com
  • Maintainer: Your Name
  • Name: name of the app
  • Package: Bundle Identifier (com.vostronome.nomeapp)
  • Section: Section of Cydia which appears
  • Version: version of the app
  • Architecture: iPhoneOS-arm
  • Description: brief description of your app
  • Sponsor: your site or whatever you want (it is important to press enter after that line, otherwise it will come out errors when compiling the. Deb)

Now save as ‘control’ file created in the DEBIAN folder you created earlier (in the folder MyProgram). Close the folder and drag the window MyProgram DS_Store Cleaner.

Now open the terminal and move to the desktop (or where you created the folder MyProgram) and type:

dpkg-deb-b MyProgram

If all goes well, will create a file called Desktop MyProgram.deb. Now create a new folder on your Desktop and call it ‘cydia’. Inside this folder create a named ‘debs’. Re-open the terminal, let’s move on the desktop and type:

dpkg-scanpackages-m. / Dev / null -> Packages

The typed command will create a file on the desktop as ‘Packages’. Now, again in terminal type:

gzip-f Packages

This creates a file on the Desktop called ‘Packages.gz’
Double click on the file ‘Packages.gz’, which will reappear and extract the file ‘Packages’.

Now, we create a new file with TextEdit and inside write the following:

  • Origin:
  • Label:
  • Suite: stable
  • Version: version of the app
  • Codename: stable
  • Architectures: darwin-arm
  • Components: main
  • Description: Write a description of your repository

Now save the file with the name ‘Release’ Now we have four files to the Desktop: Packages, Packages.gz, Release, MyProgram.deb; Move the file inside the folder MyProgram.deb ‘debs’. The other three files on the Desktop should be moved to the ‘cydia’. Rename the file as best we MyProgram. Through the terminal, moving the folder ‘debs’, type:

openssl md5 MyProgram (instead of MyProgram put the name of your choice)

Open the file with TextEdit and incolliamoci Packages in the following text:

Name: SampleApp
Package: Bundle Identifier (com.vostronome.nomeapp)
Author: name of the developer
Maintainer: Your Name
Filename: debs / nomeapp.deb
Version: version of your app
Size: Size in bytes of the app (right-click on the deb file and click ‘Get Info’, you will find the card that will appear this size)
MD5Sum: paste the result in the terminal
Architecture: iPhoneOS-arm
Homepage: http://www.rikez.com
Description: description of your app
Section: Section of Cydia which appears in the app
Save the file Packages.

Now from the terminal from cydia folder, type again:

gzip-f Packages

Click twice on the Packages.gz file in the folder.
Now close the folder and drag it to cydia DS_Store Cleaner. And with that we finished and we can move the folder of your cydia ftp site.

The address of the repository would be: ‘http://yoursitename/cydia/’

To add more apps in the repository we create a deb for each app (MyProgram.deb multiple folders, of course with different names), and put more descriptions in the Packages files (one for each app, just copy the text above all ‘ internal file and separate descriptions with a blank). At the end of the Packages file will be structured like this in the picture. But we must remember to clean up the folders each time with DS_Store Cleaner and run the command ‘gzip-f Packages’ through the terminal every time you change the file Packages.

I hope I was clear and that the article could help you. Thank you for your attention and I greet you all!

source : http://fpisconti.ilbello.com/?p=13

One comment

  • …a little thanks to me!! 🙂

    is this a correct comportment of the things made by other? It’s not important for me, but you can write a thanksgiving….i know you have copied, pasted and translated all my article, but it’s not very important, i’m happy if you write a thanksgiving to my blog

    http://fpisconti.ilbello.com/?p=13