[arch-commits] Commit in phpldapadmin/repos/community-any (PKGBUILD PKGBUILD)

Sergej Pupykin spupykin at nymeria.archlinux.org
Mon May 6 10:41:42 UTC 2013


    Date: Monday, May 6, 2013 @ 12:41:42
  Author: spupykin
Revision: 89965

archrelease: copy trunk to community-any

Added:
  phpldapadmin/repos/community-any/PKGBUILD
    (from rev 89964, phpldapadmin/trunk/PKGBUILD)
Deleted:
  phpldapadmin/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   84 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 45 insertions(+), 39 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-06 10:41:31 UTC (rev 89964)
+++ PKGBUILD	2013-05-06 10:41:42 UTC (rev 89965)
@@ -1,39 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-
-pkgname=phpldapadmin
-pkgver=1.2.3
-pkgrel=1
-pkgdesc="A PHP and hence web-based tool to administrate LDAP over the WWW"
-arch=('any')
-url="http://phpldapadmin.sourceforge.net/"
-license=('GPL')
-depends=('libldap' 'php' 'php-ldap')
-backup=("etc/webapps/phpldapadmin/.htaccess"
-	"etc/webapps/phpldapadmin/config.php")
-source=(http://downloads.sourceforge.net/project/phpldapadmin/phpldapadmin-php5/$pkgver/phpldapadmin-$pkgver.tgz)
-md5sums=('59a49054039ceb852c2da377d8742360')
-
-build() {
-  _instdir=$pkgdir/usr/share/webapps/phpldapadmin
-  mkdir -p ${_instdir} $pkgdir/etc/webapps/phpldapadmin
-  cd ${_instdir}
-
-  cp -ra $srcdir/phpldapadmin-${pkgver}/* .
-  echo "deny from all" >$pkgdir/etc/webapps/phpldapadmin/.htaccess
-
-  ln -s /etc/webapps/phpldapadmin/.htaccess ${_instdir}/.htaccess
-  ln -s /etc/webapps/phpldapadmin/config.php ${_instdir}/config/config.php
-  cp ${_instdir}/config/config.php.example $pkgdir/etc/webapps/phpldapadmin/config.php
-
-  cat >$pkgdir/etc/webapps/phpldapadmin/apache.example.conf <<EOF
-	Alias /phpldapadmin "/usr/share/webapps/phpldapAdmin"
-	<Directory "/usr/share/webapps/phpldapAdmin">
-		AllowOverride All
-		Options FollowSymlinks
-		Order allow,deny
-		Allow from all
-		php_admin_value open_basedir "/srv/:/tmp/:/usr/share/webapps/:/etc/webapps:/usr/share/pear/"
-	</Directory>
-EOF
-}

Copied: phpldapadmin/repos/community-any/PKGBUILD (from rev 89964, phpldapadmin/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2013-05-06 10:41:42 UTC (rev 89965)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=phpldapadmin
+pkgver=1.2.3
+pkgrel=2
+pkgdesc="A PHP and hence web-based tool to administrate LDAP over the WWW"
+arch=('any')
+url="http://phpldapadmin.sourceforge.net/"
+license=('GPL')
+depends=('libldap' 'php' 'php-ldap')
+makedepends=('optipng')
+backup=("etc/webapps/phpldapadmin/.htaccess"
+	"etc/webapps/phpldapadmin/config.php")
+source=(http://downloads.sourceforge.net/project/phpldapadmin/phpldapadmin-php5/$pkgver/phpldapadmin-$pkgver.tgz)
+md5sums=('59a49054039ceb852c2da377d8742360')
+
+build() {
+  cd $srcdir/phpldapadmin-${pkgver}/
+  find -name '*.png' -exec optipng -quiet -force -fix {} \;
+}
+
+package() {
+  _instdir=$pkgdir/usr/share/webapps/phpldapadmin
+  mkdir -p ${_instdir} $pkgdir/etc/webapps/phpldapadmin
+  cd ${_instdir}
+
+  cp -ra $srcdir/phpldapadmin-${pkgver}/* .
+  echo "deny from all" >$pkgdir/etc/webapps/phpldapadmin/.htaccess
+
+  ln -s /etc/webapps/phpldapadmin/.htaccess ${_instdir}/.htaccess
+  ln -s /etc/webapps/phpldapadmin/config.php ${_instdir}/config/config.php
+  cp ${_instdir}/config/config.php.example $pkgdir/etc/webapps/phpldapadmin/config.php
+
+  cat >$pkgdir/etc/webapps/phpldapadmin/apache.example.conf <<EOF
+	Alias /phpldapadmin "/usr/share/webapps/phpldapAdmin"
+	<Directory "/usr/share/webapps/phpldapAdmin">
+		AllowOverride All
+		Options FollowSymlinks
+		Order allow,deny
+		Allow from all
+		php_admin_value open_basedir "/srv/:/tmp/:/usr/share/webapps/:/etc/webapps:/usr/share/pear/"
+	</Directory>
+EOF
+}




More information about the arch-commits mailing list