[Bug 251805] [mail/mailagent] fetch source from github

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Dec 13 13:44:46 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251805

            Bug ID: 251805
           Summary: [mail/mailagent] fetch source from github
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: ykasap at gmail.com

Created attachment 220521
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=220521&action=edit
a patch to fetch source from github, and generate revision.h

I'm hosting the tarball of mailagent at https://eron.info/ (from ports/144204),
but I'll have to retire this server really soon, so I want to change where to
fetch source.

The original author of mailagent had moved the source repository from
sourceforge svn to github, so I made a patch to fetch source from github. 
There is no usable tag, so I put the hash of current HEAD, and regenerated
distinfo.

The file 'revision.h' is generated by files/patch-revision.h, because the
revision number is dynamically generated by the line count of 'git log
--oneline master' in bin/svn-revision, and it cannot be done in the ports tree
(the fetched tarball doesn't contain git metadata).  I generated the file
locally and made the patch file.

There are several commits after revision 78(svn) to 106(git), but I believe
there are no significant changes in functionality of mailagent.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list