Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dominika Liberda
aports
Commits
71db38e0
Commit
71db38e0
authored
8 years ago
by
Jakub Jirutka
Browse files
Options
Downloads
Patches
Plain Diff
testing/shadow: split newuidmap/newgidmap into subpackage
parent
33929149
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
testing/shadow/APKBUILD
+17
-5
17 additions, 5 deletions
testing/shadow/APKBUILD
with
17 additions
and
5 deletions
testing/shadow/APKBUILD
+
17
−
5
View file @
71db38e0
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname
=
shadow
pkgname
=
shadow
pkgver
=
4.2.1
pkgver
=
4.2.1
pkgrel
=
5
pkgrel
=
6
pkgdesc
=
"PAM-using login and passwd utilities (usermod
/
useradd
/ newuidmap etc
)"
pkgdesc
=
"PAM-using login and passwd utilities (usermod
,
useradd
, ...
)"
url
=
"http://pkg-shadow.alioth.debian.org/"
url
=
"http://pkg-shadow.alioth.debian.org/"
arch
=
"all"
arch
=
"all"
license
=
"GPL"
license
=
"GPL"
depends
=
""
depends
=
""
makedepends
=
"linux-pam-dev"
makedepends
=
"linux-pam-dev"
subpackages
=
"
$pkgname
-doc
$pkgname
-dbg"
subpackages
=
"
$pkgname
-doc
$pkgname
-dbg
$pkgname
-uidmap
"
source
=
"http://pkg-shadow.alioth.debian.org/releases/shadow-
$pkgver
.tar.xz
source
=
"http://pkg-shadow.alioth.debian.org/releases/shadow-
$pkgver
.tar.xz
login.pamd
login.pamd
dots-in-usernames.patch
dots-in-usernames.patch
...
@@ -61,10 +62,21 @@ package() {
...
@@ -61,10 +62,21 @@ package() {
# Avoid conflict with man-pages.
# Avoid conflict with man-pages.
rm
"
$pkgdir
"
/usr/share/man/man3/getspnam.3
*
\
rm
"
$pkgdir
"
/usr/share/man/man3/getspnam.3
*
\
"
$pkgdir
"
/usr/share/man/man5/passwd.5
*
||
return
1
"
$pkgdir
"
/usr/share/man/man5/passwd.5
*
||
return
1
}
uidmap
()
{
pkgdesc
=
"Utilities for using subordinate UIDs and GIDs"
mkdir
-p
"
$subpkgdir
"
cd
"
$subpkgdir
"
mkdir
-p
usr/bin
mv
"
$pkgdir
"
/usr/bin/new
*
idmap usr/bin/
||
return
1
chmod
4711 usr/bin/new
*
idmap
||
return
1
# Used e.g. for unprivileged LXC containers.
# Used e.g. for unprivileged LXC containers.
touch
"
$pkg
dir
"
/
etc
/subuid
mk
dir
etc
touch
"
$pkgdir
"
/
etc/subgid
touch
etc/subuid
etc/subgid
}
}
md5sums
=
"2bfafe7d4962682d31b5eba65dba4fc8 shadow-4.2.1.tar.xz
md5sums
=
"2bfafe7d4962682d31b5eba65dba4fc8 shadow-4.2.1.tar.xz
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment