pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/43238: Update mail/prayer to version 1.3.2



>Number:         43238
>Category:       pkg
>Synopsis:       Update mail/prayer to version 1.3.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun May 02 17:00:00 +0000 2010
>Originator:     Francois Tigeot
>Release:        DragonFly 2.6.2
>Organization:
Zefyris
>Environment:
DragonFly serenity.zefyris.com 2.6-RELEASE DragonFly v2.6.2.4.gb56d7-RELEASE 
#14: Sat Apr 24 18:13:28 CEST 2010     
ftigeot%serenity.zefyris.com@localhost:/usr/obj/usr/src/sys/NEHALEM  i386
>Description:
This submission updates mail/prayer to version 1.3.2

- security fixes
- various bug fixes and small improvements
- new XHTML strict template tree
- add UTF-8 support
- add IPv6 support
- add Raven single sign-on authentication


>How-To-Repeat:
Try to install mail/prayer from pkgsrc
>Fix:
Patch attached.

diff -urN prayer.orig/Makefile prayer/Makefile
--- prayer.orig/Makefile        2008-11-14 02:04:32 +0100
+++ prayer/Makefile     2010-05-02 12:13:15 +0200
@@ -1,8 +1,7 @@
 # $NetBSD: Makefile,v 1.37 2008/11/13 14:21:05 tron Exp $
 #
 
-DISTNAME=      prayer-1.0.18
-PKGREVISION=   5
+DISTNAME=      prayer-1.3.2
 CATEGORIES=    mail www
 MASTER_SITES=  ftp://ftp.csx.cam.ac.uk/pub/software/email/prayer/
 
@@ -11,6 +10,7 @@
 COMMENT=       Small, fast, web mail interface
 
 USE_TOOLS+=    gmake perl
+REPLACE_PERL=  templates/src/build_index.pl templates/src/build_map_index.pl
 PRAYER_USER=   prayer
 PRAYER_GROUP=  prayer
 PKG_GROUPS=    ${PRAYER_GROUP}
@@ -36,7 +36,6 @@
 CONF_FILES=    ${EGDIR}/prayer.cf ${PKG_SYSCONFDIR}/prayer.cf
 CONF_FILES+=   ${EGDIR}/prayer-accountd.cf ${PKG_SYSCONFDIR}/prayer-accountd.cf
 CONF_FILES+=   ${EGDIR}/motd.html ${PKG_SYSCONFDIR}/motd.html
-CONF_FILES+=   ${EGDIR}/welcome.html ${PKG_SYSCONFDIR}/welcome.html
 
 VAR_PREFIX=    ${VARBASE}/spool/prayer
 
@@ -58,6 +57,5 @@
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../mail/imap-uw/buildlink3.mk"
 .include "../../security/openssl/buildlink3.mk"
-.include "../../mk/krb5.buildlink3.mk"
 
 .include "../../mk/bsd.pkg.mk"
diff -urN prayer.orig/PLIST prayer/PLIST
--- prayer.orig/PLIST   2009-06-15 03:08:25 +0200
+++ prayer/PLIST        2010-05-02 12:35:44 +0200
@@ -1,5 +1,10 @@
 @comment $NetBSD: PLIST,v 1.10 2009/06/14 18:04:40 joerg Exp $
+man/man5/prayer.cf.5
+man/man8/prayer-session.8
+man/man8/prayer-ssl-prune.8
+man/man8/prayer.8
 sbin/prayer
+sbin/prayer-chroot
 sbin/prayer-cyclog
 sbin/prayer-db-prune
 sbin/prayer-sem-prune
@@ -8,85 +13,4 @@
 share/examples/prayer/motd.html
 share/examples/prayer/prayer-accountd.cf
 share/examples/prayer/prayer.cf
-share/examples/prayer/welcome.html
 share/examples/rc.d/prayer
