[MacPorts] #35852: new port: ccnx
#35852: new port: ccnx ------------------------------------------+--------------------------------- Reporter: alexander.afanasyev@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: ------------------------------------------+--------------------------------- ProjectCCNx implementation of Content Centric Networking (CCN) / Named Data Networking (NDN) architecture Project CCNx® exists to develop, promote, and evaluate a new approach to communication architecture we call content-centric networking. We seek to carry out this mission by creating and publishing open protocol specifications and an open source software reference implementation of those protocols. We provide support for a community of people interested in experimentation, research, and building applications with this technology, all contributing to its evolution. -- Ticket URL: <https://trac.macports.org/ticket/35852> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35852: new port: ccnx ------------------------------------------+--------------------------------- Reporter: alexander.afanasyev@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: ccnx ------------------------------------------+--------------------------------- Changes (by ryandesign@…): * cc: alexander.afanasyev@… (removed) * port: => ccnx Comment: Some notes: * The epoch and revision should start at 0. * The license versions should be indicated. * Multiple configure.env-append and build.env-append invocations should be combined. * Possibly you may want to append to rather than overwrite configure.cflags. * The reinplace that you are doing in a pre-build block should probably be done in a post-patch or post-configure block, so that, if the user were to interrupt and repeat the build phase, the second try would not try to re-run the reinplace * "xinstall -d" should be used to create directories instead of "system "mkdir"" * "file attributes -permissions" should be used to set permissions instead of "system "chown"", or when creating a directory you can use "xinstall" to do that too * You should not register a logfile to the port (by installing it into the destroot); the logfile would be deleted when the port is upgraded or uninstalled, which the user would not expect. If the software cannot live without an existing logfile, then you can create it directly in ${prefix} (i.e. not in ${destroot}${prefix}) in a post-activate block, if it doesn't already exist. * The portfile uses our standard modeline, which is good, but then the portfile's whitespace should conform to it: indentations should occur at multiples of 4 spaces -- Ticket URL: <https://trac.macports.org/ticket/35852#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35852: new port: ccnx ------------------------------------------+--------------------------------- Reporter: alexander.afanasyev@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: ccnx ------------------------------------------+--------------------------------- Comment(by alexander.afanasyev@…): I have uploaded the updated the Portfile. I have moved creating of log file into post-activate phase. The reason for having it is that log file should be owned by a ccnx user. If I don't create the file, the daemon will not be able to create it in ${prefix}/var/log directory. -- Ticket URL: <https://trac.macports.org/ticket/35852#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35852: new port: ccnx ------------------------------------+-------------------------------- Reporter: alexander.afanasyev@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: ccnx | ------------------------------------+-------------------------------- Comment (by alexander.afanasyev@…): I have updated Portfile for the latest ccnx release. Additional patches are not necessary anymore, but I'm not sure how to remove it... -- Ticket URL: <https://trac.macports.org/ticket/35852#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35852: new port: ccnx ------------------------------------+-------------------------------- Reporter: alexander.afanasyev@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: ccnx | ------------------------------------+-------------------------------- Comment (by and.damore@…): Minor changes applied to the Portfile, I attached it as ''ccnx-Portfile''. -- Ticket URL: <https://trac.macports.org/ticket/35852#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35852: new port: ccnx ------------------------------------+-------------------------------- Reporter: alexander.afanasyev@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: ccnx | ------------------------------------+-------------------------------- Comment (by raimue@…): Minor things that do not block a commit, but could be refined: * `-O0 -g` seems unnecessary in `configure.cflags`. Might have been good for debugging, but should not be the released version unless there are problems with the default of `-O2`. * `${ccnxdir}` is defined to `${prefix}/etc/ccnx`, but the path is hardcoded at multiple locations instead of using the variable. * variants do not have a description -- Ticket URL: <https://trac.macports.org/ticket/35852#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts