mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-18 21:11:08 +02:00
fix(net-misc/ntp): Remove files from /etc and cleanup
Remove everything for openrc and do not install systemd drop-in configs into /etc either. This simplifies things quite a bit.
This commit is contained in:
parent
c296c94a6c
commit
a6bf1e483e
@ -1,63 +1,2 @@
|
|||||||
-----BEGIN PGP SIGNED MESSAGE-----
|
|
||||||
Hash: SHA256
|
|
||||||
|
|
||||||
AUX man-pages/genmans.sh 1864 SHA256 87f46fd035c9432e6dc9f8e4273aae2e5a9616dbaa13d20909a6e01044369c1a SHA512 03a8434f1f852d3eafdd0c63a19bdb490ac0194d81fd6d2e04fac5840169a48169b8bf7b5ad56b5ed61efba51852b0ce331eb8af0c640797075a530f88a916db WHIRLPOOL ffbe1ef7279ddb867aef9620f713b00af7fed593fd95c2f5c8a2b93670b6855bca1e5b22b63e8d07eee53b91987c9f82f5e45b8ca4935d566ab3c271d2d48ce2
|
|
||||||
AUX man-pages/ntp.conf.5.patch 503 SHA256 d26c1006d72d76591588fbd058000596b17b0b9bcbd184d4e6cedbc31c3b1027 SHA512 6e75a7900c2cde0484e57e18b1244ed188b58be54b6622c3777251a2f412a27a98c41a65d6d62d93f9e84856f211bb268bd005aca146bc27aed982daf63f24fe WHIRLPOOL f5d8d571206478a12f1f80e483b4b7cb94707e1c0caf55c45c319e81fb5425d5e61686ad3eb13c0bb4c694621858f8a9399eb5f5b92237fb39ccb5aaba90b6cd
|
|
||||||
AUX man-pages/ntp.xsl 5831 SHA256 8a41227ded8953c90f49022f68bdaba60f9d82fe528d5a93157672c5bf8db03d SHA512 c4fb1333a35a803783dc209186ea9005a0e529aba96103460e23a0eca483414898037802686cfff04bf910b06eb27ba8805c460962c3626af2d0951904484cbd WHIRLPOOL 0376d57f0e657c9a09fa83c69485fe202f4ef6d46957d7a2680410cb08ac0d5083e4bcb4221175acc942d211fdbb7ffbbf4d9ed00a43b8087c90fbe2a4e3f808
|
|
||||||
AUX ntp-4.2.4_p5-adjtimex.patch 670 SHA256 ec465c5d5b3e9d72563ec88dba19ad7a05d9d65d2e72899532730333a8d38b38 SHA512 d2f50cd8894361b70125b43edba22661cca8b4ce3329c461c78d93b20ffc262f89ba20b6a923783ad85f785c870911712e9cb9ecdf0797832f65a89258e31168 WHIRLPOOL daa33249c492d942bbba2c632e1bc5b14109b4195614dcfc3bf219b5a26672630419b51253add5043bd9f70ca991d68e2c9c837ce5e6a9aad71352f7cb082402
|
|
||||||
AUX ntp-4.2.4_p7-CVE-2009-3563.patch 1752 SHA256 4a6eb328ccfe3be771dc0932d6f6ee8210868f8c3d5ba09dbe6e9707edd4ce60 SHA512 dcea3ff0c56d57b3f503c128125d867fafc186c4c4ed8be545dbdcdfc01fe1b114891d83ab12e9c816dde71c80328f10005b0043d895e9a82f65c6507849c32f WHIRLPOOL e0224e80d064ad57160271db078700d417302f998bd5b6b0571a567378f7c76a4469ac7137e691e7530b184de4cb2661358332d9a5107a4f5094a04596c54e13
|
|
||||||
AUX ntp-4.2.4_p7-nano.patch 393 SHA256 440c13a0eaeab78cb4f8a806b20b128d2d7d845d3842f2e8acc88dc5f2deb1b4 SHA512 b8531f8b33a4d062ae5910e5775edc5e52a5df971b6fbcc7efdc55fa34681a38bc8881ab6164acfa692e4105bc1ae6d3e20fa06592cb04b7bd935dfd0abd9746 WHIRLPOOL 66dcf8cf79468c8f58e87cceeefea35ccbc930329eee18ed2b0b1c749aa645486207ebb413fe962c9b6824ffc00ed64636622194f8a3e4cf611d3b7ff822325f
|
|
||||||
AUX ntp-client.confd 776 SHA256 c7dc517cdb5ee10e2a07ccea15ec47ba0b7aff8ac1469204c8d7faf71bcae2c5 SHA512 2d6b9d96c55787cf4556332054a61399368dcf37cf76a14aaba3f8e2e4fdd47ce25808f9babda2ca1f2a6e7387c043e023251ba2b99786426c875bd7cb6592a6 WHIRLPOOL 7282c74d564f776cb6e8e15d79cb77e60088c516a71f87c28d96bda7e67bddc3d35e01cf86eac58655c2536d0a4a023b6142527bc8ec62318524114502d5cc99
|
|
||||||
AUX ntp-client.rc 827 SHA256 2e4a42dd64b7c6dacfcfefdab8dc1e7c45d7a0966ef8b928583d18393362c719 SHA512 04cabf1c501922f5c90a3201ee3418acf3934cb4e61640c3915b7d515f246d8fe3ac38f10b9947d574878b92871c9dba59d351a8c15eea1dbde52f518ecac7a5 WHIRLPOOL 08611b1dcacb85fff955c3c6af7118704b7b9a269d8070a538854aea980e5975c0d72ea9bc6f42115e871937a9f90b64d12bda01040a45c5dc70d144f4343d00
|
|
||||||
AUX ntp.conf 1614 SHA256 1e644397a0360a997064d0704b489c66b17ae2c50b49278ba46ec04942f13fb6 SHA512 b21afb9d2b9302edf702fce536218fa916e810e916c207dd6f2f09a9a793a465bc929b9a36108d49ddb3552e221b57cbb2e9f916eba78662b19c4b9c2b3e806c WHIRLPOOL c84ab4e53d8c778f64a656a920aa062b4c03cd871684814f3f2bf6a3d8b76870a921d91676cfe71d84db0865b887f64ebe3d403a81a91af656987d74469cc6cf
|
|
||||||
AUX ntpd.confd 192 SHA256 40803821f498267f6567436eedc18201b5ae4b5390d6872fb15a94200c2ac06f SHA512 a9e96a214d3c21a3f4863709c48a11f9dedc73e2d83a9b20761021df44a9acb56757e77f113aa0314f5f3923e9cb26bc6e0147658d20e8a74d078d415a171d91 WHIRLPOOL 75ba0559326dac961a6b228d6ee58ea8b4442ace200c36ef07101bc00b8fc12dfca78bc6474870f29928c1b9cb1397a4bfc8706befdf33178abad1a5f558b372
|
|
||||||
AUX ntpd.rc 819 SHA256 f7c58e8f8e91ee0c1b947e9684b0a9e9e27220e0c97a8b06ee4e3bc5578a88b2 SHA512 b32a4f5ed6b12a6a0254951e530ffcd006ec8719847c6b146bced7d29e482d2312448802ef2c22f85d6a3fd8d6ee7f6913485fad71dd57759da112e8248fc62e WHIRLPOOL 87cb1e26d78a026a507f0e38ad611970e158d1f633aad8681843cef44aaaa999e73fbd46e5a884116fabab2af3f96db1115c8e1e161f5da67820423e422d96fb
|
|
||||||
AUX ntpd.service-r1 171 SHA256 302ce93a9fe6e56063aece43d2109b98602333a7155641f3a6a41a4cf687a011 SHA512 15e0b038c756f9c5195cb69ff25dcad5a86bc80bc697875d351592c18d65db6e9b74482de4997015c63bc09ad6e9fdc282b27954bf859d944032ae3594be6548 WHIRLPOOL 17a2e93d9fe266d1e39900102fd05eac62b208a8a393fcaa27bff46b29f9ae89bd05330d95027eac57c2db3e1ab15b8133855237a7b0e158ab708850ede38572
|
|
||||||
AUX ntpdate.service 260 SHA256 2602a76654d46f642f35ac6381fadf64f04e3a8f7e4efa83ef95d3dddd81db99 SHA512 c46c9fc2958a15d055a18769fe3e39c37dfff2fcff62c385fb01d56b3aadeae59e58aa6e79d034f8ffa26ba44bccd0436cb833ef18b8699fbf4c175526f712ea WHIRLPOOL e8efc18127a570e1a955c9c1dfe4f1122f13b35d9f7031e8aaf366fa171055d5eba299fcc1e0883bbc1e5d91298d94f86e0907bec932c373153ed79cdaa1e048
|
|
||||||
AUX ntpdate.service.conf 119 SHA256 a7f886d6f5e671005da8ef9b53567884a8467239528bf860db61230b73097eb3 SHA512 7c5c397bb51f0192e927079044c7ffb91ae158c55f725be50d09bd618e6a4d37dd93c0f8e4bad726d1d9ada276bf73ad9567e00e0c30f4bf47344e4214f4b4b8 WHIRLPOOL 6d99157e99026fdd4734674647bbb9a721f8766d5708f6c6f725fa88687bbb2995233fd02ccb34ebed7b80570e1a309a857ddb58fc08e0255268880eb8d18d9e
|
|
||||||
AUX sntp.confd 149 SHA256 97282007801cb9c0e3b431e2930dec3bb8ce8869f63f7e02d903846e96734684 SHA512 28c8f1fd3a69bbdfacc2379a3ce01f254ae21fd8b91d893600086d27e5fb9cccf05d1bf62022ab26fcb53fa2080d4178961619811fd7a56f4e7502893f8ea13b WHIRLPOOL 65af6af349f56b2379afdb6c53042571de19e799a079b0997dcb9f6185849a04292000a584e22e7e03af5bc9c10e0627037a72b748b8f083ee4a51a1e608e94a
|
|
||||||
AUX sntp.rc 590 SHA256 8fbd405ad951e7ad046e4408abb98f4066077113187198767d52f28d7228bae4 SHA512 bab5c3c1737eba6898c46897afbce4d33473303470e355a3ac7eb8ce15f43fbbd3c3e3b57ca1eb85f5823f945892ed484c5cd135e8c4287e61319cadda39bbe0 WHIRLPOOL ee695f19878658df68da7a01ad77a2ca4fd4318f2bd806a226c6cd3c3155385fe202327ac2490211bfec59029b46e109fa21a21715e4f2536bcca0255ddc7a66
|
|
||||||
AUX sntp.service 308 SHA256 f870757965093b46c1fa72477b258fe4fa35cb814646613d8cbaeb635e0c1cf3 SHA512 a39b049f16b52d5d87294bbe1fec0cbc74fc1baacb8824c171c67625bc5c5279e255497d67916bc4f7d9daa8e4d9eac775b47b496960cb93d4079d803c2b1c78 WHIRLPOOL 4db26c13a272fe5aabaa7d028bb3f087b80ffaedc97081959d87bbea60029194ed2c4f2bf9dd0b602210089711cc19115fbad43fcd926eb6a2bdd880712f2715
|
|
||||||
AUX sntp.service-r1 275 SHA256 12451d2f9d19ee65ca044733b17ba7ca22682b3c79e1052a8990e1c0c1587ea4 SHA512 d42a87e2f06d998e2db3d9033b04fb41f8f24bdc2407c38764e24182396e09615d6e71b14bdc19499444b368d975d2b89a3bc576527d5d5fe3d6ed33d956e789 WHIRLPOOL 4be2d921efc73326fe2e64436fa66f4cefc1fb81b59543026bb6c70a0d69f5bebf6bbb4a690e472665b596f15c5bb5abc822a2d217abf8bdb84eeafbf3a00985
|
|
||||||
AUX sntp.service.conf 119 SHA256 a7f886d6f5e671005da8ef9b53567884a8467239528bf860db61230b73097eb3 SHA512 7c5c397bb51f0192e927079044c7ffb91ae158c55f725be50d09bd618e6a4d37dd93c0f8e4bad726d1d9ada276bf73ad9567e00e0c30f4bf47344e4214f4b4b8 WHIRLPOOL 6d99157e99026fdd4734674647bbb9a721f8766d5708f6c6f725fa88687bbb2995233fd02ccb34ebed7b80570e1a309a857ddb58fc08e0255268880eb8d18d9e
|
|
||||||
DIST ntp-4.2.4p7-manpages.tar.bz2 49719 SHA256 cd21e29fcd9a13ee92d5f5ad492c9be49eeb2e877351865973805c12993cad3f SHA512 99ef50b22b012c99b626f742aac0a19d85a2d9d375fa5054d742d2eadd7ababf0e126ee534d76f1706330b6c06ee82ae3e134e0bed5008c3a38e314a4af7d298 WHIRLPOOL 0bc1f7626265e9329fde5cd55dcee3c0ff7930a231a80541a4b8ce199a30a61d6ecf92dcef90b9891df98b93a4536d7a61b4a475515e61814121ee161aa9f8a3
|
|
||||||
DIST ntp-4.2.4p7.tar.gz 3382146 SHA256 5681883ce5cd0666d73c1b907e284653964a25ad4c02a308ab11b54aca8f01c3 SHA512 d08368c9bd146461c2337f27af596d79f9a7a9294ed66f91a4b66a40c020e5e2e2f0c2d2481920d24fd89acaef110149f1e00c8cb27c93b496960b17fcf94dd3 WHIRLPOOL c706946d9cd622ca8b778dfe371263e8ee17f7a18403535a3cb63a7941381c8ca07c7c870bdf60e61037c9c878796853ccfee267e8bb1233d373c2863bf194c8
|
|
||||||
DIST ntp-4.2.6p2-manpages.tar.bz2 47783 SHA256 22cc78432f26ea1585637cae9cf3cc213192c1542da0bdbbf318c6553d1625c9 SHA512 588cfb89242e4aff539f74e7137890b73eced474a8a34c4f5c37ceccf048542f71e7eb9e4c02c8d40d3b2d1d118ea657c444c9db634cda1747e9c128f5dae5de WHIRLPOOL 975b6f2d2b8046cf3dd93b696822ee841aa3663451b0cc502d1402b7b7b5d4afdad7af025b162eecb6b1d7813a9ed733f3806e1db36305c656b3c6525c094f25
|
|
||||||
DIST ntp-4.2.6p2.tar.gz 4338873 SHA256 42898b7903a2da04a242885c92919903d56ee69c0293ec828568cab71dd3e9d8 SHA512 b44346a0b26db424aeaeccfd32e75aaed24981924012954a8b47faa81fbcbd6afa3a6f04b46a5d1ea6565a6412993e6ca0a3d527f98dc2b898121355ba200c80 WHIRLPOOL 672753fdeb9e49d6cb16a88df3653b84e2ed73e0e4b20180a049562a1899fc0061bc3c66f2a4a05b7da8056b67f034103626760893eea41e500a190b42dae151
|
|
||||||
DIST ntp-4.2.6p3-manpages.tar.bz2 47797 SHA256 9d7780ddeb98b2afbf009af9906908e3aca4524918bcbe70251ccc77feea3ad0 SHA512 e1470eb6f527ede07abe43bb48bf8d0fa54a1443a82fd68aaa373e105769ce32bd3b400153d62fe94b049a24b49e6146799192850eb82ef98f624eb42e04bfb2 WHIRLPOOL 243c8e79399cd63a4f49f9cf08eb17915fae67f18e4b5280f7c3d53083bea18d9bf448da3d00b57342efc3723f621eb349f4bf8a8e897163ed9bebc88a384663
|
|
||||||
DIST ntp-4.2.6p3.tar.gz 4270377 SHA256 6e84d4ddfa14b911c3ed88463af10867e1fa9b287e7b34d8a02e78be85a7c40e SHA512 cc16e584b6279e5975907cf8491e38c82430f2b5f8bd92efec697c7760791f8a885929e2eeaa6e61b26e7b34e094f2032c7ed2e492fd365d8da1dd2eb16db8f6 WHIRLPOOL a1d912deb6e45b0fa7d4fcc2ae84f9d73ef51cf65a42bf281538f24c7d00ce06e745561c54c706c3031bbb4693b30cc25cf568af509fe7236c78a65a60262f55
|
|
||||||
DIST ntp-4.2.6p4-manpages.tar.bz2 48229 SHA256 8be205451ff6b3bba534aa91a14fed2beb5eaff256189bd55e456ca56e16937d SHA512 5c41b97e711c9fecc8a9bfb18e0be5b945e40b7755d54d6f460399b30823037c1cfef4d089b55a6af8fe3a0324f8c603a9f3bdae30d4aeb35ee7d4ccdaf24ec3 WHIRLPOOL 3c958889f8591a64765ee87ef375902dd5bae0e60af50c30de4936d458544027bf57fad062cb419efa8771f50b7a8b5cd411a2927a45af71efed586f874e54e6
|
|
||||||
DIST ntp-4.2.6p4.tar.gz 4194210 SHA256 dec30ea700d57b2d306ae61a3bcd8bc843443404a819a2f708b23a0ffc8581f3 SHA512 744a1c3e232b26de6739d2ea4474edf1937ba409274ccf6fa27ba7305150572f0e7c0f69fc2a6ac82d096a06cd194811ccaf1693563de091638691415efb3e08 WHIRLPOOL acb173ab0b1dc9f1421e614746599b2c129cb995ecf437feb97b452d7007adc24bf9460d1fd8ae5aafeb86d9cb1ff6ca090ca83873e70e93da380983afa3aae1
|
|
||||||
DIST ntp-4.2.6p5-manpages.tar.bz2 47874 SHA256 f49203cba2301ce27a53113a6e22d844b258114604f2c9ee1371833babc70f9c SHA512 57d4b8fc4482a41c6595418ebff1a861d4bd7ee175b13cf5580a5915749a096b3a906ca8ddf9fc9c57ead783df22b7b9326b51bbab9cd8340576413bee3e7f84 WHIRLPOOL 83c2d95fe953ab2cd7729bc03d89e44a2de85cb68b4ec72c123a034846866aebf7b83eeb4e45add6aa1443f2de83bfbb1ecdbb437534d827d1e1a4a08f91cfd4
|
DIST ntp-4.2.6p5-manpages.tar.bz2 47874 SHA256 f49203cba2301ce27a53113a6e22d844b258114604f2c9ee1371833babc70f9c SHA512 57d4b8fc4482a41c6595418ebff1a861d4bd7ee175b13cf5580a5915749a096b3a906ca8ddf9fc9c57ead783df22b7b9326b51bbab9cd8340576413bee3e7f84 WHIRLPOOL 83c2d95fe953ab2cd7729bc03d89e44a2de85cb68b4ec72c123a034846866aebf7b83eeb4e45add6aa1443f2de83bfbb1ecdbb437534d827d1e1a4a08f91cfd4
|
||||||
DIST ntp-4.2.6p5.tar.gz 4202539 SHA256 d6ab8371f9d31e594eb6922823d5ccd03dcc4e9d84b0e23ea25ac1405432f91c SHA512 8d76fc7e92b2ea6dd5031e6030a7aba4ff6fb3e19d3bc0153852509861be5d0960e70604814163caedb81f8315a451d78371f99634a50b55cfe1cbd2c69e3046 WHIRLPOOL 9943706ad02e377cb38d65caed6f675d37db7aa53dd86319b17405791494bf11244ac933867516cca9438947202b595b6606088a8aaa436655f9eeb8d078b77e
|
DIST ntp-4.2.6p5.tar.gz 4202539 SHA256 d6ab8371f9d31e594eb6922823d5ccd03dcc4e9d84b0e23ea25ac1405432f91c SHA512 8d76fc7e92b2ea6dd5031e6030a7aba4ff6fb3e19d3bc0153852509861be5d0960e70604814163caedb81f8315a451d78371f99634a50b55cfe1cbd2c69e3046 WHIRLPOOL 9943706ad02e377cb38d65caed6f675d37db7aa53dd86319b17405791494bf11244ac933867516cca9438947202b595b6606088a8aaa436655f9eeb8d078b77e
|
||||||
EBUILD ntp-4.2.4_p7-r1.ebuild 3941 SHA256 80c7ca891ee1b473433c8d77339e72faac471fe399310d8fab8c705f23ea83e3 SHA512 2d099f4d0c943528338756b9ca1b3fce281f2037f892dc1c19c203e6e7d049b3b4a8360bc91031d8b1f1aea68b4364e27e97c256c9e1135aa7aed74258b3513a WHIRLPOOL fb330b8c1182addfb1aa2a271da3933f431eb054efb2ebb1db262c39782797a0d56b8f47f110edcba74c241f6296b4b7ed04f7a5e827e5279711ee2043718027
|
|
||||||
EBUILD ntp-4.2.6_p2-r1.ebuild 3912 SHA256 7af0bdcbdfee53e802cc6792dbd990de3bd4b6cb7e9d036f730cfb3c08d8f7e3 SHA512 aaf77ce680935a22078fc9be020893bc998043912f4ccc4e19ff2cc57493dbfb704e19db938c4e4b1e64fb33a987ccf40c1ec7e1795b29d9505bcaf24017d183 WHIRLPOOL c6882d7925d54d602f3ad373d34caf07dd136ca1814513be205cdd908fc6bf7e943ffc785f029602ef40fd9c3814ae3a7585ab3455b339fe2a4566e3b84ef359
|
|
||||||
EBUILD ntp-4.2.6_p3-r1.ebuild 3842 SHA256 b53b9d369ecd1ac7658d2032c087385d403d46a04d48cb37367696bcd7671b4e SHA512 5d48ebaa7cf8f6b3da8054e05c4b5e6db9bd474e622df3b08344b9fe9a9c454df61cf0af23d9ebdd20fdd90eabc71c0fec44c8e228ed8f015999227135e15aff WHIRLPOOL 29c8fe81d40a96df170a5fcf0183a57c8c003c75b7c54cdeceaf4a6925542608652daff83c0eb5d7d413148ecc078c6d97b2b8605f0c601ae5744276eade0f8a
|
|
||||||
EBUILD ntp-4.2.6_p3.ebuild 3750 SHA256 615133b52c6e3be7b1a29ffed40882e3c6fdc8d10e6d5faa181a919373cfbc51 SHA512 48d79b04d95efa3ed17dff84e132471087b95ebed6534640dca0aa8f107a9668fdbd483163594033dd6c66f56c3c77f01c4e8b7f2bed740b73b3ce0d852a3b39 WHIRLPOOL d8050f8c337aba87c29379f0300b288c31e674c95cdc0cd421a3fa6f450b3cf8fc709bb57d31d2ca3ce8ff09d479bdc9c0f4dab8c2d3d9d2d1782aff62aa758b
|
|
||||||
EBUILD ntp-4.2.6_p4.ebuild 3839 SHA256 5d0436674cb6f49131eb1d65fce424a7bbe6ee79680bf791fd7a788d277d973e SHA512 68f0bfabb92f91dd70c139975cc02eec88da5d77ae57616f8aa26ce1a71e78ad670e3f3d7f6eb9169c5b3bf44a7b91da033a5430e56ebc7bfaf0ed2bc42f78b4 WHIRLPOOL a08728d5be480a43554b836ef0c473ec198359c1f74a8f802c691c8145e4c85c53b967bc0bfa63d455f336511468c06e8c5ee7c06baaad08eef6a4fe7419b703
|
|
||||||
EBUILD ntp-4.2.6_p5-r1.ebuild 3792 SHA256 33e91a7ff7a4e4e69905f278574819382db80075b182c6551d2e3b88eec180ff SHA512 7844b475b0ecebac5ade7b0ce0c17b3557489da5013a0c7c9ba722f5e31cd4786b563383093850dea54afb98082ecfdcf3c78c454325a2fbbb852c0ec1ae536e WHIRLPOOL e07202eae303772357b4f6feff39799b055a547b6bd731f23b9805cf18c568023b50c6198829b79a427a999e0f139898e0f30469ebdc8d3b591d65f89975741e
|
|
||||||
EBUILD ntp-4.2.6_p5-r10.ebuild 4273 SHA256 cce46084db3868c5c1e57940139df8ac69ad5bcd5c0354d048aee21b2102f302 SHA512 78054285e375c20202269c1e41c884209b00455106e9a2143f50ffff22d67197a2af72674689377ecc1140e70fee9fb3d39f160af365d8da2e140b8aeb646f8e WHIRLPOOL ff5a7cbaa38e5f7b46841e9eafdd9d561476af0f91398d2ff27b0795df7a2e9c79e6f4573367b287f25d8ae548e98ba337e526c8e16576eccdcb1f121868f341
|
|
||||||
EBUILD ntp-4.2.6_p5-r2.ebuild 3869 SHA256 f32d367bc823f2b1b8c8244f8912cda1b8b59bd700f4e0f2dc6e6402eae5cb96 SHA512 de94dbc52a52a39be637fb64cc9dedf6099eb694d9b173511faf8fc08d5103130114ed3b68625d92257d4390264873ec5fccae7166fa2279ced6381de7919fa2 WHIRLPOOL 523ae321909f1a95f1e0491bc7e98055461b83158219062830765c54a63b0c4767819fac13aca43981c90dd13bf0b992c9e16d873a82172d176fe59319d84055
|
|
||||||
EBUILD ntp-4.2.6_p5-r7.ebuild 4221 SHA256 d56e8d233c1d7fc876a6b5caf051fb69667358fb79e5ef2aa4fc78833b7a2e8e SHA512 3a3e08b2f2108fcc49f0d07aecd57236791e8d603c8145c93768a910e96359e03737eafe4a084a1f7f54071bf27cc0da1eb310b0bf5eaa38d6c1ee5d7f2e97be WHIRLPOOL b8cfee3f7c2f2479a3b26bec04acaf667a0e4ebdb6d187704a1dd85245e49ce32b47ffbf37ea5c7039fb5f9072bd284bd65fe4b7bd836d5a2ba2e30ae2293f3a
|
|
||||||
EBUILD ntp-4.2.6_p5-r8.ebuild 4276 SHA256 03ad604101fd53c924e6f7ac425f0d88973b74c7cb37aa458535d93db0998b40 SHA512 9cda0ef278257321b7804022ed742bb89313c299a3cc36a693f26d0162d2fcf6757ffd0dda47e74864355ed1b1456b7064e11706e15f6ad83c4e7ac10859e784 WHIRLPOOL 21e9ce0b53f2e9fbd2e09fac33adfb7bf78a9b3c7f6a887d523345303398961ca7d3d9d9277d63966a7e609e75fe77f63169beb73ade0c859900aaf4fa5b67e9
|
|
||||||
EBUILD ntp-4.2.6_p5-r9.ebuild 4276 SHA256 9dab6186242285460d39f8fd11ccbd9d2dc24b6d2a348bf69ca21ce99912f632 SHA512 dcd3cd8b990baa26f828c574d3ffac17ce422f0ebb2f73cd8d7bb12167b7b9be5f72358440da812905cdcfefbbfd626691c5a9e759458c410c15aec2afc5f2d2 WHIRLPOOL a3e6ea5bb2eab429ef7fbb58866957ad6185f4d79019485ec8189449ca153b7aca5912a6b10c158c1fdd6bb2105c2d43b0bdbaf74fb3df653c463e28c9e38a24
|
|
||||||
EBUILD ntp-4.2.6_p5.ebuild 3817 SHA256 6128211172e7a6a101e597b3c288f68dcb71c564ba5652d828f2d2aa1123d7ea SHA512 0ed3a2d82232cf08539bcd5612f0509f09d2c39a426ca229e4f8d30fec5b53d00b576998c13a8e3ebc866fc69b99f0a18fbd9ba72dbaacd60695805354178f9d WHIRLPOOL 559b0955be950c79209c034bcdd4a57e7f48d997b4a3c6c25aa39ad0ab8d11c04f5664e0ffbfa27a7246b21222dc9f3869a27c64d439e077c7ec827342b22e54
|
|
||||||
MISC ChangeLog 30295 SHA256 55fb1c9d4f8a088c3ecc369ed56d06f7dec2cab19ba579693e8e89900effc8a0 SHA512 e3a3efe92223c2dcde219d096f55244fe39a5e90a2048085e8de5ab05c4d1214f63ce62b0ca04502f737343836e6155f16d35a12f7b7b62bc3c5f1106c1ae2e1 WHIRLPOOL 31f88411c0b4e6b97c8abcaafd14bb5a1b0596e6252c8f971e044dc81f92457079789938e089bed456612dd65a51ca68fceb8fe91c47dab9bff6d5c5d19a58af
|
|
||||||
MISC metadata.xml 837 SHA256 57b162a2c709963d5760fdb3abe7d2a12e6e55a6abe816b16db30e9e2ae10a4e SHA512 d1403413373a0785712c40fd1a96c4649ef368b30efc5735667626ad760bb2336ba28fd335c75fc781ad6222e7dd9f53ad5dd2f558b3cbbf719104684fa0d9ed WHIRLPOOL 1513304c252dfb8f9a06a7cce1e13ab41ac80e0f0db7e231891430168df6e71a81e88984d47a694d6a5d0fd5a9c04dd1318c504baf21c7be6bd0d99b307db867
|
|
||||||
-----BEGIN PGP SIGNATURE-----
|
|
||||||
Version: GnuPG v2.0.22 (GNU/Linux)
|
|
||||||
|
|
||||||
iQIcBAEBCAAGBQJTQW0gAAoJEPGu1DbS6WIAcywP/0OJR1fASvWNSawKeblRLuBy
|
|
||||||
qE1IKo01UGYOQOBp14hLsp1eseR00f8pY8A+N+ADMCcdC391zQ9wc/ZAgBzos8Ak
|
|
||||||
EBEnwywFst3W2ANzYf8TUUGdg1pLM5NYCLsaTa/Eokdbve0+n5Mx1ILd+734dkm5
|
|
||||||
Ra9Dt0emd/vHk43JB0jT/mfnMeJDBSUWN8ABzRf668DBus3ed8lMIKySNMM+KpUi
|
|
||||||
AfT3z1dz+KVSb+eq3n2WBi6wYEoAEMicRvfHiz/qeBZu953q1+Sn/t7+4UKK2WXQ
|
|
||||||
cZujYG0mcDFISJxhDe7Sjowj0agqIs23bKzTdl3T/3yjSamEtTT/Oh/iBzNDwU8K
|
|
||||||
Phl41lJu3A9lqFcmuiVDAgwrIdsbN1GwUFgnhflZrfsDoz1gh2+qK5TIZLyiO1kG
|
|
||||||
0XyfvOgOTt1fVmZe4h3Nw1OW71b5TucqdV9wqP0a1KzAtOdkYtYA8oMPLCAbx97r
|
|
||||||
Up4alsCAIrjxxg5oOJWrSPjfmZtGiYfeDRjjrqBvnM1XEtFoY/LGqODN/vTx289R
|
|
||||||
SdUuRqQAvCh2L7O7Mx7aLtDELnSIAyr2B7lrnOngnmHLgy00tP1ThI3KKMyhe+qn
|
|
||||||
r04UdwtgxCtFfpJ7l1lSx9H9cqXdLVxRdB1GjhNA/G3OcO0qvcRUi44fds/o0967
|
|
||||||
HRCSG1p6pX5Eq0YrzMKs
|
|
||||||
=AZ75
|
|
||||||
-----END PGP SIGNATURE-----
|
|
||||||
|
@ -1,74 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
#
|
|
||||||
# ntpman.sh -- Create man pages for ntp
|
|
||||||
#
|
|
||||||
|
|
||||||
VERSION=$1
|
|
||||||
if [[ -z ${VERSION} ]] ; then
|
|
||||||
VERSION=$(ls -1d ntp-*/ 2>/dev/null | LC_COLLATE=C sort | sed -n '${s:/::;p;Q}')
|
|
||||||
if [[ -z ${VERSION} ]] ; then
|
|
||||||
VERSION=$(ls "${0%/*}"/../../ntp-*.ebuild | LC_COLLATE=C sort | sed -n '${s:.*/::;s:_::;s:[.]ebuild::;p;Q}')
|
|
||||||
if [[ -z ${VERSION} ]] ; then
|
|
||||||
echo "Usage: $0 <version>"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
[[ ${VERSION} != ntp-* ]] && VERSION="ntp-${VERSION}"
|
|
||||||
|
|
||||||
SRCDIR=${0%/*}
|
|
||||||
HTMLDIR=${SRCDIR}/${VERSION}/html
|
|
||||||
DISTFILE=/usr/portage/distfiles/${VERSION}.tar.gz
|
|
||||||
MANDIR=${SRCDIR}/man
|
|
||||||
|
|
||||||
rm -rf ${SRCDIR}/${VERSION}
|
|
||||||
if [[ ! -d ${HTMLDIR} ]] ; then
|
|
||||||
if [[ -f ${DISTFILE} ]] ; then
|
|
||||||
tar zxf ${DISTFILE} -C ${SRCDIR} || exit 1
|
|
||||||
else
|
|
||||||
echo "ERROR: $HTMLDIR / $DISTFILE does not exist"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Process a single HTML file
|
|
||||||
processfile() {
|
|
||||||
HTMLFILE=$1
|
|
||||||
MANFILE=$2
|
|
||||||
echo -n "Processing $HTMLFILE ..."
|
|
||||||
sed -e "s:<csobj.*<:csobj>/:" $HTMLDIR/$HTMLFILE > .$HTMLFILE
|
|
||||||
xsltproc --html --stringparam version $VERSION ${SRCDIR}/ntp.xsl .$HTMLFILE > $MANDIR/$MANFILE || exit 1
|
|
||||||
rm -f .$HTMLFILE
|
|
||||||
echo "Done."
|
|
||||||
}
|
|
||||||
|
|
||||||
# Print information
|
|
||||||
echo "Generates ntp man files from HTML documentation. Using:"
|
|
||||||
echo "VERSION: $VERSION"
|
|
||||||
echo "HTMLDIR: $HTMLDIR"
|
|
||||||
echo "MANDIR: $MANDIR"
|
|
||||||
echo "Press enter to continue, or Ctrl-C to cancel."
|
|
||||||
read
|
|
||||||
|
|
||||||
# Process HTML files
|
|
||||||
rm -rf ${MANDIR}
|
|
||||||
mkdir ${MANDIR}
|
|
||||||
for f in ntp{date,dc,d,q,time,trace,dsim} keygen tickadj ; do
|
|
||||||
processfile ${f}.html ${f}.8
|
|
||||||
done
|
|
||||||
echo
|
|
||||||
|
|
||||||
cp -vi /usr/local/src/freebsd/src/usr.sbin/ntp/doc/*.5 ${MANDIR}
|
|
||||||
(
|
|
||||||
d=${PWD}
|
|
||||||
cd ${MANDIR}
|
|
||||||
for p in $d/*.5.patch ; do
|
|
||||||
patch -F0 -p0 < $p || exit 1
|
|
||||||
done
|
|
||||||
) || exit 1
|
|
||||||
cp -vi ${SRCDIR}/*.patch ${SRCDIR}/genmans.sh ${SRCDIR}/ntp.xsl ${MANDIR}
|
|
||||||
|
|
||||||
tar -jcf ${VERSION}-manpages.tar.bz2 -C ${MANDIR}/.. man
|
|
||||||
du -b ${VERSION}-manpages.tar.bz2
|
|
||||||
|
|
||||||
rm -rf ${MANDIR} ${SRCDIR}/${VERSION}
|
|
@ -1,27 +0,0 @@
|
|||||||
--- ntp.conf.5
|
|
||||||
+++ ntp.conf.5
|
|
||||||
@@ -24,16 +24,6 @@
|
|
||||||
.Fl c
|
|
||||||
command line option).
|
|
||||||
.Pp
|
|
||||||
-The
|
|
||||||
-.Pa /etc/rc.d/ntpdate
|
|
||||||
-script reads this file to get a list of NTP servers to use if the
|
|
||||||
-variable
|
|
||||||
-.Dq Li ntpdate_hosts
|
|
||||||
-was not declared.
|
|
||||||
-Refer to the
|
|
||||||
-.Xr rc.conf 5
|
|
||||||
-man page for further info about this.
|
|
||||||
-.Pp
|
|
||||||
The file format is similar to other
|
|
||||||
.Ux
|
|
||||||
configuration files.
|
|
||||||
@@ -2686,7 +2676,6 @@
|
|
||||||
Diffie-Hellman agreement parameters
|
|
||||||
.El
|
|
||||||
.Sh SEE ALSO
|
|
||||||
-.Xr rc.conf 5 ,
|
|
||||||
.Xr ntpd 8 ,
|
|
||||||
.Xr ntpdc 8 ,
|
|
||||||
.Xr ntpq 8
|
|
@ -1,218 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Description:
|
|
||||||
Stylesheet for converting the HTML documentation
|
|
||||||
for various ntp commands into proper manual pages
|
|
||||||
(in troff format).
|
|
||||||
|
|
||||||
Author:
|
|
||||||
Per Cederberg, <per at percederberg dot net>
|
|
||||||
-->
|
|
||||||
|
|
||||||
<!DOCTYPE stylesheet [
|
|
||||||
<!ENTITY newline "
|
|
||||||
">
|
|
||||||
]>
|
|
||||||
|
|
||||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
||||||
version="1.0">
|
|
||||||
|
|
||||||
<!-- ### INPUT PARAMETERS ### -->
|
|
||||||
<xsl:param name="version" select="''" />
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ### OUTPUT DECLARATION ### -->
|
|
||||||
<xsl:output method="text"
|
|
||||||
encoding="ISO-8859-1" />
|
|
||||||
|
|
||||||
<xsl:strip-space elements="html" />
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ### TEMPLATES ### -->
|
|
||||||
<xsl:template match="/">
|
|
||||||
<xsl:text>.\" Automatically generated from HTML source. </xsl:text>
|
|
||||||
<xsl:text>DO NOT EDIT!&newline;</xsl:text>
|
|
||||||
<xsl:apply-templates />
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match="head">
|
|
||||||
<xsl:text>.TH </xsl:text>
|
|
||||||
<xsl:value-of select="substring-before(title, ' ')" />
|
|
||||||
<xsl:text> 1 "" "ntp </xsl:text>
|
|
||||||
<xsl:value-of select="$version" />
|
|
||||||
<xsl:text>"</xsl:text>
|
|
||||||
<xsl:text>&newline;</xsl:text>
|
|
||||||
<xsl:text>.SH NAME</xsl:text>
|
|
||||||
<xsl:text>&newline;</xsl:text>
|
|
||||||
<xsl:value-of select="title" />
|
|
||||||
<xsl:text>&newline;</xsl:text>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match="body">
|
|
||||||
<xsl:apply-templates select="*[preceding-sibling::hr]" />
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match="h3">
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match="h4">
|
|
||||||
<xsl:variable name="text">
|
|
||||||
<xsl:call-template name="stringToUpper">
|
|
||||||
<xsl:with-param name="str" select="." />
|
|
||||||
</xsl:call-template>
|
|
||||||
</xsl:variable>
|
|
||||||
<xsl:if test="name(preceding-sibling::*[1]) = 'tt'">
|
|
||||||
<xsl:text>&newline;</xsl:text>
|
|
||||||
</xsl:if>
|
|
||||||
<xsl:text>.SH </xsl:text>
|
|
||||||
<xsl:value-of select="$text" />
|
|
||||||
<xsl:text>&newline;</xsl:text>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match="address">
|
|
||||||
<xsl:text>.SH AUTHOR</xsl:text>
|
|
||||||
<xsl:text>&newline;</xsl:text>
|
|
||||||
<xsl:apply-templates />
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match="p">
|
|
||||||
<xsl:variable name="text">
|
|
||||||
<xsl:apply-templates />
|
|
||||||
</xsl:variable>
|
|
||||||
<xsl:if test="starts-with($text, 'Disclaimer:')">
|
|
||||||
<xsl:text>&newline;</xsl:text>
|
|
||||||
</xsl:if>
|
|
||||||
<xsl:text>.P</xsl:text>
|
|
||||||
<xsl:text>&newline;</xsl:text>
|
|
||||||
<xsl:value-of select="$text" />
|
|
||||||
<xsl:text>&newline;</xsl:text>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match="dd/p">
|
|
||||||
<xsl:text>&newline;</xsl:text>
|
|
||||||
<xsl:text>&newline;</xsl:text>
|
|
||||||
<xsl:apply-templates />
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match="hr">
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match="pre">
|
|
||||||
<xsl:text>&newline;</xsl:text>
|
|
||||||
<xsl:text>.ft CW</xsl:text>
|
|
||||||
<xsl:text>&newline;</xsl:text>
|
|
||||||
<xsl:text>.nf</xsl:text>
|
|
||||||
<xsl:text>&newline;</xsl:text>
|
|
||||||
<xsl:call-template name="trim-newlines">
|
|
||||||
<xsl:with-param name="str" select="." />
|
|
||||||
</xsl:call-template>
|
|
||||||
<xsl:text>&newline;</xsl:text>
|
|
||||||
<xsl:text>.ft R</xsl:text>
|
|
||||||
<xsl:text>&newline;</xsl:text>
|
|
||||||
<xsl:text>.fi</xsl:text>
|
|
||||||
<xsl:text>&newline;</xsl:text>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match="ul">
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match="nobr">
|
|
||||||
<xsl:text> </xsl:text>
|
|
||||||
<xsl:apply-templates />
|
|
||||||
<xsl:text> </xsl:text>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match="dl">
|
|
||||||
<xsl:apply-templates />
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match="dt">
|
|
||||||
<xsl:text>.TP&newline;</xsl:text>
|
|
||||||
<xsl:text>.B </xsl:text>
|
|
||||||
<xsl:value-of select="normalize-space(.)" />
|
|
||||||
<xsl:text>&newline;</xsl:text>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match="dd">
|
|
||||||
<xsl:apply-templates />
|
|
||||||
<xsl:text>&newline;</xsl:text>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match="tr">
|
|
||||||
<xsl:if test="position() > 1">
|
|
||||||
<xsl:apply-templates />
|
|
||||||
<xsl:text>&newline;</xsl:text>
|
|
||||||
<xsl:text>&newline;</xsl:text>
|
|
||||||
</xsl:if>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match="tt">
|
|
||||||
<xsl:text>&newline;</xsl:text>
|
|
||||||
<xsl:text>\fB</xsl:text>
|
|
||||||
<xsl:apply-templates />
|
|
||||||
<xsl:text>\fR </xsl:text>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match="i">
|
|
||||||
<xsl:text>&newline;</xsl:text>
|
|
||||||
<xsl:text>\fI</xsl:text>
|
|
||||||
<xsl:apply-templates />
|
|
||||||
<xsl:text>\fR </xsl:text>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match="a">
|
|
||||||
<xsl:text> </xsl:text>
|
|
||||||
<xsl:apply-templates />
|
|
||||||
<xsl:text> </xsl:text>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match="br">
|
|
||||||
<xsl:text>&newline;</xsl:text>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match="text()">
|
|
||||||
<xsl:value-of select="normalize-space(.)" />
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ### HELPER FUNCTIONS ### -->
|
|
||||||
<xsl:template name="stringToUpper">
|
|
||||||
<xsl:param name="str" />
|
|
||||||
<xsl:value-of select="translate($str,
|
|
||||||
'abcdefghijklmnopqrstuvwxyz',
|
|
||||||
'ABCDEFGHIJKLMNOPQRSTUVWXYZ')" />
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template name="trim-newlines">
|
|
||||||
<xsl:param name="str" />
|
|
||||||
<xsl:choose>
|
|
||||||
<xsl:when test="starts-with($str,'&newline;')">
|
|
||||||
<xsl:call-template name="trim-newlines">
|
|
||||||
<xsl:with-param name="str" select="substring($str, 2)" />
|
|
||||||
</xsl:call-template>
|
|
||||||
</xsl:when>
|
|
||||||
<xsl:otherwise>
|
|
||||||
<xsl:call-template name="trim-newlines-tail">
|
|
||||||
<xsl:with-param name="str" select="$str" />
|
|
||||||
</xsl:call-template>
|
|
||||||
</xsl:otherwise>
|
|
||||||
</xsl:choose>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template name="trim-newlines-tail">
|
|
||||||
<xsl:param name="str" />
|
|
||||||
<xsl:variable name="len" select="string-length($str)" />
|
|
||||||
<xsl:choose>
|
|
||||||
<xsl:when test="substring($str,$len) = '&newline;'">
|
|
||||||
<xsl:call-template name="trim-newlines-tail">
|
|
||||||
<xsl:with-param name="str" select="substring($str, 1, $len - 1)" />
|
|
||||||
</xsl:call-template>
|
|
||||||
</xsl:when>
|
|
||||||
<xsl:otherwise>
|
|
||||||
<xsl:value-of select="$str" />
|
|
||||||
</xsl:otherwise>
|
|
||||||
</xsl:choose>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
</xsl:stylesheet>
|
|
@ -1,21 +0,0 @@
|
|||||||
# /etc/conf.d/ntp-client
|
|
||||||
|
|
||||||
# Command to run to set the clock initially
|
|
||||||
# Most people should just leave this line alone ...
|
|
||||||
# however, if you know what you're doing, and you
|
|
||||||
# want to use ntpd to set the clock, change this to 'ntpd'
|
|
||||||
NTPCLIENT_CMD="ntpdate"
|
|
||||||
|
|
||||||
# Options to pass to the above command
|
|
||||||
# This default setting should work fine but you should
|
|
||||||
# change the default 'pool.ntp.org' to something closer
|
|
||||||
# to your machine. See http://www.pool.ntp.org/ or
|
|
||||||
# try running `netselect -s 3 pool.ntp.org`.
|
|
||||||
NTPCLIENT_OPTS="-s -b -u \
|
|
||||||
0.gentoo.pool.ntp.org 1.gentoo.pool.ntp.org \
|
|
||||||
2.gentoo.pool.ntp.org 3.gentoo.pool.ntp.org"
|
|
||||||
|
|
||||||
# If you use hostnames above, then you should depend on dns
|
|
||||||
# being up & running before we try to run. Otherwise, you
|
|
||||||
# can disable this.
|
|
||||||
rc_use="dns"
|
|
@ -1,32 +0,0 @@
|
|||||||
#!/sbin/runscript
|
|
||||||
# Copyright 1999-2013 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/files/ntp-client.rc,v 1.13 2013/12/24 11:01:52 vapier Exp $
|
|
||||||
|
|
||||||
depend() {
|
|
||||||
before cron portmap
|
|
||||||
after net
|
|
||||||
use dns logger
|
|
||||||
}
|
|
||||||
|
|
||||||
checkconfig() {
|
|
||||||
if ! type "${NTPCLIENT_CMD}" >/dev/null 2>&1 ; then
|
|
||||||
eerror "Please edit /etc/conf.d/ntp-client"
|
|
||||||
eerror "Unable to locate the client command ${NTPCLIENT_CMD}!"
|
|
||||||
return 1
|
|
||||||
fi
|
|
||||||
if [ -z "${NTPCLIENT_OPTS}" ] ; then
|
|
||||||
eerror "Please edit /etc/conf.d/ntp-client"
|
|
||||||
eerror "I need to know what server/options to use!"
|
|
||||||
return 1
|
|
||||||
fi
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
start() {
|
|
||||||
checkconfig || return $?
|
|
||||||
|
|
||||||
ebegin "Setting clock via the NTP client '${NTPCLIENT_CMD}'"
|
|
||||||
"${NTPCLIENT_CMD}" ${NTPCLIENT_OPTS}
|
|
||||||
eend $? "Failed to set clock"
|
|
||||||
}
|
|
@ -1,6 +0,0 @@
|
|||||||
# /etc/conf.d/ntpd
|
|
||||||
|
|
||||||
# Options to pass to the ntpd process
|
|
||||||
# Most people should leave this line alone ...
|
|
||||||
# however, if you know what you're doing, feel free to tweak
|
|
||||||
NTPD_OPTS="-g -u ntp:ntp"
|
|
@ -1,36 +0,0 @@
|
|||||||
#!/sbin/runscript
|
|
||||||
# Copyright 1999-2004 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/files/ntpd.rc,v 1.24 2010/07/18 21:53:24 vapier Exp $
|
|
||||||
|
|
||||||
depend() {
|
|
||||||
use net dns logger
|
|
||||||
after ntp-client
|
|
||||||
}
|
|
||||||
|
|
||||||
checkconfig() {
|
|
||||||
if [ ! -f /etc/ntp.conf ] ; then
|
|
||||||
eerror "Please create /etc/ntp.conf"
|
|
||||||
eerror "Sample conf: /usr/share/ntp/ntp.conf"
|
|
||||||
return 1
|
|
||||||
fi
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
start() {
|
|
||||||
checkconfig || return $?
|
|
||||||
|
|
||||||
ebegin "Starting ntpd"
|
|
||||||
start-stop-daemon --start --exec /usr/sbin/ntpd \
|
|
||||||
--pidfile /var/run/ntpd.pid \
|
|
||||||
-- -p /var/run/ntpd.pid ${NTPD_OPTS}
|
|
||||||
eend $? "Failed to start ntpd"
|
|
||||||
}
|
|
||||||
|
|
||||||
stop() {
|
|
||||||
ebegin "Stopping ntpd"
|
|
||||||
start-stop-daemon --stop \
|
|
||||||
--pidfile /var/run/ntpd.pid \
|
|
||||||
--exec /usr/sbin/ntpd
|
|
||||||
eend $? "Failed to stop ntpd"
|
|
||||||
}
|
|
@ -6,6 +6,7 @@ Wants=time-sync.target
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
|
Environment="SERVER=0.pool.ntp.org 1.pool.ntp.org 2.pool.ntp.org 3.pool.ntp.org"
|
||||||
ExecStart=/usr/sbin/ntpdate -b -u $SERVER
|
ExecStart=/usr/sbin/ntpdate -b -u $SERVER
|
||||||
RemainAfterExit=yes
|
RemainAfterExit=yes
|
||||||
|
|
||||||
|
@ -1,2 +0,0 @@
|
|||||||
[Service]
|
|
||||||
Environment="SERVER=0.gentoo.pool.ntp.org 1.gentoo.pool.ntp.org 2.gentoo.pool.ntp.org 3.gentoo.pool.ntp.org"
|
|
@ -1,4 +0,0 @@
|
|||||||
# /etc/conf.d/sntp
|
|
||||||
|
|
||||||
# Options to pass to sntp
|
|
||||||
SNTP_OPTS="-s 0.gentoo.pool.ntp.org 1.gentoo.pool.ntp.org 2.gentoo.pool.ntp.org 3.gentoo.pool.ntp.org"
|
|
@ -1,27 +0,0 @@
|
|||||||
#!/sbin/runscript
|
|
||||||
# Copyright 1999-2013 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/files/sntp.rc,v 1.1 2013/07/06 07:15:02 pacho Exp $
|
|
||||||
|
|
||||||
depend() {
|
|
||||||
before cron portmap
|
|
||||||
after net
|
|
||||||
use dns logger
|
|
||||||
}
|
|
||||||
|
|
||||||
checkconfig() {
|
|
||||||
if [ -z "${SNTP_OPTS}" ] ; then
|
|
||||||
eerror "Please edit /etc/conf.d/sntp"
|
|
||||||
eerror "I need to know what server/options to use!"
|
|
||||||
return 1
|
|
||||||
fi
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
start() {
|
|
||||||
checkconfig || return $?
|
|
||||||
|
|
||||||
ebegin "Setting clock via SNTP"
|
|
||||||
/usr/bin/sntp ${SNTP_OPTS}
|
|
||||||
eend $? "Failed to set clock"
|
|
||||||
}
|
|
@ -1,13 +1,13 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Set time via SNTP
|
Description=Set time via SNTP
|
||||||
After=network.target NetworkManager-wait-online.service nss-lookup.target
|
After=network.target nss-lookup.target
|
||||||
Before=time-sync.target
|
Before=time-sync.target
|
||||||
Wants=time-sync.target
|
Wants=time-sync.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
EnvironmentFile=/etc/conf.d/sntp
|
Environment="SERVER=0.pool.ntp.org 1.pool.ntp.org 2.pool.ntp.org 3.pool.ntp.org"
|
||||||
ExecStart=/usr/bin/sntp $SNTP_OPTS
|
ExecStart=/usr/bin/sntp -s $SERVER
|
||||||
RemainAfterExit=yes
|
RemainAfterExit=yes
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
@ -1,2 +0,0 @@
|
|||||||
[Service]
|
|
||||||
Environment="SERVER=0.gentoo.pool.ntp.org 1.gentoo.pool.ntp.org 2.gentoo.pool.ntp.org 3.gentoo.pool.ntp.org"
|
|
@ -85,19 +85,6 @@ src_install() {
|
|||||||
-exec rm -r {} \;
|
-exec rm -r {} \;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
insinto /etc
|
|
||||||
doins "${FILESDIR}"/ntp.conf
|
|
||||||
newinitd "${FILESDIR}"/ntpd.rc ntpd
|
|
||||||
newconfd "${FILESDIR}"/ntpd.confd ntpd
|
|
||||||
newinitd "${FILESDIR}"/ntp-client.rc ntp-client
|
|
||||||
newconfd "${FILESDIR}"/ntp-client.confd ntp-client
|
|
||||||
newinitd "${FILESDIR}"/sntp.rc sntp
|
|
||||||
newconfd "${FILESDIR}"/sntp.confd sntp
|
|
||||||
if ! use caps ; then
|
|
||||||
sed -i "s|-u ntp:ntp||" "${ED}"/etc/conf.d/ntpd || die
|
|
||||||
fi
|
|
||||||
sed -i "s:/usr/bin:/usr/sbin:" "${ED}"/etc/init.d/ntpd || die
|
|
||||||
|
|
||||||
keepdir /var/lib/ntp
|
keepdir /var/lib/ntp
|
||||||
use prefix || fowners ntp:ntp /var/lib/ntp
|
use prefix || fowners ntp:ntp /var/lib/ntp
|
||||||
|
|
||||||
@ -105,33 +92,12 @@ src_install() {
|
|||||||
cd "${ED}"
|
cd "${ED}"
|
||||||
rm usr/sbin/ntpd || die
|
rm usr/sbin/ntpd || die
|
||||||
rm -r var/lib
|
rm -r var/lib
|
||||||
rm etc/{conf,init}.d/ntpd
|
|
||||||
rm usr/share/man/*/ntpd.8 || die
|
rm usr/share/man/*/ntpd.8 || die
|
||||||
else
|
else
|
||||||
systemd_newunit "${FILESDIR}"/ntpd.service-r1 ntpd.service
|
systemd_dounit "${FILESDIR}"/ntpd.service
|
||||||
systemd_enable_ntpunit 60-ntpd ntpd.service
|
systemd_enable_ntpunit 60-ntpd ntpd.service
|
||||||
fi
|
fi
|
||||||
|
|
||||||
systemd_dounit "${FILESDIR}"/ntpdate.service
|
systemd_dounit "${FILESDIR}"/ntpdate.service
|
||||||
systemd_install_serviced "${FILESDIR}"/ntpdate.service.conf
|
|
||||||
systemd_dounit "${FILESDIR}"/sntp.service
|
systemd_dounit "${FILESDIR}"/sntp.service
|
||||||
systemd_install_serviced "${FILESDIR}"/sntp.service.conf
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
ewarn "You can find an example /etc/ntp.conf in /usr/share/ntp/"
|
|
||||||
ewarn "Review /etc/ntp.conf to setup server info."
|
|
||||||
ewarn "Review /etc/conf.d/ntpd to setup init.d info."
|
|
||||||
echo
|
|
||||||
elog "The way ntp sets and maintains your system time has changed."
|
|
||||||
elog "Now you can use /etc/init.d/ntp-client to set your time at"
|
|
||||||
elog "boot while you can use /etc/init.d/ntpd to maintain your time"
|
|
||||||
elog "while your machine runs"
|
|
||||||
if grep -qs '^[^#].*notrust' "${EROOT}"/etc/ntp.conf ; then
|
|
||||||
echo
|
|
||||||
eerror "The notrust option was found in your /etc/ntp.conf!"
|
|
||||||
ewarn "If your ntpd starts sending out weird responses,"
|
|
||||||
ewarn "then make sure you have keys properly setup and see"
|
|
||||||
ewarn "http://bugs.gentoo.org/41827"
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user