Codebase list citadel-client / f3fc18b
Merge tag 'upstream/8.24' Upstream version 8.24 Conflicts: autom4te.cache/output.0 autom4te.cache/traces.0 Michael Meskes 10 years ago
4 changed file(s) with 130 addition(s) and 11 deletion(s). Raw diff Collapse all Expand all
0 #!/bin/bash
1 # find out the package version from conf
2 if test -f Makefile; then
3 make distclean
4 fi
5
6 #./bootstrap
7
8 export `grep PACKAGE_VERSION= configure |sed -e "s;';;g" -e "s;PACKAGE;CITADEL;"`
9
10 PACKAGE_VERSION=`cat packageversion`
11 DATE=`date '+%a, %d %b %Y %H:%I:00 %z'`
12 ACTUAL_DIR=`pwd`
13
14
15 rm -rf debian/textclient debian/citadel-common debian/citadel-doc debian/citadel-mta debian/citadel-server debian/citadel-suite debian/tmp
16 if echo "$ACTUAL_DIR" |grep -q "$CITADEL_VERSION"; then
17 echo "directory ($ACTUAL_DIR) naming scheme seems right. nothing done."
18 else
19 done=false
20 if test -L "$ACTUAL_DIR"; then
21 SYMLINK_=`pwd`
22 SYMLINK=`ls -l $SYMLINK_|sed "s;.*-> ;;"`
23 if ls -l $SYMLINK_|grep -q "$CITADEL_VERSION"; then
24 done=true
25 fi
26 else
27 SYMLINK=`pwd|sed "s;.*/;;"`
28 fi
29 if test "$done" = "false"; then
30 cd ..
31 if test ! -L "textclient-$CITADEL_VERSION"; then
32 ln -sf textclient "textclient-$CITADEL_VERSION"
33 fi
34 cd "textclient-$CITADEL_VERSION"
35 else
36 cd "../textclient-$CITADEL_VERSION"
37 fi
38
39 fi
40
41
42 case $1 in
43 debian)
44 if grep -q "($CITADEL_VERSION" debian/changelog; then
45 echo rebuilding package.
46 else
47 echo "Upstream Version higher than local."
48
49 fi
50 if test "$2" == "src"; then
51 cd ..
52 rm -rf tmp
53 mkdir tmp
54 cp -rL textclient-$CITADEL_VERSION tmp
55 cd tmp/textclient-$CITADEL_VERSION
56 rm -rf `find -name .svn ` svn*tmp config.log config.status
57 find -type f -exec chmod a-x {} \;
58 chmod a+x configure *.sh *.sh.in debian/rules debian/*inst* debian/rules mkinstalldirs
59 cd ..
60 tar -chzf textclient_${CITADEL_VERSION}.orig.tar.gz textclient-${CITADEL_VERSION}/ --exclude "debian/*"
61 pwd
62 cd textclient-${CITADEL_VERSION}; debuild -S -sa -kw.goesgens@outgesourced.org
63 else
64 fakeroot dpkg-buildpackage
65 fi
66 ;;
67 csw)
68 if !test -d ~/pkgs/; then
69 mkdir ~/pkgs
70 fi
71 echo "
72 PKG=CSWcitadel-textclient
73 NAME=citadel - The groupware server for Web 2.0
74 VERSION=${PACKAGE_VERSION}
75 CATEGORY=application
76 VENDOR=http://www.citadel.org/ packaged for CSW by Wilfried Goesgens
77 HOTLINE=https://uncensored.citadel.org/ Room citadel support
78 EMAIL=citadel@outgesourced.org
79 " >~/pkgs/citadel
80 export LDFLAGS='-L/opt/csw/lib -L /usr/local/lib'
81 export CFLAGS='-I/opt/csw/include -I/usr/local/include -DDISABLE_CURSES'
82 ./configure \
83 --with-db=/opt/csw/bdb44 \
84 --with-ical=/usr/local/ \
85 --with-prefix=/opt/csw/ \
86 --with-datadir=/opt/csw/var/lib/citadel \
87 --with-sysconfdir=/opt/csw/etc/citadel \
88 --with-ssldir=/opt/csw/etc/ssl/citadel/ \
89 --with-spooldir=/opt/csw/var/spool/citadel \
90 --with-rundir=/opt/csw/var/run/citadel \
91 --with-docdir=/opt/csw/share/doc/citadel-doc/ \
92 --with-pam \
93 --with-zlib \
94 --with-ldap \
95 --with-libsieve
96
97 gmake citserver aidepost msgform citmail userlist sendcommand base64 whobbs citadel
98 gmake DESTDIR=$ACTUAL_DIR/cswstage install-new
99
100
101
102 ;;
103 sourcedist)
104 cd ..; tar \
105 --exclude ".gitignore" \
106 --exclude "*.lo" \
107 --exclude "*.o" \
108 --exclude "*.d" \
109 --exclude "autom4te.cache/*" \
110 --exclude "debian/*" \
111 --exclude "sysdep.h" \
112 \
113 -chvzf textclient-$CITADEL_VERSION.tar.gz textclient-$CITADEL_VERSION/
114 ;;
115 *)
116 echo "Not yet implemented. we have: debian "
117 ;;
118 esac
00 #! /bin/sh
11 # From configure.ac Revision: 5108 .
22 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for Citadel 8.20.
3 # Generated by GNU Autoconf 2.67 for Citadel 8.24.
44 #
55 # Report bugs to <http://www.citadel.org/>.
66 #
552552 # Identity of this package.
553553 PACKAGE_NAME='Citadel'
554554 PACKAGE_TARNAME='citadel'
555 PACKAGE_VERSION='8.20'
556 PACKAGE_STRING='Citadel 8.20'
555 PACKAGE_VERSION='8.24'
556 PACKAGE_STRING='Citadel 8.24'
557557 PACKAGE_BUGREPORT='http://www.citadel.org/'
558558 PACKAGE_URL=''
559559
12551255 # Omit some internal or obsolete options to make the list less imposing.
12561256 # This message is too long to be a string in the A/UX 3.1 sh.
12571257 cat <<_ACEOF
1258 \`configure' configures Citadel 8.20 to adapt to many kinds of systems.
1258 \`configure' configures Citadel 8.24 to adapt to many kinds of systems.
12591259
12601260 Usage: $0 [OPTION]... [VAR=VALUE]...
12611261
13201320
13211321 if test -n "$ac_init_help"; then
13221322 case $ac_init_help in
1323 short | recursive ) echo "Configuration of Citadel 8.20:";;
1323 short | recursive ) echo "Configuration of Citadel 8.24:";;
13241324 esac
13251325 cat <<\_ACEOF
13261326
14351435 test -n "$ac_init_help" && exit $ac_status
14361436 if $ac_init_version; then
14371437 cat <<\_ACEOF
1438 Citadel configure 8.20
1438 Citadel configure 8.24
14391439 generated by GNU Autoconf 2.67
14401440
14411441 Copyright (C) 2010 Free Software Foundation, Inc.
20932093 This file contains any messages produced by compilers while
20942094 running configure, to aid debugging if configure makes a mistake.
20952095
2096 It was created by Citadel $as_me 8.20, which was
2096 It was created by Citadel $as_me 8.24, which was
20972097 generated by GNU Autoconf 2.67. Invocation command line was
20982098
20992099 $ $0 $@
76437643 # report actual input values of CONFIG_FILES etc. instead of their
76447644 # values after options handling.
76457645 ac_log="
7646 This file was extended by Citadel $as_me 8.20, which was
7646 This file was extended by Citadel $as_me 8.24, which was
76477647 generated by GNU Autoconf 2.67. Invocation command line was
76487648
76497649 CONFIG_FILES = $CONFIG_FILES
77057705 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
77067706 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
77077707 ac_cs_version="\\
7708 Citadel config.status 8.20
7708 Citadel config.status 8.24
77097709 configured by $0, generated by GNU Autoconf 2.67,
77107710 with options \\"\$ac_cs_config\\"
77117711
00 dnl Process this file with autoconf to produce a configure script.
11 AC_PREREQ(2.52)
2 AC_INIT([Citadel], [8.20], [http://www.citadel.org/])
2 AC_INIT([Citadel], [8.24], [http://www.citadel.org/])
33 AC_REVISION([$Revision: 5108 $])
44
55 AC_CONFIG_HEADER(sysdep.h)
88
99 const char *svn_revision (void)
1010 {
11 const char *SVN_Version = "998e8e4";
11 const char *SVN_Version = "e137e36";
1212 return SVN_Version;
1313 }