FreeBSD Bugzilla – Attachment 168787 Details for
Bug 208398
sysutils/smartmontools: split drive database into separate port
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
smartmontools-drivedb.patch (text/plain), 4.00 KB, created by
Dmitry Marakasov
on 2016-03-30 14:26:37 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Dmitry Marakasov
Created:
2016-03-30 14:26:37 UTC
Size:
4.00 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 412166) >+++ Makefile (working copy) >@@ -994,6 +994,7 @@ > SUBDIR += slst > SUBDIR += slurm-wlm > SUBDIR += smartmontools >+ SUBDIR += smartmontools-drivedb > SUBDIR += smp_utils > SUBDIR += snap > SUBDIR += snowlog >Index: smartmontools/Makefile >=================================================================== >--- smartmontools/Makefile (revision 412136) >+++ smartmontools/Makefile (working copy) >@@ -3,7 +3,7 @@ > > PORTNAME= smartmontools > PORTVERSION= 6.4 >-PORTREVISION= 2 >+PORTREVISION= 3 > CATEGORIES= sysutils > MASTER_SITES= SF > >@@ -13,6 +13,8 @@ > LICENSE= GPLv2+ > LICENSE_FILE= ${WRKSRC}/COPYING > >+RUN_DEPENDS= ${PREFIX}/share/smartmontools/drivedb.h:${PORTSDIR}/sysutils/smartmontools-drivedb >+ > CONFLICTS= smartmontools-devel-[0-9]* > > OPTIONS_DEFINE= DOCS >@@ -36,5 +38,8 @@ > @${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily > ${INSTALL_SCRIPT} ${WRKDIR}/smart \ > ${STAGEDIR}${PREFIX}/etc/periodic/daily >+# handled by smartmontools-drivedb port >+ @${RM} -f ${STAGEDIR}${DATADIR}/drivedb.h >+ @${RMDIR} ${STAGEDIR}${DATADIR} > > .include <bsd.port.mk> >Index: smartmontools/pkg-plist >=================================================================== >--- smartmontools/pkg-plist (revision 412134) >+++ smartmontools/pkg-plist (working copy) >@@ -8,5 +8,4 @@ > sbin/smartctl > sbin/smartd > sbin/update-smart-drivedb >-%%DATADIR%%/drivedb.h > @dir etc/smartd_warning.d >Index: smartmontools-drivedb/Makefile >=================================================================== >--- smartmontools-drivedb/Makefile (nonexistent) >+++ smartmontools-drivedb/Makefile (working copy) >@@ -0,0 +1,62 @@ >+# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org> >+# $FreeBSD$ >+ >+PORTNAME= smartmontools >+PORTVERSION= 6.4.4230 # (smartmontools version).(drivedb.h revision) >+CATEGORIES= sysutils >+# See https://sourceforge.net/p/smartmontools/code/HEAD/log/?path=/branches/RELEASE_6_4_DRIVEDB/smartmontools/drivedb.h for updates and revision numbers >+MASTER_SITES= https://sourceforge.net/p/smartmontools/code/${PORTVERSION:E}/tree/branches/RELEASE_${PORTVERSION:R:C/\./_/}_DRIVEDB/smartmontools/drivedb.h?format=raw&dummy=/ >+PKGNAMESUFFIX= -drivedb >+DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION} >+EXTRACT_SUFX= .h >+ >+MAINTAINER= amdmi3@FreeBSD.org >+COMMENT= Drive database for smartmontools >+ >+LICENSE= GPLv2+ >+ >+NO_BUILD= yes >+PLIST_FILES= %%DATADIR%%/drivedb.h >+ >+do-extract: >+ @${MKDIR} ${WRKDIR} >+ >+do-install: >+ @${MKDIR} ${STAGEDIR}${DATADIR} >+ ${INSTALL_DATA} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ${STAGEDIR}${DATADIR}/drivedb.h >+ >+#USE_GITHUB= yes >+#GH_ACCOUNT= #xxx >+#GH_PROJECT= ${PORTNAME} >+#GH_TAGNAME= ${PORTVERSION} >+ >+#GNU_CONFIGURE= yes >+#USES= cmake # gmake tar:bzip2 zip >+#USE_SDL= sdl mixer image ttf >+#USE_GL= gl glu >+#USE_QT4= corelib gui >+ >+#LDFLAGS+= -L${LOCALBASE}/lib >+#CPPFLAGS+= -I${LOCALBASE}/include >+ >+#WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} >+ >+#PORTDOCS= README >+#PORTDATA= * >+ >+#OPTIONS_DEFINE= FOO >+#OPTIONS_DEFAULT=FOO >+#FOO_DESC= Some description >+ >+#.include <bsd.port.options.mk> >+ >+#post-patch: >+# @${REINPLACE_CMD} -e 's|SDL/|SDL11/|' ${WRKSRC}/src/ >+ >+#post-install: >+# ${MKDIR} ${STAGEDIR}${DOCSDIR} >+#.for f in ${PORTDOCS} >+# ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/ >+#.endfor >+ >+.include <bsd.port.mk> >Index: smartmontools-drivedb/distinfo >=================================================================== >--- smartmontools-drivedb/distinfo (nonexistent) >+++ smartmontools-drivedb/distinfo (working copy) >@@ -0,0 +1,2 @@ >+SHA256 (smartmontools-drivedb-6.4.4230.h) = bd0599d33975d033492060531248e886939ad4d52b92ab4795d886348d91d540 >+SIZE (smartmontools-drivedb-6.4.4230.h) = 151344 >Index: smartmontools-drivedb/pkg-descr >=================================================================== >--- smartmontools-drivedb/pkg-descr (nonexistent) >+++ smartmontools-drivedb/pkg-descr (working copy) >@@ -0,0 +1,3 @@ >+This port provides up to date device database for smartmontools. >+ >+WWW: http://www.smartmontools.org/
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 208398
: 168787