-share/prayer/help/abook_add.html
-share/prayer/help/abook_list.html
-share/prayer/help/abook_lookup.html
-share/prayer/help/abook_search.html
-share/prayer/help/abook_take.html
-share/prayer/help/abook_update.html
-share/prayer/help/abook_xfer.html
-share/prayer/help/attachments.html
-share/prayer/help/block.html
-share/prayer/help/compose/large.html
-share/prayer/help/compose/normal.html
-share/prayer/help/compose/postponed.html
-share/prayer/help/compose/role_list.html
-share/prayer/help/copy.html
-share/prayer/help/dictionary.html
-share/prayer/help/display.html
-share/prayer/help/favourites.html
-share/prayer/help/filter.html
-share/prayer/help/filter_select.html
-share/prayer/help/folders.html
-share/prayer/help/fullname.html
-share/prayer/help/include.html
-share/prayer/help/list.html
-share/prayer/help/manage.html
-share/prayer/help/passwd.html
-share/prayer/help/prefs/compose1.html
-share/prayer/help/prefs/compose2.html
-share/prayer/help/prefs/display1.html
-share/prayer/help/prefs/folder.html
-share/prayer/help/prefs/general.html
-share/prayer/help/quota.html
-share/prayer/help/redirect.html
-share/prayer/help/rename.html
-share/prayer/help/reply.html
-share/prayer/help/roles_entry.html
-share/prayer/help/roles_list.html
-share/prayer/help/search.html
-share/prayer/help/sieve.html
-share/prayer/help/spam.html
-share/prayer/help/toolbar.html
-share/prayer/help/transfer.html
-share/prayer/help/upload_select.html
-share/prayer/help/vacation.html
-share/prayer/help/vaclog.html
-share/prayer/help/welcome.html
-share/prayer/icons/addressbook-inactive.gif
-share/prayer/icons/addressbook.gif
-share/prayer/icons/back.gif
-share/prayer/icons/compose-inactive.gif
-share/prayer/icons/compose.gif
-share/prayer/icons/cross.gif
-share/prayer/icons/dir.gif
-share/prayer/icons/display-inactive.gif
-share/prayer/icons/display.gif
-share/prayer/icons/folders-inactive.gif
-share/prayer/icons/folders.gif
-share/prayer/icons/help-inactive.gif
-share/prayer/icons/help.gif
-share/prayer/icons/left-inactive.gif
-share/prayer/icons/left.gif
-share/prayer/icons/leftleft-inactive.gif
-share/prayer/icons/leftleft.gif
-share/prayer/icons/logout.gif
-share/prayer/icons/mailbox-inactive.gif
-share/prayer/icons/mailbox.gif
-share/prayer/icons/manage-inactive.gif
-share/prayer/icons/manage.gif
-share/prayer/icons/msg-answered.gif
-share/prayer/icons/msg-deleted.gif
-share/prayer/icons/msg-seen.gif
-share/prayer/icons/msg-unseen.gif
-share/prayer/icons/off.gif
-share/prayer/icons/on.gif
-share/prayer/icons/paperclip-small.gif
-share/prayer/icons/right-inactive.gif
-share/prayer/icons/right.gif
-share/prayer/icons/rightright-inactive.gif
-share/prayer/icons/rightright.gif
-share/prayer/icons/tick.gif
-share/prayer/icons/univheader.gif
diff -urN prayer.orig/distinfo prayer/distinfo
--- prayer.orig/distinfo        2007-06-16 03:04:13 +0200
+++ prayer/distinfo     2010-05-02 12:23:01 +0200
@@ -1,14 +1,14 @@
 $NetBSD: distinfo,v 1.13 2007/06/15 23:28:16 wiz Exp $
 
-SHA1 (prayer-1.0.18.tar.gz) = ab90f9bfac568ed93993beff745f1433d20f1dcc
-RMD160 (prayer-1.0.18.tar.gz) = bbe26134c69fd70026fd207f8ca0edcd24da7f74
-Size (prayer-1.0.18.tar.gz) = 566168 bytes
-SHA1 (patch-aa) = aa28cf4a598d9c8c3bf14dc9f0034ab16dccec06
-SHA1 (patch-ab) = 72f6b8768303222a8798ca07e83efccdefa8fe25
-SHA1 (patch-ac) = b7df87589bdc2fd2894f2028652e01aa0c181fa1
-SHA1 (patch-ad) = a4d60d312012be24308405b3668edb4931892c06
-SHA1 (patch-ae) = 378adaf7a2153a54824b60ee50b7a8a4591188ff
-SHA1 (patch-af) = bc3b5b7181da0646995955245b2d9d4cc8032eed
-SHA1 (patch-ag) = 2899392ad6a852dad0ccfdbea2c1a6a8f7c5feb7
-SHA1 (patch-ah) = 7197f80ad71700276c79666090b62628c128ca21
-SHA1 (patch-ai) = 0b3edeea78d16c3792d540ea0a92943ed0bb7583
+SHA1 (prayer-1.3.2.tar.gz) = 935923fe8f4c8734d4f61cbe0228bb040f0f8152
+RMD160 (prayer-1.3.2.tar.gz) = 588377d2442e2288f097542055fbc998509e57e0
+Size (prayer-1.3.2.tar.gz) = 748315 bytes
+SHA1 (patch-aa) = a6b19e35acbce1fa85e7bb98d74286d9057fdebd
+SHA1 (patch-ab) = e0824c03c87adbd2dd03b43ccfc564673ca82d4c
+SHA1 (patch-ac) = ba4f0a35161311937c22141a157298b63a177393
+SHA1 (patch-ad) = e10fc365548ee919a7d3d46dbf8005850a4f5d02
+SHA1 (patch-ae) = 0341f698a533351dc03b7e12c5e3c89867224e93
+SHA1 (patch-ag) = 629191cfe2f31cc48defa829c14b040e003b4237
+SHA1 (patch-ah) = b811943123d9ed311a69ca94a2c54e4ae1c54ede
+SHA1 (patch-ai) = ed31d073acdf7fcba9a6a1e6858442823a203139
+SHA1 (patch-ba) = 6ce69cb1c129835098c684d37dd46dfa9233d752
diff -urN prayer.orig/files/prayer.sh prayer/files/prayer.sh
--- prayer.orig/files/prayer.sh 2005-01-09 01:07:47 +0100
+++ prayer/files/prayer.sh      2010-05-02 12:18:51 +0200
@@ -25,7 +25,7 @@
 rcvar=$name
 command="@PREFIX@/sbin/prayer"
 command_args=""
