From: Grupa za izradu paketa Date: Tue, 18 Sep 2007 13:56:24 +0000 (+0000) Subject: r1: [svn-inject] Installing original source of vsftpd-cn X-Git-Tag: debian/2.3.2-1~11 X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=commitdiff_plain;h=e4d261459783cc5165cb4f5d0adf12214ce7c3f9;p=vsftpd-cn.git r1: [svn-inject] Installing original source of vsftpd-cn --- e4d261459783cc5165cb4f5d0adf12214ce7c3f9 diff --git a/README.CARNet b/README.CARNet new file mode 100644 index 0000000..36d1739 --- /dev/null +++ b/README.CARNet @@ -0,0 +1,15 @@ +Zabiljeske CARNetovog paketa 'vsftpd-cn' +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Ovaj paket je 'CARNetizirao' Ivan Rako + +Izmjene u odnosu na originalni Debian paket su: + * anonymous_enable=NO + - iskljucen anonimni pristup FTP posluzitelj + * local_enable=YES + - lokalni korisnici se mogu spojiti na FTP posluzitelj + * write_enable=YES + - dopusta upload datoteka + + -- Ivan Rako Sat, 16 Dec 2006 19:51:05 +0100 + diff --git a/changelog.CARNet b/changelog.CARNet new file mode 100644 index 0000000..b79e5d2 --- /dev/null +++ b/changelog.CARNet @@ -0,0 +1,17 @@ +vsftpd-cn (2.0.5-1) carnet-etch; urgency=low + + * Prva verzija za Etch. + + -- Ivan Rako Tue, 18 Sep 2007 15:53:25 +0200 + +vsftpd-cn (2.0.3-1) carnet-sarge; urgency=medium + + * Promijenjen local_umask u vrijednost 022 + + -- Ivan Rako Sun, 10 Jun 2007 13:05:21 +0200 + +vsftpd-cn (2.0.3-0) carnet-sarge; urgency=medium + + * Inicijalni paket. + + -- Ivan Rako Sat, 16 Dec 2006 19:51:44 +0100 diff --git a/debian/changelog b/debian/changelog new file mode 120000 index 0000000..dbf0845 --- /dev/null +++ b/debian/changelog @@ -0,0 +1 @@ +../changelog.CARNet \ No newline at end of file diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..b8626c4 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +4 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..db510bc --- /dev/null +++ b/debian/control @@ -0,0 +1,15 @@ +Source: vsftpd-cn +Priority: optional +Maintainer: Ivan Rako +Build-Depends: debhelper (>= 4.0.0) +Standards-Version: 3.6.1 + +Package: vsftpd-cn +Architecture: all +Depends: carnet-tools-cn (>= 2.5), vsftpd (>= 2.0) +Description: The Very Secure FTP Daemon + A lightweight, efficient FTP server written from the ground up with + security in mind. + . + vsftpd supports both anonymous and non-anonymous FTP, PAM authentication, + bandwidth limiting, and the Linux sendfile() facility. diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..d92e2d1 --- /dev/null +++ b/debian/docs @@ -0,0 +1,2 @@ +README.CARNet +changelog.CARNet diff --git a/debian/postinst b/debian/postinst new file mode 100755 index 0000000..de73049 --- /dev/null +++ b/debian/postinst @@ -0,0 +1,39 @@ +#!/bin/sh + +set -e + +[ "$1" = "configure" ] || exit 0 + +# Load CARNet functions +. /usr/share/carnet-tools/functions.sh + +if dpkg --compare-versions "$2" lt 2.0.3-1; then + + cp_check_and_sed '^#anonymous_enable=YES' \ + 's/^#anonymous_enable=YES/anonymous_enable=NO/g' \ + /etc/vsftpd.conf && restart="yes" || true + + cp_check_and_sed '^anonymous_enable=YES' \ + 's/^anonymous_enable=YES/anonymous_enable=NO/g' \ + /etc/vsftpd.conf && restart="yes" || true + + cp_check_and_sed '#local_enable=YES' \ + 's/#local_enable=YES/local_enable=YES/g' \ + /etc/vsftpd.conf && restart="yes" || true + + cp_check_and_sed '#write_enable=YES' \ + 's/#write_enable=YES/write_enable=YES/g' \ + /etc/vsftpd.conf && restart="yes" || true + + cp_check_and_sed '^#local_umask=' \ + 's/#local_umask=.*$/local_umask=022/g' \ + /etc/vsftpd.conf && restart="yes" || true +fi + +# restart if needed +[ "$restart" = "yes" ] || exit 0 +if [ -x /usr/sbin/invoke-rc.d ]; then + invoke-rc.d vsftpd restart +else + [ -x /etc/init.d/vsftpd ] && /etc/init.d/vsftpd restart +fi diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..de7a298 --- /dev/null +++ b/debian/rules @@ -0,0 +1,86 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + # Add here commands to compile the package. + # $(MAKE) + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + # -$(MAKE) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/vsftpd-cn. + # $(MAKE) install DESTDIR=$(CURDIR)/debian/vsftpd-cn + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot +# dh_installchangelogs -k + dh_installdocs +# dh_installexamples + dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman +# dh_link +# dh_strip +# dh_compress + dh_fixperms +# dh_perl +# dh_python +# dh_makeshlibs + dh_installdeb +# dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure