aboutsummaryrefslogtreecommitdiffstats
path: root/tinylogin/tinylogin-1.4/adduser-empty_pwd.patch
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-12-09 09:47:41 +0000
committerChris Larson <clarson@kergoth.com>2004-12-09 09:47:41 +0000
commit2c5b8ec6d95cf68650265941530e5ce38c8dd6d9 (patch)
treebf879bea7ef8517ba8c3d1286ef300401d3d484c /tinylogin/tinylogin-1.4/adduser-empty_pwd.patch
parent101e2f1623def0a355d20aacb8bd93810703e834 (diff)
downloadopenembedded-2c5b8ec6d95cf68650265941530e5ce38c8dd6d9.tar.gz
Merge oe-devel@oe-devel.bkbits.net:openembedded
into hyperion.kergoth.com:/home/kergoth/code/openembedded 2004/12/09 03:39:39-06:00 kergoth.com!kergoth Break people's builds again.. this time moving the packages into a packages/ subdir to clean things up a bit. BKrev: 41b81f3dvlp3rU7_8MUXLcI8LDdDoA
Diffstat (limited to 'tinylogin/tinylogin-1.4/adduser-empty_pwd.patch')
-rw-r--r--tinylogin/tinylogin-1.4/adduser-empty_pwd.patch43
1 files changed, 0 insertions, 43 deletions
diff --git a/tinylogin/tinylogin-1.4/adduser-empty_pwd.patch b/tinylogin/tinylogin-1.4/adduser-empty_pwd.patch
deleted file mode 100644
index 737ac423c4..0000000000
--- a/tinylogin/tinylogin-1.4/adduser-empty_pwd.patch
+++ /dev/null
@@ -1,43 +0,0 @@
---- tinylogin-1.4/adduser.c.orig 2004-09-30 18:01:46.000000000 +0200
-+++ tinylogin-1.4/adduser.c 2004-09-30 18:07:01.000000000 +0200
-@@ -249,6 +249,7 @@
- struct option long_options[] = {
- { "home", 1, NULL, 'h' },
- { "disabled-password", 0, NULL, 'D' },
-+ { "empty-password", 0, NULL, 'E' },
- { "system", 0, NULL, 'S' },
- { "ingroup", 1, NULL, 'G' },
- { "no-create-home", 0, NULL, 'H' },
-@@ -287,7 +288,7 @@
- shell = default_shell;
-
- /* get args */
-- while ((opt = getopt_long (argc, argv, "h:g:s:G:DSH", long_options, &option_index)) != -1) {
-+ while ((opt = getopt_long (argc, argv, "h:g:s:G:DESH", long_options, &option_index)) != -1) {
- switch (opt) {
- case 'h':
- home = optarg;
-@@ -304,6 +305,9 @@
- case 'D':
- setpass = 0;
- break;
-+ case 'E':
-+ setpass = -1;
-+ break;
- case 'S':
- system = 1;
- break;
-@@ -338,7 +342,12 @@
-
- /* create a passwd struct */
- pw.pw_name = (char *)login;
-- pw.pw_passwd = (char *)default_passwd;
-+ if (setpass != -1)
-+ pw.pw_passwd = (char *)default_passwd;
-+ else {
-+ pw.pw_passwd = (char *)"";
-+ setpass = 0;
-+ }
- pw.pw_uid = 0;
- pw.pw_gid = 0;
- pw.pw_gecos = (char *)gecos;