-pidfile="@VAR_PREFIX@/pid/prayer"
+pidfile="@VAR_PREFIX@/pid/prayer.pid"
 
 prayer_flags=${prayer_flags-""} 
 OPSYS=@OPSYS@
diff -urN prayer.orig/patches/patch-aa prayer/patches/patch-aa
--- prayer.orig/patches/patch-aa        2007-06-16 03:04:13 +0200
+++ prayer/patches/patch-aa     2010-05-01 20:37:05 +0200
@@ -1,73 +1,67 @@
-$NetBSD: patch-aa,v 1.9 2007/06/15 23:28:17 wiz Exp $
-
---- defaults/Config.orig       2006-04-05 12:35:35.000000000 +0000
-+++ defaults/Config
-@@ -16,9 +16,9 @@ DIRECT_ENABLE        = false  # Experime
+--- defaults/Config.orig       2009-09-01 12:25:22 +0200
++++ defaults/Config    2010-05-01 20:36:35 +0200
+@@ -15,8 +15,8 @@
  MUTEX_SEMAPHORE      = false  # Use SYSV mutexes rather than file locking
  
  # Following depend on the way that you have configured c-client
 -CCLIENT_SSL_ENABLE   = false  # C-client was built with SSL support
 -CCLIENT_PAM_ENABLE   = false  # C-client was built with PAM support
--CCLIENT_KERB_ENABLE  = false  # C-client was built with Kerberos support
 +CCLIENT_SSL_ENABLE   = true  # C-client was built with SSL support
 +CCLIENT_PAM_ENABLE   = true  # C-client was built with PAM support
-+CCLIENT_KERB_ENABLE  = true  # C-client was built with Kerberos support
+ CCLIENT_KERB_ENABLE  = false  # C-client was built with Kerberos support
  
  # Probably don't need the following
- ACCOUNTD_ENABLE      = false  # Only of use in Cambridge at the moment.
-@@ -32,13 +32,13 @@ CC           = gcc
+@@ -31,22 +31,18 @@
  # Location of make program (GNU make required)
  MAKE         = gmake
  # Location of install program (GNU install or compatible required)
 -INSTALL      = install
 +INSTALL      = install -c
  
- # Base Compiler options for GCC.
- #BASECFLAGS   = -Wall -g
- #BASELDFLAGS  = -g
--BASECFLAGS   = -Wall -g -O2
--BASELDFLAGS  = -g -O2
-+BASECFLAGS   = -Wall
-+BASELDFLAGS  = 
- BASE_LIBS    = -lcrypt
- 
- # Base Compiler options for Sun SUNWspro compiler
-@@ -58,9 +58,9 @@ BASE_LIBS    = -lcrypt
+ # Base Compiler options for GCC (use CPPFLAGS and LDFLAGS if passed in)
+ ifdef CPPFLAGS
+   BASECFLAGS   = $(CPPFLAGS)
+ else
+-  BASECFLAGS   = -Wall -g -O2
++  BASECFLAGS   = -Wall
+ endif
+ ifdef INCLUDES
+   BASECFLAGS += $(INCLUDES)
+ endif
+-ifdef LDFLAGS
+- BASELDFLAGS  = $(LDFLAGS)
+-else
+- BASELDFLAGS  = -g
+-endif
++BASELDFLAGS  =
+ 
+ # Minimal libraries needed by Linux
+ BASE_LIBS    = -lcrypt -lutil
+@@ -71,9 +67,9 @@
  # which points to ../../imap/c-client. This just reduces the amount of
  # noise output on each line when building the package.
  #
