From: <abe...@us...> - 2013-12-30 00:30:18
|
Revision: 6330 http://sourceforge.net/p/astlinux/code/6330 Author: abelbeck Date: 2013-12-30 00:30:15 +0000 (Mon, 30 Dec 2013) Log Message: ----------- nut, more build tweaks Modified Paths: -------------- branches/1.0/package/nut/nut.mk Modified: branches/1.0/package/nut/nut.mk =================================================================== --- branches/1.0/package/nut/nut.mk 2013-12-29 15:24:41 UTC (rev 6329) +++ branches/1.0/package/nut/nut.mk 2013-12-30 00:30:15 UTC (rev 6330) @@ -12,10 +12,13 @@ # Our patch changes m4 macros, so we need to autoreconf NUT_AUTORECONF = YES -# Put the PID files in a read-write place (/var/run is a tmpfs) -# since the default location (/var/state/ups) maybe readonly. NUT_CONF_OPT = \ - --with-altpidpath=/var/run/upsd + --with-drvpath=/usr/lib/ups \ + --with-altpidpath=/var/run/ups \ + --with-user=nobody \ + --with-group=nobody \ + --datadir=/usr/share/ups \ + --sysconfdir=/etc/ups NUT_CONF_ENV = \ GDLIB_CONFIG=$(STAGING_DIR)/usr/bin/gdlib-config \ @@ -88,14 +91,29 @@ endif define NUT_INSTALL_SCRIPT - #$(INSTALL) -D -m 755 package/nut/upsd.init $(TARGET_DIR)/etc/init.d/upsd - mkdir -p $(TARGET_DIR)/stat/etc/upsd + #$(INSTALL) -D -m 755 package/nut/ups.init $(TARGET_DIR)/etc/init.d/ups + mkdir -p $(TARGET_DIR)/stat/etc/ups for i in upsd.conf upsd.users ups.conf upsmon.conf upssched.conf; do \ - mv $(TARGET_DIR)/etc/$$i.sample $(TARGET_DIR)/stat/etc/upsd/$$i ; \ - ln -sf /tmp/etc/$$i $(TARGET_DIR)/etc/$$i ; \ + cp $(TARGET_DIR)/etc/ups/$$i.sample $(TARGET_DIR)/stat/etc/ups/$$i ; \ done + rm -rf $(TARGET_DIR)/etc/ups + ln -s /tmp/etc/ups $(TARGET_DIR)/etc/ups + ln -sf ../../init.d/slapd $(TARGET_DIR)/etc/runlevels/default/S35ups + ln -sf ../../init.d/slapd $(TARGET_DIR)/etc/runlevels/default/K21ups endef NUT_POST_INSTALL_TARGET_HOOKS += NUT_INSTALL_SCRIPT +NUT_UNINSTALL_STAGING_OPT = --version + +define NUT_UNINSTALL_TARGET_CMDS + rm -f $(TARGET_DIR)/etc/init.d/ups + rm -f $(TARGET_DIR)/etc/ups + rm -rf $(TARGET_DIR)/stat/etc/ups + rm -rf $(TARGET_DIR)/usr/lib/ups + rm -rf $(TARGET_DIR)/usr/share/ups + rm -f $(TARGET_DIR)/etc/runlevels/default/S35ups + rm -f $(TARGET_DIR)/etc/runlevels/default/K21ups +endef + $(eval $(call AUTOTARGETS,package,nut)) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <abe...@us...> - 2013-12-30 00:51:23
|
Revision: 6331 http://sourceforge.net/p/astlinux/code/6331 Author: abelbeck Date: 2013-12-30 00:51:20 +0000 (Mon, 30 Dec 2013) Log Message: ----------- nut, more build tweaks, fix copy-paste typo Modified Paths: -------------- branches/1.0/package/nut/nut.mk Modified: branches/1.0/package/nut/nut.mk =================================================================== --- branches/1.0/package/nut/nut.mk 2013-12-30 00:30:15 UTC (rev 6330) +++ branches/1.0/package/nut/nut.mk 2013-12-30 00:51:20 UTC (rev 6331) @@ -98,8 +98,8 @@ done rm -rf $(TARGET_DIR)/etc/ups ln -s /tmp/etc/ups $(TARGET_DIR)/etc/ups - ln -sf ../../init.d/slapd $(TARGET_DIR)/etc/runlevels/default/S35ups - ln -sf ../../init.d/slapd $(TARGET_DIR)/etc/runlevels/default/K21ups + ln -sf ../../init.d/ups $(TARGET_DIR)/etc/runlevels/default/S35ups + ln -sf ../../init.d/ups $(TARGET_DIR)/etc/runlevels/default/K21ups endef NUT_POST_INSTALL_TARGET_HOOKS += NUT_INSTALL_SCRIPT This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <abe...@us...> - 2015-04-23 17:42:38
|
Revision: 7047 http://sourceforge.net/p/astlinux/code/7047 Author: abelbeck Date: 2015-04-23 17:42:36 +0000 (Thu, 23 Apr 2015) Log Message: ----------- nut, version bump to 2.7.3 Modified Paths: -------------- branches/1.0/package/nut/nut.mk Modified: branches/1.0/package/nut/nut.mk =================================================================== --- branches/1.0/package/nut/nut.mk 2015-04-23 17:25:28 UTC (rev 7046) +++ branches/1.0/package/nut/nut.mk 2015-04-23 17:42:36 UTC (rev 7047) @@ -5,7 +5,7 @@ ################################################################################ NUT_VERSION_MAJOR = 2.7 -NUT_VERSION = $(NUT_VERSION_MAJOR).2 +NUT_VERSION = $(NUT_VERSION_MAJOR).3 NUT_SITE = http://www.networkupstools.org/source/$(NUT_VERSION_MAJOR)/ NUT_DEPENDENCIES = host-pkg-config This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <abe...@us...> - 2016-03-13 16:35:56
|
Revision: 7588 http://sourceforge.net/p/astlinux/code/7588 Author: abelbeck Date: 2016-03-13 16:35:54 +0000 (Sun, 13 Mar 2016) Log Message: ----------- nut, version bump to 2.7.4 Modified Paths: -------------- branches/1.0/package/nut/nut.mk Modified: branches/1.0/package/nut/nut.mk =================================================================== --- branches/1.0/package/nut/nut.mk 2016-03-13 13:48:21 UTC (rev 7587) +++ branches/1.0/package/nut/nut.mk 2016-03-13 16:35:54 UTC (rev 7588) @@ -5,7 +5,7 @@ ################################################################################ NUT_VERSION_MAJOR = 2.7 -NUT_VERSION = $(NUT_VERSION_MAJOR).3 +NUT_VERSION = $(NUT_VERSION_MAJOR).4 NUT_SITE = http://www.networkupstools.org/source/$(NUT_VERSION_MAJOR)/ NUT_DEPENDENCIES = host-pkg-config This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |