Commit Graph

34 Commits

Author SHA1 Message Date
Ludovic Rousseau 555c719c18 d/rules: install systemd-service file in /usr/lib/systemd/system
E: pcscd: systemd-service-in-odd-location lib/systemd/system/pcscd.service
N:
N:   The package ships a systemd service file in a location outside
N:   /usr/lib/systemd/system/
N:
N:   Systemd in Debian looks for unit files in /usr/lib/systemd/system/.
N:   /lib/systemd/system/ and /etc/systemd/system, but the first location is
N:   now standard in Debian.
N:
N:   System administrators have the possibility to override service files (or
N:   in newer systemd versions, parts of them) by placing files in
N:   /etc/systemd/system. The canonical location for service files in Debian
N:   is /usr/lib/systemd/system/.
N:
N:   Please refer to Bug#992465, Bug#987989,
N:   https://salsa.debian.org/debian/debhelper/-/commit/d70caa69c64b124e3611c96
2021-10-01 18:42:18 +02:00
Ludovic Rousseau 364e5b68b4 reformat 2021-10-01 18:35:46 +02:00
Ludovic Rousseau 12690654bb Use an approach that is more Debian friendly for excluding pcscd on i386 2020-01-26 12:38:31 +01:00
Topi Miettinen 786c9499a8
Use /run instead of /var/run
This avoids the warning from systemd:
systemd[1]: /lib/systemd/system/pcscd.socket:5: ListenStream= references a path below legacy directory /var/run/, updating /var/run/pcscd/pcscd.comm → /run/pcscd/pcscd.comm; please update the unit file accordingly.

Signed-off-by: Topi Miettinen <toiwoton@gmail.com>
2019-11-19 11:54:38 +02:00
Ludovic Rousseau 46e3766b95 d/control: remove libpcsclite1-dbg since it is now autogenerated 2018-10-12 14:01:32 +02:00
Ludovic Rousseau 370f791afa Update debian/compat from 9 to 10 2017-12-19 19:14:22 +01:00
Ludovic Rousseau 62620eb76d debian/rules: use "hardening=+all" to harden even more the binaries 2016-03-20 16:41:49 +00:00
Ludovic Rousseau 51a54079f9 Fix "run dh-autoreconf to update config.{sub, guess} and {libtool,
aclocal}.m4" by using dh-autoreconf (Closes: #748275)
2014-05-18 15:19:41 +00:00
Ludovic Rousseau 0c7334c911 debian/rules: build in parallel 2014-01-18 14:12:34 +00:00
Ludovic Rousseau e71f4f297c Fix "[PATCH] use dh-systemd" (Closes: #715257) 2013-08-01 04:40:01 +00:00
Ludovic Rousseau e84b74d010 Fix "Please include SONAME in debug package name" rename libpcsclite-dbg
in libpcsclite1-dbg (Closes: #698372)
2013-02-09 19:56:11 +00:00
Ludovic Rousseau 5cf19e73cd Add multi-arch support. (LP: #949912) 2012-03-30 12:35:17 +00:00
Ludovic Rousseau 6a97240dfc Fix "please package libpcsclite debug symbols" by providing a new
package libpcsclite-dbg (Closes: #655915)
2012-01-18 16:06:15 +00:00
Ludovic Rousseau c6d649988d Fix "Please enabled hardened build flags" by using $(shell
dpkg-buildflags --export=configure) as a ./configure argument
(Closes: #656273)
2012-01-18 15:57:44 +00:00
Ludovic Rousseau cd45894a2f debian/{control,rules}: do not Build-Depends: on systemd but use
--with-systemdsystemunitdir=/lib/systemd/system instead
Fix "Not building on !linux architectures" (Closes: #650251)
2011-11-29 22:20:43 +00:00
Ludovic Rousseau fa5147e8c1 debian/{rules,control}: special treatment for Hurd. Thanks to Pino Toscano
for the patch. Really Closes: #626201
2011-06-22 14:36:15 +00:00
Ludovic Rousseau 15bb1a7cb4 * debian/rules: do not install pcscd suid root
* debian/pcscd.lintian-overrides: removed since no more lintian warnings
2010-12-04 15:55:00 +00:00
Ludovic Rousseau b1bea06ee4 debian/rules: install pcscd suid root. This was broken in previous
packages.
2010-08-15 19:21:18 +00:00
Ludovic Rousseau bd5ec797fe * New upstream release
* debian/rules: use the minimal dh rules
2010-08-04 09:33:24 +00:00
Ludovic Rousseau fb06a3c4bc install an /etc/init.d/pcscd file again but with the daemon disabled.
This should ease upgrades and allow users to still start the daemon on
startup if needed.
2010-05-14 15:35:26 +00:00
Ludovic Rousseau 7e67aa4c19 do not start pcscd at startup any more. pcscd is started by libpcsclite.so
when needed. But install pcscd as setuid root now. You can restrict the
access rights of pcscd to limit its use to a particular group if needed.
2010-05-12 19:13:51 +00:00
Ludovic Rousseau 84bfb8611f debian/rules: add --sysconfdir=/etc 2010-05-12 18:54:43 +00:00
Ludovic Rousseau c29340f729 configure pcscd to use --enable-confdir=/etc/reader.conf.d instead of
/var/lib/pcscd since pcscd can now parse a directory and each file in it.
. Also remove update-reader.conf(8) script and related files since it is
now useless.
. pcscd.postinst now removes the unused files instead of calling
update-reader.conf. This script can be removed for squeeze+1
2010-05-12 13:57:18 +00:00
Ludovic Rousseau dffd11faef use debhelper compat V7 2010-02-03 10:57:54 +00:00
Ludovic Rousseau 19fc8785a3 debian/update-reader.conf: store the generated configuration file in
/var/lib/pcscd instead of /etc. This should really close #565896.
2010-02-03 10:35:45 +00:00
Ludovic Rousseau 5f6a072149 * Standards-Version: 3.7.3 -> 3.8.1
- add support of noopt and parallel options in DEB_BUILD_OPTIONS
 - resynch pcscd.init with /etc/init.d/skeleton
2009-03-29 15:06:14 +00:00
Ludovic Rousseau a5274e6123 debian/rules: use symbolic links instead of copy to update config.sub and
config.guess as suggested in /usr/share/doc/autotools-dev/README.Debian.gz
Tries to limit difference with the Ubuntu package
2009-03-29 14:22:35 +00:00
Ludovic Rousseau d712e7dac4 remove tag rule since we now use SVN instead of CVS 2008-10-16 14:34:16 +00:00
Ludovic Rousseau 8386c43596 add CFLAGS="${CFLAGS}" in ./configure arguments to pass the -D_REENTRANT
option
2008-10-16 14:29:24 +00:00
Ludovic Rousseau 1c6eee8928 use dh_lintian instead of a manual installation 2008-05-11 11:17:27 +00:00
Ludovic Rousseau ef372fcc00 Closes: #478615: "pcsc-lite: bashism in debian/rules" 2008-05-06 13:03:17 +00:00
Ludovic Rousseau ea9c4199fb do not set CFLAGS since dpkg-dev (>= 1.14.17) does it for me 2008-04-30 18:24:34 +00:00
Ludovic Rousseau 9fd415e112 add --sysconfdir=/etc to correctly generate path in pcscd(8) manpage 2008-03-25 14:10:36 +00:00
Ludovic Rousseau e7639692c6 move files 2008-03-02 20:16:58 +00:00