[SSSD] [PATCH] configure cleanups

Sumit Bose sbose at redhat.com
Thu Sep 3 11:47:59 UTC 2009


Hi,

this patch replaces the mailing list address and tries to make version
handling easier. I have added a VERSION file at the top level directory
and let /configure.ac, /common/configure.ac, /sss_client/configure.ac
and /server/configure.ac read the version number from it. To release a
new version only this file has to be edited and not all the configure.ac
files.

A 'make dist' does not change the version number in the
Project-Id-Version field of the *.po files. Does someone know if this
behaviour is expected?

bye,
Sumit
-------------- next part --------------
>From 28c6537c563d40c119da4ca80c0a1f29d3e7a50e Mon Sep 17 00:00:00 2001
From: Sumit Bose <sbose at redhat.com>
Date: Thu, 3 Sep 2009 13:36:22 +0200
Subject: [PATCH] configure cleanups

- replaced mailing list address
- let sssd base components read version from VERSION
---
 VERSION                              |    1 +
 common/collection/configure.ac       |    2 +-
 common/configure.ac                  |    4 +++-
 common/elapi/configure.ac            |    2 +-
 common/elapi/elapi_test/configure.ac |    2 +-
 common/ini/configure.ac              |    2 +-
 configure.ac                         |    4 +++-
 server/configure.ac                  |    4 +++-
 server/po/Makevars                   |    2 +-
 server/po/es.po                      |    2 +-
 server/po/sss_daemon.pot             |    2 +-
 sss_client/configure.ac              |    4 +++-
 sss_client/po/Makevars               |    2 +-
 sss_client/po/es.po                  |   10 +++++-----
 sss_client/po/sss_client.pot         |   10 +++++-----
 15 files changed, 31 insertions(+), 22 deletions(-)
 create mode 100644 VERSION

diff --git a/VERSION b/VERSION
new file mode 100644
index 0000000..8f0916f
--- /dev/null
+++ b/VERSION
@@ -0,0 +1 @@
+0.5.0
diff --git a/common/collection/configure.ac b/common/collection/configure.ac
index 290a310..4858bc6 100644
--- a/common/collection/configure.ac
+++ b/common/collection/configure.ac
@@ -1,4 +1,4 @@
-AC_INIT([collection],[0.3.3],[freeipa-devel at redhat.com])
+AC_INIT([collection],[0.3.3],[sssd-devel at lists.fedorahosted.org])
 AC_CONFIG_SRCDIR([collection.c])
 AC_CONFIG_AUX_DIR([build])
 AM_INIT_AUTOMAKE([-Wall -Werror foreign])
diff --git a/common/configure.ac b/common/configure.ac
index dc6b42c..d069708 100644
--- a/common/configure.ac
+++ b/common/configure.ac
@@ -1,4 +1,6 @@
-AC_INIT([sssd_libs], [0.4.0], [freeipa-devel at redhat.com])
+AC_INIT([sssd_libs],
+        m4_esyscmd([cat ../VERSION |head -n1 | tr -d '\n']),
+        [sssd-devel at lists.fedorahosted.org])
 AC_CONFIG_SRCDIR([README])
 AC_CONFIG_AUX_DIR([build])
 AM_INIT_AUTOMAKE([-Wall -Werror foreign])
diff --git a/common/elapi/configure.ac b/common/elapi/configure.ac
index a4db419..010244c 100644
--- a/common/elapi/configure.ac
+++ b/common/elapi/configure.ac
@@ -1,4 +1,4 @@
-AC_INIT([elapi],[0.0.1],[freeipa-devel at redhat.com])
+AC_INIT([elapi],[0.0.1],[sssd-devel at lists.fedorahosted.org])
 AC_CONFIG_SRCDIR([elapi.h])
 AC_CONFIG_AUX_DIR([build])
 AM_INIT_AUTOMAKE([-Wall -Werror foreign])
