pkgsrc/mail/prayer/patches/patch-ab
adam 7439a1437e Changes 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
2010-06-08 12:34:38 +00:00

36 lines
1.1 KiB
Text

$NetBSD: patch-ab,v 1.5 2010/06/08 12:34:38 adam Exp $
--- 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}
fi
if [ ! -d ${BIN_DIR} ]; then
${INSTALL} -d -o ${RO_USER} -g ${RO_GROUP} -m ${PUBLIC_DIR} ${BIN_DIR}
fi
+if [ ! -d "${PREFIX}/share/prayer" ]; then
+ mkdir "${PREFIX}/share/prayer"
+fi
+
for i in icons static
do
- if [ -d "${PREFIX}/${i}" ]; then
+ if [ -d "${PREFIX}/share/prayer/${i}" ]; then
echo Removing old ${i}
- rm -rf ${PREFIX}/${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})
done