1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

- Make fetchable

- Fix install and package permissions

PR:		ports/116265
Submitted by:	Daniel Voisine <voisined@wit.edu>
Approved by:	sat (mentor)
This commit is contained in:
Beech Rintoul 2007-09-15 09:16:59 +00:00
parent ebdcb4a11a
commit bf00362564
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=199509
4 changed files with 29 additions and 9 deletions

View File

@ -1,12 +1,12 @@
# New ports collection makefile for: abyssws
# Date created: 26 August 2007
# Whom: Daniel Voisine
# Whom: Daniel Voisine <voisined@wit.edu>
#
# $FreeBSD$
#
PORTNAME= abyssws
PORTVERSION= 2.4
PORTVERSION= 2.5
CATEGORIES= www
MASTER_SITES= http://www.aprelium.com/data/
DISTNAME= abwsx1-freebsd
@ -15,7 +15,7 @@ EXTRACT_SUFX= .tgz
MAINTAINER= voisined@wit.edu
COMMENT= Abyss Web Server is a compact and easy to use web server
LIB_DEPENDS= c.4:${PORTSDIR}/misc/compat4x
LIB_DEPENDS= c.6:${PORTSDIR}/misc/compat6x
WRKSRC= ${WRKDIR}/abyssws
ONLY_FOR_ARCHS= i386
@ -28,8 +28,11 @@ pre-install:
${SH} ${PKGINSTALL} ${PORTNAME} PRE-INSTALL
do-install:
@${MKDIR} ${PREFIX}/lib/abyssws
@${INSTALL} -d ${PREFIX}/lib/abyssws
${TAR} -C ${WRKSRC} -cf - . | ${TAR} -C ${PREFIX}/lib/abyssws -xf -
@ ${CHOWN} -R abyssws:abyssws ${PREFIX}/lib/abyssws/
@${ECHO_CMD} '@exec ${CHOWN} -R abyssws:abyssws \
${PREFIX}/lib/abyssws' >> ${TMPPLIST}
post-install:
@${SETENV} PKG_PREFIX=${PREFIX} \

View File

@ -1,3 +1,3 @@
MD5 (abwsx1-freebsd.tgz) = b97675bf528ca336fa7b68fb616c0df1
SHA256 (abwsx1-freebsd.tgz) = ce1d575abc6ffaa75b60293a2ffc6b5488c8193bb948b2797f7f946848519adb
SIZE (abwsx1-freebsd.tgz) = 338272
MD5 (abwsx1-freebsd.tgz) = 9937313e5781b05442023387c29ce51b
SHA256 (abwsx1-freebsd.tgz) = b98f030a95912b6f03e0ea7f6b691feb4c38e72a4f63d41a6762bb3aeec0dcaf
SIZE (abwsx1-freebsd.tgz) = 606588

View File

@ -38,12 +38,22 @@ PRE-INSTALL)
mkdir -p ${WSHOME}
chown ${USER}:${GROUP} ${WSHOME}
fi
if [ -r ${WSHOME}/htdocs/index.html ] ; then
mv ${WSHOME}/htdocs/index.html ${WSHOME}/htdocs/index.html.bak
fi
;;
POST-INSTALL)
chown -R ${USER}:${GROUP} ${WSHOME}
chmod -R u+w,o-rx ${WSHOME}
chmod u+s ${WSHOME}/abyssws
if [ -r ${WSHOME}/htdocs/index.html.bak ] ; then
mv ${WSHOME}/htdocs/index.html.bak ${WSHOME}/htdocs/index.html
fi
;;

View File

@ -1,10 +1,12 @@
lib/abyssws/Installation Instructions.html
lib/abyssws/abyssws
lib/abyssws/autostart-setup
lib/abyssws/console/about.gif
lib/abyssws/console/alias.gif
lib/abyssws/console/antileech.gif
lib/abyssws/console/aspnet.gif
lib/abyssws/console/bandwidth.gif
lib/abyssws/console/cert.gif
lib/abyssws/console/console.css
lib/abyssws/console/console.gif
lib/abyssws/console/delete.gif
@ -71,7 +73,7 @@ lib/abyssws/doc/intro.html
lib/abyssws/doc/ipformat.html
lib/abyssws/doc/isapi.html
lib/abyssws/doc/knowledge.html
lib/abyssws/doc/ln63.html
lib/abyssws/doc/ln72.html
lib/abyssws/doc/patternsformat.html
lib/abyssws/doc/portsproblems.html
lib/abyssws/doc/preface.html
@ -86,18 +88,23 @@ lib/abyssws/doc/shutdown.html
lib/abyssws/doc/ssi.html
lib/abyssws/doc/ssiencoding.html
lib/abyssws/doc/ssisyntax.html
lib/abyssws/doc/ssl.html
lib/abyssws/doc/start.html
lib/abyssws/doc/startup.html
lib/abyssws/doc/stylesheet.css
lib/abyssws/doc/troubleshooting.html
lib/abyssws/doc/useroption.html
lib/abyssws/lang/ar.lng
lib/abyssws/lang/fr.lng
lib/abyssws/license.txt
lib/abyssws/htdocs/index.html
lib/abyssws/htdocs/pwrabyss.gif
lib/abyssws/htdocs/index.html
@dirrm lib/abyssws/console
@dirrm lib/abyssws/doc
@dirrmtry lib/abyssws/htdocs
@exec mkdir -p %D/lib/abyssws/kcstore
@dirrm lib/abyssws/kcstore
@dirrm lib/abyssws/lang
@exec mkdir -p %D/lib/abyssws/log
@dirrmtry lib/abyssws/log
@dirrmtry lib/abyssws