Commit 225c1169 authored by Natanael Copa's avatar Natanael Copa

Merge remote branch 'clandmeter/master'

parents e7c23e63 f9e13216
# Contributor: Your Name <youremail@domain.com>
pkgname=pzs-ng
pkgver=2500
pkgrel=0
pkgdesc="Project Zipscript - Next Generation"
url="http://www.pzs-ng.com/"
license='AS IS'
depends="zip"
makedepends=""
source="http://cl.pzs-ng.com/stable/project-zs-ng_r2500-v1.2.0.tar.gz
pzs-ng.zsconfig"
subpackages=""
build() {
cd "${srcdir}/project-zs-ng_r2500-v1.2.0/"
./configure --disable-glftpd-specific \
--with-install-path="${pkgdir}"/usr
install "${srcdir}/pzs-ng.zsconfig" "zipscript/conf/zsconfig.h" || return 1
make || return 1
mkdir -p "${pkgdir}/usr/ftp-data/pzs-ng"
mkdir -p "${pkgdir}/usr/share/pzs-ng"
cp -a scripts "${pkgdir}/usr/share/pzs-ng/" || return 1
cp -a sitebot "${pkgdir}/usr/share/pzs-ng/" || return 1
cp -a zipscript/src/banned_filelist.txt "${pkgdir}/usr/share/pzs-ng/"
make install
rm -rf ${pkgdir}/usr/ftp-data
}
md5sums="62a2e14436a91d43846e5bac1c7e50f8 project-zs-ng_r2500-v1.2.0.tar.gz
0979f516564600689cce148415a3bd4c pzs-ng.zsconfig"
/* zsconfig.h - ZipScript-C config file
*
* This file only contains overrides of the defaults. If you need to edit/change
* other options, please copy the option from README.ZSCONFIG and place it in
* here.
* The complete list of options availible is found in README.ZSCONFIG.
*
* Please do not change settings you do not understand!
*
* The hash char ``#'' does not signify comments! DO NOT REMOVE!
*/
/* DO NOT USE WILDCARDS HERE! */
#define sitepath_dir "/home/wzdftpd/site/"
#define group_dirs ""
#define zip_dirs ""
#define sfv_dirs "/home/wzdftpd/site/incoming/faf/ /home/wzdftpd/site/incoming/mp3/ /home/wzdftpd/site/incoming/mdvd/ /home/wzdftpd/site/incoming/other/ /home/wzdftpd/site/incoming/musicvideos/ /home/wzdftpd/site/requests/"
#define nocheck_dirs "/home/wzdftpd/site/private/ /home/wzdftpd/site/archive"
#define noforce_sfv_first_dirs ""
#define audio_nocheck_dirs ""
#define allowed_types_exemption_dirs ""
#define check_for_missing_nfo_dirs ""
#define cleanupdirs "/home/wzdftpd/site/incoming/apps/ /home/wzdftpd/site/incoming/musicvideos/"
#define cleanupdirs_dated "/home/wzdftpd/site/incoming/mp3/%Y-%m-%d/"
#define short_sitename "FAF"
#define debug_mode FALSE
#define debug_altlog TRUE
#define status_bar_type 1
#define incompleteislink 1
#define ignored_types ",diz,debug,message,imdb,html,url,m3u,metadata"
#define deny_double_sfv FALSE
#define force_sfv_first FALSE
#define audio_genre_path "/home/wzdftpd/site/index/music.by.genre/"
#define audio_artist_path "/home/wzdftpd/site/index/music.by.artist/"
#define audio_year_path "/home/wzdftpd/site/index/music.by.year/"
#define audio_group_path "/home/wzdftpd/site/index/music.by.group/"
#define audio_language_path "/home/wzdftpd/site/index/music.by.language/"
#define allowed_constant_bitrates "160,192"
#define allowed_years "2005,2006,2007,2008,2009"
#define banned_genres "Christian Rap,Christian Gangsta Rap,Contemporary Christian,Christian Rock"
#define allowed_genres "Top 40,Pop Funk,Rock,Pop"
#define audio_genre_sort TRUE
#define audio_year_sort TRUE
#define audio_artist_sort TRUE
#define audio_group_sort TRUE
#define audio_language_sort TRUE
#define audio_cbr_check TRUE
#define audio_cbr_warn TRUE
#define audio_year_check FALSE
#define audio_year_warn FALSE
#define audio_banned_genre_check FALSE
#define audio_allowed_genre_check FALSE
#define audio_genre_warn FALSE
#define enable_nfo_script FALSE
#define nfo_script "/bin/psxc-imdb.sh"
#define enable_complete_script FALSE
#define complete_script "/bin/nfo_copy.sh"
/* These are settings that are especially relevant when you're not running under glftpd.
* Make sure that all paths are absolute and _real_, e.g. set log to /home/myuser/wzd/var/log/wzdftpd/wzd.log
*
* You should probably also create these two first dirs using:
* mkdir -p -m777 /home/myuser/wzd/var/lib/pzs-ng */
#define log "/home/wzdftpd/ftp-data/log/wzd.log"
#define storage "/home/wzdftpd/ftp-data/pzs-ng/"
#define banned_filelist "/home/wzdftpd/ftp-data/misc/banned_filelist.txt"
#define zip_bin "usr/bin/zip"
#define unzip_bin "usr/bin/unzip"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment