Skip to content

fatman2021/sun

 
 

Repository files navigation

https://travis-ci.org/dslackw/sun.svg?branch=master https://landscape.io/github/dslackw/sun/master/landscape.png

SUN (Slackware Update Notifier) is a tray notification applet for informing about package updates in Slackware and CLI tool for monitoring upgraded packages.

https://raw.githubusercontent.com/dslackw/images/master/sun/sun.png

Actually read the two dates of ChangeLog.txt files one the server and a local by counting how many packages have been upgraded, rebuilt or added.

$ tar xvf sun-<version>.tar.gz
$ cd sun-<version>
$ ./install.sh

or

$ pip install sun --upgrade
Add sun in your windows manager session startup.

As for xfce:
Settings Manager --> Session and Startup --> Application Autostart --> +Add

Name: sun
Description: Slackware Update Notifier
Command: /usr/bin/sun start --gtk
[Ok]
$ sun help
SUN (Slackware Update Notifier) - Version: 1.1.0

Usage: sun [OPTION]

Optional arguments:
  help     display this help and exit
  start    start sun daemon
  stop     stop sun daemon
  restart  restart sun daemon
  check    check for software updates
  status   sun daemon status
  info     os information

$ sun start
Starting SUN daemon:  /usr/bin/sun_daemon

$ sun stop
Stoping SUN daemon:  /usr/bin/sun_daemon

$ sun status
SUN is not running

$ sun check
3 software updates are available

samba-4.1.17-x86_64-1_slack14.1.txz:  Upgraded.
mozilla-firefox-31.5.0esr-x86_64-1_slack14.1.txz:  Upgraded.
mozilla-thunderbird-31.5.0-x86_64-1_slack14.1.txz:  Upgraded.
/etc/sun/sun.conf
    General configuration of sun

/etc/sun/mirrors
    List of Slackware ChangeLog.txt Mirrors

/etc/rc.d/rc.sun
    Runtime configuration file
https://raw.githubusercontent.com/dslackw/images/master/sun/gtk_daemon.png https://raw.githubusercontent.com/dslackw/images/master/sun/xfce_screenshot.png https://raw.githubusercontent.com/dslackw/images/master/sun/kde_screenshot.png https://raw.githubusercontent.com/dslackw/images/master/sun/check_updates.png

If you feel satisfied with this project and want to thank me go to Slackware and make a donation or visit the store.

  • Copyright © Dimitris Zlatanidis
  • Slackware® is a Registered Trademark of Patrick Volkerding.
  • Linux is a Registered Trademark of Linus Torvalds.

Packages

No packages published

Languages

  • Python 80.5%
  • Shell 19.5%