Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ebuild madness
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Thu Jun 20, 2002 4:04 am    Post subject: ebuild madness Reply with quote

I'm attempting to create an ebuild for a constantly-rebuilt package, and I'm having difficulties. I don't want to create a new ebuild for each release (since they're made automatically every night), but if I use just one ebuild, the md5sums will be different each and every day. Should I bypass the SRC_URI field and download in some other part of the ebuild? (This would probably be the easiest solution, but...)

This is crazy. Portage was designed with less whacked packages in mind, I guess. :D
Back to top
View user's profile Send private message
masseya
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 2602
Location: Baltimore, MD

PostPosted: Thu Jun 20, 2002 4:42 am    Post subject: Reply with quote

Just out of curiosity, what package are you trying to create an ebuild for that is rebuilt every night? :?:
_________________
if i never try anything, i never learn anything..
if i never take a risk, i stay where i am..
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Thu Jun 20, 2002 4:45 am    Post subject: Reply with quote

Freenet. freenet-latest.jar is recompiled by a cron job and placed in the /snapshots directory, and all the .tgz distributions disappear after a while... it's a mess.

I'm making do, though. :D
Back to top
View user's profile Send private message
rizzo
Retired Dev
Retired Dev


Joined: 30 Apr 2002
Posts: 1067
Location: Manitowoc, WI, USA

PostPosted: Thu Jun 20, 2002 3:21 pm    Post subject: Reply with quote

Yes I wanted to do something similar with mozilla nightly ebuilds. You hit the nail on the head with the md5sum problem. You'd otherwise have to manually call ebuild <file> digest to create a new digest everytime.
Back to top
View user's profile Send private message
jabuka
n00b
n00b


Joined: 13 Jun 2002
Posts: 21
Location: Nova Scotia, Canada

PostPosted: Sat Jun 22, 2002 6:25 pm    Post subject: Reply with quote

thats a good idea with the mozilla ebuilds. the md5sum problem is tricky. what if you were to do just a weekly, or half-weekly ebuild so that way the md5sum wouldn't have to be updated all that often. just a thought...

mark
Back to top
View user's profile Send private message
masseya
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 2602
Location: Baltimore, MD

PostPosted: Sat Jun 22, 2002 6:42 pm    Post subject: Reply with quote

What if it was an option to disable the md5sum checking for an ebuild? They could add that as a part of emerge. md5sum's are absolutely necessary, but it would be a huge security problem if they were disabled. I'm not all that sure what would happen, but if there were no download problems not checking the md5sum wouldn't matter. Here's a question: What would happen if md5's were disabled and the file didn't download completely? I think the compiler would give an error, right? So I guess the only problem would be downloading a program that wasn't your intended target. I don't see another way around it unless you want to write a script that automatically updates an ebuild nightly too. Any thoughts?
_________________
if i never try anything, i never learn anything..
if i never take a risk, i stay where i am..
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum