Date: Thu, 5 Mar 2015 16:22:32 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r279661 - in projects/release-pkg: etc/devd etc/rc.d release/packages/acpi usr.sbin/acpi Message-ID: <201503051622.t25GMWQJ036802@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Thu Mar 5 16:22:31 2015 New Revision: 279661 URL: https://svnweb.freebsd.org/changeset/base/279661 Log: Make acpi an individual package Flag /etc/devd/asus.conf as a config file so it will be automatically merged on updates Added: projects/release-pkg/release/packages/acpi/ projects/release-pkg/release/packages/acpi/+MANIFEST Modified: projects/release-pkg/etc/devd/Makefile projects/release-pkg/etc/rc.d/Makefile projects/release-pkg/usr.sbin/acpi/Makefile.inc Modified: projects/release-pkg/etc/devd/Makefile ============================================================================== --- projects/release-pkg/etc/devd/Makefile Thu Mar 5 16:20:53 2015 (r279660) +++ projects/release-pkg/etc/devd/Makefile Thu Mar 5 16:22:31 2015 (r279661) @@ -2,7 +2,7 @@ .include <src.opts.mk> -FILES= +FILEGROUPS= FILES .if ${MACHINE} == "powerpc" FILES+= apple.conf @@ -10,7 +10,12 @@ FILES+= apple.conf .if ${MACHINE} == "amd64" || ${MACHINE} == "i386" .if ${MK_ACPI} != "no" -FILES+= asus.conf +FILESGROUPS+= ACPI +ACPI= asus.conf +ACPIPACKAGE= acpi +ACPIDIR= /etc/devd +ACPITAGS= config +ACPIMODE= 644 .endif .if ${MK_HYPERV} != "no" FILES+= hyperv.conf Modified: projects/release-pkg/etc/rc.d/Makefile ============================================================================== --- projects/release-pkg/etc/rc.d/Makefile Thu Mar 5 16:20:53 2015 (r279660) +++ projects/release-pkg/etc/rc.d/Makefile Thu Mar 5 16:22:31 2015 (r279661) @@ -140,7 +140,8 @@ FILES+= accounting .endif .if ${MK_ACPI} != "no" -FILES+= power_profile +FILESGROUPS+= ACPI +ACPI= power_profile .endif .if ${MK_ACPI} != "no" || ${MK_APM} != "no" @@ -293,4 +294,8 @@ UNBOUNDDIR= /etc/rc.d UNBOUNDMODE= ${BINMODE} UNBOUNDPACKAGE= unbound +ACPIDIR= /etc/rc.d +ACPIMODE= ${BINMODE} +ACPIPACKAGE= acpi + .include <bsd.prog.mk> Added: projects/release-pkg/release/packages/acpi/+MANIFEST ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ projects/release-pkg/release/packages/acpi/+MANIFEST Thu Mar 5 16:22:31 2015 (r279661) @@ -0,0 +1,13 @@ +name = "FreeBSD-acpi" +origin = "base" +version = "%VERSION%" +comment = "ACPI tools" +categories = [ base ] +maintainer = "re@FreeBSD.org" +www = "http://www.FreeBSD.org" +prefix = "/" +licenselogic = "single" +licenses = [ BSD2CLAUSE ] +desc = <<EOD +TODO +EOD Modified: projects/release-pkg/usr.sbin/acpi/Makefile.inc ============================================================================== --- projects/release-pkg/usr.sbin/acpi/Makefile.inc Thu Mar 5 16:20:53 2015 (r279660) +++ projects/release-pkg/usr.sbin/acpi/Makefile.inc Thu Mar 5 16:22:31 2015 (r279661) @@ -4,6 +4,8 @@ ACPICA_DIR= ${.CURDIR}/../../../sys/contrib/dev/acpica CFLAGS+= -I${.CURDIR}/../../../sys +PACKAGE= acpi + .if exists(${.CURDIR}/../../Makefile.inc) .include "${.CURDIR}/../../Makefile.inc" .endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503051622.t25GMWQJ036802>