View previous topic :: View next topic |
Author |
Message |
peka l33t
Joined: 16 Mar 2005 Posts: 773 Location: Płońsk, Poland
|
Posted: Wed Mar 29, 2006 7:57 pm Post subject: [SOLVED] Sync system clock with Internet clock |
|
|
Is there a way to sync my system clock in Gnome with Internet clock?
I mean other than installing ntp with all its' dependencies like apache and php and tons of other stuff I don't need nor want? _________________ p3k4
Seize the time, Meribor. Live now; make now always the most precious time. Now will never come again...
Jean-Luc Picard, Star Trek TNG - The Inner Light
Last edited by peka on Fri Mar 31, 2006 6:27 am; edited 1 time in total |
|
Back to top |
|
|
niskel Guru
Joined: 17 Nov 2004 Posts: 457 Location: Fredericton, NB, Canada
|
Posted: Wed Mar 29, 2006 8:01 pm Post subject: |
|
|
NTP doesn't depend on apache, PHP and such. If it does try to install them, you should check your USE flags. I noticed that the apache2 USE flag has been made default on some profiles lately, this might be what's pulling in apache. |
|
Back to top |
|
|
peka l33t
Joined: 16 Mar 2005 Posts: 773 Location: Płońsk, Poland
|
Posted: Wed Mar 29, 2006 9:09 pm Post subject: |
|
|
Thank you,
This helped a lot!
Before:
Code: | genio linux # emerge -pvt ntp
These are the packages that I would merge, in reverse order:
Calculating dependencies ...done!
[ebuild N ] net-misc/ntp-4.2.0.20040617-r3 -debug -ipv6 -logrotate -nodroproot -openntpd -parse-clock s (-selinux) +ssl 0 kB
[ebuild N ] sys-libs/libcap-1.10-r5 -nocxx +python -static 0 kB
[ebuild N ] dev-lang/swig-1.3.21 +X -doc -guile +java +perl +php +python -ruby -tcltk 0 kB
[ebuild N ] dev-lang/php-5.1.2 -adabas -apache +apache2 -bcmath -berkdb -birdstep +bzip2 -calendar -cdb -cgi -cjk +cli +crypt +ctype +curl -curlwrappers -db2 -dbase -dbmaker -debug -discard-path -doc -emp ress -empress-bcs -esoob +exif +fastbuild -fdftk -filepro -firebird -flatfile +force-cgi-redirect -frontba se +ftp +gd -gd-external +gdbm -gmp -hardenedphp -hash -hyperwave-api -iconv -imap -informix -inifile -int erbase -iodbc -ipv6 -java-external -kerberos -ldap -libedit -mcve +memlimit -mhash -ming -msql -mssql -mys ql -mysqli +ncurses +nls -oci8 -oci8-instant-client -odbc -pcntl +pcre -pdo -pdo-external -pic +posix -pos tgres -qdbm +readline -recode -reflection -sapdb -sasl +session -sharedext -sharedmem +simplexml -snmp +so ap +sockets -solid +spell +spl -sqlite +ssl -sybase -sybase-ct -sysvipc -threads -tidy +tokenizer +truetyp e -vm-goto -vm-switch -wddx +xml -xmlreader -xmlrpc -xmlwriter -xpm +xsl -yaz -zip +zlib 0 kB
[ebuild N ] net-www/apache-2.0.55-r1 +apache2 -debug -doc -ldap -mpm-leader -mpm-peruser -mpm-pre fork -mpm-threadpool -mpm-worker -no-suexec (-selinux) +ssl -static-modules -threads 0 kB
[ebuild N ] dev-libs/apr-util-0.9.7 -berkdb +gdbm -ldap 0 kB
[ebuild N ] app-misc/mime-types-5 0 kB
[ebuild N ] dev-libs/apr-0.9.7 -ipv6 -urandom 0 kB
[ebuild N ] net-www/gentoo-webroot-default-0.2 -no-htdocs 0 kB
[ebuild N ] media-libs/t1lib-5.0.2 +X -doc 0 kB
[ebuild N ] dev-libs/libmcrypt-2.5.7 0 kB
[ebuild N ] app-admin/php-toolkit-1.0-r2 0 kB |
Contents of /usr/portage/profiles/default-linux/x86/2006.0/make.defaults
Quote: | # Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/profiles/default-linux/x86/2006.0/make.defaults,v 1.7 2006/03/14 14:49:22 wolf31o2 Exp $
# This is currently commented so that the stage1 tarball can also be used to
# build no-nptl systems.
#STAGE1_USE="nptl"
USE="alsa apache2 apm arts avi cups eds emboss encode esd foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2 imlib jpeg kde libg++ libwww mad mikmod motif mp3 mpeg nptl ogg opengl oss pdflib png qt quicktime sdl spell truetype udev vorbis X xml xmms xv"
# These are added to make dev-lang/php behave properly. See bug #120088
USE="${USE} apache2 cli ctype dba expat fastbuild force-cgi-redirect ftp gd memlimit nls pcre posix session simplexml soap sockets spl ssl tokenizer truetype xml xsl zlib" |
Contents of my /etc/portage/package.use
Quote: | ## 2006.03.22 :
media-sound/alsa-driver oss
## 2006.03.23
media-gfx/splashutils kdgraphics |
USE flags from my /etc/make.conf
Quote: |
USE=" a52 aac -arts atm -berkdb bootsplash cairo dv dvd dvdr dvdread \
-emboss evolution ffmpeg firefox glibc-omitfp glx gnome-print \
gnomecanvas hddtemp -ipv6 jpeg2k -kde lame lm_sensors mime mjpeg \
mmx moznocompose moznoirc moznomail moznoroaming no-old-linux \
nptlonly nvidia -oss pdf pop ppds -qt real sensord sse \
sse2 symlink unicode userlocales vcd vidix win32codecs -xml2 \
xscreensaver xvid" |
I got rid of php USE flag and now it looks liek this:
Code: | genio linux # emerge -pvt ntp
These are the packages that I would merge, in reverse order:
Calculating dependencies ...done!
[ebuild N ] net-misc/ntp-4.2.0.20040617-r3 -debug -ipv6 -logrotate -nodroproot -openntpd -parse-clocks (-selinux) +ssl 0 kB
[ebuild N ] sys-libs/libcap-1.10-r5 -nocxx +python -static 0 kB
[ebuild N ] dev-lang/swig-1.3.21 +X -doc -guile +java +perl -php +python -ruby -tcltk 0 kB
|
I'm wondering about swing which is being pulled by python. As you can see it's not in my USE flags, nor it is in defaults.
Is it really needed by ntp? It dissapears when I add -python flag. _________________ p3k4
Seize the time, Meribor. Live now; make now always the most precious time. Now will never come again...
Jean-Luc Picard, Star Trek TNG - The Inner Light |
|
Back to top |
|
|
niskel Guru
Joined: 17 Nov 2004 Posts: 457 Location: Fredericton, NB, Canada
|
Posted: Wed Mar 29, 2006 9:37 pm Post subject: |
|
|
If it is needed by ntp, the ebuild will complain when it tries to install. Otherwise clear sailing |
|
Back to top |
|
|
peka l33t
Joined: 16 Mar 2005 Posts: 773 Location: Płońsk, Poland
|
Posted: Fri Mar 31, 2006 6:27 am Post subject: |
|
|
Thanks!
I've emerged ntp after clearing my USE flags.
Seems to OK now _________________ p3k4
Seize the time, Meribor. Live now; make now always the most precious time. Now will never come again...
Jean-Luc Picard, Star Trek TNG - The Inner Light |
|
Back to top |
|
|
|