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

Bug 458570

Summary: freebsd.eclass: please add svn ebuild support
Product: Gentoo/Alt Reporter: Yuta SATOH <nigoro.dev>
Component: FreeBSDAssignee: Gentoo/BSD Team <bsd+disabled>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: Lowest    
Version: unspecified   
Hardware: All   
OS: FreeBSD   
URL: http://dev.gentoo.gr.jp/~nigoro/amd64-fbsd/doc/howto_use_svnebuild.txt
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 476646    
Attachments: patch for freebsd.eclass

Description Yuta SATOH 2013-02-21 11:34:23 UTC
I wrote patch that supports SVN live ebuild.
Please apply it to main tree.

thanks in advance.


New function
* Source is selected by ${PV}.

9.1.0.9999 -->	release/9.1.0
9.1.9999 -->	releng/9.1
9.9999 -->	stable/9
9999 -->	head

* You can specify svn revision by patch level.
e.g.) freebsd-lib-9.9999_p247000 --> set svn -r 247000

* When ${PN} is freebsd-mk-defs, always run svn checkout/update.
  Other packages use sources that it checked out.
Comment 1 Yuta SATOH 2013-02-21 11:37:25 UTC
Created attachment 339552 [details, diff]
patch for freebsd.eclass
Comment 2 Alexis Ballier gentoo-dev 2013-08-28 15:56:55 UTC
applied, thanks

I've dropped this:

+	# freebsd-mk-defs is always run svn checkout/update.
+	# Other packages use sources that it checked out.
+	[[ ${PN} == freebsd-mk-defs ]] || ESVN_OFFLINE="1"

since I don't know what is its purpose

and added some comments on how to use it