Hello folks!
I am a beginner in Arch packaging but I just came to a stable point writing
my small systemd journal analyzer and beeing a Arch user for some years now
I thought it would
be a good exercise for me to write a PKGBUILD for my program and try to
upload it to the AUR.
It is now online @ https://aur.archlinux.org/packages/qjournalctl/
I followed the wiki guidelines
@
https://wiki.archlinux.org/index.php/Arch_User_Repository#Submitting_packag…
I read myself into the
@ https://wiki.archlinux.org/index.php/Arch_packaging_standards
and into
@ https://wiki.archlinux.org/index.php/PKGBUILD
and I tried to follow all the suggestions there and I kept my PKGBUILD as
tiny
as possible.
I also runned namcap to check my PKGBUILD respectively the generated
package.
As I had some dependencies (namely qt5-base and gcc-multilibs) I listed
them in the PKGBUILD.
I tried to have a look at other PKGBUILDs as well and to compare it to mine
but I could not find something which would really differ from my first
trial.
Then I read I could ask here for suggestions and improvements.
Is there something I didn't do which is e.g. a good habit? Or did I
something that I shouldn't have done?
I hope some experienced AUR packagers / TUs can give me a few points I can
work on. Feel free to give me feedback on my program as well! ;)
Thank you very much!
Patrick
Hi everyone,
I've just started writing some PKGBUILDs for some programs that are not
present neither in the official package repository nor in the AUR.
Specifically, I've packaged libdime [1] as a required dependency for the
X-Plane developer tools [2].
I'm attaching the PKGBUILD below - if someone on this list could review
it, that would be much appreciated. I've also got the following questions:
1) Is it correct to name the package "libdime-hg" only because its
sources are checked out from a Mercurial repository (that's because
no official tarballs exist any more - the Debian copyright file for
the library [3] points to a now dismissed FTP site [4]), or should I
just name it "libdime"?
2) On the same note, assuming that naming the package "libdime-hg" is
correct, does it make sense to put
provides=("${pkgname%-hg}")
conflicts=("${pkgname%-hg}")
in the PKGBUILD? I've thought to put these two lines as "safeguards"
in case I need to distinguish between a libdime VCS and non-VCS package
in the future.
Cheers and thanks in advance,
Alessandro Menti
[1] https://bitbucket.org/Coin3D/dime
[2] http://developer.x-plane.com/tools/
[3] http://metadata.ftp-master.debian.org/changelogs/main/d/dime/dime_0.2011120…
[4] ftp://ftp.sim.no/pub/snapshots/
----- The PKGBUILD follows: --------------------------------------------
# Maintainer: Alessandro Menti <alessandro dot menti at hotmail dot it>
pkgname=libdime-hg
pkgver=r187.7cd55bc6a6d0
pkgrel=1
pkgdesc="A DXF (Data eXchange Format) file format support library"
arch=('i686' 'x86_64')
url="https://bitbucket.org/Coin3D/dime"
license=('BSD')
depends=('gcc-libs')
makedepends=('doxygen' 'mercurial')
provides=("${pkgname%-hg}")
conflicts=("${pkgname%-hg}")
source=("${pkgname%-hg}::hg+https://bitbucket.org/Coin3D/dime")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-hg}"
printf "r%s.%s" "$(hg identify -n)" "$(hg identify -i)"
}
build() {
cd "$srcdir/${pkgname%-hg}"
./configure --prefix=/usr --enable-html
make
}
package() {
cd "$srcdir/${pkgname%-hg}"
make DESTDIR="$pkgdir/" install
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
Hi,
have there been any change to AUR recently?
Suddenly I just cannot upload AUR packages anymore. The full error message
is:
vinipsmaker ~/Projetos/aur/way-cooler $ git fetch origin
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
zsh: exit 128 git fetch origin
Yesterday it was working as expected with no changes. I've tried to change
my SSH keys using the guideline of the wiki to have a separate key just for
AUR and nothing changed. I've change the URL to the most recent acceptable
one (yesterday I was still using aur4 url) and got nothing. I can only
imagine something in the upstream support has changed to break features. I
don't think it was something I've done.
--
Vinícius dos Santos Oliveira
https://vinipsmaker.github.io/
Hello,
something happend to my AUR account.
git push
Permission denied (publickey).
fatal: Could not read from remote repository.
I then changes my public key, making things worse.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: POSSIBLE DNS SPOOFING DETECTED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
The RSA host key for aur.archlinux.org has changed,
and the key for the corresponding IP address 2a01:4f8:160:3033::2
is unknown. This could either mean that
DNS SPOOFING is happening or the IP address for the host
and its host key have changed at the same time.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
xxx
Please contact your system administrator.
Add correct host key in /home/haawda/.ssh/known_hosts to get rid of this message.
Offending RSA key in /home/haawda/.ssh/known_hosts:2
RSA host key for aur.archlinux.org has changed and you have requested strict checking.
Host key verification failed.
fatal: Could not read from remote repository.
Can someone please help?
Best Regards
Stefan Husmann