[csw-devel] SF.net SVN: gar:[2706] csw/mgar/pkg
idogan23 at users.sourceforge.net
idogan23 at users.sourceforge.net
Sun Dec 28 14:34:11 CET 2008
Revision: 2706
http://gar.svn.sourceforge.net/gar/?rev=2706&view=rev
Author: idogan23
Date: 2008-12-28 13:34:11 +0000 (Sun, 28 Dec 2008)
Log Message:
-----------
smartmontools: initial commit
Added Paths:
-----------
csw/mgar/pkg/smartmontools/
csw/mgar/pkg/smartmontools/branches/
csw/mgar/pkg/smartmontools/tags/
csw/mgar/pkg/smartmontools/trunk/
csw/mgar/pkg/smartmontools/trunk/Makefile
csw/mgar/pkg/smartmontools/trunk/checksums
csw/mgar/pkg/smartmontools/trunk/files/
csw/mgar/pkg/smartmontools/trunk/files/CSWsmartmontools.depend
csw/mgar/pkg/smartmontools/trunk/files/CSWsmartmontools.gspec
csw/mgar/pkg/smartmontools/trunk/files/CSWsmartmontools.postinstall
csw/mgar/pkg/smartmontools/trunk/files/CSWsmartmontools.prototype
Property changes on: csw/mgar/pkg/smartmontools/trunk
___________________________________________________________________
Added: svn:ignore
+ cookies
download
work
Added: svn:externals
+ gar https://gar.svn.sf.net/svnroot/gar/csw/mgar/gar/v1
Added: csw/mgar/pkg/smartmontools/trunk/Makefile
===================================================================
--- csw/mgar/pkg/smartmontools/trunk/Makefile (rev 0)
+++ csw/mgar/pkg/smartmontools/trunk/Makefile 2008-12-28 13:34:11 UTC (rev 2706)
@@ -0,0 +1,48 @@
+GARNAME = smartmontools
+GARVERSION = 5.38
+CATEGORIES = utils
+
+DESCRIPTION = S.M.A.R.T. disk monitoring tools
+define BLURB
+ The smartmontools package contains two utility programs (smartctl and smartd)
+ to control and monitor storage systems using the Self-Monitoring, Analysis
+ and Reporting Technology System (S.M.A.R.T.) built into most modern ATA and
+ SCSI hard disks. It is derived from the smartsuite package, and includes
+ support for ATA/ATAPI-5 disks.
+endef
+
+MASTER_SITES = http://smartmontools.sourceforge.net/
+DISTFILES = $(GARNAME)-$(GARVERSION).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/
+
+CONFIGURE_ARGS = $(DIRPATHS)
+CONFIGURE_ARGS += --with-docdir=$(sharedstatedir)/doc/$(GARNAME)
+CONFIGURE_ARGS += --with-initscriptdir=/etc/opt/csw/init.d
+
+TEST_TARGET = check
+
+# moving configuration file
+post-install:
+ (cd $(DESTDIR)$(prefix)/etc; \
+ for i in smartd.conf; do \
+ if [ -r "$$i" ]; then \
+ echo "$$i -> $$i.CSW"; \
+ mv "$$i" "$$i.CSW"; \
+ fi \
+ done)
+ (cd $(DESTDIR)/etc/opt/csw/init.d; \
+ for i in smartd; do \
+ if [ -r "$$i" ]; then \
+ echo "$$i -> csw$$i"; \
+ mv "$$i" "csw$$i"; \
+ fi \
+ done)
+
+include gar/category.mk
Added: csw/mgar/pkg/smartmontools/trunk/checksums
===================================================================
--- csw/mgar/pkg/smartmontools/trunk/checksums (rev 0)
+++ csw/mgar/pkg/smartmontools/trunk/checksums 2008-12-28 13:34:11 UTC (rev 2706)
@@ -0,0 +1,5 @@
+a282846532ecbd6b4a28072373b3a70b download/smartmontools-5.38.tar.gz
+28e1281d77b7c5920cb90f4d6c97f7df download/CSWsmartmontools.gspec
+307c061f168249834c527eeb8d6e0501 download/CSWsmartmontools.postinstall
+e5586868ebec465f4b66d0da3c1eedda download/CSWsmartmontools.depend
+9e07053388cfc10816db34c6053af0a9 download/CSWsmartmontools.prototype
Added: csw/mgar/pkg/smartmontools/trunk/files/CSWsmartmontools.depend
===================================================================
--- csw/mgar/pkg/smartmontools/trunk/files/CSWsmartmontools.depend (rev 0)
+++ csw/mgar/pkg/smartmontools/trunk/files/CSWsmartmontools.depend 2008-12-28 13:34:11 UTC (rev 2706)
@@ -0,0 +1,2 @@
+P CSWcommon
+P CSWcswclassutils
Added: csw/mgar/pkg/smartmontools/trunk/files/CSWsmartmontools.gspec
===================================================================
--- csw/mgar/pkg/smartmontools/trunk/files/CSWsmartmontools.gspec (rev 0)
+++ csw/mgar/pkg/smartmontools/trunk/files/CSWsmartmontools.gspec 2008-12-28 13:34:11 UTC (rev 2706)
@@ -0,0 +1,4 @@
+%var bitname smartmontools
+%var pkgname CSWsmartmontools
+%include url file://%{PKGLIB}/csw_dyndepend.gspec
+%copyright url file://%{WORKSRC}/COPYING
Added: csw/mgar/pkg/smartmontools/trunk/files/CSWsmartmontools.postinstall
===================================================================
--- csw/mgar/pkg/smartmontools/trunk/files/CSWsmartmontools.postinstall (rev 0)
+++ csw/mgar/pkg/smartmontools/trunk/files/CSWsmartmontools.postinstall 2008-12-28 13:34:11 UTC (rev 2706)
@@ -0,0 +1,3 @@
+if [ ! -f $BASEDIR/opt/csw/etc/smartd.conf ] ; then
+ cp $BASEDIR/opt/csw/etc/smartd.conf.CSW $BASEDIR/opt/csw/etc/smartd.conf
+fi
Added: csw/mgar/pkg/smartmontools/trunk/files/CSWsmartmontools.prototype
===================================================================
--- csw/mgar/pkg/smartmontools/trunk/files/CSWsmartmontools.prototype (rev 0)
+++ csw/mgar/pkg/smartmontools/trunk/files/CSWsmartmontools.prototype 2008-12-28 13:34:11 UTC (rev 2706)
@@ -0,0 +1,30 @@
+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