Skip to content

u/Hitchar

In this archive from Aug 2015 to May 2021

0
posts
33
comments
0
media
132
score

Top comments

You can install packages from the AUR in the same way as on vanilla archlinux. Arch also won't have any AUR helpers in the main repos, as this is unsupported. Manjaro is the odd one out in this case.

Some packages from the AUR specifically support arm64 in the arch=() field in the PKGBUILD, others you can force to build with makepkg -A (skipping the arch check), others won't work at all.

It requires some experimentation on a case by case basis.

42 points

This is also how I currently handle my aur / custom packages. (And one of the best ways imo) I've never looked back to an aur helper.

One thing to keep in mind though: you are essentially restributing packages. This may not be allowed by the license of the package. (e.g. google-chrome, spotify) I don't think I saw a package like this in your current list, but thought I would mention it anyway.

13 points

Anyhow, do you have any lessons learned you want to share? :)

Ehh let's see.

As Alad already partly mentioned, think about your trust path. Upstream -> AUR package maintainer -> your VPS -> your clients. Some thoughts:

  • I rebuild *-git packages automatically if there are no changes to the PKGBUILD. So if there is no gpg signature, this means inherently trusting upstream sources.
  • I am notified about, and manually inspect all changes made to all PKGBUILDs. (not trusting AUR maintainers) You can also do something similar to aurto and make a list of trusted maintainers.
  • As you already mentioned, signing the packages and database is a great idea, especially when you're distributing to multiple boxes. It's not hard to setup with aurutils and an excellent excuse to learn about gpg (using a signing subkey etc.)
  • Make sure your HTTPS connection is secure. I see you're still using TLS1.0 and TLS1.1 and haven't enabled TLS1.3. I believe TLS 1.0 and 1.1 are already being deprecated by major browsers. Maybe even only enable 1.3 as all pacman clients should be able to use this. Also think about fun stuff like DNS CAA, HSTS maybe even HPKP?

Have you thought about rebuilds? This includes ABI changes of libraries, but also version changes of python.

I also regularly check the integrity of my repository. This includes verifying package and database signatures, missing package files, missing dependencies, orphaned packages, out of date packages.

Good logging/monitoring could also be something to look at. Are you notified of build failures?

Maybe a little less common use case: I sometimes make modifications to PKGBUILDs for various reasons, so I've got a system where I can automatically apply patches to packages.

That's what I can think of of the top of my head. I've probably missed a lot of problems I've hit throughout the years. Hope this helps a bit! :) Rolling my own automation based on aurutils that does exactly what I want it to do has been a blast, and is a journey that will probably never end.

6 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.