[MacPorts] #785: NEW PORT: dnetc (OS X)

MacPorts noreply at macports.org
Thu Mar 24 06:34:26 PDT 2016


#785: NEW PORT: dnetc (OS X)
-------------------------+--------------------------------
  Reporter:  charlie@…   |      Owner:  macports-tickets@…
      Type:  submission  |     Status:  closed
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  1.0
Resolution:  fixed       |   Keywords:
      Port:  dnetc       |
-------------------------+--------------------------------
Changes (by ryandesign@…):

 * type:  defect => submission
 * port:   => dnetc


Old description:

> this is a new port of dnetc for OS X only as of now. It assumes the user
> knows how to config the
> client. I should put in some "if no dnetc.ini then ./dnetc -config" and
> setup a logging area.
>
> but for now..
>
> ===== net/dnetc =====
> --- /dev/null   Fri Aug 15 15:56:13 2003
> +++ Portfile    Fri Aug 15 15:36:55 2003
> @@ -0,0 +1,42 @@
> +# $Id: $
> +
> +PortSystem     1.0
> +name                           dnetc
> +version                                2.9005.484
> +categories                     net # I don't like this.
> +maintainers                    charlie at rubberduck.com
> +description                    distributed.net client
> +long_description       distributed.net believes in the capability and
> potential \
> +                                       of distributed computing. Their
> mission consists of three \
> +                                       interdependent goals:
> development, deployment, and \
> +                                       advocacy, to be pursued in the
> advancement of distributed \
> +                                       computing. \
> +                                       \
> +                                       They advocate distributed
> computing, by encouraging global \
> +                                       participation and contributions
> of processing power, \
> +                                       bandwidth, and expertise\; by
> providing a forum for \
> +                                       discussion\; and by raising
> awareness on the Internet and \
> +                                       in the mainstream.
> +
> +homepage                       http://distributed.net/
> +platforms                      darwin
> +distfiles                      dnetc-macosx-ppc.tar.gz
> +checksums                      md5 8da11892b7640fb14c9d2b5ab7b3d8ef
> +master_sites           ftp://ftp.distributed.net/pub/dcti/current-
> client/ \
> +
> http://http.distributed.net/pub/dcti/current-client/
> +worksrcdir                     dnetc484-macosx-ppc
> +
> +depends_run
> path:/Library/StartupItems/DarwinPortsStartup:DarwinPortsStartup
> +
> +configure                      {}
> +build                          {}
> +destroot                       {
> +       file mkdir ${destroot}${prefix}/bin
> +       system "install -m 755 ${worksrcpath}/dnetc
> ${destroot}${prefix}/bin"
> +       system "install -m 644 ${worksrcpath}/dnetc.1
> ${destroot}${prefix}/man/man1"
> +       system "install -o root -m 755 -d ${destroot}${prefix}/etc/rc.d"
> +       system "install -o root -m 755 -c \
> +               ${portpath}/files/dnetc.sh ${destroot}${prefix}/etc/rc.d"
> +       reinplace "s|__PREFIX|${prefix}|g" \
> +               ${destroot}${prefix}/etc/rc.d/dnetc.sh
> +                               }
>

> ===== net/dnetc/files =====
>
> --- /dev/null   Fri Aug 15 15:56:13 2003
> +++ files/dnetc.sh      Fri Aug 15 15:49:12 2003
> @@ -0,0 +1,21 @@
> +#!/bin/sh
> +
> +case "$1" in
> +
> +start)
> +  __PREFIX/bin/dnetc start
> +  ;;
> +
> +config)
> +  __PREFIX/bin/dnetc -config
> +  ;;
> +
> +restart)
> +  __PREFIX/bin/dnetc -restart
> +  ;;
> +
> +stop)
> +  __PREFIX/bin/dnetc -shutdown
> +  ;;
> +
> +esac

New description:

 this is a new port of dnetc for OS X only as of now. It assumes the user
 knows how to config the
 client. I should put in some "if no dnetc.ini then ./dnetc -config" and
 setup a logging area.

 but for now..

 ===== net/dnetc =====
 {{{
 --- /dev/null   Fri Aug 15 15:56:13 2003
 +++ Portfile    Fri Aug 15 15:36:55 2003
 @@ -0,0 +1,42 @@
 +# $Id: $
 +
 +PortSystem     1.0
 +name                           dnetc
 +version                                2.9005.484
 +categories                     net # I don't like this.
 +maintainers                    charlie at rubberduck.com
 +description                    distributed.net client
 +long_description       distributed.net believes in the capability and
 potential \
 +                                       of distributed computing. Their
 mission consists of three \
 +                                       interdependent goals: development,
 deployment, and \
 +                                       advocacy, to be pursued in the
 advancement of distributed \
 +                                       computing. \
 +                                       \
 +                                       They advocate distributed
 computing, by encouraging global \
 +                                       participation and contributions of
 processing power, \
 +                                       bandwidth, and expertise\; by
 providing a forum for \
 +                                       discussion\; and by raising
 awareness on the Internet and \
 +                                       in the mainstream.
 +
 +homepage                       http://distributed.net/
 +platforms                      darwin
 +distfiles                      dnetc-macosx-ppc.tar.gz
 +checksums                      md5 8da11892b7640fb14c9d2b5ab7b3d8ef
 +master_sites           ftp://ftp.distributed.net/pub/dcti/current-client/
 \
 +
 http://http.distributed.net/pub/dcti/current-client/
 +worksrcdir                     dnetc484-macosx-ppc
 +
 +depends_run
 path:/Library/StartupItems/DarwinPortsStartup:DarwinPortsStartup
 +
 +configure                      {}
 +build                          {}
 +destroot                       {
 +       file mkdir ${destroot}${prefix}/bin
 +       system "install -m 755 ${worksrcpath}/dnetc
 ${destroot}${prefix}/bin"
 +       system "install -m 644 ${worksrcpath}/dnetc.1
 ${destroot}${prefix}/man/man1"
 +       system "install -o root -m 755 -d ${destroot}${prefix}/etc/rc.d"
 +       system "install -o root -m 755 -c \
 +               ${portpath}/files/dnetc.sh ${destroot}${prefix}/etc/rc.d"
 +       reinplace "s|__PREFIX|${prefix}|g" \
 +               ${destroot}${prefix}/etc/rc.d/dnetc.sh
 +                               }
 }}}

 ===== net/dnetc/files =====

 {{{
 --- /dev/null   Fri Aug 15 15:56:13 2003
 +++ files/dnetc.sh      Fri Aug 15 15:49:12 2003
 @@ -0,0 +1,21 @@
 +#!/bin/sh
 +
 +case "$1" in
 +
 +start)
 +  __PREFIX/bin/dnetc start
 +  ;;
 +
 +config)
 +  __PREFIX/bin/dnetc -config
 +  ;;
 +
 +restart)
 +  __PREFIX/bin/dnetc -restart
 +  ;;
 +
 +stop)
 +  __PREFIX/bin/dnetc -shutdown
 +  ;;
 +
 +esac
 }}}

--

-- 
Ticket URL: <https://trac.macports.org/ticket/785#comment:4>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list