diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/common.rb.in | 2 | ||||
-rwxr-xr-x | scripts/meta-cat | 2 | ||||
-rwxr-xr-x | scripts/meta-check | 2 | ||||
-rwxr-xr-x | scripts/meta-normalize-stdio | 4 | ||||
-rwxr-xr-x | scripts/pacman-make-keyring | 3 | ||||
-rwxr-xr-x | scripts/pgp-list-keyids | 2 | ||||
-rwxr-xr-x | scripts/postfix-generate-virtual-map | 2 | ||||
-rwxr-xr-x | scripts/ssh-list-authorized-keys | 2 | ||||
-rwxr-xr-x | scripts/uid-map | 2 |
9 files changed, 21 insertions, 0 deletions
diff --git a/scripts/common.rb.in b/scripts/common.rb.in index c7dc261..6e02073 100644 --- a/scripts/common.rb.in +++ b/scripts/common.rb.in @@ -1,3 +1,5 @@ +# Copyright 2016 Luke Shumaker <lukeshu@sbcglobal.net>. + require 'yaml' def cfg diff --git a/scripts/meta-cat b/scripts/meta-cat index e6b9edd..8fe4111 100755 --- a/scripts/meta-cat +++ b/scripts/meta-cat @@ -1,6 +1,8 @@ #!/usr/bin/env ruby # Usage: meta-cat +# Copyright 2016 Luke Shumaker <lukeshu@sbcglobal.net>. + load "#{File.dirname(__FILE__)}/common.rb" print load_all_users.to_yaml diff --git a/scripts/meta-check b/scripts/meta-check index 4a2981e..5862c2e 100755 --- a/scripts/meta-check +++ b/scripts/meta-check @@ -1,4 +1,6 @@ #!/bin/bash +# Copyright 2014, 2016 Luke Shumaker <lukeshu@sbcglobal.net>. +# Copyright 2015 Márcio Alexandre Silva Delgado <coadde@parabola.nu>. . libremessages diff --git a/scripts/meta-normalize-stdio b/scripts/meta-normalize-stdio index c55487f..42cbe6e 100755 --- a/scripts/meta-normalize-stdio +++ b/scripts/meta-normalize-stdio @@ -1,4 +1,8 @@ #!/usr/bin/env ruby +# coding: utf-8 + +# Copyright 2014, 2016 Luke Shumaker <lukeshu@sbcglobal.net>. +# Copyright 2015 Márcio Alexandre Silva Delgado <coadde@parabola.nu>. # First we define a bunch of code-generators, then at the end is a # very neat and readable definition of the format of the YAML files. diff --git a/scripts/pacman-make-keyring b/scripts/pacman-make-keyring index 589984d..4fa2a0d 100755 --- a/scripts/pacman-make-keyring +++ b/scripts/pacman-make-keyring @@ -1,5 +1,8 @@ #!/usr/bin/make -rRf # Usage: pacman-make-keyring V=$(date -u +%Y%m%d) + +# Copyright 2014, 2016 Luke Shumaker <lukeshu@sbcglobal.net>. + ifeq ($(origin V),undefined) $(info Usage: pacman-make-keyring V=$$(date -u +%Y%m%d)) $(error You must set V= on the command line) diff --git a/scripts/pgp-list-keyids b/scripts/pgp-list-keyids index 9682b1a..822c89c 100755 --- a/scripts/pgp-list-keyids +++ b/scripts/pgp-list-keyids @@ -1,6 +1,8 @@ #!/usr/bin/env ruby # Usage: pgp-list-keyids +# Copyright 2014, 2016 Luke Shumaker <lukeshu@sbcglobal.net>. + load "#{File.dirname(__FILE__)}/common.rb" load_all_users.each do |uid,user| diff --git a/scripts/postfix-generate-virtual-map b/scripts/postfix-generate-virtual-map index d5c2d21..2620060 100755 --- a/scripts/postfix-generate-virtual-map +++ b/scripts/postfix-generate-virtual-map @@ -1,6 +1,8 @@ #!/usr/bin/env ruby # Usage: postfix-show-virtual-map > ${file} && postmap hash:${file} +# Copyright 2014, 2016 Luke Shumaker <lukeshu@sbcglobal.net>. + load "#{File.dirname(__FILE__)}/common.rb" users = load_all_users.values.find_all{|u|u["groups"].include?("email")} diff --git a/scripts/ssh-list-authorized-keys b/scripts/ssh-list-authorized-keys index 5fb1ea1..7bda72b 100755 --- a/scripts/ssh-list-authorized-keys +++ b/scripts/ssh-list-authorized-keys @@ -1,6 +1,8 @@ #!/usr/bin/env ruby # Usage: ssh-list-authorized-keys [username] +# Copyright 2014, 2016 Luke Shumaker <lukeshu@sbcglobal.net>. + load "#{File.dirname(__FILE__)}/common.rb" all_users = load_all_users.values diff --git a/scripts/uid-map b/scripts/uid-map index 10c3fac..01665bc 100755 --- a/scripts/uid-map +++ b/scripts/uid-map @@ -1,6 +1,8 @@ #!/usr/bin/env ruby # Usage: uid-map +# Copyright 2016 Luke Shumaker <lukeshu@sbcglobal.net>. + load "#{File.dirname(__FILE__)}/common.rb" load_all_users.each do |uid,user| |