aboutsummaryrefslogtreecommitdiffstats
path: root/community/shadow/dots-in-usernames.patch
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-08-17 21:26:45 +0200
committerJakub Jirutka <jakub@jirutka.cz>2016-08-17 21:26:45 +0200
commitc95b4aa8b02aed915ec840f8f291073157816b97 (patch)
tree1a501600f70c6033207e89ee9d1f16cb14bdbce4 /community/shadow/dots-in-usernames.patch
parent6896ed31feda6db35c99fc916f6ce9835694c98e (diff)
downloadaports-c95b4aa8b02aed915ec840f8f291073157816b97.tar.bz2
aports-c95b4aa8b02aed915ec840f8f291073157816b97.tar.xz
community/shadow: move from testing
Diffstat (limited to 'community/shadow/dots-in-usernames.patch')
-rw-r--r--community/shadow/dots-in-usernames.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/shadow/dots-in-usernames.patch b/community/shadow/dots-in-usernames.patch
new file mode 100644
index 0000000000..b684c9d02f
--- /dev/null
+++ b/community/shadow/dots-in-usernames.patch
@@ -0,0 +1,11 @@
+--- shadow-4.1.3/libmisc/chkname.c
++++ shadow-4.1.3/libmisc/chkname.c
+@@ -66,6 +66,7 @@
+ ( ('0' <= *name) && ('9' >= *name) ) ||
+ ('_' == *name) ||
+ ('-' == *name) ||
++ ('.' == *name) ||
+ ( ('$' == *name) && ('\0' == *(name + 1)) )
+ )) {
+ return false;
+