From 0a129cd158f39ff0c7e40a93622586db74eba89c Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 31 Aug 2016 11:59:41 +0200 Subject: move files (simplify + easier comp with FC) --- Makefile | 16 ++-------------- group | 30 ++++++++++++++++++++++++++++++ passgrp/Makefile | 9 --------- passgrp/group | 30 ------------------------------ passgrp/passwd | 12 ------------ passwd | 12 ++++++++++++ 6 files changed, 44 insertions(+), 65 deletions(-) create mode 100644 group delete mode 100644 passgrp/Makefile delete mode 100644 passgrp/group delete mode 100644 passgrp/passwd create mode 100644 passwd diff --git a/Makefile b/Makefile index db0ab0a..6bc84d5 100644 --- a/Makefile +++ b/Makefile @@ -2,27 +2,15 @@ NAME = setup VERSION = 2.7.21 SVNPATH = svn+ssh://svn.mageia.org/svn/soft/$(PACKAGE) -LIST = csh.cshrc csh.login host.conf hosts.allow hosts.deny inputrc \ - motd printcap protocols securetty services shells profile \ +LIST = csh.cshrc csh.login gshadow group host.conf hosts.allow hosts.deny inputrc \ + motd passwd printcap protocols securetty services shadow shells profile \ filesystems fstab resolv.conf hosts -subdir = passgrp - -all: - @for dir in $(subdir);do \ - make -C $$dir all ;\ - done clean: - @for dir in $(subdir);do \ - make -C $$dir clean ;\ - done rm -f *~ \#*\# install: - @for dir in $(subdir); do \ - make -C $$dir install DESTDIR=$(DESTDIR);\ - done install -d -m 755 $(DESTDIR)/etc/ install -d -m 755 $(DESTDIR)/var/log/ for i in $(LIST); do \ diff --git a/group b/group new file mode 100644 index 0000000..7a613f6 --- /dev/null +++ b/group @@ -0,0 +1,30 @@ +root::0: +bin::1: +daemon::2: +sys::3: +adm::4: +tty::5: +disk::6: +lp::7: +mem::8: +kmem::9: +wheel::10: +mail::12: +news::13: +uucp::14: +man::15: +floppy::19: +games::20: +tape::21: +cdrom::22: +utmp::24: +shadow::25: +chkpwd::26: +auth::27: +usb::43: +cdwriter::80: +audio::81: +video::82: +dialout::83: +users::100: +nogroup::65534: diff --git a/passgrp/Makefile b/passgrp/Makefile deleted file mode 100644 index 5138027..0000000 --- a/passgrp/Makefile +++ /dev/null @@ -1,9 +0,0 @@ -mandir = /usr/share/man - -all: - -clean: - -install: - install -D -m 644 group $(DESTDIR)/etc/group - install -D -m 644 passwd $(DESTDIR)/etc/passwd diff --git a/passgrp/group b/passgrp/group deleted file mode 100644 index 7a613f6..0000000 --- a/passgrp/group +++ /dev/null @@ -1,30 +0,0 @@ -root::0: -bin::1: -daemon::2: -sys::3: -adm::4: -tty::5: -disk::6: -lp::7: -mem::8: -kmem::9: -wheel::10: -mail::12: -news::13: -uucp::14: -man::15: -floppy::19: -games::20: -tape::21: -cdrom::22: -utmp::24: -shadow::25: -chkpwd::26: -auth::27: -usb::43: -cdwriter::80: -audio::81: -video::82: -dialout::83: -users::100: -nogroup::65534: diff --git a/passgrp/passwd b/passgrp/passwd deleted file mode 100644 index c8e2152..0000000 --- a/passgrp/passwd +++ /dev/null @@ -1,12 +0,0 @@ -root::0:0:root:/root:/bin/bash -bin:*:1:1:bin:/bin:/bin/sh -daemon:*:2:2:daemon:/sbin:/bin/sh -adm:*:3:4:adm:/var/adm:/bin/sh -lp:*:4:7:lp:/var/spool/lpd:/bin/sh -sync:*:5:0:sync:/sbin:/bin/sync -mail:*:8:12:mail:/var/spool/mail:/bin/sh -news:*:9:13:news:/var/spool/news:/bin/sh -uucp:*:10:14:uucp:/var/spool/uucp:/bin/sh -operator:*:11:0:operator:/var:/bin/sh -games:*:12:100:games:/usr/games:/bin/sh -nobody:*:65534:65534:Nobody:/:/bin/sh diff --git a/passwd b/passwd new file mode 100644 index 0000000..c8e2152 --- /dev/null +++ b/passwd @@ -0,0 +1,12 @@ +root::0:0:root:/root:/bin/bash +bin:*:1:1:bin:/bin:/bin/sh +daemon:*:2:2:daemon:/sbin:/bin/sh +adm:*:3:4:adm:/var/adm:/bin/sh +lp:*:4:7:lp:/var/spool/lpd:/bin/sh +sync:*:5:0:sync:/sbin:/bin/sync +mail:*:8:12:mail:/var/spool/mail:/bin/sh +news:*:9:13:news:/var/spool/news:/bin/sh +uucp:*:10:14:uucp:/var/spool/uucp:/bin/sh +operator:*:11:0:operator:/var:/bin/sh +games:*:12:100:games:/usr/games:/bin/sh +nobody:*:65534:65534:Nobody:/:/bin/sh -- cgit v1.2.1