diff options
Diffstat (limited to 'misc/mosquitto/mosquitto.SlackBuild')
-rw-r--r-- | misc/mosquitto/mosquitto.SlackBuild | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/misc/mosquitto/mosquitto.SlackBuild b/misc/mosquitto/mosquitto.SlackBuild index 55457c04e8573..4c24e5ff0cc3a 100644 --- a/misc/mosquitto/mosquitto.SlackBuild +++ b/misc/mosquitto/mosquitto.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=mosquitto -VERSION=${VERSION:-1.3.2} +VERSION=${VERSION:-1.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -62,6 +62,8 @@ cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION +patch -p0 <$CWD/010_no-cmp0042.diff +patch -p0 <$CWD/020_link-option.diff chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -76,7 +78,6 @@ cd build -DLIB_SUFFIX=${LIBDIRSUFFIX} make make install DESTDIR=$PKG - make -C ../lib/python install DESTDIR=$PKG prefix=/usr cd .. # Preserve existing mosquitto.conf during package installation @@ -91,7 +92,7 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - LICENSE.txt LICENSE-3rd-party.txt compiling.txt mosquitto.conf *.example readme.txt \ + LICENSE.txt CONTRIBUTING.md compiling.txt mosquitto.conf *.example examples readme.txt \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |