Bug#753108: Fwd: Re: Bug#753108: dh-systemd does not seem to properly handle services when using --name
Michael Biebl
biebl at debian.org
Sun Jun 29 12:49:31 BST 2014
Bah, this should have gone to
-------- Original-Nachricht --------
Betreff: Re: Bug#753108: dh-systemd does not seem to properly handle
services when using --name
Datum: Sun, 29 Jun 2014 12:31:22 +0200
Von: Michael Biebl <biebl at debian.org>
An: 753046 at bugs.debian.org, control at bugs.debian.org
Kopie (CC): Michael Meskes <meskes at debian.org>
severity 753046 important
thanks
Am 29.06.2014 12:09, schrieb Michael Biebl:
> Btw, I noticed that quotarpc is not enabled by default. Instead
> dh_systemd creates two sections for quota.service
>
> # ls debian/*.service
> debian/quota.quotarpc.service debian/quota.service
>
> # debian/rules
> dh_systemd_enable
> dh_systemd_enable --name=quotarpc.service
>
>
> The start section for quotarpc is completely missing.
>
> This might be a bug in dh_systemd in how --name= is handled.
The complete excerpt from debian/rules
binary-arch: build install
dh_testdir
dh_testroot
dh_install
...
dh_systemd_enable
dh_systemd_enable --name=quotarpc.service
dh_installinit --no-start
dh_installinit --name=quotarpc
dh_systemd_start --no-start
dh_systemd_start --name=quotarpc.service
The generated maintainer scripts code is attached
A build log with DH_VERBOSE=1 is attached as well.
dh_systemd_enable --name=quotarpc.service generates code for quota.service.
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
-------------- next part --------------
# Automatically added by dh_systemd_enable
# This will only remove masks created by d-s-h on package removal.
deb-systemd-helper unmask quota.service >/dev/null || true
# was-enabled defaults to true, so new installations run enable.
if deb-systemd-helper --quiet was-enabled quota.service; then
# Enables the unit on first installation, creates new
# symlinks on upgrades if the unit file has changed.
deb-systemd-helper enable quota.service >/dev/null || true
else
# Update the statefile to add new symlinks (if any), which need to be
# cleaned up on purge. Also remove old symlinks.
deb-systemd-helper update-state quota.service >/dev/null || true
fi
# End automatically added section
# Automatically added by dh_systemd_enable
# This will only remove masks created by d-s-h on package removal.
deb-systemd-helper unmask quota.service >/dev/null || true
# was-enabled defaults to true, so new installations run enable.
if deb-systemd-helper --quiet was-enabled quota.service; then
# Enables the unit on first installation, creates new
# symlinks on upgrades if the unit file has changed.
deb-systemd-helper enable quota.service >/dev/null || true
else
# Update the statefile to add new symlinks (if any), which need to be
# cleaned up on purge. Also remove old symlinks.
deb-systemd-helper update-state quota.service >/dev/null || true
fi
# End automatically added section
# Automatically added by dh_installinit
if [ -x "/etc/init.d/quota" ]; then
update-rc.d quota defaults >/dev/null || exit $?
fi
# End automatically added section
# Automatically added by dh_installinit
if [ -x "/etc/init.d/quotarpc" ]; then
update-rc.d quotarpc defaults >/dev/null
invoke-rc.d quotarpc start || exit $?
fi
# End automatically added section
# Automatically added by dh_systemd_enable
# This will only remove masks created by d-s-h on package removal.
deb-systemd-helper unmask quota.service >/dev/null || true
# was-enabled defaults to true, so new installations run enable.
if deb-systemd-helper --quiet was-enabled quota.service; then
# Enables the unit on first installation, creates new
# symlinks on upgrades if the unit file has changed.
deb-systemd-helper enable quota.service >/dev/null || true
else
# Update the statefile to add new symlinks (if any), which need to be
# cleaned up on purge. Also remove old symlinks.
deb-systemd-helper update-state quota.service >/dev/null || true
fi
# End automatically added section
# Automatically added by dh_systemd_enable
# This will only remove masks created by d-s-h on package removal.
deb-systemd-helper unmask quotarpc.service >/dev/null || true
# was-enabled defaults to true, so new installations run enable.
if deb-systemd-helper --quiet was-enabled quotarpc.service; then
# Enables the unit on first installation, creates new
# symlinks on upgrades if the unit file has changed.
deb-systemd-helper enable quotarpc.service >/dev/null || true
else
# Update the statefile to add new symlinks (if any), which need to be
# cleaned up on purge. Also remove old symlinks.
deb-systemd-helper update-state quotarpc.service >/dev/null || true
fi
# End automatically added section
-------------- next part --------------
# Automatically added by dh_installdebconf
if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
. /usr/share/debconf/confmodule
db_purge
fi
# End automatically added section
# Automatically added by dh_systemd_enable
if [ "$1" = "remove" ]; then
if [ -x "/usr/bin/deb-systemd-helper" ]; then
deb-systemd-helper mask quota.service >/dev/null
fi
fi
if [ "$1" = "purge" ]; then
if [ -x "/usr/bin/deb-systemd-helper" ]; then
deb-systemd-helper purge quota.service >/dev/null
deb-systemd-helper unmask quota.service >/dev/null
fi
fi
# End automatically added section
# Automatically added by dh_systemd_enable
if [ "$1" = "remove" ]; then
if [ -x "/usr/bin/deb-systemd-helper" ]; then
deb-systemd-helper mask quota.service >/dev/null
fi
fi
if [ "$1" = "purge" ]; then
if [ -x "/usr/bin/deb-systemd-helper" ]; then
deb-systemd-helper purge quota.service >/dev/null
deb-systemd-helper unmask quota.service >/dev/null
fi
fi
# End automatically added section
# Automatically added by dh_installinit
if [ "$1" = "purge" ] ; then
update-rc.d quota remove >/dev/null
fi
# In case this system is running systemd, we make systemd reload the unit files
# to pick up changes.
if [ -d /run/systemd/system ] ; then
systemctl --system daemon-reload >/dev/null || true
fi
# End automatically added section
# Automatically added by dh_installinit
if [ "$1" = "purge" ] ; then
update-rc.d quotarpc remove >/dev/null
fi
# In case this system is running systemd, we make systemd reload the unit files
# to pick up changes.
if [ -d /run/systemd/system ] ; then
systemctl --system daemon-reload >/dev/null || true
fi
# End automatically added section
# Automatically added by dh_systemd_enable
if [ "$1" = "remove" ]; then
if [ -x "/usr/bin/deb-systemd-helper" ]; then
deb-systemd-helper mask quota.service quotarpc.service >/dev/null
fi
fi
if [ "$1" = "purge" ]; then
if [ -x "/usr/bin/deb-systemd-helper" ]; then
deb-systemd-helper purge quota.service quotarpc.service >/dev/null
deb-systemd-helper unmask quota.service quotarpc.service >/dev/null
fi
fi
# End automatically added section
-------------- next part --------------
# Automatically added by dh_installinit
if [ -x "/etc/init.d/quotarpc" ]; then
invoke-rc.d quotarpc stop || exit $?
fi
# End automatically added section
-------------- next part --------------
dpkg-buildpackage -rfakeroot -D -us -uc -b
dpkg-buildpackage: Quellpaket quota
dpkg-buildpackage: Quellversion 4.01-6
dpkg-buildpackage: Quelldistribution unstable
dpkg-buildpackage: Quellen geändert durch Michael Meskes <meskes at debian.org>
dpkg-source --before-build quota-4.01
dpkg-buildpackage: Host-Architektur amd64
fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f po/quota.pot
rm -f build-stamp *~ debian/*~ configure-stamp config.log
# Add here commands to clean up after the build process.
[ ! -f Makefile ] || /usr/bin/make realclean
debconf-updatepo
dh_quilt_unpatch
quilt --quiltrc /dev/null pop -a || test $? = 2
Kein Patch entfernt
rm -rf .pc
dh_clean
rm -f debian/quota.substvars
rm -f debian/quota.*.debhelper
rm -rf debian/quota/
rm -f debian/*.debhelper.log
rm -f debian/files
find . \( \( -type f -a \
\( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
-o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
-o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
-o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
\) -exec rm -f {} + \) -o \
\( -type d -a -name autom4te.cache -prune -exec rm -rf {} + \) \)
debian/rules build
dh_testdir
dh_quilt_patch
quilt --quiltrc /dev/null push -a || test $? = 2
Wende Patch editor.diff an
patching file edquota.8
patching file quotaops.c
Wende Patch ldap_editor.diff an
patching file ldap-scripts/applySystemQuotas.pl
Wende Patch libnl3.diff an
patching file configure.in
patching file quota_nld.c
patching file configure
Wende Patch man.diff an
patching file quota.1
Jetzt in Patch man.diff
# Add here commands to configure the package.
( [ "`dpkg --print-architecture`" = "powerpc" ] && CFLAGSDEF += -D__BYTEORDER_HAS_U64__; \
export CFLAGS="-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security" CPPFLAGS="-D_FORTIFY_SOURCE=2" LDFLAGS="-Wl,-z,relro -ltirpc"; \
./configure --prefix=/usr --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --enable-ext2direct=yes --enable-rpcsetquota=yes --enable-rootsbin=yes --enable-ldapmail=yes --enable-netlink=yes)
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether compiler supports PIE... yes
checking for ldap_initialize in -lldap... yes
checking whether ldap_perror is declared... no
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking ext2fs/ext2fs.h usability... yes
checking ext2fs/ext2fs.h presence... yes
checking for ext2fs/ext2fs.h... yes
checking for ext2_ino_t... found
checking for com_err in -lcom_err... yes
checking for ext2fs_initialize in -lext2fs... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for DBUS... yes
checking for NL... yes
checking for library containing gethostbyname... none required
checking for host_access in -lwrap... yes
checking tcpd.h usability... yes
checking tcpd.h presence... yes
checking for tcpd.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
touch configure-stamp
dh_testdir
# Add here commands to compile the package.
/usr/bin/make
make[1]: Entering directory '/tmp/quota-4.01'
set -e; cc -MM -MG -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 quotasync.c | \
sed 's/\(quotasync\)\.o[ :]*/\1.o .quotasync.d : /g' > .quotasync.d; \
[ -s .quotasync.d ] || rm -f .quotasync.d
set -e; cc -MM -MG -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 svc_socket.c | \
sed 's/\(svc_socket\)\.o[ :]*/\1.o .svc_socket.d : /g' > .svc_socket.d; \
[ -s .svc_socket.d ] || rm -f .svc_socket.d
set -e; cc -MM -MG -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 xqmstats.c | \
sed 's/\(xqmstats\)\.o[ :]*/\1.o .xqmstats.d : /g' > .xqmstats.d; \
[ -s .xqmstats.d ] || rm -f .xqmstats.d
set -e; cc -MM -MG -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 warnquota.c | \
sed 's/\(warnquota\)\.o[ :]*/\1.o .warnquota.d : /g' > .warnquota.d; \
[ -s .warnquota.d ] || rm -f .warnquota.d
set -e; cc -MM -MG -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 setquota.c | \
sed 's/\(setquota\)\.o[ :]*/\1.o .setquota.d : /g' > .setquota.d; \
[ -s .setquota.d ] || rm -f .setquota.d
set -e; cc -MM -MG -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 rquota_svc.c | \
sed 's/\(rquota_svc\)\.o[ :]*/\1.o .rquota_svc.d : /g' > .rquota_svc.d; \
[ -s .rquota_svc.d ] || rm -f .rquota_svc.d
set -e; cc -MM -MG -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 rquota_server.c | \
sed 's/\(rquota_server\)\.o[ :]*/\1.o .rquota_server.d : /g' > .rquota_server.d; \
[ -s .rquota_server.d ] || rm -f .rquota_server.d
set -e; cc -MM -MG -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 rquota_client.c | \
sed 's/\(rquota_client\)\.o[ :]*/\1.o .rquota_client.d : /g' > .rquota_client.d; \
[ -s .rquota_client.d ] || rm -f .rquota_client.d
set -e; cc -MM -MG -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 repquota.c | \
sed 's/\(repquota\)\.o[ :]*/\1.o .repquota.d : /g' > .repquota.d; \
[ -s .repquota.d ] || rm -f .repquota.d
set -e; cc -MM -MG -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 quotasys.c | \
sed 's/\(quotasys\)\.o[ :]*/\1.o .quotasys.d : /g' > .quotasys.d; \
[ -s .quotasys.d ] || rm -f .quotasys.d
set -e; cc -MM -MG -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 quotastats.c | \
sed 's/\(quotastats\)\.o[ :]*/\1.o .quotastats.d : /g' > .quotastats.d; \
[ -s .quotastats.d ] || rm -f .quotastats.d
set -e; cc -MM -MG -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 quotaops.c | \
sed 's/\(quotaops\)\.o[ :]*/\1.o .quotaops.d : /g' > .quotaops.d; \
[ -s .quotaops.d ] || rm -f .quotaops.d
set -e; cc -MM -MG -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 quotaon_xfs.c | \
sed 's/\(quotaon_xfs\)\.o[ :]*/\1.o .quotaon_xfs.d : /g' > .quotaon_xfs.d; \
[ -s .quotaon_xfs.d ] || rm -f .quotaon_xfs.d
set -e; cc -MM -MG -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 quotaon.c | \
sed 's/\(quotaon\)\.o[ :]*/\1.o .quotaon.d : /g' > .quotaon.d; \
[ -s .quotaon.d ] || rm -f .quotaon.d
set -e; cc -MM -MG -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 quotaio_generic.c | \
sed 's/\(quotaio_generic\)\.o[ :]*/\1.o .quotaio_generic.d : /g' > .quotaio_generic.d; \
[ -s .quotaio_generic.d ] || rm -f .quotaio_generic.d
set -e; cc -MM -MG -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 quotaio_meta.c | \
sed 's/\(quotaio_meta\)\.o[ :]*/\1.o .quotaio_meta.d : /g' > .quotaio_meta.d; \
[ -s .quotaio_meta.d ] || rm -f .quotaio_meta.d
set -e; cc -MM -MG -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 quotaio_xfs.c | \
sed 's/\(quotaio_xfs\)\.o[ :]*/\1.o .quotaio_xfs.d : /g' > .quotaio_xfs.d; \
[ -s .quotaio_xfs.d ] || rm -f .quotaio_xfs.d
set -e; cc -MM -MG -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 quotaio_tree.c | \
sed 's/\(quotaio_tree\)\.o[ :]*/\1.o .quotaio_tree.d : /g' > .quotaio_tree.d; \
[ -s .quotaio_tree.d ] || rm -f .quotaio_tree.d
set -e; cc -MM -MG -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 quotaio_v2.c | \
sed 's/\(quotaio_v2\)\.o[ :]*/\1.o .quotaio_v2.d : /g' > .quotaio_v2.d; \
[ -s .quotaio_v2.d ] || rm -f .quotaio_v2.d
set -e; cc -MM -MG -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 quotaio_v1.c | \
sed 's/\(quotaio_v1\)\.o[ :]*/\1.o .quotaio_v1.d : /g' > .quotaio_v1.d; \
[ -s .quotaio_v1.d ] || rm -f .quotaio_v1.d
set -e; cc -MM -MG -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 quotaio_rpc.c | \
sed 's/\(quotaio_rpc\)\.o[ :]*/\1.o .quotaio_rpc.d : /g' > .quotaio_rpc.d; \
[ -s .quotaio_rpc.d ] || rm -f .quotaio_rpc.d
set -e; cc -MM -MG -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 quotaio.c | \
sed 's/\(quotaio\)\.o[ :]*/\1.o .quotaio.d : /g' > .quotaio.d; \
[ -s .quotaio.d ] || rm -f .quotaio.d
set -e; cc -MM -MG -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 quotacheck_v2.c | \
sed 's/\(quotacheck_v2\)\.o[ :]*/\1.o .quotacheck_v2.d : /g' > .quotacheck_v2.d; \
[ -s .quotacheck_v2.d ] || rm -f .quotacheck_v2.d
set -e; cc -MM -MG -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 quotacheck_v1.c | \
sed 's/\(quotacheck_v1\)\.o[ :]*/\1.o .quotacheck_v1.d : /g' > .quotacheck_v1.d; \
[ -s .quotacheck_v1.d ] || rm -f .quotacheck_v1.d
set -e; cc -MM -MG -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 quotacheck.c | \
sed 's/\(quotacheck\)\.o[ :]*/\1.o .quotacheck.d : /g' > .quotacheck.d; \
[ -s .quotacheck.d ] || rm -f .quotacheck.d
set -e; cc -MM -MG -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 quota.c | \
sed 's/\(quota\)\.o[ :]*/\1.o .quota.d : /g' > .quota.d; \
[ -s .quota.d ] || rm -f .quota.d
set -e; cc -MM -MG -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 quot.c | \
sed 's/\(quot\)\.o[ :]*/\1.o .quot.d : /g' > .quot.d; \
[ -s .quot.d ] || rm -f .quot.d
set -e; cc -MM -MG -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 pot.c | \
sed 's/\(pot\)\.o[ :]*/\1.o .pot.d : /g' > .pot.d; \
[ -s .pot.d ] || rm -f .pot.d
set -e; cc -MM -MG -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 edquota.c | \
sed 's/\(edquota\)\.o[ :]*/\1.o .edquota.d : /g' > .edquota.d; \
[ -s .edquota.d ] || rm -f .edquota.d
set -e; cc -MM -MG -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 convertquota.c | \
sed 's/\(convertquota\)\.o[ :]*/\1.o .convertquota.d : /g' > .convertquota.d; \
[ -s .convertquota.d ] || rm -f .convertquota.d
set -e; cc -MM -MG -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 common.c | \
sed 's/\(common\)\.o[ :]*/\1.o .common.d : /g' > .common.d; \
[ -s .common.d ] || rm -f .common.d
set -e; cc -MM -MG -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 bylabel.c | \
sed 's/\(bylabel\)\.o[ :]*/\1.o .bylabel.d : /g' > .bylabel.d; \
[ -s .bylabel.d ] || rm -f .bylabel.d
rpcgen -h -o rquota.h rquota.x
set -e; cc -MM -MG -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 setquota.c | \
sed 's/\(setquota\)\.o[ :]*/\1.o .setquota.d : /g' > .setquota.d; \
[ -s .setquota.d ] || rm -f .setquota.d
set -e; cc -MM -MG -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 rquota_svc.c | \
sed 's/\(rquota_svc\)\.o[ :]*/\1.o .rquota_svc.d : /g' > .rquota_svc.d; \
[ -s .rquota_svc.d ] || rm -f .rquota_svc.d
set -e; cc -MM -MG -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 rquota_server.c | \
sed 's/\(rquota_server\)\.o[ :]*/\1.o .rquota_server.d : /g' > .rquota_server.d; \
[ -s .rquota_server.d ] || rm -f .rquota_server.d
set -e; cc -MM -MG -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 rquota_client.c | \
sed 's/\(rquota_client\)\.o[ :]*/\1.o .rquota_client.d : /g' > .rquota_client.d; \
[ -s .rquota_client.d ] || rm -f .rquota_client.d
set -e; cc -MM -MG -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 quotaops.c | \
sed 's/\(quotaops\)\.o[ :]*/\1.o .quotaops.d : /g' > .quotaops.d; \
[ -s .quotaops.d ] || rm -f .quotaops.d
set -e; cc -MM -MG -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 quota.c | \
sed 's/\(quota\)\.o[ :]*/\1.o .quota.d : /g' > .quota.d; \
[ -s .quota.d ] || rm -f .quota.d
cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -c -o quotacheck.o quotacheck.c
quotacheck.c: In function ‘ask_yn’:
quotacheck.c:603:3: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(a, sizeof(a)-1, stdin);
^
quotacheck.c: In function ‘scan_dir’:
quotacheck.c:518:2: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result]
chdir(pathname);
^
cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -c -o quotacheck_v1.o quotacheck_v1.c
cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -c -o quotacheck_v2.o quotacheck_v2.c
cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -c -o quotaops.o quotaops.c
quotaops.c: In function ‘editprivs’:
quotaops.c:217:3: warning: ignoring return value of ‘setgid’, declared with attribute warn_unused_result [-Wunused-result]
setgid(getgid());
^
quotaops.c:218:3: warning: ignoring return value of ‘setuid’, declared with attribute warn_unused_result [-Wunused-result]
setuid(getuid());
^
quotaops.c: In function ‘writeprivs’:
quotaops.c:256:2: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result]
ftruncate(outfd, 0);
^
quotaops.c: In function ‘readprivs’:
quotaops.c:324:2: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(line, sizeof(line), fd);
^
quotaops.c:325:2: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(line, sizeof(line), fd);
^
quotaops.c: In function ‘writeindividualtimes’:
quotaops.c:381:2: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result]
ftruncate(outfd, 0);
^
quotaops.c: In function ‘readindividualtimes’:
quotaops.c:431:2: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(line, sizeof(line), fd);
^
quotaops.c:432:2: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(line, sizeof(line), fd);
^
quotaops.c:433:2: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(line, sizeof(line), fd);
^
quotaops.c: In function ‘writetimes’:
quotaops.c:483:2: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result]
ftruncate(outfd, 0);
^
quotaops.c: In function ‘readtimes’:
quotaops.c:531:2: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(line, sizeof(line), fd);
^
quotaops.c:532:2: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(line, sizeof(line), fd);
^
quotaops.c:533:2: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(line, sizeof(line), fd);
^
cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -c -o bylabel.o bylabel.c
cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -c -o common.o common.c
cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -c -o quotasys.o quotasys.c
quotasys.c: In function ‘hasxfsquota’:
quotasys.c:396:12: warning: variable ‘sbflags’ set but not used [-Wunused-but-set-variable]
u_int16_t sbflags;
^
cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -c -o pot.o pot.c
cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -c -o quotaio.o quotaio.c
cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -c -o quotaio_v1.o quotaio_v1.c
cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -c -o quotaio_v2.o quotaio_v2.c
cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -c -o quotaio_tree.o quotaio_tree.c
cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -c -o quotaio_rpc.o quotaio_rpc.c
cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -c -o quotaio_xfs.o quotaio_xfs.c
cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -c -o quotaio_meta.o quotaio_meta.c
cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -c -o quotaio_generic.o quotaio_generic.c
rpcgen -c -o rquota_xdr.c rquota.x
cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unused -c rquota_xdr.c
cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -c -o rquota_client.o rquota_client.c
rpcgen -l -o rquota_clnt.c rquota.x
cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -c -o rquota_clnt.o rquota_clnt.c
cc -Wl,-z,relro -ltirpc -pie -o quotacheck quotacheck.o quotacheck_v1.o quotacheck_v2.o quotaops.o bylabel.o common.o quotasys.o pot.o quotaio.o quotaio_v1.o quotaio_v2.o quotaio_tree.o quotaio_rpc.o quotaio_xfs.o quotaio_meta.o quotaio_generic.o rquota_xdr.o rquota_client.o rquota_clnt.o -lext2fs -lcom_err
cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -c -o quotaon.o quotaon.c
cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -c -o quotaon_xfs.o quotaon_xfs.c
cc -Wl,-z,relro -ltirpc -pie quotaon.o quotaon_xfs.o bylabel.o common.o quotasys.o pot.o quotaio.o quotaio_v1.o quotaio_v2.o quotaio_tree.o quotaio_rpc.o quotaio_xfs.o quotaio_meta.o quotaio_generic.o rquota_xdr.o rquota_client.o rquota_clnt.o -o quotaon
cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -c -o quota.o quota.c
cc -Wl,-z,relro -ltirpc -pie quota.o quotaops.o bylabel.o common.o quotasys.o pot.o quotaio.o quotaio_v1.o quotaio_v2.o quotaio_tree.o quotaio_rpc.o quotaio_xfs.o quotaio_meta.o quotaio_generic.o rquota_xdr.o rquota_client.o rquota_clnt.o -o quota
cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -c -o quot.o quot.c
cc -Wl,-z,relro -ltirpc -pie quot.o bylabel.o common.o quotasys.o pot.o quotaio.o quotaio_v1.o quotaio_v2.o quotaio_tree.o quotaio_rpc.o quotaio_xfs.o quotaio_meta.o quotaio_generic.o rquota_xdr.o rquota_client.o rquota_clnt.o -o quot
cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -c -o repquota.o repquota.c
cc -Wl,-z,relro -ltirpc -pie repquota.o bylabel.o common.o quotasys.o pot.o quotaio.o quotaio_v1.o quotaio_v2.o quotaio_tree.o quotaio_rpc.o quotaio_xfs.o quotaio_meta.o quotaio_generic.o rquota_xdr.o rquota_client.o rquota_clnt.o -o repquota
cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -c -o warnquota.o warnquota.c
cc -Wl,-z,relro -ltirpc -pie -o warnquota warnquota.o bylabel.o common.o quotasys.o pot.o quotaio.o quotaio_v1.o quotaio_v2.o quotaio_tree.o quotaio_rpc.o quotaio_xfs.o quotaio_meta.o quotaio_generic.o rquota_xdr.o rquota_client.o rquota_clnt.o -L/usr/lib -lldap -llber
cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -c -o quotastats.o quotastats.c
quotastats.c: In function ‘get_proc_num’:
quotastats.c:51:2: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &ret);
^
cc -Wl,-z,relro -ltirpc -pie quotastats.o common.o pot.o -o quotastats
cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -c -o xqmstats.o xqmstats.c
xqmstats.c: In function ‘main’:
xqmstats.c:42:3: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(buffer, 256, stats);
^
cc -Wl,-z,relro -ltirpc -pie xqmstats.o common.o pot.o -o xqmstats
cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -c -o edquota.o edquota.c
cc -Wl,-z,relro -ltirpc -pie edquota.o quotaops.o bylabel.o common.o quotasys.o pot.o quotaio.o quotaio_v1.o quotaio_v2.o quotaio_tree.o quotaio_rpc.o quotaio_xfs.o quotaio_meta.o quotaio_generic.o rquota_xdr.o rquota_client.o rquota_clnt.o -o edquota
cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -c -o setquota.o setquota.c
cc -Wl,-z,relro -ltirpc -pie setquota.o quotaops.o bylabel.o common.o quotasys.o pot.o quotaio.o quotaio_v1.o quotaio_v2.o quotaio_tree.o quotaio_rpc.o quotaio_xfs.o quotaio_meta.o quotaio_generic.o rquota_xdr.o rquota_client.o rquota_clnt.o -o setquota
cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -c -o convertquota.o convertquota.c
cc -Wl,-z,relro -ltirpc -pie convertquota.o bylabel.o common.o quotasys.o pot.o quotaio.o quotaio_v1.o quotaio_v2.o quotaio_tree.o quotaio_rpc.o quotaio_xfs.o quotaio_meta.o quotaio_generic.o rquota_xdr.o rquota_client.o rquota_clnt.o -o convertquota
cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -c -o rquota_server.o rquota_server.c
cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -c -o rquota_svc.o rquota_svc.c
rquota_svc.c: In function ‘main’:
rquota_svc.c:483:3: warning: ignoring return value of ‘daemon’, declared with attribute warn_unused_result [-Wunused-result]
daemon(0, 0);
^
cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -c -o svc_socket.o svc_socket.c
cc -Wl,-z,relro -ltirpc -pie -o rpc.rquotad rquota_server.o rquota_svc.o svc_socket.o bylabel.o common.o quotasys.o pot.o quotaio.o quotaio_v1.o quotaio_v2.o quotaio_tree.o quotaio_rpc.o quotaio_xfs.o quotaio_meta.o quotaio_generic.o rquota_xdr.o rquota_client.o rquota_clnt.o -lwrap
cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -c -o quotasync.o quotasync.c
cc -Wl,-z,relro -ltirpc -pie quotasync.o bylabel.o common.o quotasys.o pot.o quotaio.o quotaio_v1.o quotaio_v2.o quotaio_tree.o quotaio_rpc.o quotaio_xfs.o quotaio_meta.o quotaio_generic.o rquota_xdr.o rquota_client.o rquota_clnt.o -o quotasync
cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -D_FORTIFY_SOURCE=2 -c -o quota_nld.o quota_nld.c
quota_nld.c: In function ‘write_console_warning’:
quota_nld.c:260:3: warning: implicit declaration of function ‘stat’ [-Wimplicit-function-declaration]
if (stat(dev, &st) < 0)
^
quota_nld.c: In function ‘main’:
quota_nld.c:469:3: warning: ignoring return value of ‘daemon’, declared with attribute warn_unused_result [-Wunused-result]
daemon(0, 0);
^
cc -Wl,-z,relro -ltirpc -pie -o quota_nld quota_nld.o bylabel.o common.o quotasys.o pot.o quotaio.o quotaio_v1.o quotaio_v2.o quotaio_tree.o quotaio_rpc.o quotaio_xfs.o quotaio_meta.o quotaio_generic.o rquota_xdr.o rquota_client.o rquota_clnt.o -lnl-genl-3 -lnl-3 -ldbus-1
make[1]: Leaving directory '/tmp/quota-4.01'
# Create a POT file for translators
make pot && mv pot.po po/quota.pot
make[1]: Entering directory '/tmp/quota-4.01'
xgettext -k_ -kN_ -d pot *.c *.h
make[1]: Leaving directory '/tmp/quota-4.01'
touch build-stamp
fakeroot debian/rules binary
dh_testdir
dh_testroot
dh_clean -k
dh_clean: dh_clean -k is deprecated; use dh_prep instead
rm -f debian/quota.substvars
rm -f debian/quota.*.debhelper
rm -rf debian/quota/
find . \( \( -type f -a \
\( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
-o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
-o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
-o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
\) -exec rm -f {} + \) -o \
\( -type d -a -name autom4te.cache -prune -exec rm -rf {} + \) \)
dh_installdirs
install -d debian/quota
install -d debian/quota/usr/bin debian/quota/usr/sbin debian/quota/sbin debian/quota/etc/init.d debian/quota/usr/share/man/man1 debian/quota/usr/share/man/man2 debian/quota/usr/share/man/man3 debian/quota/usr/share/man/man8 debian/quota/usr/include/rpcsvc debian/quota/var/lib/quota debian/quota/usr/share/quota/ldap
# Add here commands to install the package into debian/quota.
/usr/bin/make ROOTDIR=`pwd`/debian/quota \
STRIP=""\
BIN_OWNER=root BIN_GROUP=root \
LN="ln -s"\
mandir=/usr/share/man \
DEF_BIN_MODE=755 DEF_SBIN_MODE=755 install
make[1]: Entering directory '/tmp/quota-4.01'
for n in po/cs.po po/de.po po/fr.po po/pl.po; do \
msgfmt -o po/`basename $n .po`.mo $n; \
done
mkdir -p /tmp/quota-4.01/debian/quota/usr/share/locale
for n in po/cs.mo po/de.mo po/fr.mo po/pl.mo; do \
l=`basename $n .mo`; \
/usr/bin/install -c -m 755 -d /tmp/quota-4.01/debian/quota/usr/share/locale/$l; \
/usr/bin/install -c -m 755 -d /tmp/quota-4.01/debian/quota/usr/share/locale/$l/LC_MESSAGES; \
/usr/bin/install -c -m 644 $n /tmp/quota-4.01/debian/quota/usr/share/locale/$l/LC_MESSAGES/quota.mo; \
done
mkdir -p /tmp/quota-4.01/debian/quota/usr/sbin
mkdir -p /tmp/quota-4.01/debian/quota/usr/bin
mkdir -p /tmp/quota-4.01/debian/quota/sbin
/usr/bin/install -c -m 755 \
quotacheck quotaon /tmp/quota-4.01/debian/quota/sbin
ln -s quotaon /tmp/quota-4.01/debian/quota/sbin/quotaoff
/usr/bin/install -c -m 755 \
edquota repquota warnquota quotastats setquota quot xqmstats \
convertquota /tmp/quota-4.01/debian/quota/usr/sbin
mkdir -p /tmp/quota-4.01/debian/quota/etc
/usr/bin/install -c -m 644 warnquota.conf /tmp/quota-4.01/debian/quota/etc
/usr/bin/install -c -m 644 quotatab /tmp/quota-4.01/debian/quota/etc
/usr/bin/install -c -m 644 quotagrpadmins /tmp/quota-4.01/debian/quota/etc
mkdir -p /tmp/quota-4.01/debian/quota/usr/share/man/man1
mkdir -p /tmp/quota-4.01/debian/quota/usr/share/man/man2
mkdir -p /tmp/quota-4.01/debian/quota/usr/share/man/man3
mkdir -p /tmp/quota-4.01/debian/quota/usr/share/man/man8
/usr/bin/install -c -m 755 -d /tmp/quota-4.01/debian/quota/usr/include/rpcsvc
/usr/bin/install -c -m 644 rquota.h rquota.x /tmp/quota-4.01/debian/quota/usr/include/rpcsvc
/usr/bin/install -c -m 755 quota quotasync /tmp/quota-4.01/debian/quota/usr/bin
/usr/bin/install -c -m 755 rpc.rquotad /tmp/quota-4.01/debian/quota/usr/sbin
/usr/bin/install -c -m 755 quota_nld /tmp/quota-4.01/debian/quota/usr/sbin
/usr/bin/install -c -m 444 *.1 /tmp/quota-4.01/debian/quota/usr/share/man/man1
/usr/bin/install -c -m 444 *.2 /tmp/quota-4.01/debian/quota/usr/share/man/man2
/usr/bin/install: der Aufruf von stat für „*.2“ ist nicht möglich: Datei oder Verzeichnis nicht gefunden
Makefile:78: recipe for target 'install' failed
make[1]: [install] Error 1 (ignored)
/usr/bin/install -c -m 444 *.3 /tmp/quota-4.01/debian/quota/usr/share/man/man3
/usr/bin/install -c -m 444 *.8 /tmp/quota-4.01/debian/quota/usr/share/man/man8
make[1]: Leaving directory '/tmp/quota-4.01'
dh_testdir
dh_testroot
dh_install
cp -a ./debian/warnquota.conf debian/quota//etc/
cp -a ./debian/quotatab debian/quota//etc/
cp -a ./debian/quotaon.sh debian/quota//usr/share/quota//
cp -a ./debian/quotaoff.sh debian/quota//usr/share/quota//
cp -a ./debian/quotarpc.sh debian/quota//usr/share/quota//
cp -a ./ldap-scripts/applySystemQuotas.pl debian/quota//usr/share/quota/ldap/
cp -a ./ldap-scripts/edquota_editor debian/quota//usr/share/quota/ldap/
cp -a ./ldap-scripts/quota.schema debian/quota//usr/share/quota/ldap/
cp -a ./ldap-scripts/setquota-ldap.pl debian/quota//usr/share/quota/ldap/
cp -a ./ldap-scripts/setSystemQuotas.pl debian/quota//usr/share/quota/ldap/
chmod 755 `pwd`/debian/quota/usr/share/quota/ldap/setquota-ldap.pl
chmod 755 `pwd`/debian/quota/usr/share/quota/*.sh
dh_installdebconf
install -o 0 -g 0 -d debian/quota/DEBIAN
sed s/#DEBHELPER#// < debian/config > debian/quota/DEBIAN/config
chown 0:0 debian/quota/DEBIAN/config
chmod 755 debian/quota/DEBIAN/config
po2debconf debian/templates > debian/quota/DEBIAN/templates
(grep -s -v misc:Depends debian/quota.substvars; echo "misc:Depends=debconf (>= 0.5) | debconf-2.0") > debian/quota.substvars.new
mv debian/quota.substvars.new debian/quota.substvars
echo "# Automatically added by dh_installdebconf">> debian/quota.postrm.debhelper
sed "" /usr/share/debhelper/autoscripts/postrm-debconf >> debian/quota.postrm.debhelper
echo '# End automatically added section' >> debian/quota.postrm.debhelper
dh_installdocs doc/*.* warnquota.conf README.*
install -g 0 -o 0 -d debian/quota/usr/share/doc/quota
cp -a README.gettext debian/quota/usr/share/doc/quota
cp -a README.ldap-support debian/quota/usr/share/doc/quota
cp -a README.mailserver debian/quota/usr/share/doc/quota
cp -a doc/quotadoc.sgml debian/quota/usr/share/doc/quota
cp -a doc/quotas-1.eps debian/quota/usr/share/doc/quota
cp -a doc/quotas.ms debian/quota/usr/share/doc/quota
cp -a doc/quotas.preformated debian/quota/usr/share/doc/quota
cp -a warnquota.conf debian/quota/usr/share/doc/quota
cp -a README.gettext debian/quota/usr/share/doc/quota
cp -a README.ldap-support debian/quota/usr/share/doc/quota
cp -a README.mailserver debian/quota/usr/share/doc/quota
chown -R 0:0 debian/quota/usr/share/doc
chmod -R go=rX debian/quota/usr/share/doc
chmod -R u\+rw debian/quota/usr/share/doc
install -g 0 -o 0 -m 644 -p debian/README.Debian debian/quota/usr/share/doc/quota/README.Debian
install -g 0 -o 0 -m 644 -p debian/copyright debian/quota/usr/share/doc/quota/copyright
dh_installexamples
dh_installmenu
dh_systemd_enable
install -d debian/quota/lib/systemd/system
install -p -m644 debian/quota.service debian/quota/lib/systemd/system/quota.service
echo "# Automatically added by dh_systemd_enable">> debian/quota.postinst.debhelper
sed "s/#UNITFILE#/quota.service/" /usr/share/debhelper/autoscripts/postinst-systemd-enable >> debian/quota.postinst.debhelper
echo '# End automatically added section' >> debian/quota.postinst.debhelper
echo "# Automatically added by dh_systemd_enable">> debian/quota.postrm.debhelper
sed "s/#UNITFILES#/quota.service/" /usr/share/debhelper/autoscripts/postrm-systemd >> debian/quota.postrm.debhelper
echo '# End automatically added section' >> debian/quota.postrm.debhelper
(grep -s -v misc:Depends debian/quota.substvars; echo "misc:Depends=debconf (>= 0.5) | debconf-2.0, init-system-helpers (>= 1.18~)") > debian/quota.substvars.new
mv debian/quota.substvars.new debian/quota.substvars
dh_systemd_enable --name=quotarpc.service
echo "# Automatically added by dh_systemd_enable">> debian/quota.postinst.debhelper
sed "s/#UNITFILE#/quota.service/" /usr/share/debhelper/autoscripts/postinst-systemd-enable >> debian/quota.postinst.debhelper
echo '# End automatically added section' >> debian/quota.postinst.debhelper
echo "# Automatically added by dh_systemd_enable">> debian/quota.postrm.debhelper
sed "s/#UNITFILES#/quota.service/" /usr/share/debhelper/autoscripts/postrm-systemd >> debian/quota.postrm.debhelper
echo '# End automatically added section' >> debian/quota.postrm.debhelper
(grep -s -v misc:Depends debian/quota.substvars; echo "misc:Depends=debconf (>= 0.5) | debconf-2.0, init-system-helpers (>= 1.18~)") > debian/quota.substvars.new
mv debian/quota.substvars.new debian/quota.substvars
dh_installinit --no-start
install -p -m644 debian/quota.service debian/quota/lib/systemd/system/quota.service
install -d debian/quota/etc/default
install -p -m644 debian/quota.default debian/quota/etc/default/quota
install -p -m755 debian/quota.init debian/quota/etc/init.d/quota
echo "# Automatically added by dh_installinit">> debian/quota.postinst.debhelper
sed "s/#SCRIPT#/quota/;s/#INITPARMS#/defaults/;s/#ERROR_HANDLER#/exit \$?/" /usr/share/debhelper/autoscripts/postinst-init-nostart >> debian/quota.postinst.debhelper
echo '# End automatically added section' >> debian/quota.postinst.debhelper
echo "# Automatically added by dh_installinit">> debian/quota.postrm.debhelper
sed "s/#SCRIPT#/quota/;s/#INITPARMS#/defaults/;s/#ERROR_HANDLER#/exit \$?/" /usr/share/debhelper/autoscripts/postrm-init >> debian/quota.postrm.debhelper
echo '# End automatically added section' >> debian/quota.postrm.debhelper
dh_installinit --name=quotarpc
install -p -m644 debian/quota.quotarpc.service debian/quota/lib/systemd/system/quotarpc.service
install -p -m755 debian/quotarpc.init debian/quota/etc/init.d/quotarpc
echo "# Automatically added by dh_installinit">> debian/quota.postinst.debhelper
sed "s/#SCRIPT#/quotarpc/;s/#INITPARMS#/defaults/;s/#ERROR_HANDLER#/exit \$?/" /usr/share/debhelper/autoscripts/postinst-init >> debian/quota.postinst.debhelper
echo '# End automatically added section' >> debian/quota.postinst.debhelper
echo "# Automatically added by dh_installinit">> debian/quota.prerm.debhelper
sed "s/#SCRIPT#/quotarpc/;s/#INITPARMS#/defaults/;s/#ERROR_HANDLER#/exit \$?/" /usr/share/debhelper/autoscripts/prerm-init >> debian/quota.prerm.debhelper
echo '# End automatically added section' >> debian/quota.prerm.debhelper
echo "# Automatically added by dh_installinit">> debian/quota.postrm.debhelper
sed "s/#SCRIPT#/quotarpc/;s/#INITPARMS#/defaults/;s/#ERROR_HANDLER#/exit \$?/" /usr/share/debhelper/autoscripts/postrm-init >> debian/quota.postrm.debhelper
echo '# End automatically added section' >> debian/quota.postrm.debhelper
dh_systemd_start --no-start
dh_systemd_start --name=quotarpc.service
#
# dh_installinit cannot be configured to not install the defaults
# file for quotarpc, so we have to manually delete it
#
rm -rf `pwd`/debian/quota/etc/default/quotarpc
dh_installcron
install -o 0 -g 0 -d debian/quota/etc/cron.daily
install debian/cron.daily debian/quota/etc/cron.daily/quota
dh_installman
man --recode UTF-8 ./xqmstats\.8 > xqmstats\.8\.new
chmod 644 xqmstats.8.new
mv -f xqmstats.8.new xqmstats.8
man --recode UTF-8 ./warnquota\.8 > warnquota\.8\.new
chmod 644 warnquota.8.new
mv -f warnquota.8.new warnquota.8
man --recode UTF-8 ./setquota\.8 > setquota\.8\.new
chmod 644 setquota.8.new
mv -f setquota.8.new setquota.8
man --recode UTF-8 ./rquotad\.8 > rquotad\.8\.new
chmod 644 rquotad.8.new
mv -f rquotad.8.new rquotad.8
man --recode UTF-8 ./repquota\.8 > repquota\.8\.new
chmod 644 repquota.8.new
mv -f repquota.8.new repquota.8
man --recode UTF-8 ./quotastats\.8 > quotastats\.8\.new
chmod 644 quotastats.8.new
mv -f quotastats.8.new quotastats.8
man --recode UTF-8 ./quotaon\.8 > quotaon\.8\.new
chmod 644 quotaon.8.new
mv -f quotaon.8.new quotaon.8
man --recode UTF-8 ./quotacheck\.8 > quotacheck\.8\.new
chmod 644 quotacheck.8.new
mv -f quotacheck.8.new quotacheck.8
man --recode UTF-8 ./quota_nld\.8 > quota_nld\.8\.new
chmod 644 quota_nld.8.new
mv -f quota_nld.8.new quota_nld.8
man --recode UTF-8 ./quot\.8 > quot\.8\.new
chmod 644 quot.8.new
mv -f quot.8.new quot.8
man --recode UTF-8 ./edquota\.8 > edquota\.8\.new
chmod 644 edquota.8.new
mv -f edquota.8.new edquota.8
man --recode UTF-8 ./convertquota\.8 > convertquota\.8\.new
chmod 644 convertquota.8.new
mv -f convertquota.8.new convertquota.8
man --recode UTF-8 ./rquota\.3 > rquota\.3\.new
chmod 644 rquota.3.new
mv -f rquota.3.new rquota.3
man --recode UTF-8 ./quota\.1 > quota\.1\.new
chmod 644 quota.1.new
mv -f quota.1.new quota.1
# remove man pages already in libc
rm -rf `pwd`/debian/quota/usr/share/man/man2
# and include files in libc-dev
rm -rf `pwd`/debian/quota/usr/include
dh_installinfo
dh_installchangelogs Changelog
install -o 0 -g 0 -p -m644 debian/changelog debian/quota/usr/share/doc/quota/changelog.Debian
install -o 0 -g 0 -p -m644 Changelog debian/quota/usr/share/doc/quota/changelog
dh_lintian
install -d debian/quota/usr/share/lintian/overrides
install -p -m644 debian/quota.lintian-overrides debian/quota/usr/share/lintian/overrides/quota
dh_link
rm -f debian/quota/sbin/quotaoff
ln -sf quotaon debian/quota/sbin/quotaoff
rm -f debian/quota/usr/share/man/man8/quotaoff.8.gz
ln -sf quotaon.8.gz debian/quota/usr/share/man/man8/quotaoff.8.gz
rm -f debian/quota/usr/share/man/man8/rpc.rquotad.8.gz
ln -sf rquotad.8.gz debian/quota/usr/share/man/man8/rpc.rquotad.8.gz
dh_strip
strip --remove-section=.comment --remove-section=.note debian/quota/sbin/quotaon
strip --remove-section=.comment --remove-section=.note debian/quota/sbin/quotacheck
strip --remove-section=.comment --remove-section=.note debian/quota/usr/sbin/quota_nld
strip --remove-section=.comment --remove-section=.note debian/quota/usr/sbin/rpc.rquotad
strip --remove-section=.comment --remove-section=.note debian/quota/usr/sbin/convertquota
strip --remove-section=.comment --remove-section=.note debian/quota/usr/sbin/xqmstats
strip --remove-section=.comment --remove-section=.note debian/quota/usr/sbin/quot
strip --remove-section=.comment --remove-section=.note debian/quota/usr/sbin/setquota
strip --remove-section=.comment --remove-section=.note debian/quota/usr/sbin/quotastats
strip --remove-section=.comment --remove-section=.note debian/quota/usr/sbin/warnquota
strip --remove-section=.comment --remove-section=.note debian/quota/usr/sbin/repquota
strip --remove-section=.comment --remove-section=.note debian/quota/usr/sbin/edquota
strip --remove-section=.comment --remove-section=.note debian/quota/usr/bin/quotasync
strip --remove-section=.comment --remove-section=.note debian/quota/usr/bin/quota
dh_compress
cd debian/quota
chmod a-x usr/share/man/man8/convertquota.8 usr/share/man/man8/edquota.8 usr/share/man/man8/quot.8 usr/share/man/man8/quota_nld.8 usr/share/man/man8/quotacheck.8 usr/share/man/man8/quotaon.8 usr/share/man/man8/quotastats.8 usr/share/man/man8/repquota.8 usr/share/man/man8/rquotad.8 usr/share/man/man8/setquota.8 usr/share/man/man8/warnquota.8 usr/share/man/man8/xqmstats.8 usr/share/man/man3/rquota.3 usr/share/man/man1/quota.1 usr/share/doc/quota/changelog usr/share/doc/quota/changelog.Debian usr/share/doc/quota/quotas.preformated usr/share/doc/quota/quotas.ms usr/share/doc/quota/quotas-1.eps usr/share/doc/quota/quotadoc.sgml
gzip -9nf usr/share/man/man8/convertquota.8 usr/share/man/man8/edquota.8 usr/share/man/man8/quot.8 usr/share/man/man8/quota_nld.8 usr/share/man/man8/quotacheck.8 usr/share/man/man8/quotaon.8 usr/share/man/man8/quotastats.8 usr/share/man/man8/repquota.8 usr/share/man/man8/rquotad.8 usr/share/man/man8/setquota.8 usr/share/man/man8/warnquota.8 usr/share/man/man8/xqmstats.8 usr/share/man/man3/rquota.3 usr/share/man/man1/quota.1 usr/share/doc/quota/changelog usr/share/doc/quota/changelog.Debian usr/share/doc/quota/quotas.preformated usr/share/doc/quota/quotas.ms usr/share/doc/quota/quotas-1.eps usr/share/doc/quota/quotadoc.sgml
cd '/tmp/quota-4.01'
dh_fixperms
find debian/quota -print0 2>/dev/null | xargs -0r chown --no-dereference 0:0
find debian/quota ! -type l -print0 2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s
find debian/quota/usr/share/doc -type f ! -regex 'debian/quota/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | xargs -0r chmod 644
find debian/quota/usr/share/doc -type d -print0 2>/dev/null | xargs -0r chmod 755
find debian/quota/usr/share/man debian/quota/usr/man/ debian/quota/usr/X11*/man/ -type f -print0 2>/dev/null | xargs -0r chmod 644
find debian/quota -perm -5 -type f \( -name '*.so.*' -or -name '*.so' -or -name '*.la' -or -name '*.a' \) -print0 2>/dev/null | xargs -0r chmod 644
find debian/quota/usr/include -type f -print0 2>/dev/null | xargs -0r chmod 644
find debian/quota/usr/share/applications -type f -print0 2>/dev/null | xargs -0r chmod 644
find debian/quota -perm -5 -type f \( -name '*.cmxs' \) -print0 2>/dev/null | xargs -0r chmod 644
find debian/quota/usr/lib/perl5 debian/quota/usr/share/perl5 -type f -perm -5 -name '*.pm' -print0 2>/dev/null | xargs -0r chmod a-X
find debian/quota/usr/bin -type f -print0 2>/dev/null | xargs -0r chmod a+x
find debian/quota/usr/sbin -type f -print0 2>/dev/null | xargs -0r chmod a+x
find debian/quota/sbin -type f -print0 2>/dev/null | xargs -0r chmod a+x
find debian/quota/etc/init.d -type f -print0 2>/dev/null | xargs -0r chmod a+x
find debian/quota/usr/lib -type f -name '*.ali' -print0 2>/dev/null | xargs -0r chmod uga-w
find debian/quota/usr/share/lintian/overrides -type f -print0 2>/dev/null | xargs -0r chmod 644
dh_installdeb
perl -pe 's~#DEBHELPER#~qx{cat debian/quota.postinst.debhelper}~eg' < debian/postinst > debian/quota/DEBIAN/postinst
chown 0:0 debian/quota/DEBIAN/postinst
chmod 755 debian/quota/DEBIAN/postinst
sed s/#DEBHELPER#// < debian/preinst > debian/quota/DEBIAN/preinst
chown 0:0 debian/quota/DEBIAN/preinst
chmod 755 debian/quota/DEBIAN/preinst
perl -pe 's~#DEBHELPER#~qx{cat debian/quota.prerm.debhelper}~eg' < debian/prerm > debian/quota/DEBIAN/prerm
chown 0:0 debian/quota/DEBIAN/prerm
chmod 755 debian/quota/DEBIAN/prerm
perl -pe 's~#DEBHELPER#~qx{cat debian/quota.postrm.debhelper}~eg' < debian/postrm > debian/quota/DEBIAN/postrm
chown 0:0 debian/quota/DEBIAN/postrm
chmod 755 debian/quota/DEBIAN/postrm
find debian/quota/etc -type f -printf '/etc/%P
' >> debian/quota/DEBIAN/conffiles
chmod 644 debian/quota/DEBIAN/conffiles
dh_shlibdeps
dpkg-shlibdeps -Tdebian/quota.substvars debian/quota/sbin/quotacheck debian/quota/sbin/quotaon debian/quota/usr/sbin/edquota debian/quota/usr/sbin/repquota debian/quota/usr/sbin/warnquota debian/quota/usr/sbin/quotastats debian/quota/usr/sbin/setquota debian/quota/usr/sbin/quot debian/quota/usr/sbin/xqmstats debian/quota/usr/sbin/convertquota debian/quota/usr/sbin/rpc.rquotad debian/quota/usr/sbin/quota_nld debian/quota/usr/bin/quota debian/quota/usr/bin/quotasync
dpkg-shlibdeps: Warnung: Das Paket könnte eine nutzlose Abhängigkeit vermeiden, falls debian/quota/sbin/quotacheck nicht gegen libcom_err.so.2 gelinkt wäre (es verwendet keines der Symbole der Bibliothek).
dh_gencontrol
dpkg-gencontrol -pquota -ldebian/changelog -Tdebian/quota.substvars -Pdebian/quota
chmod 644 debian/quota/DEBIAN/control
chown 0:0 debian/quota/DEBIAN/control
dh_md5sums
(cd debian/quota >/dev/null ; find . -type f ! -path "./etc/cron.daily/quota" ! -path "./etc/default/quota" ! -path "./etc/quotagrpadmins" ! -path "./etc/quotatab" ! -path "./etc/warnquota.conf" ! -path "./etc/init.d/quotarpc" ! -path "./etc/init.d/quota" ! -regex './DEBIAN/.*' -printf '%P\0' | LC_ALL=C sort -z | xargs -r0 md5sum > DEBIAN/md5sums) >/dev/null
chmod 644 debian/quota/DEBIAN/md5sums
chown 0:0 debian/quota/DEBIAN/md5sums
dh_builddeb
dpkg-deb --build debian/quota ..
dpkg-deb: Paket »quota« wird in »../quota_4.01-6_amd64.deb« gebaut.
dpkg-genchanges -b >../quota_4.01-6_amd64.changes
dpkg-genchanges: rein binärer Upload - es ist kein Quellcode hinzugefügt
dpkg-source --after-build quota-4.01
dpkg-buildpackage: Binärpaket(e) hochzuladen (keine Quellen enthalten)
Now running lintian...
W: quota: binary-without-manpage usr/bin/quotasync
N: 1 tag overridden (1 warning)
Finished running lintian.
Now signing changes and any dsc files...
signfile quota_4.01-6_amd64.changes 0x608F22DC
Successfully signed changes file
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 884 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20140629/9685a3ec/attachment-0001.sig>
More information about the Pkg-systemd-maintainers
mailing list