configure-files)
cp -a /etc/aliases /etc/aliases.gforge-new
# Redirect "noreply" mail to the bit bucket (if need be)
- noreply_to_bitbucket=`/usr/share/gforge/bin/forge_get_config noreply_to_bitbucket`
- if [ "$noreply_to_bitbucket" = "true" ] ; then
+ noreply_to_bitbucket=$(/usr/share/gforge/bin/forge_get_config noreply_to_bitbucket)
+ if [ "$noreply_to_bitbucket" != "no" ] ; then
if ! grep -q "^noreply:" /etc/aliases.gforge-new ; then
echo "### Next line inserted by GForge install" >> /etc/aliases.gforge-new
echo "noreply: /dev/null" >> /etc/aliases.gforge-new
fi
# Redirect "gforge" mail to the site admin
- server_admin=`/usr/share/gforge/bin/forge_get_config admin_email`
+ server_admin=$(/usr/share/gforge/bin/forge_get_config admin_email)
if ! grep -q "^gforge:" /etc/aliases.gforge-new ; then
echo "### Next line inserted by GForge install" >> /etc/aliases.gforge-new
echo "gforge: $server_admin" >> /etc/aliases.gforge-new
tmp1=$(mktemp /tmp/$pattern)
# First, get the list of local domains right
perl -e '
-chomp($sys_lists_host=`/usr/share/gforge/bin/forge_get_config lists_host`);
+require ("/usr/share/gforge/lib/include.pl") ;
$seen_sf_domains = 0 ;
while (($l = <>) !~ /^\s*local_domains/) {
print $l;
tmp2=$(mktemp /tmp/$pattern)
# Second, insinuate our forwarding rules in the directors section
perl -e '
-chomp($sys_users_host=`/usr/share/gforge/bin/forge_get_config users_host`);
-chomp($sys_lists_host=`/usr/share/gforge/bin/forge_get_config lists_host`);
-chomp($sys_ldap_base_dn=`/usr/share/gforge/bin/forge_get_config ldap_base_dn`);
+require ("/usr/share/gforge/lib/include.pl") ;
$sf_block = "# BEGIN SOURCEFORGE BLOCK -- DO NOT EDIT #
# You may move this block around to accomodate your local needs as long as you
tmp1=$(mktemp /tmp/$pattern)
cp -a /etc/aliases /etc/aliases.gforge-new
# Redirect "noreply" mail to the bit bucket (if need be)
- noreply_to_bitbucket=`/usr/share/gforge/bin/forge_get_config noreply_to_bitbucket`
- if [ "$noreply_to_bitbucket" = "true" ] ; then
+ noreply_to_bitbucket=$(/usr/share/gforge/bin/forge_get_config noreply_to_bitbucket)
+ if [ "$noreply_to_bitbucket" != "no" ] ; then
grep -v "^noreply:" /etc/aliases.gforge-new > $tmp1
cat $tmp1 > /etc/aliases.gforge-new
fi
cp -a $cfg_aliases $cfg_aliases_gforge
# Redirect "noreply" mail to the bit bucket (if need be)
- noreply_to_bitbucket=`/usr/share/gforge/bin/forge_get_config noreply_to_bitbucket`
- if [ "$noreply_to_bitbucket" = "true" ] ; then
+ noreply_to_bitbucket=$(/usr/share/gforge/bin/forge_get_config noreply_to_bitbucket)
+ if [ "$noreply_to_bitbucket" != "no" ] ; then
if ! grep -q "^noreply:" $cfg_aliases_gforge; then
echo "### Next line inserted by GForge install" >> $cfg_aliases_gforge
echo "noreply: :blackhole:" >> $cfg_aliases_gforge
fi
# Redirect "gforge" mail to the site admin
- server_admin=`/usr/share/gforge/bin/forge_get_config admin_email`
+ server_admin=$(/usr/share/gforge/bin/forge_get_config admin_email)
if ! grep -q "^gforge:" $cfg_aliases_gforge; then
echo "### Next line inserted by GForge install" >> $cfg_aliases_gforge
echo "gforge: $server_admin" >> $cfg_aliases_gforge
cp -a $m $cfg_gforge_main
perl -e '
-chomp($sys_dbuser=`/usr/share/gforge/bin/forge_get_config database_user`);
-chomp($sys_dbname=`/usr/share/gforge/bin/forge_get_config database_name`);
-chomp($sys_users_host=`/usr/share/gforge/bin/forge_get_config users_host`);
-chomp($sys_lists_host=`/usr/share/gforge/bin/forge_get_config lists_host`);
+require ("/usr/share/gforge/lib/include.pl") ;
$seen_gf_domains = 0;
while (($l = <>) !~ /^\s*domainlist\s*local_domains/) {
print $l;
# Second, insinuate our forwarding rules in the directors section
perl -e '
-chomp($sys_users_host=`/usr/share/gforge/bin/forge_get_config users_host`);
-chomp($sys_lists_host=`/usr/share/gforge/bin/forge_get_config lists_host`);
+require ("/usr/share/gforge/lib/include.pl") ;
my $gf_block = "# BEGIN GFORGE BLOCK -- DO NOT EDIT #
# You may move this block around to accomodate your local needs as long as you
grep -v "^gforge:" $cfg_aliases_gforge > $tmp1
# Redirect "noreply" mail to the bit bucket (if need be)
- noreply_to_bitbucket=`/usr/share/gforge/bin/forge_get_config noreply_to_bitbucket`
- if [ "$noreply_to_bitbucket" = "true" ] ; then
+ noreply_to_bitbucket=$(/usr/share/gforge/bin/forge_get_config noreply_to_bitbucket)
+ if [ "$noreply_to_bitbucket" != "no" ] ; then
grep -v "^noreply:" $tmp1 > $cfg_aliases_gforge
else
cat $tmp1 > $cfg_aliases_gforge
configure-files)
cp -a /etc/aliases /etc/aliases.gforge-new
# Redirect "noreply" mail to the bit bucket (if need be)
- noreply_to_bitbucket=`/usr/share/gforge/bin/forge_get_config noreply_to_bitbucket`
- if [ "$noreply_to_bitbucket" = "true" ] ; then
+ noreply_to_bitbucket=$(/usr/share/gforge/bin/forge_get_config noreply_to_bitbucket)
+ if [ "$noreply_to_bitbucket" != "no" ] ; then
if ! grep -q "^noreply:" /etc/aliases.gforge-new ; then
echo "### Next line inserted by GForge install" >> /etc/aliases.gforge-new
echo "noreply: /dev/null" >> /etc/aliases.gforge-new
fi
# Redirect "gforge" mail to the site admin
- server_admin=`/usr/share/gforge/bin/forge_get_config admin_email`
+ server_admin=$(/usr/share/gforge/bin/forge_get_config admin_email)
if ! grep -q "^gforge:" /etc/aliases.gforge-new ; then
echo "### Next line inserted by GForge install" >> /etc/aliases.gforge-new
echo "gforge: $server_admin" >> /etc/aliases.gforge-new
tmp1=$(mktemp /tmp/$pattern)
# First, get the list of local domains right - add gforge domains to 'mydestination'
perl -e '
-chomp($domain_name=`/usr/share/gforge/bin/forge_get_config web_host`);
+require ("/usr/share/gforge/lib/include.pl") ;
my $l;
while ($l = <>) {
last if l =~ /^\s*mydestination/ ;
' < /etc/postfix/main.cf.gforge-new > $tmp1
grep -q '^[[:space:]]*relay_domains' $tmp1 || echo 'relay_domains = $mydestination' >>$tmp1
perl -i -e '
-chomp($sys_lists_host=`/usr/share/gforge/bin/forge_get_config lists_host`);
+require ("/usr/share/gforge/lib/include.pl") ;
my $l;
while (($l = <>) !~ /^\s*relay_domains/) { print $l; };
chomp $l;
tmp2=$(mktemp /tmp/$pattern)
# Second, insinuate our forwarding rules in the directors section
perl -e '
-chomp($domain_name=`/usr/share/gforge/bin/forge_get_config web_host`);
-chomp($sys_dbuser=`/usr/share/gforge/bin/forge_get_config database_user`);
-chomp($sys_dbname=`/usr/share/gforge/bin/forge_get_config database_name`);
+require ("/usr/share/gforge/lib/include.pl") ;
my $gf_block;
my $l;
configure)
[ -x /usr/bin/newaliases ] && newaliases
- echo "`/usr/share/gforge/bin/forge_get_config lists_host` mailman:" > /var/lib/gforge/etc/postfix-transport
+ echo "$(/usr/share/gforge/bin/forge_get_config lists_host) mailman:" > /var/lib/gforge/etc/postfix-transport
postmap /var/lib/gforge/etc/postfix-transport
;;
tmp1=$(mktemp /tmp/$pattern)
cp -a /etc/aliases /etc/aliases.gforge-new
# Redirect "noreply" mail to the bit bucket (if need be)
- noreply_to_bitbucket=`/usr/share/gforge/bin/forge_get_config noreply_to_bitbucket`
- if [ "$noreply_to_bitbucket" = "true" ] ; then
+ noreply_to_bitbucket=$(/usr/share/gforge/bin/forge_get_config noreply_to_bitbucket)
+ if [ "$noreply_to_bitbucket" != "no" ] ; then
grep -v "^noreply:" /etc/aliases.gforge-new > $tmp1
cat $tmp1 > /etc/aliases.gforge-new
fi
tmp1=$(mktemp /tmp/$pattern)
# First, replace the list of local domains
perl -e '
-chomp($domain_name=`/usr/share/gforge/bin/forge_get_config web_host`);
-chomp($sys_lists_host=`/usr/share/gforge/bin/forge_get_config lists_host`);
+require ("/usr/share/gforge/lib/include.pl") ;
while ($l = <>) {
last if l =~ /^\s*mydestination/ ;
print $l;
while ($l = <>) { print $l; };
' < /etc/postfix/main.cf.gforge-new > $tmp1
grep -q '^[[:space:]]*relay_domains' $tmp1 && perl -i -e '
-chomp($sys_lists_host=`/usr/share/gforge/bin/forge_get_config lists_host`);
+require ("/usr/share/gforge/lib/include.pl") ;
while (($l = <>) !~ /^\s*relay_domains/) {
print $l;
};
-- Roland Mas <lolando@debian.org> Fri, 05 Aug 2011 13:41:04 +0200
-fusionforge (5.1.1-4) UNRELEASED; urgency=low
+fusionforge (5.1.1-5) UNRELEASED; urgency=low
*
- -- Roland Mas <lolando@debian.org> Fri, 16 Mar 2012 16:31:16 +0100
+ -- Roland Mas <lolando@debian.org> Tue, 20 Mar 2012 17:17:28 +0100
+
+fusionforge (5.1.1-4) unstable; urgency=low
+
+ * Removed one more call to fusionforge-config.
+
+ -- Roland Mas <lolando@debian.org> Tue, 20 Mar 2012 17:09:19 +0100
fusionforge (5.1.1-3) unstable; urgency=low
plugins/blocks/common/* usr/share/@OLDPACKAGE@/plugins/blocks/common/
plugins/blocks/db/* usr/share/@OLDPACKAGE@/plugins/blocks/db/
plugins/blocks/www/* usr/share/@OLDPACKAGE@/plugins/blocks/www/
-plugins/blocks/etc/plugins/blocks/* etc/@OLDPACKAGE@/plugins/blocks/
+plugins/blocks/etc/plugins/blocks/* etc/@PACKAGE@/plugins/blocks/
plugins/blocks/etc/*.ini etc/@PACKAGE@/config.ini.d/