Skip to content

Commit

Permalink
Update xentasystem (8.3.3)
Browse files Browse the repository at this point in the history
  • Loading branch information
dindinG41TR3 committed Nov 12, 2017
1 parent 740c330 commit e8e9d3f
Show file tree
Hide file tree
Showing 13 changed files with 1,240 additions and 0 deletions.
773 changes: 773 additions & 0 deletions debian/changelog

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions debian/compat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
9
21 changes: 21 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
Source: xentasystem
Section: admin
Priority: optional
Maintainer: Dindin Hernawan (Xenta OS) <[email protected]>
Build-Depends: debhelper (>= 9)
Standards-Version: 3.9.7
Homepage: https://github.com/xentaos/xentasystem
Vcs-Browser: https://github.com/xentaos/xentasystem.git

Package: xentasystem
Architecture: all
Depends: python3 (>= 3.3),
perl,
apt,
aptitude,
gist,
zenity,
${misc:Depends}
Description: Paket Base Sistem Xenta OS berisi init sistemd.
Digunakan oleh desktop dan alat Xenta OS lainnya untuk dikumpul
informasi dan proses tugas sistem yang umum.
45 changes: 45 additions & 0 deletions debian/copyright
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: xentasystem
Upstream-Contact: Dindin Hernawan <[email protected]>
Source: https://github.com/xentaos/xentasystem

Files: etc/*
lib/*
usr/*
Copyright: 2017, Dindin Hernawan
2008-2014, Clement Lefebvre
License: GPL-3+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU General
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".

Files: debian/*
Copyright: 2017 Dindin Hernawan
License: GPL-3+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU General
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
3 changes: 3 additions & 0 deletions debian/install
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
etc
usr
lib
52 changes: 52 additions & 0 deletions debian/postinst
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
#!/bin/sh
# postinst script
# see: dh_installdeb(1)

set -e

# summary of how this script can be called:
# * <postinst> `configure' <most-recently-configured-version>
# * <old-postinst> `abort-upgrade' <new version>
# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
# <new-version>
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
# <failed-install-package> <version> `removing'
# <conflicting-package> <version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
#

case "$1" in
configure)
update-rc.d xentasystem defaults
if which glib-compile-schemas >/dev/null 2>&1
then
glib-compile-schemas /usr/share/glib-2.0/schemas
fi
if which systemctl >/dev/null 2>&1
then
systemctl daemon-reload || true
systemctl reenable xentasystem.service || true
fi
/usr/lib/xentaos/xentasystem/xenta-adjust.py
;;
abort-upgrade|abort-remove|abort-deconfigure)

;;
triggered)
/usr/lib/xentaos/xentasystem/mint-adjust.py
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac

# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.

#DEBHELPER#

exit 0


38 changes: 38 additions & 0 deletions debian/postrm
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
#!/bin/sh
# postrm script
# see: dh_installdeb(1)

set -e

# summary of how this script can be called:
# * <prerm> `remove'
# * <old-prerm> `upgrade' <new-version>
# * <new-prerm> `failed-upgrade' <old-version>
# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
# * <deconfigured's-prerm> `deconfigure' `in-favour'
# <package-being-installed> <version> `removing'
# <conflicting-package> <version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package


case "$1" in
remove|upgrade|deconfigure)
update-rc.d -f xentasystem remove
;;
failed-upgrade)
;;
*)
echo "prerm called with unknown argument \`$1'" >&2
exit 1
;;
esac

# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.

#DEBHELPER#

exit 0


8 changes: 8 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/make -f

%:
dh ${@}

override_dh_usrlocal:
# remove this override when there aren't
# anymore files in /usr/local
1 change: 1 addition & 0 deletions debian/source/format
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.0 (native)
14 changes: 14 additions & 0 deletions debian/triggers
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
interest /etc/lsb-release
interest /etc/issue
interest /etc/issue.net
interest /usr/lib/firefox-addons/searchplugins/google.xml
interest /usr/bin/firefox
interest /usr/share/sounds/startup.wav
interest /usr/share/system-config-printer
interest /etc/xentaos/adjustments
interest /opt/firefox/firefox
interest /usr/lib/firefox
interest /usr/share/mdm/defaults.conf
interest /usr/share/applications/vino-preferences.desktop
interest /etc/xdg/autostart/user-dirs-update-gtk.desktop
interest /etc/xdg/autostart/vino-server.desktop
28 changes: 28 additions & 0 deletions etc/init.d/xentasystem
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#! /bin/sh

### BEGIN INIT INFO
# Provides: xentasystem
# Required-Start: $local_fs
# Required-Stop:
# Default-Start: 2 3 4 5
# Default-Stop:
### END INIT INFO

. /lib/lsb/init-functions

case $1 in
start|restart|force-reload)
/usr/lib/xentaos/xentasystem/xenta-adjust.py
;;
stop)
;;
status)
exit 0
;;
*)
echo "Usage: $0 {start|stop|status|restart|force-reload}" >&2
exit 3
;;
esac

exit 0
12 changes: 12 additions & 0 deletions lib/systemd/system/xentasystem.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[Unit]
Before=multi-user.target
After=local-fs.target

[Service]
Type=simple
Restart=no
KillMode=process
ExecStart=/etc/init.d/xentasystem start

[Install]
WantedBy=multi-user.target
Loading

0 comments on commit e8e9d3f

Please sign in to comment.