You are not logged in.
I have contacted Dusty and he has agreed to let me continue this project.
It has been re-written in bash with some improvements and upgrades:
1) If failure to retrieve the compressed files occurs, it will attempt to report whether the package is in [community] or doesn't exist at all in AUR.
2) Automatically chooses and executes the correct decompression program for the target compressed files. (.tar.gz, .gz, .tar.bz2, .bz2, .tgz, .zip)
3) Allows users to choose from a menu a list editors to view or edit the PKGBUILD before building.
4) Builds and installs missing makedepends and depends from abs.
5) Installs the target package.
6) Cleans up all work files including the built package after installation.
7) All of this can be done as regular user (and recommended over root user) through the use of fakeroot and sudo. This will prevent potentially destructive executions to the root filesystem, while emulating the desired root environment during the build proccess. Sudo is used to build and install missing deps and makedeps from abs using makepkg, and to install the target package with pacman (-i and-b to makepkg will not work as regular user).
The PKGBUILD and can be found in a AUR.
Suggestions are welcomed
Offline
Thank you Penguin ! now with sudo, aurbuild is very cool !
But I have this error after the build process:
==> Finished making: dav (lun aoû 15 12:53:57 CEST 2005)
==> Leaving fakeroot environment...
==> Running sudo pacman --upgrade...
loading package data... could not open package: No such file or directory
Offline
strange, I had no such problem with that package as user. Did you alter the PKGBUILD? Is this the only one that gives you that error?
I'll look into this later today.
Offline
Did you alter the PKGBUILD? Is this the only one that gives you that error?
No, I have the same problem with other PKGBUILD.
Offline
There existis another python script since May 2005, which can do the same and much more!
qpkg is a python script with which you can search for packages in all known repositories (official, TUR, PUR, etc...). You also can install packages directly from AUR (like aurbuild), but there is more... with qpkg you also can configure your pacman configuration to use user repositories (adding, removing and list repositories to pacman configuration).
qpkg can be found here:
-> http://aur.archlinux.org/packages.php?K=qpkg
Or in my personal repository:
[dma147]
Server = http://arch.linux-stats.org/pkgs
Offline
qpkg build aur's PKGBUILD with root :?
This is dangerous
Offline
Yeah... that's correct... well, perhaps I should change that... ^^
In the next version it will be changed. Thanks for the hint.
Offline
Offline
wain:
Delete the bullcrap from lines 219 - 223 (the if statement)
and put this in place :
source ./PKGBUILD
sudo pacman --upgrade $pat/${pkgname}-${pkgver}-${pkgrel}.pkg.tar.gz
if it works, please try it on a few other packages and let me know your outcome.
Offline
qpkg build aur's PKGBUILD with root :?
This is dangerous
Okay, I've changed that. Version 0.1.2 is out now, with which you also can build packages directly from AUR as normal user. They will be saved in ~/qpkg.packages.
It can be installed directly from my own repository:
[dma147]
Server = http://arch.linux-stats.org/pkgs
Or you can makepkg it by yourself with the PKGBUILD and the qpkg.install from AUR:
http://aur.archlinux.org/packages.php?K=qpkg
Offline
I've changed that. Version 0.1.2 is out now, with which you also can build packages directly from AUR as normal user. They will be saved in ~/qpkg.packages.
Can you add -f to makepkg to overwrite package already built ?
thanks !
Offline
wain:
Delete the bullcrap from lines 219 - 223 (the if statement)
and put this in place :source ./PKGBUILD sudo pacman --upgrade $pat/${pkgname}-${pkgver}-${pkgrel}.pkg.tar.gz
when running
==> Running sudo pacman --upgrade...
aurbuild try to upgrade this file:
/tmp/aur/dav-0.8.5-1.pkg.tar.gz
but he hasn't been built :cry:
same problem with other PKGBUILD
Offline
That shouldn't be needed, I think, because the build-directory will be deleted every time before makepkg runs. Packages which are correctly build are copied to ~/qpkg.packages, which is not the build-directory.
So, there'll never be a built package in the way of makepkg.
Btw. I've just modified the actual version, so that you also can view the downloaded PKGBUILD, before makepkg'ing the package.
I'm just working on a new option with which you'll be able to free space on your harddisk by deleting unneeded src- and binary-packages from /var/cache/pacman. This option will also take care of packages which shouldn't be deleted, because they'll be used every time again, when you'll build a new kernel or something similar (nvidia or ati-drivers for example).
This new version will come out soon.
Btw. maybe, we should open a new thread for qpkg...?? *g*
Offline
I've created a new thread for qpkg... please post all questions, bug or other stuff related to qpkg in this thread. Thanks.
Offline
I'm sorry Penguin and dma147 :oops:
qpkg could not ovewrite existing package for me and aurbuild could not find the new built package. :shock:
The reason is in my /etc/makepkg.conf file
:arrow: export PKGDEST=/var/abs/local/public/
aurbuild and qpkg should use this PKGDEST path 8)
Offline
Maybe you (dma147 & Penguin) can use
makepkg -w .
to write package to working directory
Offline
ok, I've fixed this bug. Aurbuild will honor a set $PKGDEST in /etc/makepkg.conf if it is specified, otherwise the package and the rest of the work files will be deleted from /tmp/aur/ after the install.
Thanks for pointing out this bug wain
Offline
Offline
*Supports multiple package requests.
*Ablity to install missing dependencies using pacman (see --help).
*Indicates safe packages.
*"Preview PKGBUILD using less" added to VIEW/EDIT menu.
Offline
-v0.5 (September 18, 2005)
*Search AUR with a single keyword. Output is piped to less.
Offline
Wiki updated:
http://wiki.archlinux.org/index.php/Aurbuild
Offline
-v0.5.2 (October 15, 2005)
*Control+C will safely exit and cleanup work files.
*Uses a temporary directory in $HOME to build packages instead of tmpfs.
This should eliminate failed builds due to large packages over-filling tmpfs.
Offline
Something weird happened when I submitted this. Everything seemed to be fscked. I re-submitted it and it seems fine now.
Offline
I re-wrote this in python so I can maintain it easier.
It's the same thing as before but in a different language, so all functionality of the previous will still be supported.
Offline
aurbuild reressurected, this time in its original language, I love it....
Offline