diff options
author | B. Watson <yalhcru@gmail.com> | 2022-04-03 13:24:00 -0400 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2022-04-03 13:24:00 -0400 |
commit | b075ab0f1149ab1e624eae13bad320f3526ae791 (patch) | |
tree | 09b15a272322355a197ddb4582dbdf66ef8242e7 /network | |
parent | 465cc88ffc81e8df38715d395386cd0789f3fb7c (diff) |
network/awstats: Install SlackBuild in doc dir.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'network')
-rw-r--r-- | network/awstats/awstats.SlackBuild | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/network/awstats/awstats.SlackBuild b/network/awstats/awstats.SlackBuild index fb571b1bfb22c..76c19e3a45485 100644 --- a/network/awstats/awstats.SlackBuild +++ b/network/awstats/awstats.SlackBuild @@ -42,9 +42,6 @@ DOCROOT=${DOCROOT:-/var/www/htdocs} AWUSER=${AWUSER:-root} AWGROUP=${AWGROUP:-apache} -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -65,9 +62,9 @@ cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ + -o -perm 511 \) -exec chmod 755 {} \+ -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ # Patch httpd_conf file supplied by awstats to correct paths sed s:@DOCROOT@:$DOCROOT: $CWD/patches/httpd-awstats.conf.patch | patch -p0 @@ -77,6 +74,7 @@ sed s:@DOCROOT@:$DOCROOT: $CWD/patches/awstats_configure.pl.patch | patch -p0 sed s:@DOCROOT@:$DOCROOT: $CWD/patches/awstats.pl.patch | patch -p0 mkdir -p $PKG/$DOCROOT/awstats $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/etc/awstats $PKG/etc/httpd/extra mkdir -m 0770 -p $PKG/var/lib/awstats |