Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 196757 - sys-block/partimage-0.6.7 ebuild request
Summary: sys-block/partimage-0.6.7 ebuild request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High enhancement
Assignee: Christian Zoffoli (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-22 23:13 UTC by Billy DeVincentis
Modified: 2008-01-15 12:13 UTC (History)
1 user (show)

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


Attachments
partimage-0.6.7_beta2.ebuild (partimage-0.6.7_beta2.ebuild,4.31 KB, text/plain)
2007-11-28 16:56 UTC, Bjoern Olausson
Details
partimage-0.6.7_beta2.ebuild (no -sandbox) (partimage-0.6.7_beta2.ebuild,4.37 KB, text/plain)
2007-11-29 12:49 UTC, Bjoern Olausson
Details
partimage-0.6.7_beta2-datadir-path.patch (partimage-0.6.7_beta2-datadir-path.patch,2.75 KB, patch)
2007-11-29 12:51 UTC, Bjoern Olausson
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Billy DeVincentis 2007-10-22 23:13:07 UTC
The  beta  0.6.7  that  compiles  perfectly  on  Gentoo  amd64  is  available  at
http://prdownloads.sourceforge.net/partimage/partimage-0.6.7_beta2.tar.bz2.  Although  I  can  use  it  by  using  the  compiled  version  I  downloaded,  it  really  should  be  done  by  ebuild.  Please  create  an  ebuild  for  this  and  put  it  into  portage.  Thank  You.

Reproducible: Always
Comment 1 Billy DeVincentis 2007-10-25 13:42:29 UTC
I  have  created  an  ebuild,
http://forums.gentoo.org/viewtopic-p-4418816.html#4418816
Comment 2 Roeland Douma 2007-11-15 15:21:21 UTC
(In reply to comment #1)
> I  have  created  an  ebuild,
> http://forums.gentoo.org/viewtopic-p-4418816.html#4418816
> 

Good you started to work on your own ebuild however:

1. if you submit an ebuild to the best way to do that is by adding an an attachment. That if anybody wants to test it the ebuild can just be saved instead of copying a whole page.

2. It is not appriciated if an ebuild only works with FEATURES="-sandbox".

Maybe you could try to modify the original ebuild?
Comment 3 Billy DeVincentis 2007-11-15 23:35:17 UTC
I  would  like  to  but  in  all  honesty  I  really  dont  know  how,  I  was  really  surprised  that  it  emerged  at  all.  If  you  know  what  needs  to  be  added  in  order  for  it  to  compile  without  the  sandbox  violation,  please  modify  my  ebuild  and  post  it,  I  would  be  very  appreciative  as  partimage  is  something  Id  like  to  be  able  to  use  without  having  to  reboot  into  a  livecd.
Comment 4 Mike Doty (RETIRED) gentoo-dev 2007-11-16 00:26:54 UTC
amd64 will wait for the maintainer to act.  good job trying to bump the ebuild yourself.
Comment 5 Bjoern Olausson 2007-11-28 16:56:18 UTC
Created attachment 137244 [details]
partimage-0.6.7_beta2.ebuild

Heres a working ebuild for partimage-0.6.7_beta2

I didn't care about any patches or fixes cause it is beta and I didn't have the time to check which of the provided patches are obsolet so I removed them all.

I just versionbumped it quick and fixed some path

it compiles and runs on x86_64

reagrds
Bjoern
Comment 6 Billy DeVincentis 2007-11-29 02:27:40 UTC
Only  One  problem,  it  doesnt  compile  unless  you  use  FEATURES="-sandbox",  The  ebuild  I  created  did  the  same  thing,  is  there  anyway  to  fix  that?
Comment 7 Bjoern Olausson 2007-11-29 12:49:17 UTC
Created attachment 137308 [details]
partimage-0.6.7_beta2.ebuild (no -sandbox)

Needed to patch the Makefile.in to use the proper installdirs.

Use this ebuild with the following patch.

Regards
Bjoern
Comment 8 Bjoern Olausson 2007-11-29 12:51:07 UTC
Created attachment 137310 [details, diff]
partimage-0.6.7_beta2-datadir-path.patch

There are other files from the filesdir that are required. Copy them to your overlay!

partimaged.conf
partimaged.pam
servercert.cnf
artimaged.init
partimagedusers.5

regards
Bjoern
Comment 9 Billy DeVincentis 2007-11-30 12:11:12 UTC
I  just  copied  all  the  files  to  a  files  folder  in  my  overlay,  did  an  ebuild  manifest  against  your  ebuild  and  then  emerged  and  it  emerged  fine.  Im  just  wondering  if  I  needed  to  apply  that  data dir patch  separately  before  I  emerged  it?
Comment 10 Christian Zoffoli (RETIRED) gentoo-dev 2008-01-15 12:13:06 UTC
try 0.6.6, thanks.