Print this page
5069 Removal of wu-ftpd
Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com>
Reviewed by: Garrett D'Amore <garrett@damore.org>
Reviewed by: Milan Jurik <milan.jurik@xylab.cz>
Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com>
Reviewed by: Gary Mills <gary_mills@fastmail.fm>
Reviewed by: Toomas Soome <tsoome@me.com>
Reviewed by: Adam Stevko <adam.stevko@gmail.com>
@@ -22,31 +22,40 @@
# Copyright (c) 1990, 2010, Oracle and/or its affiliates. All rights reserved.
# Copyright 2010 Nexenta Systems, Inc. All rights reserved.
#
ETCFILES= ioctl.syscon passwd shadow motd
+FTPDFILES= ftpusers
KVMFILES= README
SMBFILES= smbpasswd
include ../../Makefile.cmd
ROOTETCFILES= $(ETCFILES:%=$(ROOTETC)/%)
+ROOTETCFTPDFILES= $(FTPDFILES:%=$(ROOTETCFTPD)/%)
ROOTUSRKVMFILES= $(KVMFILES:%=$(ROOTUSRKVM)/%)
ROOTVARSMBFILES= $(SMBFILES:%=$(ROOTVARSMB)/%)
FILEMODE= 0644
+ROOTETCFTPUSERSLINK= $(ROOTETC)/ftpusers
+
$(ROOTETC)/shadow := FILEMODE = 400
$(ROOTVARSMB)/smbpasswd := FILEMODE = 0400
+
.KEEP_STATE:
-all: $(ETCFILES) $(KVMFILES) $(SMBFILES)
+$(ROOTETCFTPUSERSLINK): $(ROOTETCFTPDFILES)
+ $(SYMLINK) ftpd/ftpusers $@
+
+all: $(ETCFILES) $(KVMFILES) $(SMBFILES) $(FTPDFILES)
-install: all $(ROOTETCFILES) $(ROOTUSRKVMFILES) $(ROOTVARSMBFILES)
+install: all $(ROOTETCFILES) $(ROOTETCFTPDFILES) $(ROOTUSRKVMFILES) $(ROOTVARSMBFILES) $(ROOTETCFTPUSERSLINK)
clean:
+ $(RM) $(ROOTETCFTPUSERSLINK)
lint:
clobber: