View previous topic :: View next topic |
Author |
Message |
delta407 Bodhisattva


Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Thu Jun 20, 2002 4:04 am Post subject: ebuild madness |
|
|
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.  |
|
Back to top |
|
 |
masseya Bodhisattva


Joined: 17 Apr 2002 Posts: 2602 Location: Baltimore, MD
|
Posted: Thu Jun 20, 2002 4:42 am Post subject: |
|
|
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 |
|
 |
delta407 Bodhisattva


Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Thu Jun 20, 2002 4:45 am Post subject: |
|
|
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.  |
|
Back to top |
|
 |
rizzo Retired Dev


Joined: 30 Apr 2002 Posts: 1067 Location: Manitowoc, WI, USA
|
Posted: Thu Jun 20, 2002 3:21 pm Post subject: |
|
|
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 |
|
 |
jabuka n00b

Joined: 13 Jun 2002 Posts: 21 Location: Nova Scotia, Canada
|
Posted: Sat Jun 22, 2002 6:25 pm Post subject: |
|
|
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 |
|
 |
masseya Bodhisattva


Joined: 17 Apr 2002 Posts: 2602 Location: Baltimore, MD
|
Posted: Sat Jun 22, 2002 6:42 pm Post subject: |
|
|
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 |
|
 |
|