--CCLIENT_DIR=./c-client
+-CCLIENT_DIR=../c-client
 -CCLIENT_INCLUDE=-I $(CCLIENT_DIR)
 -CCLIENT_LIBS=./$(CCLIENT_DIR)/c-client.a
 +CCLIENT_DIR=${BUILDLINK_PREFIX.imap-uw}
 +CCLIENT_INCLUDE=-I $(CCLIENT_DIR)/include/c-client
 +CCLIENT_LIBS=$(CCLIENT_DIR)/lib/libc-client.a
- CCLIENT_SSL_ENABLE  = true
  
  #
-@@ -107,8 +107,8 @@ PAM_INCLUDE =
- PAM_LIBS    = -lpam
- 
- # Kerberos (required if CCLIENT_KERB_ENABLE set)
--KERB_INCLUDE = -I/usr/kerberos/include
--KERB_LIBS    = -L/usr/kerberos/lib -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err
-+KERB_INCLUDE = -I/usr/include
-+KERB_LIBS    = -L/usr/lib -lgssapi -lcom_err -lkrb5 -lasn1 -lroken
- 
- # SSL definitions (required if SSL_ENABLE or CCLIENT_SSL_ENABLE set)
+ # Following works with imap-devel RPM package from Redhat 7.
+@@ -140,8 +136,8 @@
+ # DB definitions (required if SESSION_CACHE_ENABLE set)
  #
-@@ -132,8 +132,8 @@ DB_INCLUDE=
- DB_LIBS=-ldb
- 
- # Following suitable for FreeBSD with DB 4 package installed
--#DB_INCLUDE=-I/usr/local/include/db4
--#DB_LIBS=-L/usr/local/lib -ldb4
+ # Following suitable for Redhat Linux which has DB 3 preinstalled
+-DB_INCLUDE=
+-DB_LIBS=-ldb
 +DB_INCLUDE=-I${BUILDLINK_PREFIX.db4}/include/db4
 +DB_LIBS=-L${BUILDLINK_PREFIX.db4}/lib -ldb4
  
- ############################################################################
- 
-@@ -147,16 +147,16 @@ BROOT=
+ # Following suitable for FreeBSD with DB 4 package installed
+ #DB_INCLUDE=-I/usr/local/include/db4
+@@ -159,16 +155,16 @@
  
  # Directory, User and group for read-write files: log files, sockets etc
  VAR_PREFIX = /var/spool/prayer
@@ -89,7 +83,7 @@
  
  # Access permissions for general objects (wrt above users and groups)
  PUBLIC_EXEC  = 0755
-@@ -169,6 +169,6 @@ PRIVATE_DIR  = 0750
+@@ -181,6 +177,6 @@
  PRIVATE_FILE = 0640
  
  # Location of configuration files and binaries
diff -urN prayer.orig/patches/patch-ab prayer/patches/patch-ab
--- prayer.orig/patches/patch-ab        2005-01-09 01:07:47 +0100
+++ prayer/patches/patch-ab     2010-05-01 20:20:40 +0200
@@ -1,36 +1,34 @@
-$NetBSD: patch-ab,v 1.4 2005/01/09 00:07:47 schmonz Exp $
-
---- files/install.sh.orig      2004-06-18 09:58:46.000000000 -0400
-+++ files/install.sh
-@@ -67,21 +67,25 @@ if [ ! -d ${PREFIX}/etc ]; then
+--- files/install.sh.orig      2008-09-16 11:59:56 +0200
++++ files/install.sh   2010-05-01 20:19:56 +0200
+@@ -67,21 +67,25 @@
      ${INSTALL} -d -o ${RO_USER} -g ${RO_GROUP} -m ${PUBLIC_DIR} ${PREFIX}/etc
  fi
  
 -if [ ! -d ${PREFIX}/certs ]; then
 -    ${INSTALL} -d -o ${RO_USER} -g ${RO_GROUP} -m ${PRIVATE_DIR} 
${PREFIX}/certs
 +if [ ! -d ${SSLCERTS} ]; then
