You are not logged in.

#26 2008-05-30 00:08:39

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,392
Website

Re: repacman, regenerate an installed package

You have reintroduced the bug reading in the variables from pacman.conf and makepkg.conf that shining and I discussed above.  It seems eval stops reading in the variables after the first one that is commented.

Anyway, I have fixed the and have reposted it to the pacman-dev mailing list.

Allan

Offline

#27 2008-06-01 16:41:08

carlocci
Member
From: Padova - Italy
Registered: 2008-02-12
Posts: 368

Re: repacman, regenerate an installed package

hooray, thank you Allan ! smile

I thought the directory permissions and owner:group being reset were a serious bug, though.
Didn't you like the tar pipe method? I thought it was a commong method as it is cited in the bsdtar manpage itself.

Well, I'll try to build the package directly instead of passing through a temporary directory next.
And of course fakeroot support.

Offline

#28 2008-06-02 00:02:59

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,392
Website

Re: repacman, regenerate an installed package

Yes, the group permissions are an annoying/serious bug but it is not a regression for the old re-pacman scripts.  So, as shining suggested, I submitted it and we can patch it to fix that later.  I think combining your tar method and fakeroot should be quite good, I just haven't had time to investigate it further.

Offline

#29 2008-06-23 08:36:41

jaymz_64
Member
From: Paris, France
Registered: 2007-05-08
Posts: 31

Re: repacman, regenerate an installed package

Hi !

Where can we get the final script of bacman ? There isn't any AUR PKGBUILD or community package. Can we just copy/paste the script from this thread ? Is there any bug ?

Thank you.

Offline

#30 2008-06-23 08:45:03

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,392
Website

Re: repacman, regenerate an installed package

You can get it from here:
http://projects.archlinux.org/?p=pacman … 0b;hb=HEAD

It will make it into the pacman-contrib package once pacman-3.2 is released.

Offline

#31 2008-06-23 08:50:14

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: repacman, regenerate an installed package

You are asking at the wrong moment. There was a fix that was just applied in toofishes repo a few hours ago, so it has not been pushed to the master repo yet, but it will probably be in a few days.
So if you want to get the last version now, copy it from here :
http://code.toofishes.net/gitweb.cgi?p= … f89560b61c
But normally, it is from here :
http://projects.archlinux.org/?p=pacman … an;hb=HEAD
So in the general case, that last link will always give you the latest version, at any time.


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

Board footer

Powered by FluxBB