-
Committer:
Teddy Hogeborn
-
Date:
2024-09-09 01:36:41 UTC
-
Revision ID:
teddy@recompile.se-20240909013641-6zu6kx2f7meu134k
Make all required directories when installing
When installing into a normal system, one can assume that target
directories, such as /usr/bin, already exists. But when installing
into a subdirectory for the purpose of creating a package, one cannot
assume that all directories already exist. Therefore, when
installing, we must not check if any directories exist, and must
instead always create any directories we want to install into.
* Makefile (confdir/mandos.conf, confdir/clients.conf, install-html):
Use the "-D" option to "install" instead of creating the directory
separately.
(install-server): Move creation of $(CONFDIR) down to before it is
needed. Don't check if the $(TMPFILES) or $(SYSUSERS) directories
exist; instead create them by using the "-D" option to "install".
Create the $(PREFIX)/sbin directory. Always use
"--target-directory" if possible; i.e. if the file name is the same.
Create the $(DBUSPOLICYDIR) and $(DESTDIR)/etc/init.d directories by
using the "-D" option to "install". Don't check if the $(SYSTEMD)
directory exists; instead create it by using the "-D" option to
"install". Create the $(DESTDIR)/etc/default and $(MANDIR)/man8
directories by using the "-D" option to "install". Create the
$(MANDIR)/man5 directories explicitly.
(install-client-nokey): Remove unnecessary creation of the
$(CONFDIR) directory. Don't check if the $(SYSUSERS) directory
exists; instead create it by using the "-D" option to "install".
Move the "--directory" argument to be the first argument, for
clarity. Create the $(PREFIX)/sbin directory. Use the "-D"
argument to "install" when installing
$(INITRAMFSTOOLS)/hooks/mandos,
$(INITRAMFSTOOLS)/conf.d/mandos-conf,
$(INITRAMFSTOOLS)/conf-hooks.d/zz-mandos,
$(INITRAMFSTOOLS)/scripts/init-premount/mandos,
$(INITRAMFSTOOLS)/scripts/local-premount/mandos,
$(DRACUTMODULE)/ask-password-mandos.path, and
$(DRACUTMODULE)/dracut-module/ask-password-mandos.service. Create
the $(MANDIR)/man8 directory.
Reported-By: Erich Eckner <erich@eckner.net>
Thanks: Erich Eckner <erich@eckner.net> for analysis
..
|
po
|
199
|
17 years ago |
Teddy Hogeborn |
* Makefile: Bug fix: fix syntax error.
* debian/c |
|
|
|
source
|
452.1.1
|
15 years ago |
Teddy Hogeborn |
* debian/source/format: New; contains "3.0 (quilt) |
|
|
|
tests
|
1116
|
6 years ago |
Teddy Hogeborn |
Debian package change: Add autopkgtest support
* |
|
|
|
upstream
|
678
|
11 years ago |
Teddy Hogeborn |
Fix location and format of signing key file.
* de |
|
|
|
changelog |
237.4.140
|
2 years ago |
Teddy Hogeborn |
Version 1.8.16-1
* Makefile (version): Change to |
38.6 KB |
|
|
compat |
921
|
7 years ago |
Teddy Hogeborn |
Update Debian Debhelper compatibility version.
* |
3 bytes |
|
|
control |
1293
|
1 year ago |
Teddy Hogeborn |
Fix minor deprecated syntax issue in debian/contro |
3 KB |
|
|
copyright |
1259
|
3 years ago |
Teddy Hogeborn |
Update copyright year
* debian/copyright: Update |
1 KB |
|
|
mandos-client.dirs |
1292
|
1 year ago |
Teddy Hogeborn |
Do not hardcode directory names; get them from pkg |
229 bytes |
|
|
mandos-client.docs |
594
|
13 years ago |
Teddy Hogeborn |
* debian/copyright (Copyright): Join the two lines |
17 bytes |
|
|
mandos-client.examples |
594
|
13 years ago |
Teddy Hogeborn |
* debian/copyright (Copyright): Join the two lines |
16 bytes |
|
|
mandos-client.links |
191
|
17 years ago |
Teddy Hogeborn |
* debian/mandos-client.docs: New. Add README and |
93 bytes |
|
|
mandos-client.lintian-overrides |
1246
|
3 years ago |
Teddy Hogeborn |
Debian package: Client: Update Lintian override fi |
2.2 KB |
|
|
mandos-client.postinst |
1288
|
1 year ago |
Teddy Hogeborn |
Fix #1079588 by not outputting to stdout in mainta |
6.5 KB |
|
|
mandos-client.postrm |
1288
|
1 year ago |
Teddy Hogeborn |
Fix #1079588 by not outputting to stdout in mainta |
1.6 KB |
|
|
mandos-client.README.Debian |
1279
|
1 year ago |
Teddy Hogeborn |
Document how to add options to mandos-client when |
5.1 KB |
|
|
mandos-client.templates |
1226
|
4 years ago |
teddy at recompile |
Fix debconf template syntax
* debian/mandos-cli |
813 bytes |
|
|
mandos.dirs |
1292
|
1 year ago |
Teddy Hogeborn |
Do not hardcode directory names; get them from pkg |
111 bytes |
|
|
mandos.docs |
423
|
15 years ago |
Teddy Hogeborn |
Documentation changes:
* DBUS-API: New file docum |
26 bytes |
|
|
mandos.lintian-overrides |
1152
|
6 years ago |
Teddy Hogeborn |
Override lintian warnings about upgrading from old |
703 bytes |
|
|
mandos.maintscript |
1275
|
2 years ago |
Teddy Hogeborn |
Move D-Bus policy file to /usr/share/dbus-1/sessio |
55 bytes |
|
|
mandos.postinst |
1158
|
6 years ago |
Teddy Hogeborn |
Debian package: Only reload dbus daemon if necessa |
3.8 KB |
|
|
mandos.prerm |
770
|
10 years ago |
Teddy Hogeborn |
* debian/mandos.prerm: Don't run init script, use |
759 bytes |
|
|
mandos.README.Debian |
505.1.2
|
14 years ago |
Teddy Hogeborn |
Change "fukt.bsnet.se" to "recompile.se" throughou |
445 bytes |
|
|
mandos.templates |
1225
|
4 years ago |
Teddy Hogeborn |
Revert commit 1222 |
1.2 KB |
|
|
rules |
1292
|
1 year ago |
Teddy Hogeborn |
Do not hardcode directory names; get them from pkg |
2.5 KB |
|
|
watch |
976
|
6 years ago |
Teddy Hogeborn |
Fix Debian watch file
* debian/watch: Make the ". |
112 bytes |
|
|