-+    ${BSD_INSTALL_DATA_DIR} ${SSLCERTS}
++      ${BSD_INSTALL_DATA_DIR} ${SSLCERTS}
  fi
  
  if [ ! -d ${BIN_DIR} ]; then
-     ${INSTALL} -d -o ${RO_USER} -g ${RO_GROUP} -m ${PRIVATE_DIR} ${BIN_DIR}
+     ${INSTALL} -d -o ${RO_USER} -g ${RO_GROUP} -m ${PUBLIC_DIR} ${BIN_DIR}
  fi
  
 +if [ ! -d "${PREFIX}/share/prayer" ]; then
-+    mkdir "${PREFIX}/share/prayer"
++      mkdir "${PREFIX}/share/prayer"
 +fi
 +
- for i in help icons
+ for i in icons static
  do
 -    if [ -d "${PREFIX}/${i}" ]; then
-+    if [ -d "${PREFIX}/share/prayer/${i}" ]; then
++      if [ -d "${PREFIX}/share/prayer/${i}" ]; then
          echo Removing old ${i}
 -        rm -rf ${PREFIX}/${i}
-+        rm -rf ${PREFIX}/share/prayer/${i}
++              rm -rf ${PREFIX}/share/prayer/${i}
      fi
      echo Copying ${i}
 -    (tar cf - ${i}) | (cd ${PREFIX} ; tar xf -)
 -    (cd ${PREFIX}; chown -R ${RO_USER}:${RO_GROUP} ${i})
-+    (tar cf - ${i}) | (cd ${PREFIX}/share/prayer ; tar xf -)
-+    (cd ${PREFIX}/share/prayer; chown -R ${RO_USER}:${RO_GROUP} ${i})
++      (tar cf - ${i}) | (cd ${PREFIX}/share/prayer ; tar xf -)
++      (cd ${PREFIX}/share/prayer; chown -R ${RO_USER}:${RO_GROUP} ${i})
  done
diff -urN prayer.orig/patches/patch-ac prayer/patches/patch-ac
--- prayer.orig/patches/patch-ac        2005-01-09 01:07:47 +0100
+++ prayer/patches/patch-ac     2010-05-01 20:12:51 +0200
@@ -1,8 +1,6 @@
-$NetBSD: patch-ac,v 1.5 2005/01/09 00:07:47 schmonz Exp $
-
---- files/Makefile.orig        2003-05-11 10:59:12.000000000 -0400
-+++ files/Makefile
-@@ -14,10 +14,10 @@ endif
+--- files/Makefile.orig        2008-10-30 12:28:59 +0100
++++ files/Makefile     2010-05-01 20:12:14 +0200
+@@ -14,10 +14,10 @@
  all:  ./etc/prayer.cf ./init.d/prayer
  
  ./etc/prayer.cf: ./etc/prayer.cf.SRC
@@ -15,7 +13,7 @@
  
  
  ifeq ($(strip $(SSL_ENABLE)), true)
-@@ -53,24 +53,24 @@ distclean:
+@@ -53,20 +53,20 @@
  install-cert:
        if [ -f certs/prayer.pem ]; then \
        $(INSTALL) -o $(RO_USER) -g $(RO_GROUP) \
@@ -40,14 +38,9 @@
 -      etc/motd.html ${BROOT}${PREFIX}/etc
 +      etc/motd.html ${BROOT}${EGDIR}/motd.html
  
- install-welcome:
-       $(INSTALL) -o $(RO_USER) -g $(RO_GROUP) -m $(PUBLIC_FILE) \
--      etc/welcome.html ${BROOT}${PREFIX}/etc
-+      etc/welcome.html ${BROOT}${EGDIR}/welcome.html
- 
  install:
        PREFIX=$(BROOT)$(PREFIX) VAR_PREFIX=$(BROOT)$(VAR_PREFIX) \
-@@ -79,13 +79,9 @@ install:
+@@ -75,12 +75,9 @@
        PUBLIC_DIR=$(PUBLIC_DIR) PRIVATE_DIR=$(PRIVATE_DIR) \
        PUBLIC_FILE=$(PUBLIC_FILE) PRIVATE_FILE=$(PRIVATE_FILE) \
        PUBLIC_EXEC=$(PUBLIC_FILE) PRIVATE_EXEC=$(PRIVATE_EXEC) \
@@ -58,8 +51,7 @@
 -      if [ ! -f $(BROOT)$(PRAYER_CONFIG_FILE) ]; then $(MAKE) install-config; 
