summaryrefslogtreecommitdiff
path: root/Makefile.am
AgeCommit message (Collapse)Author
2017-09-05Use TI-RPC for RPC client communicationJan Kara
Currently standard RPC library in glibc is used for client RPC communication to rpc.rquotad. Make tools use libtirpc so that IPv6 is properly supported. Signed-off-by: Jan Kara <jack@suse.cz>
2017-09-05rpc.rquotad: IPv6 supportJan Kara
Add support for listening on IPv6 addresses as well. [Heavily modified from original code by Anders Blomdell] Signed-off-by: Jan Kara <jack@suse.cz>
2017-05-18Do not install quota_nld.8 when quota_nld is not installedDmitry V. Levin
When netlink support is not enabled, quota_nld is not built and not installed but quota_nld.8 is still installed. Fix this inconsistency and install quota_nld.8 iff quota_nld is installed. Signed-off-by: Dmitry V. Levin <ldv@altlinux.org> Signed-off-by: Jan Kara <jack@suse.cz>
2016-03-30Allow building on systems that do not have rpc header filesTheodore Ts'o
Android's bionic C library doesn't have Sun RPC support. Signed-off-by: Theodore Ts'o <tytso@mit.edu> Signed-off-by: Jan Kara <jack@suse.cz>
2016-02-17Don't build rpc.rquotad when --disable-rpc was requested.Lars Wendler
This fixes a buch of undefined references: x86_64-pc-linux-gnu-gcc -march=native -mtune=native -O2 -pipe -D_GNU_SOURCE -Wa ll -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -pie -Wl,-O1 -Wl,--hash-st yle=gnu -Wl,--sort-common -Wl,--as-needed -o rpc.rquotad rquota_server.o rquota_ svc.o svc_socket.o libquota.a rquota_svc.o: In function `rquotaprog_2': rquota_svc.c:(.text+0x1d3): undefined reference to `xdr_setquota_rslt' rquota_svc.c:(.text+0x1da): undefined reference to `xdr_ext_setquota_args' rquota_svc.c:(.text+0x2b2): undefined reference to `xdr_setquota_rslt' rquota_svc.c:(.text+0x2b9): undefined reference to `xdr_ext_setquota_args' rquota_svc.c:(.text+0x2ff): undefined reference to `xdr_getquota_rslt' rquota_svc.c:(.text+0x306): undefined reference to `xdr_ext_getquota_args' rquota_svc.c:(.text+0x31a): undefined reference to `xdr_getquota_rslt' rquota_svc.c:(.text+0x321): undefined reference to `xdr_ext_getquota_args' rquota_svc.o: In function `rquotaprog_1': rquota_svc.c:(.text+0x3f3): undefined reference to `xdr_setquota_rslt' rquota_svc.c:(.text+0x3fa): undefined reference to `xdr_setquota_args' rquota_svc.c:(.text+0x4d2): undefined reference to `xdr_setquota_rslt' rquota_svc.c:(.text+0x4d9): undefined reference to `xdr_setquota_args' rquota_svc.c:(.text+0x51f): undefined reference to `xdr_getquota_rslt' rquota_svc.c:(.text+0x526): undefined reference to `xdr_getquota_args' rquota_svc.c:(.text+0x53a): undefined reference to `xdr_getquota_rslt' rquota_svc.c:(.text+0x541): undefined reference to `xdr_getquota_args' collect2: error: ld returned 1 exit status Makefile:901: recipe for target 'rpc.rquotad' failed Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> Signed-off-by: Jan Kara <jack@suse.cz>
2016-01-05Set -fPIC and -pie as default params when buildingTomáš Chvátal
Signed-off-by: Tomáš Chvátal <tchvatal@suse.cz> Signed-off-by: Jan Kara <jack@suse.cz>
2016-01-04Respect the docdir declaration and do not override.Tomáš Chvátal
Signed-off-by: Tomáš Chvátal <tchvatal@suse.com> Signed-off-by: Jan Kara <jack@suse.cz>
2016-01-04Distribute ldap-scripts directory tooTomáš Chvátal
Signed-off-by: Tomáš Chvátal <tchvatal@suse.com> Signed-off-by: Jan Kara <jack@suse.cz>
2015-12-18Revive ChangelogJan Kara
I like the old format of Changelog more, also some of the history is covered only in the text file. Finally sometimes hand-editing Changelog may be useful. So revive Changelog in git. Signed-off-by: Jan Kara <jack@suse.cz>
2015-04-14Fix building of rquota.[ch] filesJan Kara
Make from clean sources failed because automake dependency tracking doesn't directly work with generated source files such as rquota.c or rquota.h. Fix the problem by telling automake to generate these files first using BUILT_SOURCES variable. Signed-off-by: Jan Kara <jack@suse.cz>
2015-03-08Makefile.am: remove quotaoff symlink before installKonstantin Khlebnikov
Otherwise make install fails if it's already exists: make install-exec-hook make[3]: Entering directory `/root/quota' ln: failed to create symbolic link `/usr/local/sbin/quotaoff': File exists make[3]: *** [install-exec-hook] Error 1 Signed-off-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru> Signed-off-by: Jan Kara <jack@suse.cz>
2015-01-05quota_nld: Fixup buildJan Kara
Signed-off-by: Jan Kara <jack@suse.cz>
2014-12-02Install example file to docs.Tomáš Chvátal
Signed-off-by: Tomáš Chvátal <tchvatal@suse.cz> Signed-off-by: Jan Kara <jack@suse.cz>
2014-12-02Create new autotools buildsystemTomáš Chvátal
Reflect what was done before and try to mimic it Remove ChangeLog, now autogenerated for dist target Remove confusing gettext README and try to add new approach for translations [JK: Fixed build without RPC support] Signed-off-by: Tomáš Chvátal <tchvatal@suse.cz> Signed-off-by: Jan Kara <jack@suse.cz>