mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-31 04:30:44 +00:00
Conver to regular Go vendor + dep tool
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
case "$1" in
|
||||
proftpd)
|
||||
mkdir -p /etc/proftpd/conf.d/
|
||||
cp $TRAVIS_BUILD_DIR/.travis/proftpd.conf /etc/proftpd/conf.d/
|
||||
;;
|
||||
vsftpd)
|
||||
cp $TRAVIS_BUILD_DIR/.travis/vsftpd.conf /etc/vsftpd.conf
|
||||
;;
|
||||
*)
|
||||
echo "unknown software: $1"
|
||||
exit 1
|
||||
esac
|
||||
|
||||
mkdir --mode 0777 -p /var/ftp/incoming
|
||||
|
||||
apt-get install -qq "$1"
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
<Anonymous /var/ftp>
|
||||
User ftp
|
||||
Group nogroup
|
||||
MaxClients 2
|
||||
# We want clients to be able to login with "anonymous" as well as "ftp"
|
||||
UserAlias anonymous ftp
|
||||
|
||||
RequireValidShell off
|
||||
</Anonymous>
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
# Used by Travis CI
|
||||
|
||||
listen=NO
|
||||
listen_ipv6=YES
|
||||
|
||||
write_enable=YES
|
||||
dirmessage_enable=YES
|
||||
secure_chroot_dir=/var/run/vsftpd/empty
|
||||
|
||||
anonymous_enable=YES
|
||||
anon_root=/var/ftp
|
||||
anon_upload_enable=YES
|
||||
anon_mkdir_write_enable=YES
|
||||
anon_other_write_enable=YES
|
||||
anon_umask=022
|
||||
Reference in New Issue
Block a user