[arch-commits] Commit in squirrelmail/repos (5 files)

Eric Bélanger eric at archlinux.org
Fri Oct 21 02:54:37 UTC 2011


    Date: Thursday, October 20, 2011 @ 22:54:37
  Author: eric
Revision: 140996

db-move: moved squirrelmail from [testing] to [extra] (any)

Added:
  squirrelmail/repos/extra-any/PKGBUILD
    (from rev 140995, squirrelmail/repos/testing-any/PKGBUILD)
  squirrelmail/repos/extra-any/squirrelmail.install
    (from rev 140995, squirrelmail/repos/testing-any/squirrelmail.install)
Deleted:
  squirrelmail/repos/extra-any/PKGBUILD
  squirrelmail/repos/extra-any/squirrelmail.install
  squirrelmail/repos/testing-any/

----------------------+
 PKGBUILD             |  100 ++++++++++++++++++++++++-------------------------
 squirrelmail.install |   46 ++++++++--------------
 2 files changed, 67 insertions(+), 79 deletions(-)

Deleted: extra-any/PKGBUILD
===================================================================
--- extra-any/PKGBUILD	2011-10-21 02:53:15 UTC (rev 140995)
+++ extra-any/PKGBUILD	2011-10-21 02:54:37 UTC (rev 140996)
@@ -1,50 +0,0 @@
-# $Id$
-# Maintainer: Paul Mattal <paul at archlinux.org>
-# Contributor: Manolis Tzanidakis <manolis at archlinux.org>
-
-pkgname=squirrelmail
-pkgver=1.4.21
-pkgrel=1
-pkgdesc="Webmail for Nuts!"
-arch=('any')
-license=('GPL')
-url="http://www.squirrelmail.org"
-depends=('php' 'perl' 'imap-server')
-makedepends=('findutils')
-backup=(srv/http/squirrelmail/.htaccess srv/http/squirrelmail/config/config.php)
-install=$pkgname.install
-source=(http://superb-sea2.dl.sf.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
-md5sums=('1e53a47b0544c37705079cb961ef05dc')
-
-package() {
-  # install
-  mkdir -p "$pkgdir"/srv/http/squirrelmail
-  cd "$pkgdir"/srv/http/squirrelmail
-  cp -a "$srcdir"/squirrelmail-$pkgver/* .
-
-  # remove CVS dirs
-  find "$pkgdir" -type d -name CVS -exec rm -rf {} \;
-
-  # customize config (data and attachments in /var/lib/squirrelmail)
-  cd config
-  cp -p config_default.php config.php
-  sed -i 's|^$attachment_dir = $data_dir;|$attachment_dir = "/var/lib/squirrelmail/attachments";|' config.php
-  sed -i 's|^$data_dir = "/var/local/squirrelmail/data";|$data_dir = "/var/lib/squirrelmail/data";|' config.php
-
-  # create data and attachments directories, set ownership/permissions
-  # ideally we would set attachments differently to root:-1 with 0730, but
-  # I don't know how to get chgrp to take "-1" properly; perhaps someday
-  # I'll figure out how to make this work
-  mkdir -p "$pkgdir"/var/lib/squirrelmail/{data,attachments}
-  chown -R http:http "$pkgdir"/var/lib/squirrelmail/data
-   
-  chown -R http:http "$pkgdir"/var/lib/squirrelmail/attachments
-   
-  chmod 0700 "$pkgdir"/var/lib/squirrelmail/data
-  chmod 0300 "$pkgdir"/var/lib/squirrelmail/attachments
-
-  # restrict access to squirrelmail by default
-  echo "deny from all" >"$pkgdir"/srv/http/squirrelmail/.htaccess
-}
-
-# vim: ts=2 sw=2 et ft=sh

Copied: squirrelmail/repos/extra-any/PKGBUILD (from rev 140995, squirrelmail/repos/testing-any/PKGBUILD)
===================================================================
--- extra-any/PKGBUILD	                        (rev 0)
+++ extra-any/PKGBUILD	2011-10-21 02:54:37 UTC (rev 140996)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Paul Mattal <paul at archlinux.org>
+# Contributor: Manolis Tzanidakis <manolis at archlinux.org>
+
+pkgname=squirrelmail
+pkgver=1.4.22
+pkgrel=1
+pkgdesc="Webmail for Nuts!"
+arch=('any')
+license=('GPL')
+url="http://www.squirrelmail.org"
+depends=('php' 'perl' 'imap-server')
+backup=(srv/http/squirrelmail/.htaccess srv/http/squirrelmail/config/config.php)
+install=$pkgname.install
+source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-webmail-$pkgver.tar.bz2{,.sig})
+md5sums=('494016b82762e57dca009fd9cc77ac2e'
+         'eddabb7071e008c41308d957ff8c3e32')
+
+package() {
+  # install
+  mkdir -p "$pkgdir"/srv/http/squirrelmail
+  cd "$pkgdir"/srv/http/squirrelmail
+  cp -a "$srcdir"/squirrelmail-webmail-$pkgver/* .
+
+  # remove CVS dirs
+  find "$pkgdir" -type d -name CVS -exec rm -rf {} \;
+
+  # customize config (data and attachments in /var/lib/squirrelmail)
+  cd config
+  cp -p config_default.php config.php
+  sed -i 's|^$attachment_dir = $data_dir;|$attachment_dir = "/var/lib/squirrelmail/attachments";|' config.php
+  sed -i 's|^$data_dir = "/var/local/squirrelmail/data";|$data_dir = "/var/lib/squirrelmail/data";|' config.php
+
+  # create data and attachments directories, set ownership/permissions
+  # ideally we would set attachments differently to root:-1 with 0730, but
+  # I don't know how to get chgrp to take "-1" properly; perhaps someday
+  # I'll figure out how to make this work
+  mkdir -p "$pkgdir"/var/lib/squirrelmail/{data,attachments}
+  chown -R http:http "$pkgdir"/var/lib/squirrelmail/data
+   
+  chown -R http:http "$pkgdir"/var/lib/squirrelmail/attachments
+   
+  chmod 0700 "$pkgdir"/var/lib/squirrelmail/data
+  chmod 0300 "$pkgdir"/var/lib/squirrelmail/attachments
+
+  # restrict access to squirrelmail by default
+  echo "deny from all" >"$pkgdir"/srv/http/squirrelmail/.htaccess
+}
+
+# vim: ts=2 sw=2 et ft=sh

Deleted: extra-any/squirrelmail.install
===================================================================
--- extra-any/squirrelmail.install	2011-10-21 02:53:15 UTC (rev 140995)
+++ extra-any/squirrelmail.install	2011-10-21 02:54:37 UTC (rev 140996)
@@ -1,29 +0,0 @@
-post_install() {
-  /bin/cat <<THEEND
-
-NOTE
-----
-To configure squirrelmail :
-$ cd /srv/http/squirrelmail/config
-$ perl conf.pl
-
-Make sure to check the documentation on its webpage for more details,
-especially about securing your setup.  The default attachments dir
-has been placed in /var/lib/squirrelmail/attachments.
-
-Also make sure your php module is loaded in your Apache config.
-
-THEEND
-}
-
-post_upgrade() {
-  /bin/true
-}
-
-pre_remove() {
-  /bin/true
-}
-
-post_remove() {
-	/bin/true
-}

Copied: squirrelmail/repos/extra-any/squirrelmail.install (from rev 140995, squirrelmail/repos/testing-any/squirrelmail.install)
===================================================================
--- extra-any/squirrelmail.install	                        (rev 0)
+++ extra-any/squirrelmail.install	2011-10-21 02:54:37 UTC (rev 140996)
@@ -0,0 +1,17 @@
+post_install() {
+  /bin/cat <<THEEND
+
+NOTE
+----
+To configure squirrelmail :
+$ cd /srv/http/squirrelmail/config
+$ perl conf.pl
+
+Make sure to check the documentation on its webpage for more details,
+especially about securing your setup.  The default attachments dir
+has been placed in /var/lib/squirrelmail/attachments.
+
+Also make sure your php module is loaded in your Apache config.
+
+THEEND
+}




More information about the arch-commits mailing list