diff --git a/common/elapi/elapi_test/configure.ac b/common/elapi/elapi_test/configure.ac
index f2431bd..9297acf 100644
--- a/common/elapi/elapi_test/configure.ac
+++ b/common/elapi/elapi_test/configure.ac
@@ -1,4 +1,4 @@
-AC_INIT([elapi],[0.0.1],[freeipa-devel at redhat.com])
+AC_INIT([elapi],[0.0.1],[sssd-devel at lists.fedorahosted.org])
 AC_CONFIG_SRCDIR([elapi_ut.c])
 AC_CONFIG_AUX_DIR([build])
 AM_INIT_AUTOMAKE([-Wall -Werror foreign])
diff --git a/common/ini/configure.ac b/common/ini/configure.ac
index c4732cf..c599124 100644
--- a/common/ini/configure.ac
+++ b/common/ini/configure.ac
@@ -1,4 +1,4 @@
-AC_INIT([ini_config],[0.3.3],[freeipa-devel at redhat.com])
+AC_INIT([ini_config],[0.3.3],[sssd-devel at lists.fedorahosted.org])
 AC_CONFIG_SRCDIR([ini_config.c])
 AC_CONFIG_AUX_DIR([build])
 AM_INIT_AUTOMAKE([-Wall -Werror foreign])
diff --git a/configure.ac b/configure.ac
index d8d092a..d908dbb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,6 @@
-AC_INIT([sssd], [0.5.0], [freeipa-devel at redhat.com])
+AC_INIT([sssd],
+        m4_esyscmd([cat VERSION |head -n1 | tr -d '\n']),
+        [sssd-devel at lists.fedorahosted.org])
 AC_CONFIG_SRCDIR([BUILD.txt])
 AC_CONFIG_AUX_DIR([build])
 AM_INIT_AUTOMAKE([-Wall -Werror foreign])
diff --git a/server/configure.ac b/server/configure.ac
index 071ad07..3ecd0c3 100644
--- a/server/configure.ac
+++ b/server/configure.ac
@@ -11,7 +11,9 @@ AC_DEFUN([SMB_MODULE_DEFAULT], [echo -n ""])
 AC_DEFUN([SMB_LIBRARY_ENABLE], [echo -n ""])
 AC_DEFUN([SMB_EXT_LIB], [echo -n ""])
 AC_DEFUN([SMB_ENABLE], [echo -n ""])
-AC_INIT([sss_daemon], [0.4.0], [freeipa-devel at redhat.com])
+AC_INIT([sss_daemon],
+        m4_esyscmd([cat ../VERSION |head -n1 | tr -d '\n']),
+        [sssd-devel at lists.fedorahosted.org])
 AC_CONFIG_SRCDIR([conf_macros.m4])
 AC_CONFIG_AUX_DIR([build])
 
diff --git a/server/po/Makevars b/server/po/Makevars
index 2b1d4dd..07fc814 100644
--- a/server/po/Makevars
+++ b/server/po/Makevars
@@ -34,7 +34,7 @@ COPYRIGHT_HOLDER = Red Hat, Inc.
 # It can be your email address, or a mailing list address where translators
 # can write to without being subscribed, or the URL of a web page through
 # which the translators can contact you.
-MSGID_BUGS_ADDRESS = freeipa-devel at redhat.com
+MSGID_BUGS_ADDRESS = sssd-devel at lists.fedorahosted.org
 
 # This is the list of locale categories, beyond LC_MESSAGES, for which the
 # message catalogs shall be used.  It is usually empty.
diff --git a/server/po/es.po b/server/po/es.po
index 05f707c..9ba0e84 100644
--- a/server/po/es.po
+++ b/server/po/es.po
@@ -6,7 +6,7 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: sss_daemon 0.4.0\n"
-"Report-Msgid-Bugs-To: freeipa-devel at redhat.com\n"
+"Report-Msgid-Bugs-To: sssd-devel at lists.fedorahosted.org\n"
 "POT-Creation-Date: 2009-08-24 14:04-0400\n"
 "PO-Revision-Date: 2009-06-15 10:21-0400\n"
 "Last-Translator: Automatically generated\n"
