Removed darkhttpd
This commit is contained in:
parent
43c7b668bc
commit
0fbee0e8f9
3 changed files with 3 additions and 11 deletions
2
PKGBUILD
2
PKGBUILD
|
@ -8,7 +8,7 @@ arch=('any')
|
||||||
url="https://git.actcur.com/actcur/aur_repo"
|
url="https://git.actcur.com/actcur/aur_repo"
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
groups=()
|
groups=()
|
||||||
depends=('sudo' 'python' 'python-requests' 'python-sh' 'darkhttpd')
|
depends=('sudo' 'python' 'python-requests' 'python-sh')
|
||||||
makedepends=('git')
|
makedepends=('git')
|
||||||
optdepends=()
|
optdepends=()
|
||||||
checkdepends=()
|
checkdepends=()
|
||||||
|
|
|
@ -7,7 +7,6 @@ I recommend running this in a container or VM to prevent installing unwanted pac
|
||||||
git clone https://git.actcur.com/actcur/aur_repo
|
git clone https://git.actcur.com/actcur/aur_repo
|
||||||
cd aur_repo
|
cd aur_repo
|
||||||
makepkg -si
|
makepkg -si
|
||||||
systemctl enable aur_repo --now
|
|
||||||
```
|
```
|
||||||
|
|
||||||
use visudo to uncomment the nopasswd line for wheel.
|
use visudo to uncomment the nopasswd line for wheel.
|
||||||
|
@ -16,6 +15,8 @@ add packages you want to build in /etc/aur_repo/pkglist, one per line
|
||||||
|
|
||||||
then as the build user run aur_repo. Build logs are stored in /var/log/aur_repo. I'd also set a password for the build user.
|
then as the build user run aur_repo. Build logs are stored in /var/log/aur_repo. I'd also set a password for the build user.
|
||||||
|
|
||||||
|
next set up a web server (lighttp, nginx, apache, etc) to serve the /repo folder
|
||||||
|
|
||||||
on any machine that you want to sync to your aur repo add the following to /etc/pacman.conf:
|
on any machine that you want to sync to your aur repo add the following to /etc/pacman.conf:
|
||||||
```
|
```
|
||||||
[aur-local]
|
[aur-local]
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description=aur_repo server (darkhttpd)
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=simple
|
|
||||||
ExecStart=/usr/bin/darkhttpd /repo --uid build --gid nobody --chroot
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
Loading…
Add table
Reference in a new issue