|
Last change
on this file since 7171f93 was 7171f93, checked in by Thorsten Glaser <tg@…>, 19 years ago |
- base-files/files/etc/init.d/rcK, base-files/files/etc/init.d/rcS:
do correct shebang processing, like the BSD kernel and mksh: get
first line of script to run if it begins with "#!", strip that and
any leading space/tab off, then get shell name (terminates with
space/tab/end of string) and shell argument quoting according to
unix common proceedings; use /bin/sh as interpreter if none could
be found
- mk/package.mk: ensure all init scripts are 0755 by default
- busybox: flesh out inetd init script, so that all init scripts in
FreeWRT either can be found with -path \*/init.d/\* or -name \*.init
- other packages: add #!/bin/sh shebang line to init scripts¹, bump dashver
¹) change this to /bin/ash if you use ash-specific features that mksh
can also do; never use ash-specific features that mksh cannot do (are
there any?), change to /bin/mksh if you use mksh-specific features
and add a run-time dependency on mksh in that case
git-svn-id: svn://www.freewrt.org/trunk/freewrt@2653 afb5a338-a214-0410-bd46-81f09a774fd1
|
-
Property mode
set to
100644
|
|
File size:
1.0 KB
|
| Line | |
|---|
| 1 | # $FreeWRT$
|
|---|
| 2 | #-
|
|---|
| 3 | # This file is part of the FreeWRT project. FreeWRT is copyrighted
|
|---|
| 4 | # material, please see the LICENCE file in the top-level directory
|
|---|
| 5 | # or at http://www.freewrt.org/licence for details.
|
|---|
| 6 |
|
|---|
| 7 | include $(TOPDIR)/rules.mk
|
|---|
| 8 |
|
|---|
| 9 | PKG_NAME:= xinetd
|
|---|
| 10 | PKG_VERSION:= 2.3.13
|
|---|
| 11 | PKG_RELEASE:= 7
|
|---|
| 12 | PKG_MD5SUM:= 4295b5fe12350f09b5892b363348ac8b
|
|---|
| 13 |
|
|---|
| 14 | PKG_SOURCE_URL:= http://www.xinetd.org/
|
|---|
| 15 |
|
|---|
| 16 | include $(TOPDIR)/mk/package.mk
|
|---|
| 17 |
|
|---|
| 18 | $(eval $(call PKG_template,XINETD,xinetd,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
|
|---|
| 19 |
|
|---|
| 20 | CONFIGURE_STYLE:= gnu
|
|---|
| 21 | CONFIGURE_ARGS+= --without-libwrap \
|
|---|
| 22 | --with-loadavg
|
|---|
| 23 | BUILD_STYLE:= auto
|
|---|
| 24 | ALL_TARGET:= build
|
|---|
| 25 | INSTALL_STYLE:= auto
|
|---|
| 26 |
|
|---|
| 27 | post-install:
|
|---|
| 28 | ${INSTALL_DIR} ${IDIR_XINETD}/etc
|
|---|
| 29 | ${INSTALL_DATA} ./files/xinetd.conf ${IDIR_XINETD}/etc/xinetd.conf
|
|---|
| 30 | ${INSTALL_DIR} ${IDIR_XINETD}/etc/xinetd.d
|
|---|
| 31 | ${INSTALL_DIR} ${IDIR_XINETD}/etc/init.d
|
|---|
| 32 | ${INSTALL_BIN} ./files/xinetd.init ${IDIR_XINETD}/etc/init.d/xinetd
|
|---|
| 33 | ${INSTALL_DIR} ${IDIR_XINETD}/usr/sbin
|
|---|
| 34 | ${INSTALL_BIN} ${WRKINST}/usr/sbin/xinetd ${IDIR_XINETD}/usr/sbin/
|
|---|
| 35 |
|
|---|
| 36 | include ${TOPDIR}/mk/pkg-bottom.mk
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.