fi
 -      if [ ! -f $(BROOT)$(ACCOUNTD_CONFIG_FILE) ]; then $(MAKE) 
install-aconfig; fi
 -      if [ ! -f $(BROOT)$(PREFIX)/etc/motd.html ]; then $(MAKE) install-motd; 
fi
--      if [ ! -f $(BROOT)$(PREFIX)/etc/welcome.html ]; then $(MAKE) 
install-welcome; fi
-+      $(MAKE) install-cert install-config install-aconfig install-motd 
install-welcome
++      $(MAKE) install-cert install-config install-aconfig install-motd
  
  redhat-install-init.d:
        install -D -o root -g root -m 755 \
diff -urN prayer.orig/patches/patch-ad prayer/patches/patch-ad
--- prayer.orig/patches/patch-ad        2007-06-16 03:04:13 +0200
+++ prayer/patches/patch-ad     2010-05-01 21:00:27 +0200
@@ -1,29 +1,7 @@
-$NetBSD: patch-ad,v 1.5 2007/06/15 23:28:17 wiz Exp $
-
---- prayer/Makefile.orig       2006-04-11 12:31:57.000000000 +0000
-+++ prayer/Makefile
-@@ -12,7 +12,7 @@ endif
- 
- # Default list of things to build
- BIN = prayer prayer-session prayer-ssl-prune prayer-cyclog prayer-sem-prune \
--  prayer-chroot
-+  # prayer-chroot
- 
- # Enable on the fly compression
- ifeq ($(strip $(GZIP_ENABLE)), true)
-@@ -102,8 +102,8 @@ ifeq ($(strip $(CCLIENT_KERB_ENABLE)), t
-   SESSION_LIBS += $(KERB_LIBS)
- endif
- 
--CFLAGS  = $(BASECFLAGS) $(COMMON_SSL_INCLUDE) $(CCLIENT_INCLUDE)
--LDFLAGS = $(BASELDFLAGS)
-+CFLAGS  += $(BASECFLAGS) $(COMMON_SSL_INCLUDE) $(CCLIENT_INCLUDE)
-+LDFLAGS += $(BASELDFLAGS)
- 
- SHARED_OBJS = \
-  pool.o list.o assoc.o memblock.o buffer.o string.o config.o user_agent.o \
-@@ -174,21 +174,21 @@ clean:
-       -rm -f $(BIN) test core *.o *.flc *~ \#*\#
+--- servers/Makefile.orig      2009-08-20 11:48:35 +0200
++++ servers/Makefile   2010-05-01 21:00:07 +0200
+@@ -101,13 +101,13 @@
+       -rm -f $(BIN) core *.o *.flc *~ \#*\#
  
  install: all
 -      $(INSTALL) -o $(RO_USER) -g $(RO_GROUP) -m $(PUBLIC_DIR) -d \
@@ -33,23 +11,10 @@
 +      $(BSD_INSTALL_PROGRAM) \
          prayer           $(BROOT)$(BIN_DIR)
 -      $(INSTALL) -o $(RO_USER) -g $(RO_GROUP) -m $(PUBLIC_EXEC) \
--        prayer-chroot           $(BROOT)$(BIN_DIR)
--      $(INSTALL) -o $(RO_USER) -g $(RO_GROUP) -m $(PUBLIC_EXEC) \
-+#     $(BSD_INSTALL_PROGRAM) \
-+#       prayer-chroot           $(BROOT)$(BIN_DIR)
 +      $(BSD_INSTALL_PROGRAM) \
-         prayer-session   $(BROOT)$(BIN_DIR)
+         prayer-chroot           $(BROOT)$(BIN_DIR)
 -      $(INSTALL) -o $(RO_USER) -g $(RO_GROUP) -m $(PUBLIC_EXEC) \
 +      $(BSD_INSTALL_PROGRAM) \
-         prayer-ssl-prune $(BROOT)$(BIN_DIR)
--      $(INSTALL) -o $(RO_USER) -g $(RO_GROUP) -m $(PUBLIC_EXEC) \
-+      $(BSD_INSTALL_PROGRAM) \
-         prayer-sem-prune $(BROOT)$(BIN_DIR)
--      $(INSTALL) -o $(RO_USER) -g $(RO_GROUP) -m $(PUBLIC_EXEC) \
-+      $(BSD_INSTALL_SCRIPT) \
-         prayer-db-prune $(BROOT)$(BIN_DIR)
--      $(INSTALL) -o $(RO_USER) -g $(RO_GROUP) -m $(PUBLIC_EXEC) \
-+      $(BSD_INSTALL_SCRIPT) \
-         prayer-cyclog    $(BROOT)$(BIN_DIR)
+         prayer-session   $(BROOT)$(BIN_DIR)
  
  prayer: $(PRAYER_OBJS) prayer_main.o
diff -urN prayer.orig/patches/patch-ae prayer/patches/patch-ae
--- prayer.orig/patches/patch-ae        2007-06-16 03:04:13 +0200
+++ prayer/patches/patch-ae     2010-05-01 22:20:34 +0200
@@ -1,42 +1,24 @@
-$NetBSD: patch-ae,v 1.4 2007/06/15 23:28:17 wiz Exp $
-
---- files/etc/prayer.cf.SRC.orig       2006-04-11 11:13:21.000000000 +0000
-+++ files/etc/prayer.cf.SRC
-@@ -382,13 +382,13 @@ ispell_path         = /usr/bin/ispell
- #  <login_suffix_path>
- 
- # Login page prefix
--#login_prefix_path   = "$prefix/etc/login_prefix.html"
-+#login_prefix_path   = "__PKG_SYSCONFDIR__/login_prefix.html"
+--- files/etc/prayer.cf.SRC.orig       2008-10-30 12:28:59 +0100
++++ files/etc/prayer.cf.SRC    2010-05-01 22:20:02 +0200
+@@ -376,7 +376,7 @@
+ ispell_path         = /usr/bin/ispell
  
  # Message of the day file
--#motd_path           = "$prefix/etc/motd.html"
-+#motd_path           = "__PKG_SYSCONFDIR__/motd.html"
- 
- # Login page suffix
--#login_suffix_path   = "$prefix/etc/login_suffix.html"
-+#login_suffix_path   = "__PKG_SYSCONFDIR__/login_suffix.html"
+-motd_path           = "$prefix/etc/motd.html"
++motd_path           = "__PKG_SYSCONFDIR__/motd.html"
  
- # Login security: Prayer's front page defaults to a login form.
- # If the user does not connect via SSL then this can be changed
-@@ -407,16 +407,16 @@ ssl_redirect        = FALSE
+ # HTML to insert into login page
+ #login_insert1_path   = "$prefix/etc/ucsnews.html"
+@@ -401,10 +401,10 @@
  ssl_required        = FALSE
  
- # Session banner (local HTML inserted into each page of login session)
--#session_banner_path = "$prefix/etc/session_banner.html"
-+#session_banner_path = "__PKG_SYSCONFDIR__/session_banner.html"
- 
- # Welcome text displayed when user first logs in
--welcome_path        = "$prefix/etc/welcome.html"
-+welcome_path        = "__PKG_SYSCONFDIR__/welcome.html"
- 
- # Location of help files
--help_dir            = "$prefix/help"
-+help_dir            = "__PREFIX__/share/prayer/help"
- 
  # Location of icon files
 -icon_dir            = "$prefix/icons"
 +icon_dir            = "__PREFIX__/share/prayer/icons"
  
+ # Location of icon files
+-static_dir          = "$prefix/static"
++static_dir          = "__PREFIX__/share/prayer/static"
+ 
  # Location of binary files
  bin_dir             = "__BIN_DIR__"
diff -urN prayer.orig/patches/patch-af prayer/patches/patch-af
--- prayer.orig/patches/patch-af        2007-06-16 03:04:13 +0200
+++ prayer/patches/patch-af     1970-01-01 01:00:00 +0100
@@ -1,28 +0,0 @@
-$NetBSD: patch-af,v 1.6 2007/06/15 23:28:17 wiz Exp $
-
---- prayer/mydb_db3.c.orig     2006-04-20 10:10:00.000000000 +0000
-+++ prayer/mydb_db3.c
-@@ -139,13 +139,23 @@ static int myinit(const char *dbdir, int
-     dbenv->set_verbose(dbenv, DB_VERB_WAITSFOR, 1);
-   }
- #ifdef DB_VERB_CHKPOINT
-+#if DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR < 3
-   if (CONFIG_DB_VERBOSE > 1) {
-     dbenv->set_verbose(dbenv, DB_VERB_CHKPOINT, 1);
-   }
- #endif
-+#endif
-   dbenv->set_lk_detect(dbenv, CONFIG_DEADLOCK_DETECTION);
- 
-+#if DB_VERSION_MAJOR >= 4
-+  r = dbenv->set_lk_max_locks(dbenv, 50000);
-+  if (!r)
-+    r = dbenv->set_lk_max_lockers(dbenv, 50000);
-+  if (!r)
-+    r = dbenv->set_lk_max_objects(dbenv, 50000);
-+#else
-   r = dbenv->set_lk_max(dbenv, 50000);
-+#endif
-   if (r) {
-     log_panic("DBERROR: set_lk_max(): %s", db_strerror(r));
-     abort();
diff -urN prayer.orig/patches/patch-ag prayer/patches/patch-ag
--- prayer.orig/patches/patch-ag        2007-06-16 03:04:13 +0200
+++ prayer/patches/patch-ag     2010-05-01 21:22:24 +0200
@@ -1,8 +1,6 @@
-$NetBSD: patch-ag,v 1.2 2007/06/15 23:28:17 wiz Exp $
-
---- prayer/response.c.orig     2003-04-15 13:00:03.000000000 +0000
-+++ prayer/response.c
-@@ -694,7 +694,12 @@ response_file(struct request *request,
+--- shared/response.c.orig     2008-09-16 11:59:58 +0200
++++ shared/response.c  2010-05-01 21:21:55 +0200
+@@ -694,7 +694,12 @@
      } else
          bputs(b, "Content-Type: text/plain" CRLF);
  
diff -urN prayer.orig/patches/patch-ah prayer/patches/patch-ah
--- prayer.orig/patches/patch-ah        2006-01-24 20:55:53 +0100
+++ prayer/patches/patch-ah     2010-05-01 21:29:07 +0200
@@ -1,13 +1,11 @@
-$NetBSD: patch-ah,v 1.1 2006/01/24 19:55:53 joerg Exp $
-
---- prayer/prayer_shared.h.orig        2006-01-24 19:11:36.000000000 +0000
-+++ prayer/prayer_shared.h
-@@ -28,8 +28,6 @@
- #include <grp.h>
+--- shared/shared.h.orig       2008-09-16 11:59:58 +0200
++++ shared/shared.h    2010-05-01 21:28:47 +0200
+@@ -27,8 +27,6 @@
  #include <assert.h>
  #include <netdb.h>
--
--extern int errno;               /* just in case */
- #endif
  
+-extern int errno;               /* just in case */
+-
+ #include "lib.h"
  #include "common.h"
+ #include "config.h"
diff -urN prayer.orig/patches/patch-ai prayer/patches/patch-ai
--- prayer.orig/patches/patch-ai        2006-01-24 20:55:53 +0100
+++ prayer/patches/patch-ai     2010-05-01 21:30:53 +0200
@@ -1,7 +1,5 @@
-$NetBSD: patch-ai,v 1.1 2006/01/24 19:55:53 joerg Exp $
-
---- prayer/prayer_session.h.orig       2006-01-24 19:48:31.000000000 +0000
-+++ prayer/prayer_session.h
+--- session/prayer_session.h.orig      2008-09-16 11:59:58 +0200
++++ session/prayer_session.h   2010-05-01 21:30:33 +0200
 @@ -25,8 +25,6 @@
  #include <grp.h>
  #include <netdb.h>
@@ -10,4 +8,4 @@
 -
  #include "c-client.h"
  
- #define  PRAYER_FULL_HDRS
+ #include "shared.h"
diff -urN prayer.orig/patches/patch-ba prayer/patches/patch-ba
--- prayer.orig/patches/patch-ba        1970-01-01 01:00:00 +0100
+++ prayer/patches/patch-ba     2010-05-01 21:37:25 +0200
@@ -0,0 +1,11 @@
+--- man/Makefile.orig  2008-09-16 11:59:57 +0200
++++ man/Makefile       2010-05-01 21:37:04 +0200
+@@ -18,7 +18,7 @@
+       PUBLIC_DIR=$(PUBLIC_DIR) PRIVATE_DIR=$(PRIVATE_DIR) \
+       PUBLIC_FILE=$(PUBLIC_FILE) PRIVATE_FILE=$(PRIVATE_FILE) \
+       PUBLIC_EXEC=$(PUBLIC_FILE) PRIVATE_EXEC=$(PRIVATE_EXEC) \
+-      BIN_DIR=$(BIN_DIR) INSTALL=$(INSTALL) \
++      BIN_DIR=$(BIN_DIR) INSTALL="$(INSTALL)" \
+ 
+       mkdir -p $(BROOT)$(PREFIX)/man
+       mkdir -p $(BROOT)$(PREFIX)/man/man5



Home | Main Index | Thread Index | Old Index