Junichi Uekawa: New Month.
New Month. New Life.
New Month. New Life.
About four years ago, the ISO 9899:2011 "C11" standard was announced. At
the time, I had a short look at (a draft version of) the standards
document, and found a few interesting bits in there. Of course, however,
due to it only very recently having been released, I did not have much
hope of it being implemented to any reasonable amount anywhere yet.
Which turned out to be the case. Even if that wasn't true, writing code
that uses C11 features and expecting it to work just about anywhere else
would have been a bad idea back then.
We're several years down the line now, however, and now the standard has
been implemented to a reasonable extent in most compilers. GCC
claims its "support [for C11] is at a
similar level of completeness to (...) C99 support" since GCC 4.9.
Since my laptop has GCC 4.9, I looked at one feature in C11 that I have
been wanting to use for a while: Generic selection.
#include <stdint.h>
#include <inttypes.h>
#include <stdio.h>
void say32(uint32_t i)
printf("32-bit variable: %" PRId32 "\n", i);
void say64(uint64_t i)
printf("64-bit variable: %" PRId64 "\n", i);
void sayother(int i)
printf("This is something else.\n");
#define say(X) _Generic((X), uint32_t: say32, uint64_t: say64, default: sayother)(X)
int main(void)
uint32_t v32 = 32;
uint64_t v64 = 64;
uint8_t v8 = 8;
say(v32);
say(v64);
say(v8);
Output of the above:
32-bit variable: 32
64-bit variable: 64
This is something else.
or, "precompiler-assisted function overloading for C". Should be useful
for things like:
#define ntoh(X) _Generic((X), int16_t: ntohs, uint16_t: ntohs, int32_t: ntohl, uint32_t: ntohl)(X)
#define hton(X) _Generic((X), int16_t: ntohs, uint16_t: htons, int32_t: ntohl, uint32_t: htonl)(X)
... and if one adds the ntohll found
here, it can do
64 bit as well.
I implemented <? support (including <?php )
script embedding support for *.inc in MirWebseite today; the
specific syntax was explicitely requested by Natureshadow. Ugh.
My own hacking activities are progressing, even if slowly. I do some
other interesting, funny, social, beneficial, etc. stuff in between, though.
I ll even have to get some of my DD buddies to sponsor me some QA uploads
of packages I formerly maintained, whereever changes are queued up such as
better old-format repo compatibility in cvs(GNU) Though some of the stuff
I do at work is currently done only there sorry.
Also: prepare to be fully enlightened about just what
evil (nice picture) Docker
is. I especially liked the comparison of containers to a herd of cattle,
mere numbers, replaceable, whereas VMs are cats, each with their individual
name, lovely petted each day, etc.
ObHint: Some may have noticed I do have a Twitter account now. I do not
really use it much. I got it because I wanted to rant at someone who only
gave Twitter as means to contact them (a European company running a lottery
for USA citizens only). But I found one nice thing: @HourlyCats (though
@FacesPics and @BahnAnsagen are funny too, and the Postillon anyway).
The internet is there for cat content, anyway.
C11 function overloading
About four years ago, the ISO 9899:2011 "C11" standard was announced. At
the time, I had a short look at (a draft version of) the standards
document, and found a few interesting bits in there. Of course, however,
due to it only very recently having been released, I did not have much
hope of it being implemented to any reasonable amount anywhere yet.
Which turned out to be the case. Even if that wasn't true, writing code
that uses C11 features and expecting it to work just about anywhere else
would have been a bad idea back then.
We're several years down the line now, however, and now the standard has
been implemented to a reasonable extent in most compilers. GCC
claims its "support [for C11] is at a
similar level of completeness to (...) C99 support" since GCC 4.9.
Since my laptop has GCC 4.9, I looked at one feature in C11 that I have
been wanting to use for a while: Generic selection.
#include <stdint.h>
#include <inttypes.h>
#include <stdio.h>
void say32(uint32_t i)
printf("32-bit variable: %" PRId32 "\n", i);
void say64(uint64_t i)
printf("64-bit variable: %" PRId64 "\n", i);
void sayother(int i)
printf("This is something else.\n");
#define say(X) _Generic((X), uint32_t: say32, uint64_t: say64, default: sayother)(X)
int main(void)
uint32_t v32 = 32;
uint64_t v64 = 64;
uint8_t v8 = 8;
say(v32);
say(v64);
say(v8);
Output of the above:
32-bit variable: 32
64-bit variable: 64
This is something else.
or, "precompiler-assisted function overloading for C". Should be useful
for things like:
#define ntoh(X) _Generic((X), int16_t: ntohs, uint16_t: ntohs, int32_t: ntohl, uint32_t: ntohl)(X)
#define hton(X) _Generic((X), int16_t: ntohs, uint16_t: htons, int32_t: ntohl, uint32_t: htonl)(X)
... and if one adds the ntohll found
here, it can do
64 bit as well.
I am a console user. I really just started to use X11 again about two weeks ago,
to sometimes test an a Qt application I am developing. I am not using
Firefox or anything similar, all my daily work happens in shells
and inside of emacs, in a console, not in X11. BRLTTY runs all the time,
translating the screen content to something that my braille display can
understand, sent out via USB. So the most important programs to me, are
really emacs, and brltty.
This is my desktop, that is up since 179 days.
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1227 message+ 20 0 7140 2860 672 S 0,0 0,1 153:33.10 dbus-daemon
21457 root 20 0 44456 1116 788 S 0,0 0,1 146:42.47 packagekitd
1 root 20 0 24348 2808 1328 S 0,0 0,1 109:16.99 systemd
7897 mlang 20 0 585776 121656 4188 S 0,0 6,0 105:22.40 emacs
13332 root 20 0 10744 432 220 S 0,0 0,0 91:55.96 ssh
19581 root 20 0 4924 1632 1076 S 0,0 0,1 53:33.56 systemd
19596 root 20 0 20312 9764 9660 S 0,0 0,5 48:10.76 systemd-journal
10172 root 20 0 85308 2472 1672 S 0,0 0,1 20:30.18 NetworkManager
29 root 20 0 0 0 0 S 0,0 0,0 18:40.24 kswapd0
13334 root 20 0 120564 5748 304 S 0,0 0,3 16:20.89 sshfs
7 root 20 0 0 0 0 S 0,0 0,0 15:21.15 rcu_sched
14245 root 20 0 7620 316 152 S 0,0 0,0 15:08.64 ssh
438 root 20 0 0 0 0 S 0,0 0,0 12:14.80 jbd2/dm-1-8
11952 root 10 -10 42968 2028 1420 S 0,0 0,1 10:36.20 brltty
Sysadmins usually know ServerSpec, a tool allowing to check if your servers are correctly configured. The use of automated deployment tools makes deployments easier and easier, but lot of unexpected situations can come up using this tool, especially when more and more servers are implied. ServerSpec allows to verify that the result of your deployments are what you were expecting for and that no exception or unexpected event goes undetected.
Backup Checker (Github stars appreciated :)) offers the same kind of controls, but for your backups. Once you have backups, you don t know if they contain what you are expecting for. And this is especially important because having broken backups mean losing your data after a major outage! Moreover if you think you are well protected with backups but they are eventually broken (corrupted archives, archives being filled with empty files, saving useless files ), you will perform your server or database upgrades without being really protected, leading to terrible situations.
Backup Checker offers lots of controls over backups:
What about you? Let us know in the comments what you think of Backup Checker and its features to connect with other backup tools. We would be happy to get your feedbacks about how you use Backup Checker or what you expect from a backup checking solution.
I recently spent some time updating my systemd knowledge and decided to put together some slides that I ll use for a lecture. I m interested in feedback about things that are missing, unclear, etc. Available on slideshare, as PDF, and as LaTeX source.
I intend to make the extra effort of republishing my own research papers as Linked Research, i.e. in a form readable by humans (HTML5), but also embedding meta-data (as RDF) for machine processing.
I ve started with Authoritative Linked Data descriptions of Debian source packages using ADMS.SW (a good candidate, as it deals with Linked Data ;).
You ll notice the menu which helps select different style sheets for preparing clean printable versions, not far from the LaTeX output usually converted to PDF.
I hope this will pave the way to more Linked Research, and less opaque publications.
The only hassle at the moment is the conversion from LaTeX to HTML5 which I m doing manually, in Emacs + nxml-mode.
Update: Check the preprint links in my publications page, for more papers.
git cinnabar git2hg and git cinnabar hg2git commands that allow to translate (possibly abbreviated) git sha1s to mercurial sha1s and vice-versa.
Winter time is a good time for some nature observation. Yesterday I had a woodpecker (picture) in front of my kitchen window. During the recent weeks there were long-tailed tits, a wren and other rarely seen birds. So I thought, it might be a good idea to capture some of these events :) I still own a Logitech C910 USB camera which allows HD video capturing up to 1080p. So I checked the web for some software that would begin video capturing in the case of motion detection and found motion, already available for Debian users. So I gave it a try. I tested all available resolutions of the camera together with the capturing results. I found that the resulting framerate of both the live stream and the captured video is highly depending on the resolution and some few configuration options. Below is a summary of my tests and the results I've achieved so far. $ dmesgAlso the
[..]
usb 7-3: new high-speed USB device number 5 using ehci-pci
usb 7-3: New USB device found, idVendor=046d, idProduct=0821
usb 7-3: New USB device strings: Mfr=0, Product=0, SerialNumber=1
usb 7-3: SerialNumber: 91CF80A0
usb 7-3: current rate 0 is different from the runtime rate 16000
usb 7-3: current rate 0 is different from the runtime rate 32000
uvcvideo: Found UVC 1.00 device (046d:0821)
input: UVC Camera (046d:0821) as /devices/pci0000:00/0000:00:1a.7/usb7/7-3/7-3:1.2/input/input17
$ lsusb
[..]
Bus 007 Device 005: ID 046d:0821 Logitech, Inc. HD Webcam C910
[..]
$ v4l2-ctl -V -d /dev/video1
Format Video Capture:
Width/Height : 1280/720
Pixel Format : 'YUYV'
Field : None
Bytes per Line: 2560
Size Image : 1843200
Colorspace : SRGB
uvcvideo kernel module is loaded and the user in question is part of the video group. Installation and startInstallation of the software is as easy as always: apt-get install motionIt is possible to run the software as a service. But for testing, I copied /etc/motion/motion.conf to ~/.motion/motion.conf, fixed its permissions (you cannot copy the file as user - it's not world readable) and disabled the daemon mode.
daemon offNote that in my case the correct device is /dev/video1 because the laptop has a built-in camera, that is /dev/video0. Also the target directory should be writeable by my user:
videodevice /dev/video1Then running motion from the command line ...
target_dir ~/Videos
$ motion... will begin to capture motion detection events and also output a live stream. CTRL+C will stop it again. Live streamThe live stream is available by pointing the browser to localhost:8081. However, the stream seems to run at 1 fps (frames per second) and indeed does. The stream gets more quality by this configuration:
[..]
[0] [NTC] [ALL] motion_startup: Motion 3.2.12+git20140228 Started
[..]
[1] [NTC] [ALL] motion_init: Thread 1 started , motion detection Enabled
[0] [NTC] [ALL] main: Thread 1 is device: /dev/video1 input -1
[1] [NTC] [VID] v4l2_get_capability:
------------------------
cap.driver: "uvcvideo"
cap.card: "UVC Camera (046d:0821)"
cap.bus_info: "usb-0000:00:1a.7-1"
cap.capabilities=0x84000001
------------------------
[1] [NTC] [VID] v4l2_get_capability: - VIDEO_CAPTURE
[1] [NTC] [VID] v4l2_get_capability: - STREAMING
[1] [NTC] [VID] v4l2_select_input: name = "Camera 1", type 0x00000002, status 00000000
[1] [NTC] [VID] v4l2_select_input: - CAMERA
[..]
[1] [NTC] [ALL] image_ring_resize: Resizing pre_capture buffer to 1 items
stream_motion onThe first option is responsible, that the stream only runs at one fps if there is no motion detection event. Otherwise the framerate increases to its maximum value, which is either the one given by stream_maxrate or the camera limit. The quality of the stream picture can be increased a bit further too by increasing the stream_quality value. Because I neither need the stream nor the control feed I disabled both:
stream_maxrate 100
stream_port 0Picture capturingBy default there is video and picture capturing if a motion event is detected. I'm not interested in these pictures, so I turned them off:
webcontrol_port 0
output_pictures offFYI: If you want a good picture quality, then the value of quality should very probably be increased. Video capturingThis is the really interesting part :) Of course if I will "shoot" some birds (with the camera), then a small image of say 320x240 pixels is not enough. The camera allows for a capture resolution up to 1920x1080 pixels (1080p). It is advertised for fluent video streams up to 720p (1280x720 pixels). So I tried the following resolutions: 320x240, 640x480, 800x600, 640x360 (360p), 1280x720 (720p) and 1920x1080 (1080p). These are easily configured by the width and height variables. For example the following configures motion for 1280x720 pixels (720p):
width 1280The result was really disappointing. No event is captured with more then 20 fps. At higher resolutions the framerate drops even further and at the highest resolution of 1920x1080 pixels, the framerate is only two(!) fps. Also every created video runs much too fast and even faster by increasing the framerate variable. Of course its default value of 2 (fps) is not enough for fluent videos. AFAIK the C910 can run with 30 fps at 1280x720 pixels. So increasing the value of framerate, the maximum framerate recorded, is a must-do. (If you wanna test yourself, check the log output for the value following
height 720
event_new_video FPS
.)The solution to the issue, that videos are running too fast, however is to increase the pre_capture value, the number of pre-captured (buffered) pictures from before motion was detected. Even small values like 3..5 result in a distinctive improvement of the situation. Though increasing the value further didn't have any effect. So the values below should almost get the most out of the camera and result in videos in normal speed.
framerate 100Videos in 1280x720 pixels are still captured with 10 fps and I don't know why. Running guvcview, the same camera allows for 30 fps in this resolution (even 60 fps in lower resolutions). However, even if the framerate could be higher, the resulting video runs fluently. Still the quality is just moderate (or to be honest, still disappointing). It looks "pixelated". Only static pictures are sharp. It took me a while to fix this too, because I first thought, the reason is the camera or missing hardware support. It is not :) The reason is, that ffmpeg is configured to produce a moderate(?)-quality video. The relevant variables are ffmpeg_bps and ffmpeg_variable_bitrate. I got the best results just changing the latter:
pre_capture 5
ffmpeg_variable_bitrate 2Finally the resulting video quality is promising. I'll start with this configuration setting up an observation camera for the bird feeding ground.There is one more tweak for me. I got even better results by enabling the auto_brightness feature.
auto_brightness onComplete configurationSo the complete configuration looks like this (only those options changed to the original config file)
daemon offLinks Continue with part II ...
videodevice /dev/video1
width 1280
height 720
framerate 100
auto_brightness on
ffmpeg_variable_bitrate 2
target_dir /home/user/Videos
stream_port 0 #8081
stream_motion on
stream_maxrate 100
webcontrol_port 0 #8080
Step 2Then I opened the settings section and went for Settings > Language and Input (Einstellungen > Sprache und Eingabe). Under KEYBOARD & INPUT METHOD (TASTATUR & EINGABEMETHODEN) I activated the entry called Logitech keyboard (Logitech Tastatur) as shown below.
Step 3Now a click on the field above that is called Default (Standard) and (here) defaults to Deutsch - Android-Tastatur (AOSP) ...
... opened a popup called Choose input method and there I've chosen Logitech keyboard (Logitech Tastatur) as shown below and confirmed it.
The default now is the Logitech keyboard:
Finally ...... it's done. The keyboard now behaves as expected and also the media/function keys do work.
Experiments
Last week I discovered The Fan Club s Experiments page. It reminds me of the Debian Experiments community on Google+. I like the concept of trying out all kinds of different things and reporting back to the community on how it works. I ve been meaning to do more of that myself so this is me jumping in and reporting back on something I ve been poking at this weekend.
Introducing Squashfs
Squashfs is a read-only compressed filesystem commonly used on embedded devices, Linux installation media and remote file systems (as is done in LTSP). Typically, a system like tmpfs, unionfs or aufs is mounted over this read-only system to make it usable as a root filesystem. It has plenty of other use cases too but for the purposes of this entry we ll stick with those use cases in mind. It supports gzip, lzo and xz(lzma) as compression back-ends. It also supports block sizes from 4K up to 1M.
Compression technique as well as block size can have major effects on both performance and file size. In most cases the defaults will probably be sufficient, but if you want to find a good balance between performance and space saving, then you ll need some more insight.
My Experiment: Test effects of squashfs compression methods and block sizes
I m not the first person to have done some tests on squashfs performance and reported on it. Bernhard Wiedemann and the Squashfs LZMA project have posted some results before, and while very useful I want more information (especially compress/uncompress times). I was surprised to not find a more complete table elsewhere either. Even if such a table existed, I probably wouldn t be satisfied with it. Each squashfs is different and it makes a big difference whether it contains already compressed information or largely uncompressed information like clear text. I d rather be able to gather compression ratio/times for a specific image rather than for one that was used for testing purposes once-off.
So, I put together a quick script that takes a squashfs image, extracts it to tmpfs, and then re-compressing it using it all the specified compression techniques and block sizes and then uncompressing those same images for their read speeds.
My Testing Environment
For this post, I will try out my script on the Ubuntu Desktop 14.04.2 LTS squashfs image. It s a complex image that contains a large mix of different kinds of files. I m extracting it to RAM since I want to avoid having disk performance as a significant factor. I m compressing the data back to SSD and extracting from there for read speed tests. The SSD seems fast enough not to have any significant effect on the tests. If you have a slow storage, the results of the larger images (with smaller block sizes) may be skewed unfavourably.
As Bernhard mentioned on his post, testing the speed of your memory can also be useful, especially when testing on different kinds of systems and comparing the results:
# dd if=/dev/zero of=/dev/null bs=1M count=100000 104857600000 bytes (105 GB) copied, 4.90059 s, 21.4 GB/sCPU is likely to be your biggest bottleneck by far when compressing. mksquashfs is SMP aware and will use all available cores by default. I m testing this on a dual core Core i7 laptop with hyper-threading (so squashfs will use 4 threads) and with 16GB RAM apparently transferring around 21GB/s. The results of the squashfs testing script will differ greatly based on the CPU cores, core speed, memory speed and storage speed of the computer you re running it on, so it shouldn t come as a surprise if you get different results than I did. If you don t have any significant bottleneck (like slow disks, slow CPU, running out of RAM, etc) then your results should more or less correspond in scale to mine for the same image. How to Run It Create a directory and place the filesystem you d like to test as filesystem.squashfs, then:
$ apt-get install squashfs-tools $ wget https://raw.githubusercontent.com/highvoltage/squashfs-experiments/master/test-mksquashfs.sh $ bash test-mksquashfs.shWith the default values in that file, you ll end up with 18 squashfs images taking up about 18GB of disk space. I keep all the results for inspection, but I ll probably adapt/fix the script to be more friendly to disk space usage some time. You should see output that look something like this, with all the resulting data in the ./results directory.
* Setting up... - Testing gzip * Running a squashfs using compression gzip, blocksize 4096 * Running a squashfs using compression gzip, blocksize 8192 * Running a squashfs using compression gzip, blocksize 16384 ... - Testing lzo * Running a squashfs using compression lzo, blocksize 4096 * Running a squashfs using compression lzo, blocksize 8192 * Running a squashfs using compression lzo, blocksize 16384 ... - Testing xz * Running a squashfs using compression xz, blocksize 4096 * Running a squashfs using compression xz, blocksize 8192 * Running a squashfs using compression xz, blocksize 16384 ... * Testing uncompressing times... * Reading results/squashfs-gzip-131072.squashfs... * Reading results/squashfs-gzip-16384.squashfs... * Reading results/squashfs-gzip-32768.squashfs... ... * Cleaning up...On to the Results The report script will output the results into CSV. Here s the table with my results. Ratio is percentage of the size of the original uncompressed data, CTIME and UTIME is compression time and uncompress time for the entire image.
| Filename | Size | Ratio | CTIME | UTIME |
| squashfs-gzip-4096.squashfs | 1137016 | 39.66% | 0m46.167s | 0m37.220s |
| squashfs-gzip-8192.squashfs | 1079596 | 37.67% | 0m53.155s | 0m35.508s |
| squashfs-gzip-16384.squashfs | 1039076 | 36.27% | 1m9.558s | 0m26.988s |
| squashfs-gzip-32768.squashfs | 1008268 | 35.20% | 1m30.056s | 0m30.599s |
| squashfs-gzip-65536.squashfs | 987024 | 34.46% | 1m51.281s | 0m35.223s |
| squashfs-gzip-131072.squashfs | 975708 | 34.07% | 1m59.663s | 0m22.878s |
| squashfs-gzip-262144.squashfs | 970280 | 33.88% | 2m13.246s | 0m23.321s |
| squashfs-gzip-524288.squashfs | 967704 | 33.79% | 2m11.515s | 0m24.865s |
| squashfs-gzip-1048576.squashfs | 966580 | 33.75% | 2m14.558s | 0m28.029s |
| squashfs-lzo-4096.squashfs | 1286776 | 44.88% | 1m36.025s | 0m22.179s |
| squashfs-lzo-8192.squashfs | 1221920 | 42.64% | 1m49.862s | 0m21.690s |
| squashfs-lzo-16384.squashfs | 1170636 | 40.86% | 2m5.008s | 0m20.831s |
| squashfs-lzo-32768.squashfs | 1127432 | 39.36% | 2m23.616s | 0m20.597s |
| squashfs-lzo-65536.squashfs | 1092788 | 38.15% | 2m48.817s | 0m21.164s |
| squashfs-lzo-131072.squashfs | 1072208 | 37.43% | 3m4.990s | 0m20.563s |
| squashfs-lzo-262144.squashfs | 1062544 | 37.10% | 3m26.816s | 0m15.708s |
| squashfs-lzo-524288.squashfs | 1057780 | 36.93% | 3m32.189s | 0m16.166s |
| squashfs-lzo-1048576.squashfs | 1055532 | 36.85% | 3m42.566s | 0m17.507s |
| squashfs-xz-4096.squashfs | 1094880 | 38.19% | 5m28.104s | 2m21.373s |
| squashfs-xz-8192.squashfs | 1002876 | 34.99% | 5m15.148s | 2m1.780s |
| squashfs-xz-16384.squashfs | 937748 | 32.73% | 5m11.683s | 1m47.878s |
| squashfs-xz-32768.squashfs | 888908 | 31.03% | 5m17.207s | 1m43.399s |
| squashfs-xz-65536.squashfs | 852048 | 29.75% | 5m27.819s | 1m38.211s |
| squashfs-xz-131072.squashfs | 823216 | 28.74% | 5m42.993s | 1m29.708s |
| squashfs-xz-262144.squashfs | 799336 | 27.91% | 6m30.575s | 1m16.502s |
| squashfs-xz-524288.squashfs | 778140 | 27.17% | 6m58.455s | 1m20.234s |
| squashfs-xz-1048576.squashfs | 759244 | 26.51% | 7m19.205s | 1m28.721s |
Dnsmasq is a very lightweight server that besides the expected DNS caching functionality, it also offers DHCP and TFTP functionality in a single binary.#You will need a range for static IPs in the main fileSaving this configuration file in /etc/dnsmasq.d/kinder-netboot will enable this to be used by dnsmasq if this line is present in /etc/dnsmasq.conf
dhcp-range=192.168.77.250,192.168.77.254,static
# give the name 'kinder' to any machine connecting through the given ethernet nics and apply 'netbsd' label
dhcp-host=00:1a:70:99:60:BB,00:06:4F:0D:B1:95, kinder, 192.168.77.251, set:netbsd
# Machines tagged 'netbsd' shall use the given NFS root path
dhcp-option=tag:netbsd, option:root-path,/export/netbsd-nslu2/root
# Enable dnsmasq's built-in TFTP server
enable-tftp
# Set the root directory for files available via FTP.
tftp-root=/srv/tftp
conf-dir=/etc/dnsmasq.dCommenting it will disable the netbsd part easily.
In 1985 the Amiga was introduced to the public - and 30 years later Amigas around the world are still running! Some are still operated under AmigaOS, some are running maybe NetBSD, but some are running the Debian m68k port - even though the port was expelled from Debian years ago! But some people still take care of this port and it is keeping up with building packages, although mostly due to emulators doing the most work.
But anyway, the Amiga is turning 30 this year! And what a great machine this was! It brought multitasking, colorful graphics and multi-channel audio to the masses. It was years ahead of its competitors, but it was doomed to fail because of management failures by the producing company Commodore, which went bankrupt in 1994.
The "30th Anniversary Event" will take place on July 25th at the Computer History Museum in Mountain View, California, USA - if the kickstarting the event will be successful during the next two weeks. So, when you earned your first merits in computing on an Amiga as well, you might want to give your Amiga history another kickstart! Not the Kickstart floppy as the A1000 needed to boot up, but fundraising the event on kickstart.org!
I think this event is not only important to old Amiga users from the good old days, but for the rememberance of computing history in general. Without doubt the Amiga set new standards in computer history and is an important part of industrial heritage.
update subcommand of cme (available with libconfig-model-dpkg-perl 2.061 currently in experimental) goes further than licensecheck2deb:
$ cme update dpkg-copyright -quiet Adding dummy license text for license public-domain for path pan/general/sorted-vector.h Adding dummy license text for license BSD-2-clause for path pan/usenet-utils/MersenneTwister.h $ cat debian/copyright Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Files: * Copyright: 1994-2001, Frank Pilhofer. The author may License: GPL-2+ Files: pan/* Copyright: 2002-2007, Charles Kerr License: GPL-2 Files: pan/data/cert-store.cc pan/data/cert-store.h Copyright: 2011, Heinrich M ller 2002-2006, Charles Kerr License: GPL-2 Files: pan/general/e-util.cc pan/general/e-util.h Copyright: 2000, 2001, Ximian, Inc License: LGPL-2 Files: pan/general/locking.h pan/general/worker-pool.cc pan/general/worker-pool.h Copyright: 2007, Calin Culianu 2002-2007, Charles Kerr License: LGPL-2+ Files: pan/general/sorted-vector.h Copyright: 2002, Martin Holzherr (holzherr@infobrain.com). License: public-domain Please fill license public-domain from header of pan/general/sorted-vector.h [ about 100 more lines including license text for Zlib and several GPL licenses ]This is a good start, but some modifications must be applied to get a correct license file:
cme update dpkg-copyright --edit
cme edit dpkg-copyright
Next.