svn commit: r279661 - in projects/release-pkg: etc/devd etc/rc.d release/packages/acpi usr.sbin/acpi
Baptiste Daroussin
bapt at FreeBSD.org
Thu Mar 5 16:22:33 UTC 2015
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 at 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
More information about the svn-src-projects
mailing list