Bug 200249 - net-mgmt/cnagios: Upstream source moved to github
Summary: net-mgmt/cnagios: Upstream source moved to github
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Thomas Zander
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-16 20:27 UTC by danny
Modified: 2015-06-01 19:11 UTC (History)
2 users (show)

See Also:
alexander.4mail: maintainer-feedback+


Attachments
cnagios-20150516.patch (620 bytes, text/plain)
2015-05-16 20:27 UTC, danny
no flags Details
cnagios-0.31.svn.diff (951 bytes, patch)
2015-05-23 21:20 UTC, alexander.4mail
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description danny 2015-05-16 20:27:57 UTC
Created attachment 156839 [details]
cnagios-20150516.patch

Hello!

The http/ftp site at noc.hep.wisc.edu that was hosting the cnagios source is no longer online, and as such cnagios is no longer available.

I reached out to Dan Bradley at hep.wisc.edu to get his permission to move the source over to github so that the community can take over maintenance.

The new location is:
https://github.com/dannywarren/cnagios

Attached is a patch that updates the port to pull from the new github location.

I'm working on a new release that fixes some issues (like the segmentation fault that happens against the latest nagios release) - but having an upstream source again should at least keep the port from getting deleted.
Comment 1 danny 2015-05-16 20:45:59 UTC
Note that the size and checksums are slightly different, even though the imported source is the same.  Github must use a slightly different compression level.

I even left "0.30" in version.h just to keep parity and for historical sake.

Here is a diff showing parity between the old 0.31 source pulled from the freebsd distcache and the tagged 0.31 github release:

  $ diff -rs cnagios-0.31.distcache/ cnagios-0.31.github/
  Files cnagios-0.31.distcache/CHANGES and cnagios-0.31.github/CHANGES are identical
  Files cnagios-0.31.distcache/LICENSE and cnagios-0.31.github/LICENSE are identical
  Files cnagios-0.31.distcache/Makefile.in and cnagios-0.31.github/Makefile.in are identical
  Files cnagios-0.31.distcache/README and cnagios-0.31.github/README are identical
  Files cnagios-0.31.distcache/TODO and cnagios-0.31.github/TODO are identical
  Files cnagios-0.31.distcache/VERSION and cnagios-0.31.github/VERSION are identical
  Files cnagios-0.31.distcache/cmds.c and cnagios-0.31.github/cmds.c are identical
  Files cnagios-0.31.distcache/cnagios.1 and cnagios-0.31.github/cnagios.1 are identical
  Files cnagios-0.31.distcache/cnagios.1.mdoc and cnagios-0.31.github/cnagios.1.mdoc are identical
  Files cnagios-0.31.distcache/cnagios.c and cnagios-0.31.github/cnagios.c are identical
  Files cnagios-0.31.distcache/cnagios.h.in and cnagios-0.31.github/cnagios.h.in are identical
  Files cnagios-0.31.distcache/cnagios.help and cnagios-0.31.github/cnagios.help are identical
  Files cnagios-0.31.distcache/cnagios.pl and cnagios-0.31.github/cnagios.pl are identical
  Files cnagios-0.31.distcache/cnagiosrc and cnagios-0.31.github/cnagiosrc are identical
  Files cnagios-0.31.distcache/config/config.guess and cnagios-0.31.github/config/config.guess are identical
  Files cnagios-0.31.distcache/config/config.sub and cnagios-0.31.github/config/config.sub are identical
  Files cnagios-0.31.distcache/config/install-sh and cnagios-0.31.github/config/install-sh are identical
  Files cnagios-0.31.distcache/config/missing and cnagios-0.31.github/config/missing are identical
  Files cnagios-0.31.distcache/config/mkinstalldirs and cnagios-0.31.github/config/mkinstalldirs are identical
  Files cnagios-0.31.distcache/configure and cnagios-0.31.github/configure are identical
  Files cnagios-0.31.distcache/configure.in and cnagios-0.31.github/configure.in are identical
  Files cnagios-0.31.distcache/debug.c and cnagios-0.31.github/debug.c are identical
  Files cnagios-0.31.distcache/dotfile.c and cnagios-0.31.github/dotfile.c are identical
  Files cnagios-0.31.distcache/draw.c and cnagios-0.31.github/draw.c are identical
  Files cnagios-0.31.distcache/help.c and cnagios-0.31.github/help.c are identical
  Files cnagios-0.31.distcache/perl.c and cnagios-0.31.github/perl.c are identical
  Files cnagios-0.31.distcache/read.c and cnagios-0.31.github/read.c are identical
  Files cnagios-0.31.distcache/readv1.c and cnagios-0.31.github/readv1.c are identical
  Files cnagios-0.31.distcache/readv23.c and cnagios-0.31.github/readv23.c are identical
  Files cnagios-0.31.distcache/update.c and cnagios-0.31.github/update.c are identical
  Files cnagios-0.31.distcache/version.h and cnagios-0.31.github/version.h are identical

You can verify this yourself, as well:

  http://distcache.FreeBSD.org/ports-distfiles/cnagios-0.31.tar.gz
  https://github.com/dannywarren/cnagios/archive/0.31.tar.gz
Comment 2 alexander.4mail 2015-05-23 21:20:05 UTC
Created attachment 157087 [details]
cnagios-0.31.svn.diff
Comment 3 alexander.4mail 2015-05-23 21:23:23 UTC
(In reply to danny from comment #0)

Hello!
All seems fine, attached diff file for svn :)
Comment 4 danny 2015-05-24 17:28:59 UTC
Thanks Alexander, looks good!
Comment 5 commit-hook freebsd_committer freebsd_triage 2015-06-01 19:07:40 UTC
A commit references this bug:

Author: riggs
Date: Mon Jun  1 19:06:54 UTC 2015
New revision: 388255
URL: https://svnweb.freebsd.org/changeset/ports/388255

Log:
  Use GH_* to fetch distfiles

  While on it:
  - Properly strip the resulting binary
  - Pet portlint

  PR:		200249
  Submitted by:	danny@dannywarren.com
  Approved by:	alexander.4mail@gmail.com (maintainer)

Changes:
  head/net-mgmt/cnagios/Makefile
  head/net-mgmt/cnagios/distinfo
  head/net-mgmt/cnagios/files/patch-Makefile.in
Comment 6 Thomas Zander freebsd_committer freebsd_triage 2015-06-01 19:11:49 UTC
Just a kind request: Running a submission through portlint and poudriere makes it really easy to discover the rough edges that may need improvement. Thanks!