summaryrefslogtreecommitdiff
path: root/extra/proftpd
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-27 23:06:15 +0000
committerroot <root@rshg047.dnsready.net>2011-06-27 23:06:15 +0000
commit0a595245dd258cc0ad9a5de2b292cf1b1a94f51a (patch)
tree2cbc26bebf7171db78c67303e24ad6e80279f2d8 /extra/proftpd
parent715631caf52784c47c8ed3aeb6cbdba2715a08db (diff)
Mon Jun 27 23:06:14 UTC 2011
Diffstat (limited to 'extra/proftpd')
-rw-r--r--extra/proftpd/PKGBUILD60
1 files changed, 32 insertions, 28 deletions
diff --git a/extra/proftpd/PKGBUILD b/extra/proftpd/PKGBUILD
index 075e30b6c..9acc9206a 100644
--- a/extra/proftpd/PKGBUILD
+++ b/extra/proftpd/PKGBUILD
@@ -1,49 +1,53 @@
-# $Id: PKGBUILD 117431 2011-04-02 01:06:40Z eric $
+# $Id: PKGBUILD 129323 2011-06-26 18:29:37Z andrea $
+# Maintainer:
# Contributor: Eric Belanger <eric@archlinux.org>
-# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
+# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
pkgname=proftpd
pkgver=1.3.3e
-pkgrel=1
+pkgrel=2
pkgdesc="A high-performance, scalable FTP server"
arch=('i686' 'x86_64')
url="http://www.proftpd.org"
license=('GPL')
-depends=('glibc' 'pam' 'ncurses' 'libcap' 'libldap'
- 'libmysqlclient' 'postgresql-libs')
+depends=('glibc' 'pam' 'ncurses' 'libcap' 'libldap' 'libmysqlclient'
+ 'postgresql-libs')
backup=('etc/proftpd.conf' 'etc/conf.d/proftpd')
-source=(ftp://ftp.proftpd.org/distrib/source/${pkgname}-${pkgver}.tar.bz2
- 'proftpd' 'proftpd.logrotate' 'proftpd.conf.d')
+source=("ftp://ftp.proftpd.org/distrib/source/${pkgname}-${pkgver}.tar.bz2"
+ 'proftpd' 'proftpd.logrotate' 'proftpd.conf.d')
md5sums=('acc49b6589bc8c9fdf1dce9000bebdbd'
'99f6f9a989e70e3fa50809fc2bbbbb0a'
'ddb09eb13131becdf0e081eef413116b'
'71d5932b0461c318ed68c2c0c2660736')
-sha1sums=('b347aa72d12e41fe8f43e8d91a7a4eeaac6f472f'
- 'b7819d725817e55b69c73e2572c21a05db48cc86'
- '83c38ec40efb7cc09d9824b98e65cd948a195cc6'
- 'f34f60cb4fb1f4af7be7aca427cbad3cad22bbb9')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr --mandir=/usr/share/man --disable-pam \
- --with-modules=mod_quotatab:mod_quotatab_file:mod_tls:mod_ldap:mod_sql:mod_sql_mysql:mod_sql_postgres \
- --sysconfdir=/etc --localstatedir=/var/run --enable-ctrls --enable-ipv6 \
- --with-includes=/usr/include/mysql:/usr/include/postgresql \
- --with-libraries=/usr/lib/mysql:/usr/lib/postgresql --enable-nls
- make
+ ./configure --prefix=/usr \
+ --mandir=/usr/share/man \
+ --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 \
+ --localstatedir=/var/run \
+ --enable-ctrls \
+ --enable-ipv6 \
+ --with-includes=/usr/include/mysql:/usr/include/postgresql \
+ --with-libraries=/usr/lib/mysql:/usr/lib/postgresql \
+ --enable-nls
+
+ make
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make DESTDIR="${pkgdir}" install
+ 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"
- make DESTDIR="${pkgdir}" install
- 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"
+ cd "${pkgdir}/etc"
+ sed -i 's|nogroup|nobody|g' proftpd.conf
+ rmdir "${pkgdir}/usr/libexec"
}