[arch-commits] Commit in proftpd/trunk (PKGBUILD)

Eric Bélanger eric at archlinux.org
Thu Nov 10 00:56:49 EST 2011


    Date: Thursday, November 10, 2011 @ 00:56:49
  Author: eric
Revision: 142448

upgpkg: proftpd 1.3.4-1

Upstream update

Modified:
  proftpd/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-11-10 00:01:05 UTC (rev 142447)
+++ PKGBUILD	2011-11-10 05:56:49 UTC (rev 142448)
@@ -4,7 +4,7 @@
 # Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
 
 pkgname=proftpd
-pkgver=1.3.3f
+pkgver=1.3.4
 pkgrel=1
 pkgdesc="A high-performance, scalable FTP server"
 arch=('i686' 'x86_64')
@@ -12,9 +12,10 @@
 license=('GPL')
 depends=('libldap' 'libmysqlclient' 'postgresql-libs')
 backup=('etc/proftpd.conf' 'etc/conf.d/proftpd')
-source=("ftp://ftp.proftpd.org/distrib/source/${pkgname}-${pkgver}.tar.bz2"
+source=(ftp://ftp.proftpd.org/distrib/source/${pkgname}-${pkgver}.tar.bz2{,.asc}
         'proftpd' 'proftpd.logrotate' 'proftpd.conf.d')
-md5sums=('e9416d2aa7ac1246af4fc8a80fd73f27'
+md5sums=('7734142c7fa7212ab9f188a617a4be87'
+         '0426c03ca88f1b8794006916ac6466ce'
          '99f6f9a989e70e3fa50809fc2bbbbb0a'
          'ddb09eb13131becdf0e081eef413116b'
          '71d5932b0461c318ed68c2c0c2660736')
@@ -23,7 +24,7 @@
   cd "${srcdir}/${pkgname}-${pkgver}"
 
   ./configure --prefix=/usr \
-    --mandir=/usr/share/man \
+    --libexecdir=/usr/lib \
     --disable-pam \
     --with-modules=mod_quotatab:mod_quotatab_sql:mod_quotatab_file:mod_tls:mod_ldap:mod_sql:mod_sql_mysql:mod_sql_postgres \
     --sysconfdir=/etc \
@@ -41,12 +42,10 @@
   cd "${srcdir}/${pkgname}-${pkgver}"
 
   make DESTDIR="${pkgdir}" install
+  sed -i 's|nogroup|nobody|g' "${pkgdir}/etc/proftpd.conf"
+
   install -Dm644 ../proftpd.logrotate "${pkgdir}/etc/logrotate.d/proftpd"
   install -Dm644 ../proftpd.conf.d "${pkgdir}/etc/conf.d/proftpd"
   install -Dm755 ../proftpd "${pkgdir}/etc/rc.d/proftpd"
   install -Dm755 contrib/xferstats.holger-preiss "${pkgdir}/usr/bin/ftpstats"
-
-  cd "${pkgdir}/etc"
-  sed -i 's|nogroup|nobody|g' proftpd.conf
-  rmdir "${pkgdir}/usr/libexec"
 }



More information about the arch-commits mailing list