Skip to content

Commit

Permalink
main/musl-nscd: use tmpfiles more
Browse files Browse the repository at this point in the history
  • Loading branch information
q66 committed Sep 29, 2024
1 parent 952b583 commit 3056f3f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
1 change: 1 addition & 0 deletions main/musl-nscd/files/nscd.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Prepare nscd environment

d /run/nscd 0755 root root -
d /var/db/nscd 0755 root root -
7 changes: 2 additions & 5 deletions main/musl-nscd/template.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
pkgname = "musl-nscd"
pkgver = "1.1.1"
pkgrel = 4
pkgrel = 5
build_style = "gnu_configure"
configure_env = {"YACC": "bison"}
configure_gen = []
make_dir = "."
hostmakedepends = ["flex", "bison"]
pkgdesc = "NSS to NSCD bridge for musl"
Expand All @@ -18,9 +19,5 @@

def post_install(self):
self.install_license("COPYRIGHT")
self.install_dir("var/db/nscd", empty=True)
self.install_tmpfiles(self.files_path / "nscd.conf")
self.install_service(self.files_path / "nscd")


configure_gen = []

0 comments on commit 3056f3f

Please sign in to comment.