[csw-devel] SF.net SVN: gar:[16524] csw/mgar/pkg/smartmontools/trunk

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Thu Dec 15 13:07:26 CET 2011


Revision: 16524
          http://gar.svn.sourceforge.net/gar/?rev=16524&view=rev
Author:   wahwah
Date:     2011-12-15 12:07:25 +0000 (Thu, 15 Dec 2011)
Log Message:
-----------
smartmontools/trunk: version bump, migration to GAR v2

Modified Paths:
--------------
    csw/mgar/pkg/smartmontools/trunk/Makefile
    csw/mgar/pkg/smartmontools/trunk/checksums

Removed Paths:
-------------
    csw/mgar/pkg/smartmontools/trunk/files/CSWsmartmontools.depend
    csw/mgar/pkg/smartmontools/trunk/files/CSWsmartmontools.gspec
    csw/mgar/pkg/smartmontools/trunk/files/CSWsmartmontools.prototype

Property Changed:
----------------
    csw/mgar/pkg/smartmontools/trunk/


Property changes on: csw/mgar/pkg/smartmontools/trunk
___________________________________________________________________
Deleted: svn:externals
   - gar https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v1


Modified: csw/mgar/pkg/smartmontools/trunk/Makefile
===================================================================
--- csw/mgar/pkg/smartmontools/trunk/Makefile	2011-12-15 06:48:39 UTC (rev 16523)
+++ csw/mgar/pkg/smartmontools/trunk/Makefile	2011-12-15 12:07:25 UTC (rev 16524)
@@ -1,6 +1,8 @@
+# $Id$
+
 NAME = smartmontools
-VERSION = 5.38
-GARTYPE = v1
+VERSION = 5.42
+GARTYPE = v2
 CATEGORIES = utils
 
 DESCRIPTION = S.M.A.R.T. disk monitoring tools
@@ -12,38 +14,39 @@
   support for ATA/ATAPI-5 disks.
 endef
 
-MASTER_SITES = http://smartmontools.sourceforge.net/
+MASTER_SITES = $(SF_MIRROR)
 DISTFILES  = $(NAME)-$(VERSION).tar.gz
-DISTFILES += $(call admfiles,CSWsmartmontools, postinstall depend prototype)
 
-# We define upstream file regex so we can be notifed of new upstream software release
-UFILES_REGEX = -(\d+(?:\.\d+)*).tar.gz
+# If the url used to check for software update is different of MASTER_SITES,
+# then uncomment the next line. Otherwise it is set by default to the value of
+# MASTER_SITES
+# UPSTREAM_MASTER_SITES = http://surfnet.dl.sourceforge.net/sourceforge/smartmontools/
 
-# If the url used to check for software update is different of MASTER_SITES, then 
-# uncomment the next line. Otherwise it is set by default to the value of MASTER_SITES
-UPSTREAM_MASTER_SITES = http://surfnet.dl.sourceforge.net/sourceforge/smartmontools/
-
 CONFIGURE_ARGS = $(DIRPATHS)
 CONFIGURE_ARGS += --with-docdir=$(sharedstatedir)/doc/$(NAME)
 CONFIGURE_ARGS += --with-initscriptdir=/etc/opt/csw/init.d
 
-TEST_TARGET = check
+INITSMF = $(sysconfdir)/init.d/cswsmartd
 
+CHECKPKG_OVERRIDES_CSWsmartmontools += file-with-bad-content
+EXTRA_CFLAGS = -xnorunpath
+EXTRA_CXXFLAGS = -norunpath
+
+include gar/category.mk
+
 # moving configuration file
