aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md3
-rw-r--r--about.html1
-rw-r--r--debian/changelog6
-rw-r--r--debian/control2
-rw-r--r--makefile3
-rw-r--r--my-x200-suspend.sh2
-rw-r--r--my-x200.sh12
-rw-r--r--my-x200_0.6-2.debian.tar.xzbin1436 -> 0 bytes
-rw-r--r--my-x200_0.6-2.dsc41
-rw-r--r--my-x200_0.6-2_amd64.debbin4880 -> 0 bytes
-rw-r--r--my-x200_0.6.orig.tar.gzbin3359469 -> 0 bytes
-rw-r--r--my-x200_0.7-1.debian.tar.xzbin0 -> 1492 bytes
-rw-r--r--my-x200_0.7-1.dsc41
-rw-r--r--my-x200_0.7-1_amd64.debbin0 -> 5020 bytes
14 files changed, 65 insertions, 46 deletions
diff --git a/README.md b/README.md
index 9920587..c64048a 100644
--- a/README.md
+++ b/README.md
@@ -161,7 +161,8 @@ wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
161Do Not Use 161Do Not Use
162---------- 162----------
1631. NetworkManager 1631. NetworkManager
1642. Avahi 1642. acpi-support (but acpi-support-base is fine and needed)
1653. Avahi
165 166
166To disable `avahi`, do (as root): 167To disable `avahi`, do (as root):
167 168
diff --git a/about.html b/about.html
index 074f5da..e7244d5 100644
--- a/about.html
+++ b/about.html
@@ -94,6 +94,7 @@ wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf</code></pre>
94<h2 id="do-not-use">Do Not Use</h2> 94<h2 id="do-not-use">Do Not Use</h2>
95<ol type="1"> 95<ol type="1">
96<li>NetworkManager</li> 96<li>NetworkManager</li>
97<li>acpi-support (but acpi-support-base is fine and needed)</li>
97<li>Avahi</li> 98<li>Avahi</li>
98</ol> 99</ol>
99<p>To disable <code>avahi</code>, do (as root):</p> 100<p>To disable <code>avahi</code>, do (as root):</p>
diff --git a/debian/changelog b/debian/changelog
index fe9e689..bcd2ac1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
1my-x200 (0.6-2) UNRELEASED; urgency=medium 1my-x200 (0.7-1) UNRELEASED; urgency=medium
2 2
3 * Initial release. 3 * Initial release.
4 * Removed remnant lines left of openrc-run in initd file 4 * Removed remnant lines left of openrc-run in initd file
5 * Added elogind as dependency
6 * New acpi event: button/suspend
5 7
6 -- Robert Alessi <alessi@robertalessi.net> Sun, 07 Feb 2021 15:47:20 +0100 8 -- Robert Alessi <alessi@robertalessi.net> Sat, 13 Feb 2021 09:47:12 +0100
diff --git a/debian/control b/debian/control
index b3cc4bd..0868d57 100644
--- a/debian/control
+++ b/debian/control
@@ -9,7 +9,7 @@ Homepage: http://git.robertalessi.net/my-x200
9Package: my-x200 9Package: my-x200
10Architecture: any 10Architecture: any
11Depends: ${shlibs:Depends}, ${misc:Depends}, lsb-base, intel-gpu-tools, rsync, 11Depends: ${shlibs:Depends}, ${misc:Depends}, lsb-base, intel-gpu-tools, rsync,
12 macchanger, rfkill, acpi-support-base 12 elogind, macchanger, rfkill, acpi-support-base
13Recommends: rsnapshot 13Recommends: rsnapshot
14Description: Service dedicated to Thinkpads X200 14Description: Service dedicated to Thinkpads X200
15 my-x200 is a simple service primarily designed to make the 15 my-x200 is a simple service primarily designed to make the
diff --git a/makefile b/makefile
index 68dd4a8..c61238d 100644
--- a/makefile
+++ b/makefile
@@ -1,7 +1,7 @@
1pkgname = my-x200 1pkgname = my-x200
2exts := md html confd initd sh deb dsc orig.tar.gz debian.tar.xz 2exts := md html confd initd sh deb dsc orig.tar.gz debian.tar.xz
3findopts := $(foreach ext,$(exts),-or -iname "*.$(ext)") 3findopts := $(foreach ext,$(exts),-or -iname "*.$(ext)")
4pkgver := 0.6 4pkgver := 0.7
5 5
6all: install 6all: install
7 7
@@ -35,6 +35,7 @@ install:
35 install -Dm644 my-x200.confd $(DESTDIR)etc/default/my-x200 35 install -Dm644 my-x200.confd $(DESTDIR)etc/default/my-x200
36 install -Dm644 my-x200-lid.sh $(DESTDIR)etc/acpi/events/my-x200-lid 36 install -Dm644 my-x200-lid.sh $(DESTDIR)etc/acpi/events/my-x200-lid
37 install -Dm644 my-x200-sleep.sh $(DESTDIR)etc/acpi/events/my-x200-sleep 37 install -Dm644 my-x200-sleep.sh $(DESTDIR)etc/acpi/events/my-x200-sleep
38 install -Dm644 my-x200-suspend.sh $(DESTDIR)etc/acpi/events/my-x200-suspend
38 install -Dm755 my-x200.sh $(DESTDIR)etc/acpi/my-x200.sh 39 install -Dm755 my-x200.sh $(DESTDIR)etc/acpi/my-x200.sh
39 40
40uninstall: 41uninstall:
diff --git a/my-x200-suspend.sh b/my-x200-suspend.sh
new file mode 100644
index 0000000..c46d33c
--- /dev/null
+++ b/my-x200-suspend.sh
@@ -0,0 +1,2 @@
1event=button/suspend.*
2action=/etc/acpi/my-x200.sh %e
diff --git a/my-x200.sh b/my-x200.sh
index a34d9b0..1cd3b06 100644
--- a/my-x200.sh
+++ b/my-x200.sh
@@ -14,6 +14,18 @@ case "$1" in
14 ;; 14 ;;
15 esac 15 esac
16 ;; 16 ;;
17 button/suspend)
18 case "$2" in
19 SUSP)
20 logger 'SuspendButton pressed'
21 /bin/loginctl sleep
22 rc-service my-x200 restart
23 ;;
24 *)
25 logger "ACPI action undefined: $2"
26 ;;
27 esac
28 ;;
17 button/lid) 29 button/lid)
18 case "$3" in 30 case "$3" in
19 close) 31 close)
diff --git a/my-x200_0.6-2.debian.tar.xz b/my-x200_0.6-2.debian.tar.xz
deleted file mode 100644
index 9a666d5..0000000
--- a/my-x200_0.6-2.debian.tar.xz
+++ /dev/null
Binary files differ
diff --git a/my-x200_0.6-2.dsc b/my-x200_0.6-2.dsc
deleted file mode 100644
index 2921f39..0000000
--- a/my-x200_0.6-2.dsc
+++ /dev/null
@@ -1,41 +0,0 @@
1-----BEGIN PGP SIGNED MESSAGE-----
2Hash: SHA256
3
4Format: 3.0 (quilt)
5Source: my-x200
6Binary: my-x200
7Architecture: any
8Version: 0.6-2
9Maintainer: Robert Alessi <alessi@robertalessi.net>
10Homepage: http://git.robertalessi.net/my-x200
11Standards-Version: 4.3.0
12Build-Depends: debhelper (>= 10)
13Package-List:
14 my-x200 deb misc optional arch=any
15Checksums-Sha1:
16 46dd490aa2c55c30780c8ff941ddc293c2ab5962 3359469 my-x200_0.6.orig.tar.gz
17 fc77b94ca453b12a16eb2e8e5dd80387fc5f3dfe 1436 my-x200_0.6-2.debian.tar.xz
18Checksums-Sha256:
19 31ea7ae4ec7df28ce5a5ce498be6a721590b0b26f315ab6261dba7145fa8ce77 3359469 my-x200_0.6.orig.tar.gz
20 38371a1002c278d147ec5a3383c201ab15178cd749f5c7ab49df889d6c63a78a 1436 my-x200_0.6-2.debian.tar.xz
21Files:
22 2757c40eefe786cc922d0f82a25dca32 3359469 my-x200_0.6.orig.tar.gz
23 08e2552fbd769e9d9aec4bafd5a3ba2a 1436 my-x200_0.6-2.debian.tar.xz
24
25-----BEGIN PGP SIGNATURE-----
26
27iQJMBAEBCAA2FiEERaXhpjEUeDwRCTLxF3PpJICFyMcFAmAmqdkYHGFsZXNzaUBy
28b2JlcnRhbGVzc2kubmV0AAoJEBdz6SSAhcjHIZoP/iAXvThBK2MBWqbLh0jevaFw
29f87Q9v9Pj/N7gnv3JSkKkQRyCtIBfMI9LmtaUgZ/Fk4YG9Rp70nwKHx9g+shiP1h
30MIpFaryHK3qBGwkX8AmIYmyIJrwqNAa819SXce6C0oe0y4Y2sU2rcB1XZwVU12z1
313pSFXsbGm/ycYZozRV2HeIDVvJ0287jqjg1T8NSgFzrqICzgI8srh4MSeT43Ia70
32jyAYMLTSV6JsFBUknmBsriKMwzHbmjElUJd1l1NdJgYD4U0qAzv8qnQn9rLCrB65
33JtYTvnWRY9CWg3KmJrhA4hdueJsaj/zA5TF3QUU7VEHkkBHlOwFtvx3hHoW60Dy/
34Rk6p6915NgfOei85JvsdV9m2QAInpDx+8nf7s5eMf4xAvk+7qu6a04/oU65ShTDS
35IVKbXWyydS30wEc2C2u49a8VBJday0yx88H0Lc4EocAnD4Ehrr2oUJ56FaPZYPCg
36pi6F9iM7JxjjrKwRLBSG/PFofX01sibtfK5Fg3bWVerNr3uvEgK5D7C6qKaAUTcx
37ILvl0iHBAJN7o/BjyySbfGJ5VcGgwx2SqetVsdPdEchCjs6N0l9eCW8CNJkPkoJY
38t2be3NirpAZzuMLA2l6cGOTsgQBg1Ym1JKQpxszmWHC/axonVddf14QQcLKxXdRE
39Yq616UM8aTNyFqa1MEjV
40=Iegc
41-----END PGP SIGNATURE-----
diff --git a/my-x200_0.6-2_amd64.deb b/my-x200_0.6-2_amd64.deb
deleted file mode 100644
index 1c70d70..0000000
--- a/my-x200_0.6-2_amd64.deb
+++ /dev/null
Binary files differ
diff --git a/my-x200_0.6.orig.tar.gz b/my-x200_0.6.orig.tar.gz
deleted file mode 100644
index 4bb3791..0000000
--- a/my-x200_0.6.orig.tar.gz
+++ /dev/null
Binary files differ
diff --git a/my-x200_0.7-1.debian.tar.xz b/my-x200_0.7-1.debian.tar.xz
new file mode 100644
index 0000000..cd8f230
--- /dev/null
+++ b/my-x200_0.7-1.debian.tar.xz
Binary files differ
diff --git a/my-x200_0.7-1.dsc b/my-x200_0.7-1.dsc
new file mode 100644
index 0000000..244e517
--- /dev/null
+++ b/my-x200_0.7-1.dsc
@@ -0,0 +1,41 @@
1-----BEGIN PGP SIGNED MESSAGE-----
2Hash: SHA256
3
4Format: 3.0 (quilt)
5Source: my-x200
6Binary: my-x200
7Architecture: any
8Version: 0.7-1
9Maintainer: Robert Alessi <alessi@robertalessi.net>
10Homepage: http://git.robertalessi.net/my-x200
11Standards-Version: 4.3.0
12Build-Depends: debhelper (>= 10)
13Package-List:
14 my-x200 deb misc optional arch=any
15Checksums-Sha1:
16 c981758aeff114e1cf48140e4674ea9fe4e55438 28751153 my-x200_0.7.orig.tar.gz
17 9fd716305efccafdd42b335eb606b38e5f323297 1492 my-x200_0.7-1.debian.tar.xz
18Checksums-Sha256:
19 6bbfd19d54af401baa8094625de41c29341b352776b6b0647126af3f70ead86c 28751153 my-x200_0.7.orig.tar.gz
20 f587e5a8cfffa24e1845bc5a0ed5d0eadc4e498d08fe91fb740805bd03fb0644 1492 my-x200_0.7-1.debian.tar.xz
21Files:
22 94e1a305a7b1c08eac2b222d5a10a9ba 28751153 my-x200_0.7.orig.tar.gz
23 d7b0af5966e6f42e0162288e8804c169 1492 my-x200_0.7-1.debian.tar.xz
24
25-----BEGIN PGP SIGNATURE-----
26
27iQJMBAEBCAA2FiEERaXhpjEUeDwRCTLxF3PpJICFyMcFAmAnlTcYHGFsZXNzaUBy
28b2JlcnRhbGVzc2kubmV0AAoJEBdz6SSAhcjHiKEQAIjRIQTDTZe06kwQVcA1OZtp
29xWLE2vfEOXBaov2G/EMTuqnSfyYeBNE0cPnP57R6TwkuTtgAurMqf60WFyyaMhUs
30OmLS85eb4XrZyhG48+9rI3Fcw/951Pwncpa93EDNJVqGeLIM+2MTmY6xwrHlHy0A
31OknvKc2IQXNRDF2uuhHVSlKxTIsUXonJ429ssIgcGQUtuNlnVWvaMQT5SuHgvs15
32EHcI6UHrbrkLesHa7tgk/oG33sLzW6oSYasuoNoL37nRfTCDaDHtUpwvzpVAK6Ub
33ZoYXed2BvH3WXsb0NMSwOxHdNu2/N6AQofBA9zep/LjVhVUXAlC6DK473KHbzt41
34uuyJ2vceK9zoDBneKYY4xZHYXTIdvFrdk1JAcvvXGiaAfTrEsfWnm+hy9u228P8/
35/TJvHLCWBcrGmQ1DynYEDA7Xd7FbS6aj/ey5m++WnVCKC2xXWxI3nVefX4op/S5C
36qIqx80E3VKpIM4KVE3E81Nc/5thCgmc85jnawzhY15jXpjj3BvNQnHvwjH9WqtB8
37HZAmgnMFJv0y8NrI2oz8tfMup7Fped06V0Tzrjn7wer1NVgr9gyqjrFM31qV2rBk
38HkJiwSI00Qbmj8dMPk+lOC9P6VcOXCwwoyByPVkZjaCBuvRMxp65anVkqKdANM4D
39md9wiZBL+LYqapqnJvx1
40=7rEE
41-----END PGP SIGNATURE-----
diff --git a/my-x200_0.7-1_amd64.deb b/my-x200_0.7-1_amd64.deb
new file mode 100644
index 0000000..ff8186f
--- /dev/null
+++ b/my-x200_0.7-1_amd64.deb
Binary files differ