2020-11-11 17:50:17 +01:00
|
|
|
# $NetBSD: Makefile,v 1.7 2020/11/11 16:50:17 jperkin Exp $
|
2017-07-07 06:03:06 +02:00
|
|
|
|
|
|
|
DISTNAME= inetutils-1.9.4
|
2020-11-11 17:50:17 +01:00
|
|
|
PKGREVISION= 3
|
2017-07-07 06:03:06 +02:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=inetutils/}
|
|
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2020-01-19 00:30:43 +01:00
|
|
|
HOMEPAGE= https://www.gnu.org/software/inetutils/
|
2017-07-07 06:03:06 +02:00
|
|
|
COMMENT= GNU network utilities
|
|
|
|
LICENSE= gnu-gpl-v3
|
|
|
|
|
2017-09-08 11:43:02 +02:00
|
|
|
AUTO_MKDIRS= yes
|
2017-07-07 06:03:06 +02:00
|
|
|
INFO_FILES= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2017-09-08 11:43:02 +02:00
|
|
|
CONFIGURE_ARGS+= --program-prefix=g
|
2020-11-11 17:50:17 +01:00
|
|
|
CONFIGURE_ENV+= inetutils_cv_path_cp=${CP}
|
|
|
|
|
|
|
|
.for prog in ping ping6 rcp rlogin rsh traceroute
|
|
|
|
SPECIAL_PERMS+= bin/g${prog} ${SETUID_ROOT_PERMS}
|
|
|
|
.endfor
|
2017-07-07 06:03:06 +02:00
|
|
|
|
|
|
|
TEST_TARGET= check
|
|
|
|
|
2017-09-08 11:43:02 +02:00
|
|
|
post-install:
|
|
|
|
.for f in dnsdomainname ftp hostname ifconfig logger ping ping6 \
|
|
|
|
rcp rexec rlogin rsh talk telnet tftp traceroute whois
|
|
|
|
${LN} -sf ${PREFIX}/bin/g${f} ${DESTDIR}${PREFIX}/${PKGGNUDIR}bin/${f}
|
|
|
|
${LN} -sf ${PREFIX}/${PKGMANDIR}/man1/g${f}.1 ${DESTDIR}${PREFIX}/${PKGGNUDIR}${PKGMANDIR}/man1/${f}.1
|
|
|
|
.endfor
|
|
|
|
.for f in ftpd inetd rexecd rlogind rshd syslogd talkd telnetd tftpd uucpd
|
|
|
|
${LN} -sf ${PREFIX}/libexec/g${f} ${DESTDIR}${PREFIX}/${PKGGNUDIR}libexec/${f}
|
|
|
|
${LN} -sf ${PREFIX}/${PKGMANDIR}/man8/g${f}.8 ${DESTDIR}${PREFIX}/${PKGGNUDIR}${PKGMANDIR}/man8/${f}.8
|
|
|
|
.endfor
|
|
|
|
|
2017-07-07 06:03:06 +02:00
|
|
|
.include "../../mk/curses.buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|