-post-install:
-	(cd $(DESTDIR)$(prefix)/etc; \
+post-install-modulated:
+	(cd $(DESTDIR)$(sysconfdir); \
 	for i in smartd.conf; do \
 		if [ -r "$$i" ]; then \
-			echo "$$i -> $$i.CSW"; \
-			mv "$$i" "$$i.CSW";     \
+			gmv -v "$$i" "$$i.CSW";     \
 		fi \
 	done)
-	(cd $(DESTDIR)/etc/opt/csw/init.d; \
+	(cd $(DESTDIR)$(sysconfdir)/init.d; \
 	for i in smartd; do \
 		if [ -r "$$i" ]; then \
-			echo "$$i -> csw$$i"; \
-			mv "$$i" "csw$$i";     \
+			gmv -v "$$i" "csw$$i";     \
 		fi \
 	done)
 
-include gar/category.mk
+PATH := /opt/csw/gnu:$(PATH)

Modified: csw/mgar/pkg/smartmontools/trunk/checksums
===================================================================
--- csw/mgar/pkg/smartmontools/trunk/checksums	2011-12-15 06:48:39 UTC (rev 16523)
+++ csw/mgar/pkg/smartmontools/trunk/checksums	2011-12-15 12:07:25 UTC (rev 16524)
@@ -1,5 +1 @@
-a282846532ecbd6b4a28072373b3a70b  download/smartmontools-5.38.tar.gz
-28e1281d77b7c5920cb90f4d6c97f7df  download/CSWsmartmontools.gspec
-307c061f168249834c527eeb8d6e0501  download/CSWsmartmontools.postinstall
-e5586868ebec465f4b66d0da3c1eedda  download/CSWsmartmontools.depend
-9e07053388cfc10816db34c6053af0a9  download/CSWsmartmontools.prototype
+4460bf9a79a1252ff5c00ba52cf76b2a  smartmontools-5.42.tar.gz

Deleted: csw/mgar/pkg/smartmontools/trunk/files/CSWsmartmontools.depend
===================================================================
--- csw/mgar/pkg/smartmontools/trunk/files/CSWsmartmontools.depend	2011-12-15 06:48:39 UTC (rev 16523)
+++ csw/mgar/pkg/smartmontools/trunk/files/CSWsmartmontools.depend	2011-12-15 12:07:25 UTC (rev 16524)
@@ -1,2 +0,0 @@
-P	CSWcommon
-P	CSWcswclassutils

Deleted: csw/mgar/pkg/smartmontools/trunk/files/CSWsmartmontools.gspec
===================================================================
--- csw/mgar/pkg/smartmontools/trunk/files/CSWsmartmontools.gspec	2011-12-15 06:48:39 UTC (rev 16523)
+++ csw/mgar/pkg/smartmontools/trunk/files/CSWsmartmontools.gspec	2011-12-15 12:07:25 UTC (rev 16524)
@@ -1,4 +0,0 @@
-%var            bitname smartmontools
-%var            pkgname CSWsmartmontools
-%include        url file://%{PKGLIB}/csw_dyndepend.gspec
-%copyright      url file://%{WORKSRC}/COPYING

Deleted: csw/mgar/pkg/smartmontools/trunk/files/CSWsmartmontools.prototype
===================================================================
--- csw/mgar/pkg/smartmontools/trunk/files/CSWsmartmontools.prototype	2011-12-15 06:48:39 UTC (rev 16523)
+++ csw/mgar/pkg/smartmontools/trunk/files/CSWsmartmontools.prototype	2011-12-15 12:07:25 UTC (rev 16524)
@@ -1,30 +0,0 @@
-d none /opt/csw/etc 0755 root bin
-f none /opt/csw/etc/smartd.conf.CSW 0644 root bin
-d none /opt/csw/sbin 0755 root bin
-f none /opt/csw/sbin/smartctl 0755 root bin
-f none /opt/csw/sbin/smartd 0755 root bin
-d none /opt/csw/share 0755 root bin
-d none /opt/csw/share/doc 0755 root bin
-d none /opt/csw/share/doc/smartmontools 0755 root bin
-f none /opt/csw/share/doc/smartmontools/AUTHORS 0644 root bin
-f none /opt/csw/share/doc/smartmontools/CHANGELOG 0644 root bin
-f none /opt/csw/share/doc/smartmontools/COPYING 0644 root bin
-f none /opt/csw/share/doc/smartmontools/INSTALL 0644 root bin
-f none /opt/csw/share/doc/smartmontools/NEWS 0644 root bin
-f none /opt/csw/share/doc/smartmontools/README 0644 root bin
-f none /opt/csw/share/doc/smartmontools/TODO 0644 root bin
-f none /opt/csw/share/doc/smartmontools/WARNINGS 0644 root bin
-d none /opt/csw/share/doc/smartmontools/examplescripts 0755 root bin
-f none /opt/csw/share/doc/smartmontools/examplescripts/Example1 0755 root bin
-f none /opt/csw/share/doc/smartmontools/examplescripts/Example2 0755 root bin
-f none /opt/csw/share/doc/smartmontools/examplescripts/Example3 0755 root bin
-f none /opt/csw/share/doc/smartmontools/examplescripts/Example4 0755 root bin
-f none /opt/csw/share/doc/smartmontools/examplescripts/README 0644 root bin
-f none /opt/csw/share/doc/smartmontools/smartd.conf 0644 root bin
-d none /opt/csw/share/man 0755 root bin
-d none /opt/csw/share/man/man1m 0755 root bin
-f none /opt/csw/share/man/man1m/smartctl.1m 0644 root bin
-f none /opt/csw/share/man/man1m/smartd.1m 0644 root bin
-d none /opt/csw/share/man/man4 0755 root bin
-f none /opt/csw/share/man/man4/smartd.conf.4 0644 root bin
-f cswinitsmf /etc/opt/csw/init.d/cswsmartd 0755 root bin

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list