pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Fixed some warnings due not using conf_files framework



Module Name:	pkgsrc-wip
Committed By:	Daniel Oelschlegel <amoibos%gmail.com@localhost>
Pushed By:	amoibos
Date:		Sat Dec 3 23:22:20 2016 +0000
Changeset:	74712a83b99a1ed68646b61951031646997c7a4f

Modified Files:
	mosquitto/Makefile
	mosquitto/PLIST

Log Message:
Fixed some warnings due not using conf_files framework

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=74712a83b99a1ed68646b61951031646997c7a4f

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 mosquitto/Makefile | 13 ++++++++++---
 mosquitto/PLIST    | 16 ++++++++--------
 2 files changed, 18 insertions(+), 11 deletions(-)

diffs:
diff --git a/mosquitto/Makefile b/mosquitto/Makefile
index 5564db1..7d26045 100644
--- a/mosquitto/Makefile
+++ b/mosquitto/Makefile
@@ -1,5 +1,7 @@
 # $NetBSD$
-PKGNAME=	mosquitto-1.4.10
+VERSION=	1.4.10
+PKGREVISION=	1
+PKGNAME=	mosquitto-${VERSION}
 DISTNAME=	${PKGNAME}
 CATEGORIES=	net
 MASTER_SITES=	http://mosquitto.org/files/source/
@@ -12,9 +14,14 @@ LICENSE=	eclipse-license
 USE_LANGUAGES+=	c c++
 USE_TOOLS+=	cmake gmake
 
+CONF_FILES=	share/examples/mosquitto/pskfile.example \
+		share/examples/mosquitto/pwfile.example \
+		share/examples/mosquitto/mosquitto.conf \
+		share/examples/mosquitto/aclfile.example
+
 post-install:
-	mkdir ${DESTDIR}${PREFIX}/etc/mosquitto
-	${INSTALL}	${WRKSRC}/pskfile.example ${WRKSRC}/pwfile.example ${WRKSRC}/mosquitto.conf ${WRKSRC}/aclfile.example ${DESTDIR}${PREFIX}/etc/mosquitto
+	mkdir ${DESTDIR}${PREFIX}/share/examples/mosquitto
+	${INSTALL_DATA}	${WRKSRC}/pskfile.example ${WRKSRC}/pwfile.example ${WRKSRC}/mosquitto.conf ${WRKSRC}/aclfile.example ${DESTDIR}${PREFIX}/share/examples/mosquitto
 
 .include "../../net/libcares/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/mosquitto/PLIST b/mosquitto/PLIST
index 611934a..e9c685d 100644
--- a/mosquitto/PLIST
+++ b/mosquitto/PLIST
@@ -2,13 +2,17 @@
 bin/mosquitto_passwd
 bin/mosquitto_pub
 bin/mosquitto_sub
-lib/libmosquitto.so
-lib/libmosquittopp.so
-lib/libmosquitto.so.1
-lib/libmosquittopp.so.1
+share/examples/mosquitto/aclfile.example
+share/examples/mosquitto/mosquitto.conf
+share/examples/mosquitto/pskfile.example
+share/examples/mosquitto/pwfile.example
 include/mosquitto.h
 include/mosquitto_plugin.h
 include/mosquittopp.h
+lib/libmosquitto.so
+lib/libmosquitto.so.1
+lib/libmosquittopp.so
+lib/libmosquittopp.so.1
 man/man1/mosquitto_passwd.1
 man/man1/mosquitto_pub.1
 man/man1/mosquitto_sub.1
@@ -18,7 +22,3 @@ man/man7/mosquitto-tls.7
 man/man7/mqtt.7
 man/man8/mosquitto.8
 sbin/mosquitto
-etc/mosquitto/aclfile.example
-etc/mosquitto/mosquitto.conf
-etc/mosquitto/pskfile.example
-etc/mosquitto/pwfile.example


Home | Main Index | Thread Index | Old Index