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

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Ports Collection Management, upgrading & cleaning?
ZDevil
post Jun 7 2007, 10:47 AM
Post #1





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



Don't want to go far off-topic from the "Package Repository" thread, so let me start a new one here concentrating on managing the ports collection on Zaurus.

Two questions to start with:

Q1. What would be the easiest AND safest way to clean up the sources fetched and the files created during make?
I see people talking about "cd /usr/ports && make distclean".
Does it work for Z? I just want to be cautious not to mess up the port tree.

Q2. What would be the best way to keep the ports collection most up to date?
I learn cvsup from http://www.openbsd101.com/updating.html#u6, however when i tried to set it up, there was an error saying cvsup is for i386 machines only.
It seems another way is to overwrite /usr/ports with the latest ports.tar.gz from pub/OpenBSD/snapshots/, but it takes so quite a long while to uncompress the tarball. The nice thing about cvsup is that it only update the ports when application while leaving the unchanged ports intact, so it's fast and more convenient. Any hope or method to get cvsup running on Zaurus?
Go to the top of the page
 
+Quote Post
jpmatrix
post Jun 7 2007, 10:03 PM
Post #2





Group: Members
Posts: 1,019
Joined: 15-February 05
From: France
Member No.: 6,477



QUOTE(ZDevil @ Jun 7 2007, 08:47 PM)
Q1. What would be the easiest AND safest way to clean up the sources fetched and the files created during make?
I see people talking about "cd /usr/ports && make distclean".
Does it work for Z? I just want to be cautious not to mess up the port tree.


i think there's no problem in doing the make dist=clean
i've already done it and you'll gain many bytes !
Go to the top of the page
 
+Quote Post
jpmatrix
post Jun 7 2007, 10:11 PM
Post #3





Group: Members
Posts: 1,019
Joined: 15-February 05
From: France
Member No.: 6,477



QUOTE(ZDevil @ Jun 7 2007, 08:47 PM)
Q2. What would be the best way to keep the ports collection most up to date?
I learn cvsup from http://www.openbsd101.com/updating.html#u6, however when i tried to set it up, there was an error saying cvsup is for i386 machines only.
It seems another way is to overwrite /usr/ports with the latest ports.tar.gz from pub/OpenBSD/snapshots/,  but it takes so quite a long while to uncompress the tarball. The nice thing about cvsup is that it only update the ports when application while leaving the unchanged ports intact, so it's fast and more convenient. Any hope or method to get cvsup running on Zaurus?
*


look here :

http://www.oesf.org/forums/index.php?showtopic=20790

i think you'll find answers to many of your questions wink.gif


by the way i've compiled mplayer yesterday (night!) , i'll give it a try later
Go to the top of the page
 
+Quote Post
ZDevil
post Jun 8 2007, 01:31 AM
Post #4





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



Thanks! I should follow the posts here first. It seems sometimes what is said in the official documentation is not totally applicable to Z. smile.gif
Go to the top of the page
 
+Quote Post
jpmatrix
post Jun 8 2007, 11:33 PM
Post #5





Group: Members
Posts: 1,019
Joined: 15-February 05
From: France
Member No.: 6,477



QUOTE(ZDevil @ Jun 8 2007, 11:31 AM)
Thanks! I should follow the posts here first. It seems sometimes what is said in the official documentation is not totally applicable to Z.  smile.gif
*


apparently what is working is

make clean
Go to the top of the page
 
+Quote Post
jpmatrix
post Jun 12 2007, 03:42 AM
Post #6





Group: Members
Posts: 1,019
Joined: 15-February 05
From: France
Member No.: 6,477



there's something i don't understand with ports building :

assuming you've untared ports.tar.gz in /usr, why is openbsd always fetching some sources on the network ? should all necessary sources yet be in /usr/ports ???

another question:
if i've no network on the zaurus, can i download some source files on my destkop, put it on a cf card and have the make process find this xxx.tar.bz2 file ??? if yes, how can i do this ? smile.gif
Go to the top of the page
 
+Quote Post
ZDevil
post Jun 12 2007, 11:29 PM
Post #7





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



No, the ports.tar.gz (just a tarball of 10MB+) does not contain the sources tarballs itself. It only contains the portlist and the makefiles.

I think you can put the source files on a card, and then do a symlink from the correct location on the port tree, e.g. devel/chmlib. A glance at the existing source files should tell where to put them.

Or perhaps simply do a symlink of the whole port tree to a path of a memory card will do?

But then one tradeoff is dependency tracking and patching may not work, because all the dependent program sources and patches are downloaded automatically at the beginning of the build process.
Go to the top of the page
 
+Quote Post
jpmatrix
post Jun 13 2007, 03:40 AM
Post #8





Group: Members
Posts: 1,019
Joined: 15-February 05
From: France
Member No.: 6,477



QUOTE(ZDevil @ Jun 13 2007, 09:29 AM)
No, the ports.tar.gz (just a tarball of 10MB+) does not contain the sources tarballs itself. It only contains the portlist and the makefiles.

*


ok i understand better !
well, so is it possible to download ALL needed files at the start ot the compilation process THEN compile all sources ???
Go to the top of the page
 
+Quote Post
mathemajikian
post Jun 20 2007, 01:02 PM
Post #9





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



QUOTE(jpmatrix @ Jun 13 2007, 11:40 AM)
QUOTE(ZDevil @ Jun 13 2007, 09:29 AM)
No, the ports.tar.gz (just a tarball of 10MB+) does not contain the sources tarballs itself. It only contains the portlist and the makefiles.

*


ok i understand better !
well, so is it possible to download ALL needed files at the start ot the compilation process THEN compile all sources ???
*



I think it's make fetch but I'm not 100% sure.
Go to the top of the page
 
+Quote Post

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

 



RSS Lo-Fi Version Time is now: 18th December 2014 - 08:36 PM