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

Allan McRae allan at archlinux.org
Sun Aug 17 02:26:39 EDT 2008


    Date: Sunday, August 17, 2008 @ 02:26:38
  Author: allan
Revision: 9352

upgpkg: proftpd 1.3.1-2
    ncurses rebuild

Added:
  proftpd/trunk/mode_t.patch
Modified:
  proftpd/trunk/PKGBUILD

--------------+
 PKGBUILD     |   14 +++++++++-----
 mode_t.patch |   35 +++++++++++++++++++++++++++++++++++
 2 files changed, 44 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-08-17 06:26:17 UTC (rev 9351)
+++ PKGBUILD	2008-08-17 06:26:38 UTC (rev 9352)
@@ -3,7 +3,7 @@
 
 pkgname=proftpd
 pkgver=1.3.1
-pkgrel=1
+pkgrel=2
 pkgdesc="A high-performance, scalable FTP server"
 arch=('i686' 'x86_64')
 url="http://www.proftpd.org"
@@ -11,14 +11,18 @@
 depends=('glibc' 'pam' 'ncurses')
 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)
-md5sums=('175958df8de92d5209b7b1e2e23a5a28' '2ab07084433a57c994e65eabdf3971a9'\
-         'ddb09eb13131becdf0e081eef413116b' '71d5932b0461c318ed68c2c0c2660736')
+        proftpd.logrotate proftpd.conf.d \
+        mode_t.patch)
+md5sums=('175958df8de92d5209b7b1e2e23a5a28' '2ab07084433a57c994e65eabdf3971a9' \
+         'ddb09eb13131becdf0e081eef413116b' '71d5932b0461c318ed68c2c0c2660736' \
+         'abe1733dd7c43ea98534b32b98a8984a')
 sha1sums=('0b54286492967172c5355e2f489f9665b46591e5' '29684bdff212ff148f773dd6232cecd78b42ca2b' \
-          '83c38ec40efb7cc09d9824b98e65cd948a195cc6' 'f34f60cb4fb1f4af7be7aca427cbad3cad22bbb9')
+          '83c38ec40efb7cc09d9824b98e65cd948a195cc6' 'f34f60cb4fb1f4af7be7aca427cbad3cad22bbb9' \
+          '4de215408ec6be835133c41db3015f4dd24a7774')
 
 build() {
   cd $startdir/src/$pkgname-$pkgver
+  patch -Np0 -i ${srcdir}/mode_t.patch
   ./configure --prefix=/usr --disable-pam \
     --with-modules=mod_quotatab:mod_quotatab_file \
     --sysconfdir=/etc --localstatedir=/var --enable-ctrls

Added: mode_t.patch
===================================================================
--- mode_t.patch	                        (rev 0)
+++ mode_t.patch	2008-08-17 06:26:38 UTC (rev 9352)
@@ -0,0 +1,35 @@
+--- acconfig.h	2002/12/15 18:05:09	1.15
++++ acconfig.h	2007/10/15 17:27:25	1.16
+@@ -12,9 +12,6 @@
+ /* Define to `int' if <sys/types.h> doesn't define. */
+ #undef ino_t
+ 
+-/* Define to `mode_t' if <sys/types.h> doesn't define. */
+-#undef umode_t
+-
+ /* Define to `int' if <sys/socket.h> doesn't define. */
+ #undef socklen_t
+ 
+--- config.h.in	2007/10/13 03:05:27	1.118
++++ config.h.in	2007/10/15 17:27:25	1.119
+@@ -37,9 +37,6 @@
+ /* Define to `int' if <sys/socket.h> doesn't define. */
+ #undef socklen_t
+ 
+-/* Define to `mode_t' if <sys/types.h> doesn't define. */
+-#undef umode_t
+-
+ /* Define if you have AIX send_file() semantics. */
+ #undef HAVE_AIX_SENDFILE
+ 
+--- configure.in	2007/10/13 03:05:27	1.261
++++ configure.in	2007/10/15 17:27:25	1.262
+@@ -1119,7 +1119,7 @@
+ AC_CHECK_SIZEOF(time_t, 0)
+ 
+ dnl Check for generic typedefs
+-AC_CHECK_TYPE(umode_t, mode_t)
++AC_CHECK_TYPE(mode_t, mode_t)
+ AC_CHECK_TYPE(ino_t, ino_t)
+ AC_CHECK_TYPE(intptr_t, AC_DEFINE(HAVE_INTPTR_T),, [
+   #if HAVE_INTTYPES_H




More information about the arch-commits mailing list