pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/ruby-rex-exploitation



Module Name:    pkgsrc
Committed By:   taca
Date:           Sun Feb 14 15:04:30 UTC 2021

Modified Files:
        pkgsrc/security/ruby-rex-exploitation: Makefile

Log Message:
security/ruby-rex-exploitation: add Ruby 3.0 support

Add Ruby 3.0 support with adding dependency to ruby-rexml.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/security/ruby-rex-exploitation/Makefile

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

Modified files:

Index: pkgsrc/security/ruby-rex-exploitation/Makefile
diff -u pkgsrc/security/ruby-rex-exploitation/Makefile:1.7 pkgsrc/security/ruby-rex-exploitation/Makefile:1.8
--- pkgsrc/security/ruby-rex-exploitation/Makefile:1.7  Sun Feb 14 13:24:29 2021
+++ pkgsrc/security/ruby-rex-exploitation/Makefile      Sun Feb 14 15:04:30 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2021/02/14 13:24:29 taca Exp $
+# $NetBSD: Makefile,v 1.8 2021/02/14 15:04:30 taca Exp $
 
 DISTNAME=      rex-exploitation-0.1.27
 CATEGORIES=    security
@@ -13,9 +13,12 @@ DEPENDS+=    ${RUBY_PKGPREFIX}-metasm-[0-9]
 DEPENDS+=      ${RUBY_PKGPREFIX}-rex-arch-[0-9]*:../../security/ruby-rex-arch
 DEPENDS+=      ${RUBY_PKGPREFIX}-rex-encoder-[0-9]*:../../security/ruby-rex-encoder
 DEPENDS+=      ${RUBY_PKGPREFIX}-rex-text-[0-9]*:../../security/ruby-rex-text
-#DEPENDS+=     ${RUBY_PKGPREFIX}-rexml-[0-9]*:../../textproc/ruby-rexml
 
 USE_LANGUAGES= # none
 
+.include "../../lang/ruby/rubyversion.mk"
+.if empty(RUBY_VER:M2[0-9])
+DEPENDS+=      ${RUBY_PKGPREFIX}-rexml-[0-9]*:../../textproc/ruby-rexml
+.endif
 .include "../../lang/ruby/gem.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index