Honor SOURCE_DATE_EPOCH when exporting configuration date. Autoconf-level patch submitted upstream on Wed Apr 13 17:03:23 UTC 2016 --- a/configure +++ b/configure @@ -27737,7 +28573,14 @@ ## Configuration date - CONFIG_DATE="`date`" + CONFIG_DATE="`date -u`" +if test -n "$SOURCE_DATE_EPOCH"; then + CONFIG_DATE=`date -u -d "@$SOURCE_DATE_EPOCH" 2>/dev/null \ + || date -u -r "$SOURCE_DATE_EPOCH" 2>/dev/null` + if test -z "$CONFIG_DATE"; then + as_fn_error $? "malformed SOURCE_DATE_EPOCH" "$LINENO" 5 + fi +fi ## User doing the configuration CONFIG_USER="`whoami`@`hostname`" type='hidden' name='id' value='bca1c45e4e23eb90a835f29876267e69a0f0bcb1'/> Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/gnu/tests/ldap.scm
AgeCommit message (Expand)Author
2019-03-20services: Add nslcd-service-type....* gnu/services/authentication.scm (nslcd-service-type, nslcd-configuration, %nslcd-accounts): New variables. (uglify-field-name, value->string, serialize-field, serialize-list, ssl-option?, tls-reqcert-option?, deref-option?, comma-separated-list-of-strings?, serialize-ignore-users-option, log-option?, serialize-log-option, valid-map?, scope-option?, serialize-scope-option, map-entry?, list-of-map-entries?, filter-entry?, list-of-filter-entries?, serialize-filter-entry, serialize-list-of-filter-entries, serialize-map-entry, serialize-list-of-map-entries, nslcd-config-file, nslcd-etc-service, nslcd-shepherd-service, pam-ldap-pam-services, pam-ldap-pam-service, generate-nslcd-documentation): New procedures. * gnu/tests/ldap.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. * doc/guix.texi (LDAP Services): Document it. Ricardo Wurmus