-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
29 lines (24 loc) · 916 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
##
# Makefile for xinetd
##
# Project info
Project = xinetd
ProjectName = xinetd
Extra_CC_Flags = -no-cpp-precomp -mdynamic-no-pic
Extra_Configure_Flags = --with-libwrap
GnuAfterInstall = install-macosx-config install-launchd-plist
lazy_install_source:: shadow_source
# It's a GNU Source project
include $(MAKEFILEPATH)/CoreOS/ReleaseControl/GNUSource.make
install-macosx-config:
rm $(DSTROOT)/usr/sbin/itox
rm $(DSTROOT)/usr/sbin/xconv.pl
rm $(DSTROOT)/usr/share/man/man8/itox.8
mkdir -p $(DSTROOT)/private/etc/xinetd.d
chmod 755 $(DSTROOT)/private/etc/xinetd.d
install -m 644 xinetd.conf $(DSTROOT)/private/etc/xinetd.conf
install -m 644 inetd.conf $(DSTROOT)/private/etc/inetd.conf
install-launchd-plist:
$(INSTALL_DIRECTORY) $(DSTROOT)/System/Library/LaunchDaemons
$(INSTALL_FILE) $(SRCROOT)/org.xinetd.xinetd.plist \
$(DSTROOT)/System/Library/LaunchDaemons