diff options
Diffstat (limited to 'package/portmap')
-rw-r--r-- | package/portmap/Makefile | 18 | ||||
-rw-r--r-- | package/portmap/files/portmap.init | 4 | ||||
-rw-r--r-- | package/portmap/files/portmap.postinst (renamed from package/portmap/ipkg/portmap.postinst) | 0 | ||||
-rw-r--r-- | package/portmap/ipkg/portmap.control | 4 |
4 files changed, 13 insertions, 13 deletions
diff --git a/package/portmap/Makefile b/package/portmap/Makefile index f5f019607..e4eba9d32 100644 --- a/package/portmap/Makefile +++ b/package/portmap/Makefile @@ -9,13 +9,21 @@ PKG_NAME:= portmap PKG_VERSION:= 6.0 PKG_RELEASE:= 1 PKG_MD5SUM:= ac108ab68bf0f34477f8317791aaf1ff -MASTER_SITES:= http://neil.brown.name/portmap/ +PKG_DESCR:= RPC portmapper +PKG_SECTION:= net +PKG_URL:= http://neil.brown.name/portmap +PKG_SITES:= http://neil.brown.name/portmap/ + DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tgz WRKDIST= ${WRKDIR}/${PKG_NAME}_${PKG_VERSION} include ${TOPDIR}/mk/package.mk -$(eval $(call PKG_template,PORTMAP,portmap,${PKG_VERSION}-${PKG_RELEASE})) +ifneq ($(strip ${ADK_PACKAGE_PORTMAP_LIBWRAP}),) +PKG_DEPENDS:= libwrap +endif + +$(eval $(call PKG_template,PORTMAP,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) ifneq ($(strip ${ADK_PACKAGE_PORTMAP_LIBWRAP}),) MAKE_FLAGS+= WRAP_LIB='-L${STAGING_DIR}/usr/lib -lwrap' @@ -28,13 +36,7 @@ MAKE_FLAGS+= ${TARGET_CONFIGURE_OPTS} \ CFLAGS='${TCFLAGS}' do-install: - ${INSTALL_DIR} ${IDIR_PORTMAP}/etc/init.d ${INSTALL_DIR} ${IDIR_PORTMAP}/usr/sbin - ${INSTALL_BIN} ./files/portmap.init \ - ${IDIR_PORTMAP}/etc/init.d/portmap ${INSTALL_BIN} ${WRKBUILD}/portmap ${IDIR_PORTMAP}/usr/sbin/ -ifneq ($(strip ${ADK_PACKAGE_PORTMAP_LIBWRAP}),) - echo 'Depends: libwrap' >>${IDIR_PORTMAP}/CONTROL/control -endif include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/portmap/files/portmap.init b/package/portmap/files/portmap.init index 19e54ee77..a42c2e2e0 100644 --- a/package/portmap/files/portmap.init +++ b/package/portmap/files/portmap.init @@ -1,5 +1,7 @@ #!/bin/sh -#FWINIT 60 +#PKG portmap +#INIT 60 + . /etc/rc.conf case $1 in diff --git a/package/portmap/ipkg/portmap.postinst b/package/portmap/files/portmap.postinst index 1017d2251..1017d2251 100644 --- a/package/portmap/ipkg/portmap.postinst +++ b/package/portmap/files/portmap.postinst diff --git a/package/portmap/ipkg/portmap.control b/package/portmap/ipkg/portmap.control deleted file mode 100644 index 88fc963fa..000000000 --- a/package/portmap/ipkg/portmap.control +++ /dev/null @@ -1,4 +0,0 @@ -Package: portmap -Priority: optional -Section: net -Description: The RPC Portmapper |