OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Building Brand New Ports: How?, looking for a straightforward example
ZDevil
post Aug 23 2007, 04:52 PM
Post #1





Group: Members
Posts: 2,003
Joined: 16-April 04
From: the Netherlands && /dev/null
Member No.: 2,882



I've also been searching for handy references on building new ports that are not present in the port tree.
There are quite a number of handy apps especially suitable for handhelds like the Z, although they are not in the port tree yet.
Too bad that the official man pages (e.g. pkg_create(1) w/ 8 pages of options (!), not to mention the giant bsd.port.mk(5)) simply list a whole lot of options without a simple and straightforward demonstration/example. And I just got overwhelmed and confused after reading them ... dry.gif
So has anyone here created any new port (not necessarily for Z)? Could you show me how to do it in reality (not in theory)?
Just a very simple real example (e.g. grun, less, etc.) will do, so that I (and others interested) will have a clear starting point and be able to proceed with RTFM?
Any input is much appreciated!
Go to the top of the page
 
+Quote Post
mathemajikian
post Aug 24 2007, 02:34 AM
Post #2





Group: Members
Posts: 304
Joined: 8-July 06
From: United Kingdom for now....
Member No.: 10,349



QUOTE(ZDevil @ Aug 24 2007, 12:52 AM)
Any input is much appreciated!

Alot of information can be found at the following links:

http://www.openbsd.org/porting.html
http://www.openbsd.org/faq/faq15.html
Go to the top of the page
 
+Quote Post
ZDevil
post Aug 25 2007, 06:45 PM
Post #3





Group: Members
Posts: 2,003
Joined: 16-April 04
From: the Netherlands && /dev/null
Member No.: 2,882



Alright... will do my study when free.
Building my own stuff from the latest sources indeed works in a breeze. The kernel and the dependencies are constantly kept up-to-date (unlike when i was doing it on pdaxrom).
Still a real example showing the basic steps will be great. smile.gif
Go to the top of the page
 
+Quote Post
ZDevil
post Aug 26 2007, 05:51 AM
Post #4





Group: Members
Posts: 2,003
Joined: 16-April 04
From: the Netherlands && /dev/null
Member No.: 2,882



@mathemajikian: I've opened up your cdf package and looked into the file structure. It looks much simpler than I thought (and learned from the documentation): there're only a +CONTENT and a +DESC apart from the program files. So is this the minimal (though not complete) information I have to include in order to make a package for sharing? And did you pack the cdf up using pkg_create or some other method?
Go to the top of the page
 
+Quote Post
mathemajikian
post Aug 26 2007, 06:10 AM
Post #5





Group: Members
Posts: 304
Joined: 8-July 06
From: United Kingdom for now....
Member No.: 10,349



QUOTE(ZDevil @ Aug 26 2007, 01:51 PM)
@mathemajikian: I've opened up your cdf package and looked into the file structure. It looks much simpler than I thought (and learned from the documentation): there're only a +CONTENT and a +DESC apart from the program files. So is this the minimal (though not complete) information I have to include in order to make a package for sharing? And did you pack the cdf up using pkg_create or some other method?

What you see in the cdf package is what you need. I used make package to generate the package. I'd suggest re-reading some previous posts. Start with this one: Packages and Port Building
Go to the top of the page
 
+Quote Post
ZDevil
post Aug 26 2007, 06:18 AM
Post #6





Group: Members
Posts: 2,003
Joined: 16-April 04
From: the Netherlands && /dev/null
Member No.: 2,882



Great. I really forgot that discussion when I hadn't even got the wifi CF and I kept asking so many different questions in the same thread. Your replies there make much better sense to me now. wink.gif
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 25th October 2014 - 12:44 AM