diff --git a/server/po/sss_daemon.pot b/server/po/sss_daemon.pot
index a42af7a..aecdeb3 100644
--- a/server/po/sss_daemon.pot
+++ b/server/po/sss_daemon.pot
@@ -7,7 +7,7 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: freeipa-devel at redhat.com\n"
+"Report-Msgid-Bugs-To: sssd-devel at lists.fedorahosted.org\n"
 "POT-Creation-Date: 2009-08-24 14:04-0400\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
diff --git a/sss_client/configure.ac b/sss_client/configure.ac
index 01c717d..f5b2765 100644
--- a/sss_client/configure.ac
+++ b/sss_client/configure.ac
@@ -1,5 +1,7 @@
 AC_PREREQ(2.50)
-AC_INIT([sss_client], 0.4.0, [freeipa-devel at redhat.com])
+AC_INIT([sss_client],
+        m4_esyscmd([cat ../VERSION |head -n1 | tr -d '\n']),
+        [sssd-devel at lists.fedorahosted.org])
 AC_CONFIG_SRCDIR([common.c])
 AC_CONFIG_HEADER(config.h)
 AC_CONFIG_AUX_DIR([build])
diff --git a/sss_client/po/Makevars b/sss_client/po/Makevars
index 5dda691..1c2ad2b 100644
--- a/sss_client/po/Makevars
+++ b/sss_client/po/Makevars
@@ -34,7 +34,7 @@ COPYRIGHT_HOLDER = Red Hat, Inc.
 # It can be your email address, or a mailing list address where translators
 # can write to without being subscribed, or the URL of a web page through
 # which the translators can contact you.
-MSGID_BUGS_ADDRESS = freeipa-devel at redhat.com
+MSGID_BUGS_ADDRESS = sssd-devel at lists.fedorahosted.org
 
 # This is the list of locale categories, beyond LC_MESSAGES, for which the
 # message catalogs shall be used.  It is usually empty.
diff --git a/sss_client/po/es.po b/sss_client/po/es.po
index 21e573e..e754453 100644
--- a/sss_client/po/es.po
+++ b/sss_client/po/es.po
@@ -6,8 +6,8 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: sss_client 0.4.0\n"
-"Report-Msgid-Bugs-To: freeipa-devel at redhat.com\n"
-"POT-Creation-Date: 2009-08-24 14:04-0400\n"
+"Report-Msgid-Bugs-To: sssd-devel at lists.fedorahosted.org\n"
+"POT-Creation-Date: 2009-09-03 13:14+0200\n"
 "PO-Revision-Date: 2009-05-21 14:10-0400\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -20,14 +20,14 @@ msgstr ""
 msgid "Passwords do not match"
 msgstr "Passwords do not match"
 
-#: pam_sss.c:557
+#: pam_sss.c:552
 msgid "Password: "
 msgstr ""
 
-#: pam_sss.c:589
+#: pam_sss.c:584
 msgid "New Password: "
 msgstr ""
 
-#: pam_sss.c:590
+#: pam_sss.c:585
 msgid "Reenter new Password: "
 msgstr ""
diff --git a/sss_client/po/sss_client.pot b/sss_client/po/sss_client.pot
index a08cde5..a3e211a 100644
--- a/sss_client/po/sss_client.pot
+++ b/sss_client/po/sss_client.pot
@@ -7,8 +7,8 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: freeipa-devel at redhat.com\n"
-"POT-Creation-Date: 2009-08-24 14:04-0400\n"
+"Report-Msgid-Bugs-To: sssd-devel at lists.fedorahosted.org\n"
+"POT-Creation-Date: 2009-09-03 13:14+0200\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
 "Language-Team: LANGUAGE <LL at li.org>\n"
@@ -20,14 +20,14 @@ msgstr ""
 msgid "Passwords do not match"
 msgstr ""
 
-#: pam_sss.c:557
+#: pam_sss.c:552
 msgid "Password: "
 msgstr ""
 
-#: pam_sss.c:589
+#: pam_sss.c:584
 msgid "New Password: "
 msgstr ""
 
-#: pam_sss.c:590
+#: pam_sss.c:585
 msgid "Reenter new Password: "
 msgstr ""
-- 
1.6.2.5



More information about the sssd-devel mailing list