Date: Sun, 13 Apr 2014 06:59:28 -0400 From: Daniel Morante <daniel@morante.net> To: freebsd-ports@freebsd.org Subject: Re: Port: net-p2p/zetacoin Message-ID: <534A6E10.90902@morante.net> In-Reply-To: <534A33E8.8060803@morante.net> References: <534874BE.1060600@morante.net> <CACdU%2Bf9HYW4TeUZByEEHnizx%2BG75Vs9j%2B4mV3ysB4Hq0QQ68Zw@mail.gmail.com> <534A33E8.8060803@morante.net>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a cryptographically signed message in MIME format. --------------ms030008020200080106030007 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable I'm done making the update and I am generating the diff file to submit. = I am unsure of how to generate and submit a patch for the changes in=20 ports/UIDs and ports/GIDs, ports/UPDATING. I am using the svn diff method: http://www.freebsd.org/doc/en/books/porters-handbook/port-upgrading.html#= svn-diff On 4/13/2014 2:51 AM, Daniel Morante wrote: > Thank you for the direction. > > I imagine that Bitcoin, Litecoin, Doggiecoin, namecoin, etc will want=20 > to do something similar in the future and will add there own users to=20 > the UIDs file. > > I'll create a "zetacoin" user as see if it's accepted. > > On 4/12/2014 4:41 AM, Scot Hetzel wrote: >> On Fri, Apr 11, 2014 at 6:03 PM, Daniel Morante <daniel@morante.net>=20 >> wrote: >>> I'm updating the port and at the same time making some changes to=20 >>> the rc.d >>> start up script. >>> I have added the option to change the user that zetacoind runs as: >>> >>> >>> : ${zetacoin_user=3D"root"} >>> : ${zetacoin_group=3D"wheel"} >>> >>> >>> zetacoin_create_datadir() >>> { >>> echo "Creating data directory" >>> eval mkdir -p ${zetacoin_datadir} >>> [ $? -eq 0 ] && chown -R ${zetacoin_user}:${zetacoin_group} >>> ${zetacoin_datadir} >>> ln -s ${zetacoin_datadir} /.zetacoin >>> } >>> >>> >>> >>> >>> I'm not sure if I should leave it defaulting to root/wheel or have=20 >>> the port >>> create a "zetacoin" user and group and have it use that to begin with= =2E >>> >> It's better to have less things run as root/wheel. Especially if the >> zetacoind daemon can be run as a different user. >> >>> Should I just let the end user make that decision? >>> >> The port maintainer should make this decision to switch the user/group= >> to zetacoin. >> >>> The problem I see with defaulting to a "zetacoin" user is that existi= ng >>> installations will need to manually change the owner and group of=20 >>> the data >>> directory. >>> >>> Thoughts? >>> >> You just have to prepare a note for UPDATING that says that the >> zetacoind daemon is now run as user zetacoin, and that existing >> installations will need to change the owner/group to zetacoin for the >> data directory. >> > > --------------ms030008020200080106030007 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIKRzCC BRowggQCoAMCAQICEG0Z6qcZT2ozIuYiMnqqcd4wDQYJKoZIhvcNAQEFBQAwga4xCzAJBgNV BAYTAlVTMQswCQYDVQQIEwJVVDEXMBUGA1UEBxMOU2FsdCBMYWtlIENpdHkxHjAcBgNVBAoT FVRoZSBVU0VSVFJVU1QgTmV0d29yazEhMB8GA1UECxMYaHR0cDovL3d3dy51c2VydHJ1c3Qu Y29tMTYwNAYDVQQDEy1VVE4tVVNFUkZpcnN0LUNsaWVudCBBdXRoZW50aWNhdGlvbiBhbmQg RW1haWwwHhcNMTEwNDI4MDAwMDAwWhcNMjAwNTMwMTA0ODM4WjCBkzELMAkGA1UEBhMCR0Ix GzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UEBxMHU2FsZm9yZDEaMBgGA1UE ChMRQ09NT0RPIENBIExpbWl0ZWQxOTA3BgNVBAMTMENPTU9ETyBDbGllbnQgQXV0aGVudGlj YXRpb24gYW5kIFNlY3VyZSBFbWFpbCBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC ggEBAJKEhFtLV5jUXi+LpOFAyKNTWF9mZfEyTvefMn1V0HhMVbdClOD5J3EHxcZppLkyxPFA GpDMJ1Zifxe1c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AAAAA== --------------ms030008020200080106030007--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?534A6E10.90902>