pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Updated php-malware-finder to 0.3.4.
Module Name: pkgsrc-wip
Committed By: Nils Ratusznik <nils%NetBSD.org@localhost>
Pushed By: nils
Date: Mon Apr 10 19:58:03 2017 +0200
Changeset: c215f15284382740e48e7a2370e4c23c7f58d725
Modified Files:
php-malware-finder/Makefile
php-malware-finder/PLIST
php-malware-finder/distinfo
Log Message:
Updated php-malware-finder to 0.3.4.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c215f15284382740e48e7a2370e4c23c7f58d725
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
php-malware-finder/Makefile | 22 ++++++++++++----------
php-malware-finder/PLIST | 8 +++-----
php-malware-finder/distinfo | 8 ++++----
3 files changed, 19 insertions(+), 19 deletions(-)
diffs:
diff --git a/php-malware-finder/Makefile b/php-malware-finder/Makefile
index d7ef3d83f2..e2e2da0981 100644
--- a/php-malware-finder/Makefile
+++ b/php-malware-finder/Makefile
@@ -1,19 +1,15 @@
# $NetBSD: Makefile,v 1.1 2015/07/14 11:10:49 ahp-nils Exp $
-DISTNAME= ${GHCOMMIT}
-PKGNAME= php-malware-finder-${VERSION}
+DISTNAME= php-malware-finder-0.3.4
CATEGORIES= security
-MASTER_SITES= ${MASTER_SITE_GITHUB:=nbs-system/php-malware-finder/archive/}
+MASTER_SITES= ${MASTER_SITE_GITHUB:=nbs-system/}
MAINTAINER= nils%NetBSD.org@localhost
HOMEPAGE= https://github.com/nbs-system/php-malware-finder/
COMMENT= Detect potentially malicious PHP files
-LICENSE= gnu-gpl-v3
+LICENSE= gnu-lgpl-v3
-VERSION= 0.3.2
-GHCOMMIT= dff16c18a2c16ae426fd27506074957f4060302f
DEPENDS+= yara>=3.4.0:../../security/yara
-WRKSRC= ${WRKDIR}/php-malware-finder-${GHCOMMIT}
NO_BUILD= yes
USE_LANGUAGES= # none
USE_TOOLS+= bash:run pax
@@ -21,7 +17,7 @@ EGDIR= ${PREFIX}/share/examples/php-malware-finder
PKG_SYSCONFSUBDIR= phpmalwarefinder
-.for config in asp.yar bad_php.yar common.yar php.yar whitelist.yar
+.for config in asp.yar common.yar php.yar whitelist.yar
CONF_FILES+= ${EGDIR}/${config} ${PKG_SYSCONFDIR}/${config}
.endfor
@@ -41,25 +37,31 @@ REPLACE_INTERPRETER+= bash
REPLACE.bash.old= .*sh[^ ]*
REPLACE.bash.new= ${TOOLS_PATH.bash}
REPLACE_FILES.bash= ${WRKSRC}/php-malware-finder/phpmalwarefinder
+REPLACE_FILES.bash+= ${WRKSRC}/php-malware-finder/docroot-check.sh
+REPLACE_FILES.bash+= ${WRKSRC}/php-malware-finder/tests.sh
SUBST_CLASSES+= install
SUBST_STAGE.install= pre-install
SUBST_MESSAGE.install= correcting installation path
SUBST_FILES.install= ${WRKSRC}/php-malware-finder/phpmalwarefinder
+SUBST_FILES.install+= ${WRKSRC}/php-malware-finder/docroot-check.sh
SUBST_SED.install= -e 's,/etc/phpmalwarefinder,${PREFIX}/etc/phpmalwarefinder,g'
do-install:
-.for conffile in asp.yar bad_php.yar common.yar php.yar whitelist.yar
+.for conffile in asp.yar common.yar php.yar whitelist.yar
${INSTALL_DATA} ${WRKSRC}/php-malware-finder/${conffile} ${DESTDIR}${EGDIR}
.endfor
.for whitelistfile in custom.yar drupal.yar magento2.yar phpmyadmin.yar prestashop.yar symfony.yar wordpress.yar
${INSTALL_DATA} ${WRKSRC}/php-malware-finder/whitelists/${whitelistfile} ${DESTDIR}${EGDIR}/whitelists/
.endfor
${INSTALL_SCRIPT} ${WRKSRC}/php-malware-finder/phpmalwarefinder ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/php-malware-finder/docroot-check.sh ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/php-malware-finder/utils/generate_whitelist.py ${DESTDIR}${PREFIX}/share/php-malware-finder/utils/
${INSTALL_DATA} ${WRKSRC}/php-malware-finder/utils/mass_whitelist.py ${DESTDIR}${PREFIX}/share/php-malware-finder/utils/
- ${INSTALL_DATA} ${WRKSRC}/php-malware-finder/LICENSE ${DESTDIR}${PREFIX}/${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/php-malware-finder/tests.sh ${DESTDIR}${PREFIX}/share/php-malware-finder/
+ ${INSTALL_DATA} ${WRKSRC}/LICENSE ${DESTDIR}${PREFIX}/${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/README.md ${DESTDIR}${PREFIX}/${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/RELEASE.md ${DESTDIR}${PREFIX}/${DOCDIR}
cd ${WRKSRC}/php-malware-finder/samples && pax -rw -pm . ${DESTDIR}${PREFIX}/share/php-malware-finder/samples
.include "../../mk/bsd.pkg.mk"
diff --git a/php-malware-finder/PLIST b/php-malware-finder/PLIST
index 3457f4cb60..3a1abc4304 100644
--- a/php-malware-finder/PLIST
+++ b/php-malware-finder/PLIST
@@ -1,9 +1,10 @@
@comment $NetBSD$
+bin/docroot-check.sh
bin/phpmalwarefinder
share/doc/php-malware-finder/LICENSE
share/doc/php-malware-finder/README.md
+share/doc/php-malware-finder/RELEASE.md
share/examples/php-malware-finder/asp.yar
-share/examples/php-malware-finder/bad_php.yar
share/examples/php-malware-finder/common.yar
share/examples/php-malware-finder/php.yar
share/examples/php-malware-finder/whitelist.yar
@@ -33,10 +34,7 @@ share/php-malware-finder/samples/obfuscators/cipher_design.php
share/php-malware-finder/samples/obfuscators/online_php_obfuscator.php
share/php-malware-finder/samples/obfuscators/phpencode.php
share/php-malware-finder/samples/real/sucuri_2014_04.php
+share/php-malware-finder/tests.sh
share/php-malware-finder/utils/generate_whitelist.py
share/php-malware-finder/utils/mass_whitelist.py
-@pkgdir share/samples/real
-@pkgdir share/samples/obfuscators
-@pkgdir share/samples/classic
-@pkgdir share/samples/artificial
@pkgdir etc/phpmalwarefinder/whitelists
diff --git a/php-malware-finder/distinfo b/php-malware-finder/distinfo
index 9bb81ac2e1..ae41374d32 100644
--- a/php-malware-finder/distinfo
+++ b/php-malware-finder/distinfo
@@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.1 2015/07/14 11:10:49 ahp-nils Exp $
-SHA1 (dff16c18a2c16ae426fd27506074957f4060302f.tar.gz) = 56449d2c1c14d5a3e3478511a219a7c89a1f3136
-RMD160 (dff16c18a2c16ae426fd27506074957f4060302f.tar.gz) = 6944e8e5cea5e33e5d5d1e6df1b863976ddc295b
-SHA512 (dff16c18a2c16ae426fd27506074957f4060302f.tar.gz) = 32a17c5c8f6e59dedcc4dd84b03e1366646af747c99ee562666c5c509d4cf70516005fd8a9da643d34ae440894ab571602b249cc634ef7537881a7dd6e53c5df
-Size (dff16c18a2c16ae426fd27506074957f4060302f.tar.gz) = 389738 bytes
+SHA1 (php-malware-finder-0.3.4.tar.gz) = 931fa3a98a3a9c31995cc03a89ab4ba336c2f4fe
+RMD160 (php-malware-finder-0.3.4.tar.gz) = 7324cb87a096d062f621ee72bf6338e1d98b4df6
+SHA512 (php-malware-finder-0.3.4.tar.gz) = 38171448b3bbcc6ee23e99ac496bafddb79276223f90f9daac5ed101688fdd28d2017b6045b08ef0725860fb050939120e67957a099dbc62b019112e69e2db80
+Size (php-malware-finder-0.3.4.tar.gz) = 398733 bytes
Home |
Main Index |
Thread Index |
Old Index