Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 118576

Summary: javacc 4.0 is out
Product: Gentoo Linux Reporter: Dominik Diesch <bugzilla.gentoo.dominik>
Component: New packagesAssignee: Java team <java>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ebuild for javacc

Description Dominik Diesch 2006-01-10 13:30:13 UTC
A new version of the package dev-java/javacc has been released. It has the release number 4.0. So I adapted the current ebuild for this new version. The only drawback is that SRC_URI points to a secure link that wget refuses to download because of a 'certificate verification' error. Unfortunatly a download via an unsecure connection will be redirected to https and I don't know how to fix this...
The followup to this post will contain the ebuild and some additional required files (which are almost copies of the previous versions).
Comment 1 Dominik Diesch 2006-01-10 13:31:45 UTC
Created attachment 76772 [details]
ebuild for javacc

The ebuild for javacc-4.0
Comment 2 Josh Nichols (RETIRED) gentoo-dev 2006-01-11 05:40:28 UTC
In the future, please attach tarballs. Instead, attach the individual files as text/plain. This allows them to be viewed within a browser. Note: you should only attach the ebuild itself, and any other files you need to build. This excludes the Manifest and digest files.

Additionally, when there are existing ebuilds in portage, as there is in this case, please attach diffs, instead of the entire ebuild. This allows developers to   know right up what changes were necessary.

As for the ebuild:
* You should try to use the P variables as much as possible in the SRC_URI. This helps make it easier to do version bumps, as it would be one less thing that needs to be modified. So, SRC_URI would be https://${PN}.dev.java.net/files/documents/17/26783/${P}src.tar.gz
* Define S=${WORKDIR}/${PN}. src_compile and src_install will automatically cd into ${S} for you.
Comment 3 Josh Nichols (RETIRED) gentoo-dev 2006-01-11 06:02:26 UTC
(In reply to comment #2)
> In the future, please attach tarballs. Instead, attach the individual files as
Sorry about the type. Meant to say please _don't_ attach tarballs.
Comment 4 Josh Nichols (RETIRED) gentoo-dev 2006-01-21 21:08:48 UTC
Fixed in CVS. THanks for reporting.