Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 18609 - netjuke ebuild
Summary: netjuke ebuild
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://netjuke.sf.net
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2003-04-01 17:04 UTC by Jeremy Johnson
Modified: 2005-12-17 17:10 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
the ebuild (netjuke-1.0_beta17.ebuild,1.93 KB, text/plain)
2003-04-01 17:06 UTC, Jeremy Johnson
Details
the md5 digest (digest-netjuke-1.0_beta17,75 bytes, text/plain)
2003-04-01 17:07 UTC, Jeremy Johnson
Details
Here is the diff with all the updates. (diff-netjuke-1.0_beta17,2.79 KB, text/plain)
2003-04-07 15:04 UTC, Jeremy Johnson
Details
the ebuild (netjuke-1.0_rc2.ebuild,1.42 KB, text/plain)
2004-05-17 15:57 UTC, Jeremy Johnson
Details
files/postinstall-en.txt file (postinstall-en.txt,722 bytes, text/plain)
2004-05-17 15:58 UTC, Jeremy Johnson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Johnson 2003-04-01 17:04:10 UTC
Here is an ebuild for netjuke, the PHP based, audio streaming jukebox. 
 
The ebuild is for version 1.0b17-php4.1+ (as seen on http://netjuke.sf.net).  I wasn't 
sure if the 'b' stood for beta or not, but gentoo didn't like that too much so I called the 
ebuild 1.0_beta17 and require php >=4.1.2-r5. 
 
The ebuild also has options for apache2, freetds, mysql, odbc, and postgres using 
IUSE. 
 
Please check it out and let me know what you think.
Comment 1 Jeremy Johnson 2003-04-01 17:06:23 UTC
Created attachment 10099 [details]
the ebuild

Here is the ebuild.
Comment 2 Jeremy Johnson 2003-04-01 17:07:40 UTC
Created attachment 10100 [details]
the md5 digest

...and the digest, for good measure.
Comment 3 Jeremy Johnson 2003-04-07 15:03:43 UTC
I made a couple of changes to the ebuild, which (hopefully) improve things a little.  The 
first is the 'RESTRICT=nostrip' line which speeds up the install a bit, since it would 
hang trying to strip the php files, which we don't really need to do. 
 
Secondly I updated the checking for HTTPD_ROOT portion to check for 
HTTPD_USER and HTTPD_GROUP. Now all web server vars should be dynamically 
discovered and if no suitable matches are found then a default set will be used. 
 
Thirdly I added a notification at the end to tell the user what the web server vars were 
set to just in case it was set incorrectly.  This way they can fix it if they don't like what 
the install did. 
 
Lastly I fixed a couple of quotes I was missing on the 'chown' lines. 
 
I will attach the diff since bugzilla doesn't seem to be doing returns correctly for me for 
whatever reason. 
Comment 4 Jeremy Johnson 2003-04-07 15:04:42 UTC
Created attachment 10339 [details]
Here is the diff with all the updates.
Comment 5 Jeremy Huddleston (RETIRED) gentoo-dev 2004-02-01 12:42:31 UTC
This is more of a web-apps package than a sound one...
Comment 6 Stuart Herbert (RETIRED) gentoo-dev 2004-04-14 10:16:33 UTC
Hi,

Sorry for the delay in replying.  We've been very busy putting a new framework in place for ebuilds for web-based applications.  This has now been committed to Portage ;-) and we need you to update your ebuild before we can accept it.

Please emerge net-www/webapp-config (make sure you get version 1.1 or later), and update your ebuild to work with this new tool.  You can use 'man 5 webapp.eclass', 'man 5 webapp-config' and 'man 8 webapp-config' to learn more about how your ebuild needs to work.  There is also an example ebuild for phpmyadmin installed into /usr/share/doc/webapp-config-1.1/.

If you encounter any difficulties with the new framework (and we apologise, but there are sure to be a few at first), please let us know and we'll do our best to help you.

Best regards,
Stu
Comment 7 Jeremy Johnson 2004-05-17 15:56:36 UTC
Hi there, I finally got off my butt and updated this ebuild for the latest version of netjuke and for the webapp eclass. Though with the new eclass there is a small problem that I ran in to. Netjuke uses a file called inc-prefs.php to store preferences and the file needs to be writable by the web server. The only problem is the file doesn't exist until netjuke is configured through the web browser so the only solution I could come up with was to tell the user they had to create and set the permissions on this file. Perhaps someone can come up with a better solution. Anyway, I will attach the ebuild and the postinstall-en.txt files.
Comment 8 Jeremy Johnson 2004-05-17 15:57:45 UTC
Created attachment 31613 [details]
the ebuild
Comment 9 Jeremy Johnson 2004-05-17 15:58:20 UTC
Created attachment 31614 [details]
files/postinstall-en.txt file
Comment 10 Brian 2004-09-21 18:01:19 UTC
Why can't ypu just add a touch command in the ebuild to create inc-prefs.php, and then chown/chmod the file so it works off the bat?

Brian

BTW, is there any reason this isn't in portage yet?
Comment 11 Renat Lumpau (RETIRED) gentoo-dev 2004-09-22 00:01:03 UTC
The ebuild looks good. The reason it's not in Portage is that the web-apps herd is understaffed atm. If someone is interested in training up to becoming the maintainer for this (and hopefully other) ebuild(s), please let me know. Otherwise, I'll try to commit it when I have time.
Comment 12 Gunnar Wrobel (RETIRED) gentoo-dev 2004-09-28 06:43:59 UTC
There are several issues with PHP5 and this version of netjuke. 

Somehow PHP5 is not happy about the "PRIVATE" constant that is being used everywhere (exchanging it to "PRIVATE2" fixes the problem) and the version check in lib/inc-common.php fails on PHP5. Commenting that section out allows to run the application, but there are some more problems with PHP5 on single pages. I did not try to fix those.
Comment 13 Steve 2005-01-12 20:35:36 UTC
What is the status of this ebuild?
Comment 14 Shiner_Man 2005-05-07 20:35:54 UTC
This ebuild is working for me.  Can I get an amen on that?
Comment 15 Jakub Moc (RETIRED) gentoo-dev 2005-08-20 06:00:55 UTC
1.0-rc2 is the last release from August 19, 2003. Do we really want dead things
in portage?
Comment 16 Jeremy Johnson 2005-09-14 15:52:59 UTC
I did a little digging and found out that the Netjuke team merged with the
Jinzora team and they are going to merge all of the features into Jinzora
(http://www.jinzora.org) so I guess this ebuild can be dropped.  Thanks for
looking at it though.
Comment 17 Renat Lumpau (RETIRED) gentoo-dev 2005-12-17 17:10:21 UTC
Closing