| 1 |
2022-06-02 Colin Watson <[email protected]> |
| 2 |
|
| 3 |
Version: 2.2.2 |
| 4 |
|
| 5 |
2022-06-02 Colin Watson <[email protected]> |
| 6 |
|
| 7 |
Revert use of ProtectHome=true from systemd service |
| 8 |
|
| 9 |
I've noticed this sometimes failing at least in LXD containers as |
| 10 |
follows: |
| 11 |
|
| 12 |
Failed to set up mount namespacing: /run/systemd/unit-root/run/user: Permission denied |
| 13 |
Failed at step NAMESPACE spawning /usr/sbin/update-binfmts: Permission denied |
| 14 |
|
| 15 |
Since this isn't a long-running service, we can afford to forgo this |
| 16 |
particular piece of hardening in the name of robustness. |
| 17 |
|
| 18 |
* init/systemd/binfmt-support.service.in: Remove `ProtectHome=true`. |
| 19 |
|
| 20 |
2022-06-02 Colin Watson <[email protected]> |
| 21 |
|
| 22 |
Add NEWS entry for previous commit |
| 23 |
|
| 24 |
2022-06-02 Michael Biebl <[email protected]> |
| 25 |
|
| 26 |
Run binfmt-support.service after systemd-binfmt.service |
| 27 |
|
| 28 |
This fixes a race condition during boot when both services try to access |
| 29 |
/proc/sys/fs/binfmt_misc/register at the same time which can lead to the |
| 30 |
following error: |
| 31 |
|
| 32 |
systemd[1]: Starting Enable support for additional executable binary formats... |
| 33 |
update-binfmts[536]: update-binfmts: warning: unable to close /proc/sys/fs/binfmt_misc/register: File exists |
| 34 |
update-binfmts[536]: update-binfmts: warning: unable to close /proc/sys/fs/binfmt_misc/register: File exists |
| 35 |
update-binfmts[536]: update-binfmts: warning: unable to close /proc/sys/fs/binfmt_misc/register: File exists |
| 36 |
update-binfmts[536]: update-binfmts: exiting due to previous errors |
| 37 |
systemd[1]: binfmt-support.service: Main process exited, code=exited, status=2/INVALIDARGUMENT |
| 38 |
systemd[1]: binfmt-support.service: Failed with result 'exit-code'. |
| 39 |
systemd[1]: Failed to start Enable support for additional executable binary formats. |
| 40 |
|
| 41 |
Fixes Debian bug #1012154. |
| 42 |
|
| 43 |
2022-04-23 Colin Watson <[email protected]> |
| 44 |
|
| 45 |
gitlab-ci: Run tests with VERBOSE=1 |
| 46 |
|
| 47 |
This makes it easier to diagnose test failures. |
| 48 |
|
| 49 |
* .gitlab-ci.yml (build-distcheck:script, build-out-of-tree:script): Set |
| 50 |
VERBOSE=1. |
| 51 |
|
| 52 |
2022-04-23 Colin Watson <[email protected]> |
| 53 |
|
| 54 |
Update pre-commit hooks |
| 55 |
|
| 56 |
* .pre-commit-config.yaml (pre-commit-hooks): Update to v4.2.0. |
| 57 |
(black): Update to 22.3.0. |
| 58 |
(pyupgrade): Update to v2.32.0. |
| 59 |
|
| 60 |
2022-03-08 Colin Watson <[email protected]> |
| 61 |
|
| 62 |
pre-commit: Add shellcheck |
| 63 |
|
| 64 |
* .pre-commit-config.yaml: Add shellcheck. |
| 65 |
* .shellcheckrc: New file. |
| 66 |
|
| 67 |
2022-03-08 Colin Watson <[email protected]> |
| 68 |
|
| 69 |
tests: Add a few shellcheck directives |
| 70 |
|
| 71 |
* src/tests/detectors, src/tests/display, src/tests/enable, |
| 72 |
src/tests/find, src/tests/import, src/tests/install: Add `shellcheck |
| 73 |
source-path=SCRIPTDIR` directive before sourcing testlib.sh. |
| 74 |
* src/tests/detectors: Disable SC2154; `pkglibexecdir` is always set by |
| 75 |
the test runner. |
| 76 |
* src/tests/testlib.sh: Tell shellcheck which shell syntax to assume, |
| 77 |
since this file has no `#!` line. |
| 78 |
(fake_proc): Disable SC2154; `srcdir` is always set by the test files |
| 79 |
that include this library. |
| 80 |
|
| 81 |
2022-03-08 Colin Watson <[email protected]> |
| 82 |
|
| 83 |
tests: Improve quoting |
| 84 |
|
| 85 |
* src/tests/detectors, src/tests/display, src/tests/enable, |
| 86 |
src/tests/find, src/tests/import, src/tests/install, |
| 87 |
src/tests/testlib.sh: Use ': "${var=default}"' idiom to assign default |
| 88 |
values rather than ': ${var=default}', pacifying shellcheck. |
| 89 |
|
| 90 |
2022-03-08 Colin Watson <[email protected]> |
| 91 |
|
| 92 |
tests: Make pass/fail reporting more shellcheck-friendly |
| 93 |
|
| 94 |
* src/tests/detectors, src/tests/display, src/tests/enable, |
| 95 |
src/tests/find, src/tests/import, src/tests/install: Refactor to use |
| 96 |
report function rather than expect_pass. |
| 97 |
* src/tests/testlib.sh (expect_pass): Remove. |
| 98 |
|
| 99 |
2022-03-08 Colin Watson <[email protected]> |
| 100 |
|
| 101 |
tests: Add an expect_files_equal helper function |
| 102 |
|
| 103 |
* src/tests/testlib.sh (report): New function, similar to expect_pass |
| 104 |
but taking an exit code rather than a command string to evaluate. |
| 105 |
(expect_pass): Refactor using report function. |
| 106 |
(expect_files_equal): New function. |
| 107 |
* src/tests/detectors, src/tests/display, src/tests/enable, |
| 108 |
src/tests/find, src/tests/import, src/tests/install: Use |
| 109 |
expect_files_equal instead of the equivalent expect_pass construction. |
| 110 |
|
| 111 |
2022-03-06 Colin Watson <[email protected]> |
| 112 |
|
| 113 |
Add some hardening options to the systemd service |
| 114 |
|
| 115 |
* init/systemd/binfmt-support.service.in: Add some hardening options. |
| 116 |
(This may produce warnings with `systemd < 244`.) |
| 117 |
* NEWS.md: Document this. |
| 118 |
|
| 119 |
2022-01-16 Colin Watson <[email protected]> |
| 120 |
|
| 121 |
Update to Gnulib 20220116 |
| 122 |
|
| 123 |
* bootstrap: Sync to Gnulib 1eae0f7ea3c220d054025f2c9211700665f9f4a0. |
| 124 |
* bootstrap.conf (GNULIB_REVISION): Set to |
| 125 |
1eae0f7ea3c220d054025f2c9211700665f9f4a0. |
| 126 |
|
| 127 |
2022-01-16 Colin Watson <[email protected]> |
| 128 |
|
| 129 |
Update pre-commit hooks |
| 130 |
|
| 131 |
* .pre-commit-config.yaml (pre-commit-hooks): Update to v4.1.0. |
| 132 |
(black): Update to 21.12b0. |
| 133 |
(pyupgrade): Update to v2.31.0. |
| 134 |
(flake8): Update to 5.10.1. |
| 135 |
|
| 136 |
2022-01-03 Colin Watson <[email protected]> |
| 137 |
|
| 138 |
Remove release.sh |
| 139 |
|
| 140 |
GitLab CI handles building releases now. |
| 141 |
|
| 142 |
* release.sh: Remove. |
| 143 |
* Makefile.am (EXTRA_DIST): Remove release.sh. |
| 144 |
|
| 145 |
2022-01-03 Colin Watson <[email protected]> |
| 146 |
|
| 147 |
Add release automation |
| 148 |
|
| 149 |
When a tag is pushed to GitLab, upload the bootstrapped source tarball |
| 150 |
to the package registry, and create a release in GitLab associated with |
| 151 |
the tag. |
| 152 |
|
| 153 |
* .gitlab-ci.yml (stages): Remove test, since it had no jobs. Add |
| 154 |
upload and release. |
| 155 |
(upload, release): New jobs. |
| 156 |
|
| 157 |
2022-01-03 Colin Watson <[email protected]> |
| 158 |
|
| 159 |
Reformat release notes as Markdown |
| 160 |
|
| 161 |
* NEWS: Move to ... |
| 162 |
* NEWS.md: ... here. Reformat as Markdown. |
| 163 |
|
| 164 |
2022-01-02 Colin Watson <[email protected]> |
| 165 |
|
| 166 |
Enable many more GCC warnings |
| 167 |
|
| 168 |
* bootstrap.conf (gnulib_modules): Add manywarnings. |
| 169 |
* configure.ac: Add gl_MANYWARN_ALL_GCC, with some refinements to |
| 170 |
disable -Wsystem-headers and -Wmissing-field-initializers. |
| 171 |
(--enable-gcc-warnings): New option, based on code in coreutils. Use |
| 172 |
this to enable -fanalyzer only if --enable-gcc-warnings=expensive is |
| 173 |
used; it's useful but slow. |
| 174 |
|
| 175 |
2022-01-02 Colin Watson <[email protected]> |
| 176 |
|
| 177 |
Update to Gnulib 20211231 |
| 178 |
|
| 179 |
* bootstrap: Sync to Gnulib 14db2b71b5bd05b94ec6126617fd32cd5f1016cd. |
| 180 |
* bootstrap.conf (GNULIB_REVISION): Set to |
| 181 |
14db2b71b5bd05b94ec6126617fd32cd5f1016cd. |
| 182 |
|
| 183 |
2022-01-02 Colin Watson <[email protected]> |
| 184 |
|
| 185 |
Add build-distcheck CI artifact |
| 186 |
|
| 187 |
This should eventually allow publishing release tarballs built by a CI |
| 188 |
process rather than on my laptop. |
| 189 |
|
| 190 |
* .gitlab-ci.yml (variables): Set GIT_DEPTH to 0; we need full history |
| 191 |
in order to build the ChangeLog file. |
| 192 |
(build-distcheck:before_script): Add git, needed by gitlog-to-changelog. |
| 193 |
(build-distcheck:artifacts): Add bootstrapped/*.tar.gz. |
| 194 |
|
| 195 |
2021-11-28 Colin Watson <[email protected]> |
| 196 |
|
| 197 |
Fix pre-commit CI |
| 198 |
|
| 199 |
* .gitlab-ci.yml (bootstrap): Install git. |
| 200 |
|
| 201 |
2021-11-28 Colin Watson <[email protected]> |
| 202 |
|
| 203 |
Run pre-commit in GitLab CI |
| 204 |
|
| 205 |
* .gitlab-ci.yml (stages): Add bootstrap. |
| 206 |
(pre-commit): New job. |
| 207 |
(bootstrap): Move to bootstrap stage. |
| 208 |
|
| 209 |
2021-11-17 Colin Watson <[email protected]> |
| 210 |
|
| 211 |
Apply pyupgrade (no-op) |
| 212 |
|
| 213 |
* .pre-commit-config.yaml: Add pyupgrade. |
| 214 |
|
| 215 |
2021-11-08 Colin Watson <[email protected]> |
| 216 |
|
| 217 |
Ignore the "black" commit for "git blame" |
| 218 |
|
| 219 |
Developers should apply the following config setting: |
| 220 |
|
| 221 |
git config blame.ignoreRevsFile .git-blame-ignore-revs |
| 222 |
|
| 223 |
* .git-blame-ignore-revs: New file. |
| 224 |
|
| 225 |
2021-11-08 Colin Watson <[email protected]> |
| 226 |
|
| 227 |
Apply black code formatter for Python |
| 228 |
|
| 229 |
* .pre-commit-config.yaml: Add black, flake8, and isort. |
| 230 |
* .flake8: New file. |
| 231 |
* src/tests/pyproject.toml: New file. |
| 232 |
* src/tests/binfmt_misc.py: Reformat using black. |
| 233 |
|
| 234 |
2021-11-08 Colin Watson <[email protected]> |
| 235 |
|
| 236 |
Update pre-commit-hooks |
| 237 |
|
| 238 |
* .pre-commit-config.yaml: Update pre-commit-hooks to v4.0.1. |
| 239 |
(trailing-whitespace): Exclude src/mp.h. |
| 240 |
|
| 241 |
2021-11-08 Colin Watson <[email protected]> |
| 242 |
|
| 243 |
Reduce indentation depth using C99 |
| 244 |
|
| 245 |
* src/update-binfmts.c (parse_opt): Move declaration of "p" to the |
| 246 |
initialization clause of its "for" statement, allowing us to remove an |
| 247 |
enclosing block and associated indentation level. |
| 248 |
|
| 249 |
2021-11-08 Colin Watson <[email protected]> |
| 250 |
|
| 251 |
Document C99 compiler requirement |
| 252 |
|
| 253 |
The use of MPP_DECLARE in src/glcontainers.h needs this. While I've |
| 254 |
historically tried to stick to C89, that's probably too picky: it should |
| 255 |
be easy to find a C99 compiler for any system that can run |
| 256 |
binfmt-support. |
| 257 |
|
| 258 |
* README.md (Installation): Document C99 compiler requirement. |
| 259 |
|
| 260 |
2021-11-08 Colin Watson <[email protected]> |
| 261 |
|
| 262 |
Inform build system about mp.h |
| 263 |
|
| 264 |
* src/Makefile.am (COMMON): Add mp.h. |
| 265 |
|
| 266 |
2021-11-08 Colin Watson <[email protected]> |
| 267 |
|
| 268 |
Remove superfluous blank line |
| 269 |
|
| 270 |
2021-11-08 Colin Watson <[email protected]> |
| 271 |
|
| 272 |
Simplify interface to container iterator macros |
| 273 |
|
| 274 |
The Gnulib container iterator macros (GL_LIST_FOREACH_* and |
| 275 |
GL_OMAP_FOREACH_*) have to run code both before and after a chunk of |
| 276 |
user-supplied code. This previously required a START/END macro pair |
| 277 |
used something like this: |
| 278 |
|
| 279 |
GL_LIST_FOREACH_START (formats, binfmt) { |
| 280 |
... |
| 281 |
} GL_LIST_FOREACH_END (formats); |
| 282 |
|
| 283 |
This doesn't look natural in C, and so it was easy to get it wrong. |
| 284 |
|
| 285 |
It's possible to do better, at the cost of some tricky macros. |
| 286 |
Fortunately, Simon Tatham has already done the hard work in |
| 287 |
https://www.chiark.greenend.org.uk/~sgtatham/mp/, and the necessary |
| 288 |
header file is MIT-licensed, so we can incorporate it. Now these |
| 289 |
iterator macros are used more like this, which is a much more natural C |
| 290 |
style: |
| 291 |
|
| 292 |
GL_LIST_FOREACH (formats, binfmt) { |
| 293 |
... |
| 294 |
} |
| 295 |
|
| 296 |
* src/mp.h: New file. |
| 297 |
* src/glcontainers.h (GL_LIST_FOREACH_START, GL_LIST_FOREACH_END): |
| 298 |
Rewrite as ... |
| 299 |
(GL_LIST_FOREACH): ... this. |
| 300 |
(GL_OMAP_FOREACH_START, GL_OMAP_FOREACH_END): Rewrite as ... |
| 301 |
(GL_OMAP_FOREACH): ... this. |
| 302 |
* src/find.c (find_interpreters): Update uses of iterator macros. |
| 303 |
* src/run-detectors.c (main): Likewise. |
| 304 |
* src/update-binfmts.c (act_enable, act_disable, act_display, act_find): |
| 305 |
Likewise. |
| 306 |
|
| 307 |
2021-11-08 Colin Watson <[email protected]> |
| 308 |
|
| 309 |
Fix tests to work with Python 3 |
| 310 |
|
| 311 |
I attempted to do this in 505cdc5630 way back in 2012, but didn't get it |
| 312 |
quite right. |
| 313 |
|
| 314 |
* src/tests/binfmt_misc.py: Set #! to /usr/bin/python3, since that's |
| 315 |
more likely to exist nowadays. |
| 316 |
(create_entry): Return bytes. |
| 317 |
(write): Decode buffer before trying to parse it. |
| 318 |
* NEWS: Document this. |
| 319 |
* .gitlab-ci.yml (build-distcheck, build-out-of-tree): Install |
| 320 |
python3-fuse so that the tests run. |
| 321 |
(build-out-of-tree): Run "make" before "make check". |
| 322 |
|
| 323 |
2021-11-08 Colin Watson <[email protected]> |
| 324 |
|
| 325 |
Generate better git diffs for Python files |
| 326 |
|
| 327 |
* .gitattributes: Set "diff=python" for *.py files. |
| 328 |
|
| 329 |
2021-11-08 Colin Watson <[email protected]> |
| 330 |
|
| 331 |
Introduce pre-commit |
| 332 |
|
| 333 |
* .pre-commit-config.yaml: New file. |
| 334 |
|
| 335 |
2021-11-08 Colin Watson <[email protected]> |
| 336 |
|
| 337 |
Update remaining HTTP URLs to HTTPS |
| 338 |
|
| 339 |
* COPYING: Update from current contents of |
| 340 |
https://www.gnu.org/licenses/gpl-3.0.txt (no substantive licensing |
| 341 |
changes, only updated URLs). |
| 342 |
|
| 343 |
2021-11-08 Colin Watson <[email protected]> |
| 344 |
|
| 345 |
Upgrade to Gnulib 20211103 |
| 346 |
|
| 347 |
In line with Gnulib, we now require Autoconf 2.64. |
| 348 |
|
| 349 |
* bootstrap: Sync to Gnulib d902ad1b7507776bd16fa48d605fb9e2109bda16. |
| 350 |
* bootstrap.conf (GNULIB_REVISION): Set to |
| 351 |
d902ad1b7507776bd16fa48d605fb9e2109bda16. |
| 352 |
(buildreq): Bump required autoconf version to 2.64. |
| 353 |
* configure.ac (AC_PREREQ): Bump to 2.64. |
| 354 |
* NEWS: Document this. |
| 355 |
|
| 356 |
2021-11-08 Colin Watson <[email protected]> |
| 357 |
|
| 358 |
NEWS: Document move to GitLab |
| 359 |
|
| 360 |
2021-11-08 Colin Watson <[email protected]> |
| 361 |
|
| 362 |
Add a brief README |
| 363 |
|
| 364 |
* README.md: New file. |
| 365 |
|
| 366 |
2021-11-08 Colin Watson <[email protected]> |
| 367 |
|
| 368 |
Add .gitlab-ci.yml |
| 369 |
|
| 370 |
2021-09-19 Colin Watson <[email protected]> |
| 371 |
|
| 372 |
Update some obsolete Autoconf macros |
| 373 |
|
| 374 |
* configure.ac: Replace AC_GNU_SOURCE and AC_ISC_POSIX with |
| 375 |
AC_USE_SYSTEM_EXTENSIONS. Replace AC_CONFIG_HEADER with |
| 376 |
AC_CONFIG_HEADERS. |
| 377 |
|
| 378 |
2020-04-17 Colin Watson <[email protected]> |
| 379 |
|
| 380 |
Version: 2.2.1 |
| 381 |
|
| 382 |
NEWS: Document changes for 2.2.1 |
| 383 |
|
| 384 |
2020-04-17 Colin Watson <[email protected]> |
| 385 |
|
| 386 |
Fix build with gcc -fno-common |
| 387 |
|
| 388 |
Fixes Debian bug #957038. |
| 389 |
|
| 390 |
* src/paths.h (admindir, importdir, procdir, auxdir): Declare as extern. |
| 391 |
|
| 392 |
2020-01-01 Colin Watson <[email protected]> |
| 393 |
|
| 394 |
Ensure that standard I/O streams are open |
| 395 |
|
| 396 |
Otherwise behaviour is undefined if somebody (unwisely) closes them |
| 397 |
before calling us. |
| 398 |
|
| 399 |
* bootstrap.conf (gnulib_modules): Add xstdopen. |
| 400 |
* src/update-binfmts.c (main): Call xstdopen. |
| 401 |
|
| 402 |
2019-12-27 Colin Watson <[email protected]> |
| 403 |
|
| 404 |
Replace kvhash with gl_map/gl_omap |
| 405 |
|
| 406 |
A list was a clumsy implementation of this; a map is more appropriate. |
| 407 |
|
| 408 |
* bootstrap.conf (gnulib_modules): Add hash-map, hash-pjw-bare, |
| 409 |
rbtree-omap, stdbool, xmap, and xomap; remove rbtreehash-list. |
| 410 |
|
| 411 |
* src/glcontainers.c: New file. |
| 412 |
* src/glcontainers.h (string_equals, string_hash, plain_free, |
| 413 |
new_string_map, new_string_omap, map_contains, omap_contains): Add |
| 414 |
prototypes. |
| 415 |
(GL_OMAP_FOREACH_START, GL_OMAP_FOREACH_END): New macros. |
| 416 |
|
| 417 |
* src/format.c (binfmt_new): Take a map rather than a list. |
| 418 |
(kvhash_dispose_binfmt): Remove. |
| 419 |
* src/format.h (binfmt_new): Update prototype. |
| 420 |
(kvhash_dispose_binfmt): Remove prototype. |
| 421 |
|
| 422 |
* src/update-binfmts.c (formats): Declare as a map rather than a list. |
| 423 |
(get_import, load_format, act_enable, act_disable, act_install, |
| 424 |
act_remove, act_import, act_unimport, act_display, main): Update to the |
| 425 |
map API. |
| 426 |
(act_import, act_unimport): Free import before returning. |
| 427 |
|
| 428 |
* src/kvhash.c, src/kvhash.h: Remove. |
| 429 |
|
| 430 |
* src/Makefile.am (COMMON): Add glcontainers.c; remove kvhash.c and |
| 431 |
kvhash.h. |
| 432 |
|
| 433 |
2019-11-18 Helmut Grohne <[email protected]> |
| 434 |
|
| 435 |
Fix wrongly-documented "fix_binary" format entry |
| 436 |
|
| 437 |
The manual page says: |
| 438 |
|
| 439 |
| The magic, offset, mask, extension, detector, credentials, preserve, and |
| 440 |
| fix-binary options correspond to the command-line options of the same |
| 441 |
| names. |
| 442 |
|
| 443 |
However, the code parses "fix_binary" rather than "fix-binary". Use of |
| 444 |
"fix-binary" is silently ignored. |
| 445 |
|
| 446 |
Fixes Debian bug #945020. |
| 447 |
|
| 448 |
* man/update-binfmts.man8 (FORMAT FILES): Correct spelling of |
| 449 |
"fix_binary" option. |
| 450 |
|
| 451 |
2019-02-10 Colin Watson <[email protected]> |
| 452 |
|
| 453 |
Use macros for common cases of list iteration |
| 454 |
|
| 455 |
* src/glcontainers.h: New file. |
| 456 |
* src/Makefile.am (COMMON): Add glcontainers.h. |
| 457 |
* src/find.c (find_interpreters): Replace manual list iteration with |
| 458 |
equivalent macros. |
| 459 |
* src/run-detectors.c (main): Likewise. |
| 460 |
* src/update-binfmts.c (act_enable, act_disable, act_display): Likewise. |
| 461 |
|
| 462 |
2019-01-24 Colin Watson <[email protected]> |
| 463 |
|
| 464 |
Version: 2.2.0 |
| 465 |
|
| 466 |
Update to Gnulib 20190124 |
| 467 |
|
| 468 |
2019-01-13 Colin Watson <[email protected]> |
| 469 |
|
| 470 |
Warn about fix-binary/detectors incompatibility |
| 471 |
|
| 472 |
"--fix-binary yes" is incompatible with detectors. Warn the user if |
| 473 |
they try to use both at once. |
| 474 |
|
| 475 |
Thanks to Stefan Agner; fixes Debian bug #918901. |
| 476 |
|
| 477 |
* src/update-binfmts.c (act_enable): Warn and return if a detector is |
| 478 |
needed and the fix-binary flag is set. |
| 479 |
* man/update-binfmts.man8 (BINARY FORMAT SPECIFICATIONS): Document the |
| 480 |
incompatibility. |
| 481 |
* NEWS: Document this. |
| 482 |
|
| 483 |
2019-01-13 Colin Watson <[email protected]> |
| 484 |
|
| 485 |
Avoid cleanup problems in chroots |
| 486 |
|
| 487 |
Don't enable formats on import or disable them on unimport unless |
| 488 |
/proc/sys/fs/binfmt_misc is already mounted. |
| 489 |
|
| 490 |
Fixes Debian bug #847788 and Ubuntu bug #534211. |
| 491 |
|
| 492 |
* src/update-binfmts.c (is_enabled): New function. |
| 493 |
(load_binfmt_misc): Use is_enabled rather than equivalent code. |
| 494 |
(act_install): Add always_update_kernel argument. Only enable/disable |
| 495 |
if always_update_kernel or if binfmt_misc is already enabled. |
| 496 |
(act_remove): Add always_update_kernel argument. Only disable if |
| 497 |
always_update_kernel or if binfmt_misc is already enabled. |
| 498 |
(act_import, act_unimport, main): Adjust calls to act_install and |
| 499 |
act_remove. |
| 500 |
* NEWS: Document this. |
| 501 |
|
| 502 |
2019-01-13 Colin Watson <[email protected]> |
| 503 |
|
| 504 |
Add a new --unimport action |
| 505 |
|
| 506 |
This is the inverse of --import. |
| 507 |
|
| 508 |
* src/update-binfmts.c (act_unimport): New function. |
| 509 |
(enum opts, options, mode_name, parse_opt, argp, main): Handle |
| 510 |
--unimport. |
| 511 |
* src/tests/import: Test --unimport. |
| 512 |
* man/update-binfmts.man8 (SYNOPSIS): Add --unimport. |
| 513 |
(COMMON OPTIONS): Mention --unimport in description of --package. |
| 514 |
(ACTIONS): Document --unimport. |
| 515 |
* NEWS: Document this. |
| 516 |
|
| 517 |
2019-01-05 Colin Watson <[email protected]> |
| 518 |
|
| 519 |
Upgrade to Gnulib 20190105 |
| 520 |
|
| 521 |
In line with Gnulib, we now require Autoconf 2.63. |
| 522 |
|
| 523 |
* bootstrap: Sync to Gnulib d271f868a8df9bbec29049d01e056481b7a1a263. |
| 524 |
* bootstrap.conf (GNULIB_REVISION): Set to |
| 525 |
d271f868a8df9bbec29049d01e056481b7a1a263. |
| 526 |
(buildreq): Bump required autoconf version to 2.63. |
| 527 |
* configure.ac (AM_SILENT_RULES): Remove conditional, which was there |
| 528 |
for Automake 1.10 support. |
| 529 |
(AC_PREREQ): Bump to 2.63. |
| 530 |
* NEWS: Document this. |
| 531 |
|
| 532 |
2019-01-05 Colin Watson <[email protected]> |
| 533 |
|
| 534 |
Add release.sh script |
| 535 |
|
| 536 |
* release.sh: New file. |
| 537 |
* Makefile.am (EXTRA_DIST): Add release.sh. |
| 538 |
|
| 539 |
2019-01-05 Colin Watson <[email protected]> |
| 540 |
|
| 541 |
Use tar --sort=name if available |
| 542 |
|
| 543 |
* m4/binfmt-tar-sort-name.m4: New file. |
| 544 |
* configure.ac: Call BINFMT_TAR_SORT_NAME. |
| 545 |
* Makefile.am (ACLOCAL_AMFLAGS): Add -I m4. |
| 546 |
|
| 547 |
2019-01-04 Colin Watson <[email protected]> |
| 548 |
|
| 549 |
Sort formats by name in --display |
| 550 |
|
| 551 |
The easiest way to do this was to recast kvhash as a wrapper around a |
| 552 |
gl_list_t (specifically a red-black tree hash) rather than a Hash_table. |
| 553 |
|
| 554 |
* bootstrap.conf (gnulib_modules): Remove hash; add rbtreehash-list. |
| 555 |
|
| 556 |
* src/kvhash.c (kvhash_hasher): Rename to ... |
| 557 |
(kvhash_hashcode): ... this, make static, and replace the hash |
| 558 |
implementation with one from Gnulib. |
| 559 |
(kvhash_compare): New function. |
| 560 |
(kvhash_comparator): Rename to ... |
| 561 |
(kvhash_equals): ... this, make static, and reimplement using |
| 562 |
kvhash_compare. |
| 563 |
(kvhash_dispose, kvhash_dispose_plain): New functions. |
| 564 |
(kvhash_initialize, kvhash_exists, kvhash_lookup, kvhash_insert, |
| 565 |
kvhash_delete): Use a list rather than a hash. |
| 566 |
* src/kvhash.h (kvhash_hasher, kvhash_comparator): Remove prototypes. |
| 567 |
(kvhash_dispose, kvhash_dispose_plain): Add prototypes. |
| 568 |
(kvhash_initialize, kvhash_exists, kvhash_lookup, kvhash_insert, |
| 569 |
kvhash_delete): Update prototypes. |
| 570 |
|
| 571 |
* src/format.c (binfmt_new): Take a list rather than a hash table. |
| 572 |
(binfmt_hash_free): Rename to ... |
| 573 |
(kvhash_dispose_binfmt): ... this, and update to the list API. |
| 574 |
* src/format.h (binfmt_new): Update prototype. |
| 575 |
(binfmt_hash_free): Rename to ... |
| 576 |
(kvhash_dispose_binfmt): ... this, and update prototype. |
| 577 |
|
| 578 |
* src/update-binfmts.c (formats): Declare as a list rather than a hash |
| 579 |
table. |
| 580 |
(get_import, act_enable, act_disable, act_import, act_display, main): |
| 581 |
Update to the list API. |
| 582 |
|
| 583 |
* NEWS: Document this. |
| 584 |
|
| 585 |
2018-12-24 Colin Watson <[email protected]> |
| 586 |
|
| 587 |
More (void *) 0 as variadic sentinel |
| 588 |
|
| 589 |
* src/find.c (find_interpreters): Use (void *) rather than NULL as a |
| 590 |
sentinel for variadic functions. |
| 591 |
|
| 592 |
2018-12-24 Colin Watson <[email protected]> |
| 593 |
|
| 594 |
Use (void *) 0 as a variadic sentinel |
| 595 |
|
| 596 |
NULL is formally incorrect here since the standard allows it to be an |
| 597 |
integer constant expression. |
| 598 |
|
| 599 |
* src/update-binfmts.c (rename_mv, load_binfmt_misc, |
| 600 |
unload_binfmt_misc): Use (void *) rather than NULL as a sentinel for |
| 601 |
variadic functions. |
| 602 |
|
| 603 |
2018-12-24 Colin Watson <[email protected]> |
| 604 |
|
| 605 |
Tidy up and document removal of procfs support |
| 606 |
|
| 607 |
* src/update-binfmts.c (unload_binfmt_misc): Move declarations to top of |
| 608 |
function. Remove obsolete comment. |
| 609 |
* NEWS: Document removal of procfs support. |
| 610 |
|
| 611 |
2018-12-24 Bastian Blank <[email protected]> |
| 612 |
|
| 613 |
Remove ancient unused procfs support |
| 614 |
|
| 615 |
* src/update-binfmts.c (enum binfmt_style, get_binfmt_style): Remove. |
| 616 |
(load_binfmt_misc, unload_binfmt_misc): Remove procfs case. |
| 617 |
|
| 618 |
2018-05-29 Colin Watson <[email protected]> |
| 619 |
|
| 620 |
Avoid gl directory confusion |
| 621 |
|
| 622 |
* bootstrap.conf (local_gl_dir): Set to 'gnulib-local'. |
| 623 |
|
| 624 |
2018-05-28 Colin Watson <[email protected]> |
| 625 |
|
| 626 |
Upgrade to Gnulib 20180527 |
| 627 |
|
| 628 |
* bootstrap.conf (GNULIB_URL): Remove. |
| 629 |
(GNULIB_REVISION): Set to 90f289f249a266b1afb9c63e182f5d979d17df5f. |
| 630 |
(gnulib_extra_files): Remove. (This has the effect of reverting to |
| 631 |
bootstrap's default of also copying some files in build-aux/ from |
| 632 |
Gnulib.) |
| 633 |
|
| 634 |
2018-05-28 Colin Watson <[email protected]> |
| 635 |
|
| 636 |
Switch to bootstrap |
| 637 |
|
| 638 |
We no longer keep autogenerated files in git. |
| 639 |
|
| 640 |
* .gitignore: Add **/Makefile, **/Makefile.in, /INSTALL, /aclocal.m4, |
| 641 |
/build-aux, /config.h.in, /configure, /gl, and /gnulib. Remove |
| 642 |
doc/Makefile, gnulib/*, init/Makefile, init/openrc/Makefile, |
| 643 |
init/systemd/Makefile, init/sysvinit/Makefile, init/upstart/Makefile, |
| 644 |
man/Makefile, src/Makefile, and src/tests/Makefile. |
| 645 |
* INSTALL, Makefile.in, aclocal.m4, autogen.sh, build-aux, config.h.in, |
| 646 |
configure, doc/Makefile.in, gnulib, init/Makefile.in, |
| 647 |
init/openrc/Makefile.in, init/systemd/Makefile.in, |
| 648 |
init/sysvinit/Makefile.in, init/upstart/Makefile.in, man/Makefile.in, |
| 649 |
src/Makefile.in, src/tests/Makefile.in: Remove. |
| 650 |
* bootstrap, bootstrap.conf: New files. |
| 651 |
* Makefile.am (SUBDIRS, EXTRA_DIST, ACLOCAL_AMFLAGS): Refer to gl/ |
| 652 |
rather than gnulib/ (gnulib/ now contains pristine source). |
| 653 |
(EXTRA_DIST): Replace autogen.sh with bootstrap and bootstrap.conf. |
| 654 |
Remove gnulib/m4/gnulib-cache.m4 and gnulib/m4/gnulib-tool.m4. |
| 655 |
* configure.ac (AC_CONFIG_FILES): Refer to gl/ rather than gnulib/. |
| 656 |
* src/Makefile.am (AM_CPPFLAGS, LIBGNU): Likewise. |
| 657 |
|
| 658 |
2017-08-22 Colin Watson <[email protected]> |
| 659 |
|
| 660 |
Version: 2.1.8. |
| 661 |
|
| 662 |
2017-08-22 Colin Watson <[email protected]> |
| 663 |
|
| 664 |
Add --disable-{upstart,systemd} configure options |
| 665 |
|
| 666 |
* configure.ac: Add --disable-upstart and --disable-systemd options. |
| 667 |
* init/upstart/Makefile.am: Don't install job if --disable-upstart is |
| 668 |
used. |
| 669 |
* init/systemd/Makefile.am: Don't install unit if --disable-systemd is |
| 670 |
used. |
| 671 |
* NEWS: Document this. |
| 672 |
|
| 673 |
2017-07-09 Colin Watson <[email protected]> |
| 674 |
|
| 675 |
Version: 2.1.7. |
| 676 |
|
| 677 |
2017-07-09 Dan Nicholson <[email protected]> |
| 678 |
|
| 679 |
Add support for fix-binary flag |
| 680 |
|
| 681 |
Recent kernels provide a binfmt flag F referred to as fix binary[1]. |
| 682 |
This flag instructs the kernel to open the interpreter immediately and |
| 683 |
use always use the opened image. This has a big advantage in containers |
| 684 |
or chroots where the interpreter may not exist at the specified path. |
| 685 |
|
| 686 |
A primary use case would be for a static linked QEMU user emulator where |
| 687 |
an architecture can be emulated in a container or chroot without any |
| 688 |
alterations so long as the binfmt configuration is handled on the host. |
| 689 |
|
| 690 |
1. https://www.kernel.org/doc/html/latest/admin-guide/binfmt-misc.html |
| 691 |
|
| 692 |
2017-07-09 Colin Watson <[email protected]> |
| 693 |
|
| 694 |
Various build system upgrades |
| 695 |
|
| 696 |
Upgrade to Automake 1.15.1, config.guess 2016-10-02, and config.sub |
| 697 |
2016-11-04. |
| 698 |
|
| 699 |
2016-02-21 Colin Watson <[email protected]> |
| 700 |
|
| 701 |
Version: 2.1.6. |
| 702 |
|
| 703 |
2016-02-21 Colin Watson <[email protected]> |
| 704 |
|
| 705 |
Various build system upgrades |
| 706 |
|
| 707 |
Upgrade to Autoconf 2.69-9 (from Debian), config.guess 2015-08-20, |
| 708 |
config.sub 2015-08-20, and pkg-config 0.29. |
| 709 |
|
| 710 |
2016-02-21 Colin Watson <[email protected]> |
| 711 |
|
| 712 |
Implement a stop action for the systemd service |
| 713 |
|
| 714 |
* init/systemd/binfmt-support.service.in: Implement ExecStop, but |
| 715 |
with manual dependencies so that the service doesn't need to be |
| 716 |
(unnecessarily) stopped on shutdown. Thanks to Michael Biebl; fixes |
| 717 |
Debian bug #739085. |
| 718 |
* NEWS: Document this. |
| 719 |
|
| 720 |
2016-02-21 Raphaƫl Hertzog <[email protected]> |
| 721 |
|
| 722 |
Always install DB entry even if /proc entry exists |
| 723 |
|
| 724 |
* src/update-binfmts.c (act_install): Remove test for existing /proc |
| 725 |
entry, superseded by test in act_enable. Fixes Debian bug #750245. |
| 726 |
* NEWS: Document this. |
| 727 |
|
| 728 |
2015-08-06 Colin Watson <[email protected]> |
| 729 |
|
| 730 |
Upgrade to Automake 1.15 and config.sub 2014-09-11. |
| 731 |
|
| 732 |
2014-08-24 Colin Watson <[email protected]> |
| 733 |
|
| 734 |
Version: 2.1.5. |
| 735 |
|
| 736 |
Upgrade to Gettext 0.19.2. |
| 737 |
|
| 738 |
2014-08-19 Colin Watson <[email protected]> |
| 739 |
|
| 740 |
Update to config.guess 2014-03-23 and config.sub 2014-05-01. |
| 741 |
|
| 742 |
2014-08-18 Riku Voipio <[email protected]> |
| 743 |
|
| 744 |
Add support for preserve-argv0 flag |
| 745 |
|
| 746 |
Qemu will start requiring setting P in binfmt_misc |
| 747 |
flags [P]. Unfortunately update-binfmts doesn't just |
| 748 |
pass flags section as-is. The only supported flag |
| 749 |
so far is credentials, which is supported via --credentials |
| 750 |
command line flag. |
| 751 |
|
| 752 |
I've implemented a similar --preserve flag in this commit. |
| 753 |
|
| 754 |
This commit (or something similar) needs to land to Debian |
| 755 |
before qemu 2.2 can be uploaded. |
| 756 |
|
| 757 |
[P] https://www.kernel.org/doc/Documentation/binfmt_misc.txt |
| 758 |
|
| 759 |
2014-03-30 Colin Watson <[email protected]> |
| 760 |
|
| 761 |
Version: 2.1.4. |
| 762 |
|
| 763 |
Upgrade to Automake 1:1.14.1-3 (from Debian). |
| 764 |
|
| 765 |
2014-03-30 Cameron Norman <[email protected]> |
| 766 |
|
| 767 |
upstart: do not act as a task |
| 768 |
|
| 769 |
* init/upstart/binfmt-support.conf.in: Make the job a service with |
| 770 |
pre-start and post-stop stanzas rather than a task, as a task with a |
| 771 |
corresponding init script prevents startpar from continuing the boot |
| 772 |
sequence past that init script (because the job is considered |
| 773 |
"stopped"). |
| 774 |
* NEWS: Document this. |
| 775 |
|
| 776 |
2014-03-06 Colin Watson <[email protected]> |
| 777 |
|
| 778 |
Fix --disable-sysvinit and --disable-openrc configure options |
| 779 |
|
| 780 |
* configure.ac: Check whether $enable_sysvinit and $enable_openrc |
| 781 |
are set to "yes", not merely whether they are set at all. |
| 782 |
* NEWS: Document this. |
| 783 |
|
| 784 |
2014-02-20 Colin Watson <[email protected]> |
| 785 |
|
| 786 |
Fix test suite when libexecdir is not /usr/lib |
| 787 |
|
| 788 |
* src/tests/Makefile.am (TESTS_ENVIRONMENT): Export pkglibexecdir to |
| 789 |
tests. |
| 790 |
* src/tests/detectors: Expect interpreter to be set to |
| 791 |
$pkglibexecdir/run-detectors rather than |
| 792 |
/usr/lib/binfmt-support/run-detectors. |
| 793 |
* NEWS: Document this. |
| 794 |
|
| 795 |
2014-02-20 Colin Watson <[email protected]> |
| 796 |
|
| 797 |
* .gitignore: Add src/tests/*.log and src/tests/*.trs. |
| 798 |
|
| 799 |
2014-02-20 Colin Watson <[email protected]> |
| 800 |
|
| 801 |
Move Autotools auxiliary build files from tools to build-aux. |
| 802 |
|
| 803 |
"build-aux" is a more conventional location for the Autotools files. |
| 804 |
|
| 805 |
2014-02-18 Colin Watson <[email protected]> |
| 806 |
|
| 807 |
Upgrade to Gnulib 20140202. |
| 808 |
|
| 809 |
2014-02-08 Colin Watson <[email protected]> |
| 810 |
|
| 811 |
Version: 2.1.3. |
| 812 |
|
| 813 |
* init/openrc/binfmt-support.in: Check uname in stop as well. |
| 814 |
|
| 815 |
2014-02-08 Colin Watson <[email protected]> |
| 816 |
|
| 817 |
Fix reversed logic in OpenRC script |
| 818 |
|
| 819 |
* init/openrc/binfmt-support.in (start): Fix reversed uname check. |
| 820 |
* NEWS: Document this. |
| 821 |
|
| 822 |
2014-02-07 Colin Watson <[email protected]> |
| 823 |
|
| 824 |
Version: 2.1.2. |
| 825 |
|
| 826 |
2014-02-07 Colin Watson <[email protected]> |
| 827 |
|
| 828 |
Add --enable-sysvinit and --enable-openrc configure options |
| 829 |
|
| 830 |
* configure.ac: Add --enable-sysvinit and --enable-openrc options. |
| 831 |
Check that at most one of these is used. |
| 832 |
* init/openrc/Makefile.am: Install script if --enable-openrc is |
| 833 |
used. |
| 834 |
* init/sysvinit/Makefile.am: Install script if --enable-sysvinit is |
| 835 |
used. |
| 836 |
* NEWS: Document this. |
| 837 |
|
| 838 |
2014-02-07 Colin Watson <[email protected]> |
| 839 |
|
| 840 |
Remove unnecessary file extension |
| 841 |
|
| 842 |
* init/sysvinit/Makefile.am (EXTRA_DIST, CLEANFILES, noinst_SCRIPTS, |
| 843 |
binfmt-support): Remove ".sh" extension. |
| 844 |
* init/sysvinit/binfmt-support.sh.in: Rename to ... |
| 845 |
* init/sysvinit/binfmt-support.in: ... this. |
| 846 |
* .gitignore: Ignore init/sysvinit/binfmt-support rather than |
| 847 |
init/sysvinit/binfmt-support.sh. |
| 848 |
|
| 849 |
2014-02-07 Colin Watson <[email protected]> |
| 850 |
|
| 851 |
Add OpenRC support |
| 852 |
|
| 853 |
* configure.ac (AC_CONFIG_FILES): Add init/openrc/Makefile. |
| 854 |
* init/Makefile.am (SUBDIRS): Add openrc. |
| 855 |
* init/openrc/Makefile.am: New file. |
| 856 |
* init/openrc/binfmt-support.in: New file. |
| 857 |
* .gitignore: Add init/openrc/Makefile and |
| 858 |
init/openrc/binfmt-support. |
| 859 |
* NEWS: Document this. |
| 860 |
|
| 861 |
2014-02-07 Colin Watson <[email protected]> |
| 862 |
|
| 863 |
Embed full path to update-binfmts into init files |
| 864 |
|
| 865 |
* init/sysvinit/binfmt-support.sh: Rename to ... |
| 866 |
* init/sysvinit/binfmt-support.sh.in: ... this, substituting |
| 867 |
@sbindir@ and removing PATH setting. |
| 868 |
* init/sysvinit/Makefile.am (EXTRA_DIST): Distribute |
| 869 |
binfmt-support.sh.in. |
| 870 |
(CLEANFILES): Clean binfmt-support.sh. |
| 871 |
(dist_noinst_SCRIPTS): Rename to ... |
| 872 |
(noinst_SCRIPTS): ... this. |
| 873 |
(binfmt-support.sh): Generate from binfmt-support.sh.in. |
| 874 |
* init/upstart/binfmt-support.conf: Rename to ... |
| 875 |
* init/upstart/binfmt-support.conf.in: ... this, substituting |
| 876 |
@sbindir@. |
| 877 |
* init/upstart/Makefile.am (EXTRA_DIST): Distribute |
| 878 |
binfmt-support.conf.in. |
| 879 |
(CLEANFILES): Clean binfmt-support.conf. |
| 880 |
(dist_upstart_DATA): Rename to ... |
| 881 |
(upstart_DATA): ... this. |
| 882 |
(binfmt-support.conf): Generate from binfmt-support.conf.in. |
| 883 |
* .gitignore: Add init/sysvinit/binfmt-support.sh and |
| 884 |
init/upstart/binfmt-support.conf. |
| 885 |
* NEWS: Document this. |
| 886 |
|
| 887 |
2014-02-07 Colin Watson <[email protected]> |
| 888 |
|
| 889 |
Ensure all necessary directories exist after installation |
| 890 |
|
| 891 |
* configure.ac: Add AC_PROG_MKDIR_P. |
| 892 |
* src/Makefile.am (install-data-hook): Create $(admindir) and |
| 893 |
$(importdir). |
| 894 |
* NEWS: Document this. |
| 895 |
|
| 896 |
2014-02-07 Colin Watson <[email protected]> |
| 897 |
|
| 898 |
Stop hardcoding Debian defaults for various directories |
| 899 |
|
| 900 |
* configure.ac: Substitute admindir, importdir, and procdir. |
| 901 |
* man/update-binfmts.8: Rename to ... |
| 902 |
* man/update-binfmts.man8: ... this, without hardcoding directories. |
| 903 |
* man/Makefile.am (dist_man8_MANS): Rename to ... |
| 904 |
(man8_MANS): ... this. |
| 905 |
(CLEANFILES): Clean $(man8_MANS). |
| 906 |
(.man8.8): Generate manual page with appropriate substitutions. |
| 907 |
(dist-hook): Distribute update-binfmts.man8. |
| 908 |
* src/Makefile.am (AM_CPPFLAGS): Define ADMINDIR, IMPORTDIR, |
| 909 |
PROCDIR, and AUXDIR. |
| 910 |
* src/paths.c (admindir, importdir, procdir, auxdir): Use |
| 911 |
definitions rather than hardcoding. |
| 912 |
* src/run-detectors.c (options): Likewise. |
| 913 |
* src/update-binfmts.c (options): Likewise. |
| 914 |
* .gitignore: Add man/update-binfmts.8. |
| 915 |
* NEWS: Document this. |
| 916 |
|
| 917 |
2014-02-06 Colin Watson <[email protected]> |
| 918 |
|
| 919 |
Upgrade to Automake 1.14.1. |
| 920 |
|
| 921 |
2013-12-29 Colin Watson <[email protected]> |
| 922 |
|
| 923 |
Version: 2.1.1. |
| 924 |
|
| 925 |
2013-12-29 Colin Watson <[email protected]> |
| 926 |
|
| 927 |
Fix installation of systemd unit files. |
| 928 |
|
| 929 |
* configure.ac (AC_CONFIG_FILES): Remove |
| 930 |
init/systemd/binfmt-support.service. |
| 931 |
* init/systemd/Makefile.am (EXTRA_DIST): Add |
| 932 |
binfmt-support.service.in. |
| 933 |
(CLEANFILES): Add binfmt-support.service. |
| 934 |
(systemdsystemunit_DATA): Rename to ... |
| 935 |
(nodist_systemdsystemunit_DATA): ... this. |
| 936 |
(binfmt-support.service): Generate from binfmt-support.service.in. |
| 937 |
* NEWS: Document this. |
| 938 |
|
| 939 |
2013-12-29 Colin Watson <[email protected]> |
| 940 |
|
| 941 |
* configure.ac: Fix --with-systemdsystemunitdir. |
| 942 |
|
| 943 |
* .gitignore: Add **/*.a and **/*.o. |
| 944 |
|
| 945 |
Version: 2.1.0. |
| 946 |
|
| 947 |
* Makefile.am (gen_start_date): Fix fencepost error. |
| 948 |
|
| 949 |
2013-12-29 Colin Watson <[email protected]> |
| 950 |
|
| 951 |
Add a systemd unit file. |
| 952 |
|
| 953 |
* configure.ac: Add --with-systemdsystemunitdir option. |
| 954 |
(AC_CONFIG_FILES): Add init/systemd/Makefile and |
| 955 |
init/systemd/binfmt-support.service. |
| 956 |
* Makefile.am (DISTCHECK_CONFIGURE_FLAGS): Ensure that |
| 957 |
--with-systemdsystemunitdir points under ${prefix}. |
| 958 |
* init/Makefile.am (SUBDIRS): Add systemd. |
| 959 |
* init/systemd/Makefile.am: New file. |
| 960 |
* init/systemd/binfmt-support.service.in: New file. |
| 961 |
* NEWS: Document this. |
| 962 |
* .gitignore: Update. |
| 963 |
|
| 964 |
2013-12-29 Colin Watson <[email protected]> |
| 965 |
|
| 966 |
Add copyright/licence notices to init files. |
| 967 |
|
| 968 |
* .gitignore: Remove Debian-specific files. |
| 969 |
|
| 970 |
* NEWS: New file. |
| 971 |
|
| 972 |
2013-12-29 Colin Watson <[email protected]> |
| 973 |
|
| 974 |
Add sample init configuration. |
| 975 |
|
| 976 |
* Makefile.am (SUBDIRS): Add init. |
| 977 |
* configure.ac (AC_CONFIG_FILES): Add init/Makefile, |
| 978 |
init/sysvinit/Makefile, and init/upstart/Makefile. |
| 979 |
* init/Makefile.am: New file. |
| 980 |
* init/sysvinit/Makefile.am: New file. |
| 981 |
* init/sysvinit/binfmt-support.sh: New file, stripped down from |
| 982 |
debian/init.d in the Debian packaging. |
| 983 |
* init/upstart/Makefile.am: New file. |
| 984 |
* init/upstart/binfmt-support.conf: New file, copied from |
| 985 |
debian/upstart in the Debian packaging. |
| 986 |
|
| 987 |
2013-12-29 Colin Watson <[email protected]> |
| 988 |
|
| 989 |
gnulib: Import gnupload module. |
| 990 |
|
| 991 |
2013-12-29 Colin Watson <[email protected]> |
| 992 |
|
| 993 |
Improve accuracy of "make dist". |
| 994 |
|
| 995 |
* Makefile.am (SUBDIRS): Add doc. |
| 996 |
(EXTRA_DIST): Add gnulib/m4/math_h.m4. |
| 997 |
* configure.ac (AC_CONFIG_FILES): Add doc/Makefile. |
| 998 |
* doc/Makefile.am: New file. |
| 999 |
|
| 1000 |
2013-12-29 Colin Watson <[email protected]> |
| 1001 |
|
| 1002 |
Stop trying to distribute non-existent files. |
| 1003 |
|
| 1004 |
* Makefile.am (EXTRA_DIST): Remove gnulib/gets.patch and |
| 1005 |
gnulib/lib/argp-parse.patch. |
| 1006 |
|
| 1007 |
2013-12-29 Colin Watson <[email protected]> |
| 1008 |
|
| 1009 |
Automatically generate ChangeLog from git |
| 1010 |
|
| 1011 |
* Makefile.am (dist-hook): Add gen-ChangeLog. |
| 1012 |
(gen-ChangeLog): New rule, based on that in coreutils. |
| 1013 |
* gnulib: Import gitlog-to-changelog module. |
| 1014 |
* .gitignore: Add **/*~. |
| 1015 |
|
| 1016 |
2013-12-29 Colin Watson <[email protected]> |
| 1017 |
|
| 1018 |
Remove Debian packaging. |
| 1019 |
|
| 1020 |
* debian/changelog: Copy to ... |
| 1021 |
* ChangeLog-2013: ... here. |
| 1022 |
* Makefile.am (EXTRA_DIST): Add ChangeLog-2013. |
| 1023 |
* configure.ac (AC_INIT): Stop autogenerating version from |
| 1024 |
debian/changelog. Bump to 2.1.0. |
| 1025 |
|
| 1026 |
2013-12-29 Colin Watson <[email protected]> |
| 1027 |
|
| 1028 |
Move to git. |
| 1029 |
|
| 1030 |
* .bzrignore: Move to ... |
| 1031 |
* .gitignore: ... here, adjusting for differences between bzr and |
| 1032 |
git. |
| 1033 |
* Makefile.am (EXTRA_DIST): Replace .bzrignore with .gitignore. |
| 1034 |
* gnulib: Add --no-vc-files. |