Mk/**ruby.mk: Switch from USE_RUBY=yes to USES=ruby
Switch from Mk/bsd.ruby.mk to Mk/Uses/ruby.mk
Notable changes are.
- Mk/bsd.ruby.mk is moved to Mk/Uses/ruby.mk.
- USE_RUBY=yes is replaced with USES=ruby.
- USE_RUBY_EXTCONF is replaced with USES=ruby:extconf.
- USE_RUBY_RDOC is replaced with USES=ruby:rdoc.
- USE_RUBY_SETUP is replaces with USES=ruby:setup.
- RUBY_NO_BUILD_DEPENDS and RUBY_NO_RUN_DEPENDS are replaced with
USES=ruby:{build,none,run}.
- RUBY_REQUIRE isn't used anywhere, so removed.
- USES=gem now implies USES=ruby.
This is mainly the work of yasu@ at https://reviews.freebsd.org/D27863
I have just made some cosmetic changes and ran exp-run to test that the
tree is not in a BROKEN state.
Approved by: portmgr
Differential Revision: https://reviews.freebsd.org/D3792518c6e18276Port details
net-mgmt/rubygem-snmp1.2.0
SNMP library for Ruby
- Maintainer
- mhjacks@swbell.net
- Packages
- rubygem-snmp 1.2.0
- Upstream
- Higher version available: 1.3.4
- CPE
- none, CVEs only via VuXML
- WWW
- https://rubygems.org/gems/snmp
- Links
- cgit · VuXML
Unaddressed (0) · The CVE record lists this version as affected, no VuXML entry names the CVE
None. There is no CVE without a VuXML entry for this version.
VuXML only (0) · listed, port not fixed yet
None.
pkg audit reports nothing for this version.Fixed (0)
No VuXML entries for this package.
Commits (29)
Remove WWW entries moved into port Makefiles Commit b7f05445c00f has added WWW entries to port Makefiles based on WWW: lines in pkg-descr files. This commit removes the WWW: lines of moved-over URLs from these pkg-descr files. Approved by: portmgr (tcberner)fb16dfecae
Add WWW entries to port Makefiles It has been common practice to have one or more URLs at the end of the ports' pkg-descr files, one per line and prefixed with "WWW:". These URLs should point at a project website or other relevant resources. Access to these URLs required processing of the pkg-descr files, and they have often become stale over time. If more than one such URL was present in a pkg-descr file, only the first one was tarnsfered into the port INDEX, but for many ports only the last line did contain the port specific URL to further information. There have been several proposals to make a project URL available as a macro in the ports' Makefiles, over time. This commit implements such a proposal and moves one of the WWW: entries of each pkg-descr file into the respective port's Makefile. A heuristic attempts to identify the most relevant URL in case there is more than one WWW: entry in some pkg-descr file. URLs that are not moved into the Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr files in order to preserve them. There are 1256 ports that had no WWW: entries in pkg-descr files. These ports will not be touched in this commit. The portlint port has been adjusted to expect a WWW entry in each port Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as deprecated. Approved by: portmgr (tcberner)b7f05445c0
One more small cleanup, forgotten yesterday. Reported by: lwhsucf118ccf87
Remove # $FreeBSD$ from Makefiles.305f148f48
net-mgmt/rubygem-snmp: update to 1.2.0 PR: 224779 Approved by: mhjacks@swbell.net (maintainer)04b94a3f74
Update WWW: remove trailing /6d41f86b7c
- Update WWW: rubygems.org uses https:// With hat: rubybfc16b8a3c
Convert USES=gem:autoplist to USES=gem since autoplist is default462519941e
create USES=gem and update rubygem- ports to use it Note that for now ports still have to have USE_RUBY=yes to use USES=gem PR: 209041 Differential Revision: https://reviews.freebsd.org/D6070b3e8fe8d85
Set NO_ARCH for remaining rubygem-* ports with no arch dependent files Obtained from: DEVELOPER_MODE With Hat: ruby@ Sponsored by: RideCharge Inc / Curb4e3d011569
many ruby/rubygem ports: death of rubyforge.org rubyforge.org shutdown on May 15, 2014. This commit accounts for that by doing several things: - Deprecate ruby that had only rubyforge.org as MASTER_SITES (and so are now only fetchable via our cache) - Deprecate ports that depend on those - Update the WWW pkg-descr line that points to rubyforge.org for rubygem ports (which are still fetchable from rubygems.org) The next step will be to remove rubyforge.org from bsd.sites.mk, after these deprecated ports are deleted. Phabric: D591 With hat: ruby Approved by: portmgr (because of committing to unstaged graphics/mingplot port)f64d997379
- Stage Safec6a4d55ba1
Add NO_STAGE all over the place in preparation for the staging support (cat: net-mgmt)985b201424
- Update to 1.1.1 PR: ports/179869 Approved by: Martin Jackson <martin.h.jackson@gmail.com> (maintainer)f4d7453fc1
- Update to 1.1.0 PR: ports/163389 Submitted by: myself (pgollucci) Approved by: mhjacks@swbell.net (maintainer) Sponsored by: RideCharge Inc. / TaxiMagic79c7f8258f
- Update to 1.0.4 PR: ports/162132 Submitted by: swills (me) Approved by: mhjacks@swbell.net (maintainer)384b9047b4
- Get Rid MD5 supportbb86cbe5d2
- Mass fixup of WWW: lines pkg-descr based on rubygems.org Homepage meta info Prompted by: distilator With Hat: ruby@ Sponsored by: RideCharge Inc. / TaxiMagic7b05323e04
- Update to 1.0.3 PR: ports/150838 Submitted by: myself (pgollucci) Approved by: mhjacks@swbell.net (maintainer) Sponsored by: RideCharge Inc. / TaxiMagic7e7aa434da
RF -> RG Conversion (Part III) With Hat: ruby@ Tested by: make checksumbc03b273ca
- convert to RUBYGEM_AUTOPLIST remove x-generate-plist and friends - use RF macro and remove SUBDIR where possible - remove some uneeded GEM_NAME=${DISTNAME} (this c/should be handled better in bsd.*.mk)
other deltas specific to individual ports:
audio/rubygem-mp3info - unbreak, fix packaging, bump PORTREVISION
devel/rubygem-rapt - adopt
devel/rubygem-rspec - remove BUILD_DEPENDS=RUN_DEPENDS -- neither set
devel/rubygem-ruby2ruby - add #' for vim highlight
graphics/rubygem-extifr - drop PORTREVISION=0
graphics/rubygem-gd2 - add #' for vim highlight
www/rubygem-rubyfulsoup - swap GEM_NAME / DISTNAME for constistency
Sponsored by: RideCharge Inc.
Tested on: RideCharge's Tinderbox
Reviewed by: staseac6867d0f- Fix plist after ruby update by generating it dynamically.8796e8e158
- Update to 1.0.2 PR: 125791 Submitted by: Martin Jackson <mhjacks@swbell.net> (maintainer)851d4e2c3a
- Add ruby 1.9 support - Implement new knobs for gems and rake (these are included in ruby 1.9 distribution already). Also move gem bits from ruby-gems/Makefile.common to bsd.ruby.mk[1]. Now to depend on gems or rake you should define USE_RUBYGEMS/USE_RAKE accordingly. Also RAKE_BIN variable is provided for pointing to the right rake executable. - Rewrite RUBY_SCHEBANG in awk to eliminat Discussed with: Jonathan Weiss <jw@innerewut.de> [1] (gems maintainer) Tested by: ports@fae8e0f615
The submitter of the previous change has agreed to maintain this port. Thanks!9ae5a40042
Upgrade to version 1.0.1 PR: ports/102551 Submitted by: Martin Jackson <mhjacks at swbell.net>b17ed41b77
- Change to use MASTER_SITE_RUBYFORGE macro to fix fetch problem. Approved by: portmgr (erwin)0a9f8dd1df
Add net-mgmt/rubygem-snmp: This library implements SNMP (the Simple Network Management Protocol). It is implemented in pure Ruby, so there are no dependencies on external libraries like net-snmp. You can run this library anywhere that Ruby can run.954d78723f