Create a package for amd(8) and related tools.

While here, fix accounting rc script installation.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Glen Barber 2016-01-21 18:19:33 +00:00
parent 4ebbe36e88
commit 4ffb51fe89
4 changed files with 40 additions and 2 deletions

View File

@ -135,7 +135,8 @@ FILES= DAEMON \
zvol
.if ${MK_ACCT} != "no"
FILES+= accounting
FILESGROUPS+= ACCT
ACCT+= accounting
.endif
.if ${MK_ACPI} != "no"
@ -148,7 +149,8 @@ FILES+= powerd
.endif
.if ${MK_AMD} != "no"
FILES+= amd
FILESGROUPS+= AMD
AMD+= amd
.endif
.if ${MK_APM} != "no"
@ -300,6 +302,10 @@ ACPIDIR= /etc/rc.d
ACPIMODE= ${BINMODE}
ACPIPACKAGE= acpi
AMDDIR= /etc/rc.d
AMDMODE= ${BINMODE}
AMDPACKAGE= amd
SSHDIR= /etc/rc.d
SSHMODE= ${BINMODE}
SSHPACKAGE= ssh
@ -312,4 +318,8 @@ JAILDIR= /etc/rc.d
JAILMODE= ${BINMODE}
JAILPACKAGE= jail
ACCTDIR= /etc/rc.d
ACCTMODE= ${BINMODE}
ACCTPACKAGE= acct
.include <bsd.prog.mk>

View File

@ -0,0 +1,13 @@
name = "FreeBSD-%PKGNAME%"
origin = "base"
version = "%VERSION%"
comment = "BSD 4.4 Automounter (debugging symbols)"
categories = [ base ]
maintainer = "re@FreeBSD.org"
www = "https://www.FreeBSD.org"
prefix = "/"
licenselogic = "single"
licenses = [ BSD2CLAUSE ]
desc = <<EOD
%DESC%
EOD

13
release/packages/amd.ucl Normal file
View File

@ -0,0 +1,13 @@
name = "FreeBSD-%PKGNAME%"
origin = "base"
version = "%VERSION%"
comment = "BSD 4.4 Automounter"
categories = [ base ]
maintainer = "re@FreeBSD.org"
www = "https://www.FreeBSD.org"
prefix = "/"
licenselogic = "single"
licenses = [ BSD2CLAUSE ]
desc = <<EOD
%DESC%
EOD

View File

@ -11,6 +11,8 @@
.include <src.opts.mk>
PACKAGE= amd
CFLAGS+= -I. -I${.CURDIR}
CFLAGS+= -I${.CURDIR}/../include
.if exists(${.OBJDIR}/../include)