Merge pull request #2319 from groni/master

add new packages vsftp, lftp, python3-markups, portmidi
This commit is contained in:
Ertuğrul Erata
2016-11-22 18:19:34 +02:00
committed by GitHub
30 changed files with 1516 additions and 2 deletions
+48
View File
@@ -0,0 +1,48 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import shelltools
from pisi.actionsapi import cmaketools
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
shelltools.export("JAVAC","/usr/lib/jvm/java-7-openjdk/bin/javac")
shelltools.export("JAVA_HOME","/usr/lib/jvm/java-7-openjdk")
def setup():
cmaketools.configure("-DCMAKE_SKIP_BUILD_RPATH=1 \
-DLIB_INSTALL_DIR=/usr/lib \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CACHEFILE_DIR=%s/build \
-DINCLUDE_INSTALL_DIR=/usr/include \
-DVERSION=%s" % (get.curDIR(), get.srcVERSION()))
def build():
autotools.make()
shelltools.system("./build-pyportmidi")
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.insinto("/usr/include", "pm_common/pmutil.h")
shelltools.chmod("%s/usr/include/pmutil.h" % get.installDIR(), mode=0644)
# Fix missing symlink for libporttime.so (FS#21528).
pisitools.dosym("/usr/lib/libportmidi_s.a", "/usr/lib/libportmidi.a")
pisitools.dosym("/usr/lib/libportmidi.so", "/usr/lib/libporttime.so")
pisitools.dosym("/usr/lib/libportmidi.a", "/usr/lib/libporttime.a")
# Install test applications
for app in ["latency", "midithread", "midithru", "mm", "qtest", "sysex", "test"]:
pisitools.insinto("/usr/bin", "build/Release/%s" % app, "portmidi-%s" % app)
# Build and Install python module
pisitools.dodir("/usr/lib/%s/site-packages/pyportmidi" % get.curPYTHON())
pisitools.dolib("pm_python/pyportmidi/_pyportmidi.so", "/usr/lib/%s/site-packages/pyportmidi" % get.curPYTHON())
pisitools.insinto("/usr/lib/%s/site-packages/pyportmidi" % get.curPYTHON(), "pm_python/pyportmidi/*.py")
pisitools.dodoc("CHANGELOG.txt", "license.txt", "README.txt")
@@ -0,0 +1,10 @@
#!/bin/bash
PYTHON_VER=$(python -c "from sys import version; print (version[:3])")
PYTHON_INC=$(python -c "from distutils.sysconfig import get_python_inc; print get_python_inc()")
pushd pm_python/pyportmidi
${CC} ${CFLAGS} -pthread -fPIC -c -o _pyportmidi.o -I../../pm_common -I../../porttime -I$PYTHON_INC _pyportmidi.c
${CC} -shared -o _pyportmidi.so _pyportmidi.o -lportmidi -lpython$PYTHON_VER -L../../build/Release
popd
@@ -0,0 +1,98 @@
Index: portmidi/pm_common/CMakeLists.txt
===================================================================
--- portmidi.orig/pm_common/CMakeLists.txt
+++ portmidi/pm_common/CMakeLists.txt
@@ -120,8 +120,8 @@ set_target_properties(pmjni PROPERTIES E
# install the libraries (Linux and Mac OS X command line)
if(UNIX)
INSTALL(TARGETS portmidi-static pmjni
- LIBRARY DESTINATION /usr/local/lib
- ARCHIVE DESTINATION /usr/local/lib)
+ LIBRARY DESTINATION ${LIB_INSTALL_DIR}
+ ARCHIVE DESTINATION ${LIB_INSTALL_DIR})
# .h files installed by pm_dylib/CMakeLists.txt, so don't need them here
# INSTALL(FILES portmidi.h ../porttime/porttime.h
# DESTINATION /usr/local/include)
Index: portmidi/pm_dylib/CMakeLists.txt
===================================================================
--- portmidi.orig/pm_dylib/CMakeLists.txt
+++ portmidi/pm_dylib/CMakeLists.txt
@@ -59,7 +59,7 @@ if(UNIX)
set(JAVAVM_LIB "${FRAMEWORK_PATH}/JavaVM.framework")
set(JAVA_INCLUDE_PATHS ${JAVAVM_LIB}/Headers)
- set(INSTALL_NAME_DIR "/usr/local/lib")
+ set(INSTALL_NAME_DIR ${LIB_INSTALL_DIR})
message(STATUS "SYSROOT: " ${CMAKE_OSX_SYSROOT})
else(APPLE)
# LINUX settings...
@@ -75,11 +75,7 @@ if(UNIX)
# JAVA_INCLUDE_PATH2; if no, then we need to make both JAVA_INCLUDE_PATH
# and JAVA_INCLUDE_PATH2 set by user (will need clear documentation
# because JAVA_INCLUDE_PATH2 is pretty obscure)
- set(JAVA_INCLUDE_PATH ${JAVA_INCLUDE_PATH-UNKNOWN}
- CACHE STRING "where to find Java SDK include directory")
- set(JAVA_INCLUDE_PATHS ${JAVA_INCLUDE_PATH} ${JAVA_INCLUDE_PATH}/linux)
- # libjvm.so is found relative to JAVA_INCLUDE_PATH:
- set(JAVAVM_LIB ${JAVA_INCLUDE_PATH}/../jre/lib/i386/client/libjvm.so)
+ set(JAVAVM_LIB ${JAVA_JVM_LIBRARY})
set(LINUXSRC pmlinuxalsa pmlinux finddefault)
prepend_path(LIBSRC ../pm_linux/ ${LINUXSRC})
@@ -114,14 +110,14 @@ prepend_path(SHARED_PATHS ../pm_common/
list(APPEND LIBSRC ${SHARED_PATHS})
add_library(portmidi-dynamic SHARED ${LIBSRC})
-set_target_properties(portmidi-dynamic PROPERTIES OUTPUT_NAME "portmidi")
+set_target_properties(portmidi-dynamic PROPERTIES LINK_FLAGS "-L${CMAKE_CACHEFILE_DIR}/Release" SOVERSION 0 VERSION 0.${VERSION} OUTPUT_NAME "portmidi")
target_link_libraries(portmidi-dynamic ${PM_NEEDED_LIBS})
# install the libraries (Linux and Mac OS X command line)
if(UNIX)
INSTALL(TARGETS portmidi-dynamic
- LIBRARY DESTINATION /usr/local/lib
- ARCHIVE DESTINATION /usr/local/lib)
+ LIBRARY DESTINATION ${LIB_INSTALL_DIR}
+ ARCHIVE DESTINATION ${LIB_INSTALL_DIR})
INSTALL(FILES ../pm_common/portmidi.h ../porttime/porttime.h
- DESTINATION /usr/local/include)
+ DESTINATION ${INCLUDE_INSTALL_DIR})
endif(UNIX)
Index: portmidi/pm_java/CMakeLists.txt
===================================================================
--- portmidi.orig/pm_java/CMakeLists.txt
+++ portmidi/pm_java/CMakeLists.txt
@@ -41,7 +41,7 @@ if(UNIX)
INSTALL(FILES ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/pmdefaults.jar
DESTINATION /usr/share/java)
INSTALL(PROGRAMS ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/pmdefaults
- DESTINATION /usr/local/bin)
+ DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
endif(APPLE)
endif(UNIX)
# In windows, use pm_java/make.bat
Index: portmidi/pm_test/CMakeLists.txt
===================================================================
--- portmidi.orig/pm_test/CMakeLists.txt
+++ portmidi/pm_test/CMakeLists.txt
@@ -12,7 +12,7 @@ endif(WIN32)
macro(make_a_test name)
add_executable(${name} ${name}.c)
- target_link_libraries(${name} portmidi-static ${PM_NEEDED_LIBS})
+ target_link_libraries(${name} portmidi-dynamic)
add_dependencies(${name} portmidi-static)
endmacro(make_a_test)
Index: portmidi/CMakeLists.txt
===================================================================
--- portmidi.orig/CMakeLists.txt
+++ portmidi/CMakeLists.txt
@@ -71,7 +71,3 @@ add_subdirectory(pm_common)
add_subdirectory(pm_test)
add_subdirectory(pm_dylib)
-
-# Cannot figure out how to make an xcode Java application with CMake
-add_subdirectory(pm_java)
-
+77
View File
@@ -0,0 +1,77 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>portmidi</Name>
<Homepage>http://portmedia.sourceforge.net</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2+</License>
<IsA>library</IsA>
<IsA>app:console</IsA>
<Summary>Real-time MIDI I/O library</Summary>
<Description>PortMedia is a set of simple clean APIs and cross-platform library implementations for music and other media. PortMidi sub-project provides a real-time MIDI input/output library. This package contains the PortMidi libraries.</Description>
<Archive sha1sum="f45bf4e247c0d7617deacd6a65d23d9fddae6117" type="zip">mirrors://sourceforge/portmedia/portmidi-src-217.zip</Archive>
<AdditionalFiles>
<AdditionalFile target="build-pyportmidi" permission="0755">build-pyportmidi</AdditionalFile>
</AdditionalFiles>
<BuildDependencies>
<Dependency>python-devel</Dependency>
<Dependency>jdk7-openjdk</Dependency>
<Dependency>alsa-lib-devel</Dependency>
<Dependency>cmake</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">portmidi-cmake.patch</Patch>
</Patches>
</Source>
<Package>
<Name>portmidi</Name>
<RuntimeDependencies>
<Dependency>alsa-lib</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>python-portmidi</Name>
<PartOf>programming.language.python</PartOf>
<Summary>Python bindings for portmidi</Summary>
<RuntimeDependencies>
<Dependency>python</Dependency>
<Dependency release="current">portmidi</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/python*</Path>
</Files>
</Package>
<Package>
<Name>portmidi-devel</Name>
<Summary>Development files for portmidi</Summary>
<RuntimeDependencies>
<Dependency release="current">portmidi</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="man">/usr/share/man/man3</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2016-11-21</Date>
<Version>217</Version>
<Comment>First Release</Comment>
<Name>Stefan Gronewold</Name>
<Email>groni@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,18 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>portmidi</Name>
<Summary xml:lang="tr">Gerçek zamanlı MIDI G/Ç kitaplığı</Summary>
<Description xml:lang="tr">portmidi, PortMedia projesinin gerçek zamanlı MIDI girdi/çıktı kitaplığıdır.</Description>
</Source>
<Package>
<Name>portmidi-devel</Name>
<Summary xml:lang="tr">portmidi için geliştirme dosyaları</Summary>
</Package>
<Package>
<Name>python-portmidi</Name>
<Summary xml:lang="tr">portmidi için python bağlayıcısı</Summary>
</Package>
</PISI>
+26
View File
@@ -0,0 +1,26 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt.
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
autotools.configure("--enable-packager-mode \
--with-modules \
--with-gnutls \
--disable-rpath \
--disable-static")
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS", "ChangeLog", "README*", "NEWS", "FAQ", "FEATURES", "BUGS", "THANKS", "TODO")
@@ -0,0 +1,15 @@
## lftp-config-dns-inet6_before_inet by Noèl Köthe <noel debian.org>
##
## DP: use inet6 dns before inet
--- lftp-3.4.7/lftp.conf.orig 2005-05-16 21:18:45.000000000 +0200
+++ lftp-3.4.7/lftp.conf 2005-05-16 21:19:06.000000000 +0200
@@ -87,3 +87,7 @@
# set ftp:anon-pass "mozilla@"
# set ftp:client ""
# set http:user-agent "Mozilla/4.7 [en] (WinNT; I)"
+
+# try inet6 before inet
+set dns:order "inet6 inet"
+
@@ -0,0 +1,30 @@
diff -up lftp-4.2.1/src/Http.cc.date_fmt lftp-4.2.1/src/Http.cc
--- lftp-4.2.1/src/Http.cc.date_fmt 2011-03-25 15:35:42.000000000 +0100
+++ lftp-4.2.1/src/Http.cc 2011-03-30 14:40:54.170096624 +0200
@@ -29,6 +29,7 @@
#include <errno.h>
#include <stdarg.h>
#include <time.h>
+#include <limits.h>
#include <fnmatch.h>
#include <locale.h>
#include <assert.h>
@@ -565,15 +566,10 @@ void Http::SendRequest(const char *conne
(long long)((limit==FILE_END || limit>entity_size ? entity_size : limit)-1),
(long long)entity_size);
}
- if(entity_date!=NO_DATE)
+ if(entity_date!=NO_DATE && entity_date>0L && entity_date<INT_MAX)
{
- static const char weekday_names[][4]={
- "Sun","Mon","Tue","Wed","Thu","Fri","Sat"
- };
- const struct tm *t=gmtime(&entity_date);
- const char *d=xstring::format("%s, %2d %s %04d %02d:%02d:%02d GMT",
- weekday_names[t->tm_wday],t->tm_mday,month_names[t->tm_mon],
- t->tm_year+1900,t->tm_hour,t->tm_min,t->tm_sec);
+ char d[256];
+ strftime(d, sizeof(d), "%a, %d %b %H:%M:%S %Y GMT", gmtime(&entity_date));
Send("Last-Modified: %s\r\n",d);
}
break;
@@ -0,0 +1,77 @@
--- lftp-2.2.0a/lftpget.1.chmou Tue May 5 13:32:27 1998
+++ lftp-2.2.0a/lftpget.1 Wed Mar 29 17:50:36 2000
@@ -0,0 +1,74 @@
+.\"
+.\" lftpget.1 - gets files via FTP using lftp
+.\"
+.\" This file is part of lftp.
+.\"
+.\" This program is free software; you can redistribute it and/or modify
+.\" it under the terms of the GNU General Public License as published by
+.\" the Free Software Foundation; either version 2 of the License , or
+.\" (at your option) any later version.
+.\"
+.\" This program is distributed in the hope that it will be useful,
+.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
+.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+.\" GNU General Public License for more details.
+.\"
+.\" You should have received a copy of the GNU General Public License
+.\" along with this program; see the file COPYING. If not, write to
+.\" the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+.\"
+.TH lftpget 1 "11 Sep 1999"
+.SH NAME
+lftpget \- gets files via FTP using lftp
+.SH SYNTAX
+.BI "lftpget [" \-c "] [" \-d "] [" \-v "] " "URL " [ URL ...]
+
+.SH "DESCRIPTION"
+.B lftpget
+will get a file from a remote host. It will reconnect if needed until
+the transfer is done.
+.PP
+.B lftpget
+is just a shell script that calls
+.BR lftp (1).
+
+.SH OPTIONS
+.TP
+.B \-c
+Continue a previous transfer, reget.
+.TP
+.B \-d
+Debug output.
+.TP
+.B \-v
+Verbose output.
+
+.SH FILES
+.TP
+.I "/etc/lftp.conf"
+System wide startup file for lftp, affects this script.
+
+.TP
+.I "~/.lftp/rc," "~/.lftprc"
+These files are executed on lftp startup after \fI/etc/lftp.conf\fR.
+.TP
+.I "~/.lftp/log"
+The file things are logged to when lftp moves into the background in
+nohup mode.
+.TP
+.I "~/.netrc"
+
+The file is consulted to get default login to ftp server. It's
+documented in the
+.BR ftp (1)
+manpage.
+
+.SH SEE ALSO
+.BR ftp "(1), " lftp (1)
+
+.SH AUTHOR
+Alexander V. Lukyanov <lav@yars.free.net>
+
+.SH ACKNOWLEDGMENTS
+This manual page was originally written by Nicolás Lichtmaier
+<nick@debian.org>, for the Debian GNU/Linux system.
@@ -0,0 +1,26 @@
--- lftp-3.7.7/lftp.conf.agent 2008-08-07 14:27:47.000000000 +0200
+++ lftp-3.7.7/lftp.conf 2009-01-12 14:21:24.000000000 +0100
@@ -13,7 +13,7 @@
## Uncomment the following two lines to make switch cls and ls, making
## cls the default.
#alias ls command cls
-#alias hostls command ls
+alias hostls command ls
## default protocol selection
#set default-protocol/ftp.* ftp
@@ -31,7 +31,7 @@
set auto-sync-mode "icrosoft FTP Service|MadGoat|MikroTik"
## if default ftp passive mode does not work, try this:
-# set ftp:passive-mode off
+set ftp:passive-mode on
## Set this to follow http redirections
set xfer:max-redirections 10
@@ -87,4 +87,4 @@
## If you don't like advertising lftp or servers hate it, set this:
# set ftp:anon-pass "mozilla@"
# set ftp:client ""
-# set http:user-agent "Mozilla/4.7 [en] (WinNT; I)"
+# set http:user-agent "Mozilla/4.7 [en] (Linux; U)"
@@ -0,0 +1,26 @@
--- lftp-4.2.0/src/Makefile.am.link 2011-03-05 13:59:13.000000000 +0100
+++ lftp-4.2.0/src/Makefile.am 2011-03-05 13:59:33.000000000 +0100
@@ -55,8 +55,8 @@
cmd_mirror_la_LDFLAGS = -module -avoid-version -rpath $(pkgverlibdir)
cmd_sleep_la_LDFLAGS = -module -avoid-version -rpath $(pkgverlibdir)
cmd_torrent_la_LDFLAGS= -module -avoid-version -rpath $(pkgverlibdir)
-liblftp_pty_la_LDFLAGS = -avoid-version -rpath $(pkgverlibdir)
-liblftp_network_la_LDFLAGS = -avoid-version -rpath $(pkgverlibdir) $(OPENSSL_LDFLAGS)
+liblftp_pty_la_LDFLAGS = -module -avoid-version -rpath $(pkgverlibdir)
+liblftp_network_la_LDFLAGS = -module -avoid-version -rpath $(pkgverlibdir) $(OPENSSL_LDFLAGS)
liblftp_network_la_LIBADD = $(SOCKSLIBS) $(OPENSSL_LIBS) $(LIBGNUTLS_LIBS) $(GNULIB)
proto_ftp_la_LIBADD = -L$(DESTDIR)$(pkgverlibdir) liblftp-network.la
--- lftp-4.2.0/src/Makefile.in.link 2011-03-05 13:59:48.000000000 +0100
+++ lftp-4.2.0/src/Makefile.in 2011-03-05 14:00:18.000000000 +0100
@@ -1286,8 +1286,8 @@
cmd_mirror_la_LDFLAGS = -module -avoid-version -rpath $(pkgverlibdir)
cmd_sleep_la_LDFLAGS = -module -avoid-version -rpath $(pkgverlibdir)
cmd_torrent_la_LDFLAGS = -module -avoid-version -rpath $(pkgverlibdir)
-liblftp_pty_la_LDFLAGS = -avoid-version -rpath $(pkgverlibdir)
-liblftp_network_la_LDFLAGS = -avoid-version -rpath $(pkgverlibdir) $(OPENSSL_LDFLAGS)
+liblftp_pty_la_LDFLAGS = -module -avoid-version -rpath $(pkgverlibdir)
+liblftp_network_la_LDFLAGS = -module -avoid-version -rpath $(pkgverlibdir) $(OPENSSL_LDFLAGS)
liblftp_network_la_LIBADD = $(SOCKSLIBS) $(OPENSSL_LIBS) $(LIBGNUTLS_LIBS) $(GNULIB)
proto_ftp_la_LIBADD = -L$(DESTDIR)$(pkgverlibdir) liblftp-network.la
proto_http_la_LIBADD = -L$(DESTDIR)$(pkgverlibdir) liblftp-network.la $(EXPAT_LIBS)
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

@@ -0,0 +1,18 @@
Description: prevent sys/_stdint.h from redefining intptr_t et.al.
Author: Andreas Henriksson <andreas@fatal.se>
Bug-Debian: http://bugs.debian.org/677861
Forwarded: no
--- lftp-4.3.6.orig/lib/stdint.in.h
+++ lftp-4.3.6/lib/stdint.in.h
@@ -75,6 +75,10 @@
_@GUARD_PREFIX@_STDINT_H is defined.
The include_next requires a split double-inclusion guard. */
# @INCLUDE_NEXT@ @NEXT_STDINT_H@
+#ifdef __FreeBSD_kernel__
+// prevent sys/_stdint.h from being included and redefine intptr_t et.al.
+#define _SYS__STDINT_H_
+#endif
#endif
#if ! defined _@GUARD_PREFIX@_STDINT_H && ! defined _GL_JUST_INCLUDE_SYSTEM_STDINT_H
+70
View File
@@ -0,0 +1,70 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>lftp</Name>
<Homepage>http://lftp.yar.ru/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv3</License>
<Icon>lftp</Icon>
<IsA>app:console</IsA>
<Summary>Command line FTP client</Summary>
<Description>LFTP is sophisticated file transfer program with command line interface. It supports FTP, HTTP, FISH, SFTP, HTTPS and FTPS protocols. It has bookmarks, built-in mirror, can transfer several files in parallel. It was designed with reliability in mind.</Description>
<Archive sha1sum="d15de1efa38111edc60b8d5e3d9ea8f41e842367" type="tarxz">http://lftp.tech/ftp/lftp-4.7.4.tar.xz</Archive>
<BuildDependencies>
<Dependency>gnutls-devel</Dependency>
<Dependency>flex</Dependency>
<Dependency>bison</Dependency>
<Dependency>gcc</Dependency>
<Dependency>gettext-devel</Dependency>
<Dependency>libtool</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>ncurses-devel</Dependency>
<Dependency>expat-devel</Dependency>
<Dependency>libidn-devel</Dependency>
<Dependency>readline-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">config-dns-inet6_before_inet.patch</Patch>
<Patch level="1">lftp_sys-stdint-kfreebsd.patch</Patch>
</Patches>
</Source>
<Package>
<Name>lftp</Name>
<RuntimeDependencies>
<Dependency>zlib</Dependency>
<Dependency>expat</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>libidn</Dependency>
<Dependency>ncurses</Dependency>
<Dependency>readline</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="config">/etc</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc/lftp</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="localedata">/usr/share/locale</Path>
<Path fileType="data">/usr/share/lftp</Path>
<Path fileType="data">/usr/share/pixmaps</Path>
</Files>
<AdditionalFiles>
<AdditionalFile target="/usr/share/pixmaps/lftp.png">lftp.png</AdditionalFile>
</AdditionalFiles>
</Package>
<History>
<Update release="8">
<Date>2016-11-22</Date>
<Version>4.7.4</Version>
<Comment>Version bump.</Comment>
<Name>Stefan Gronewold(groni)</Name>
<Email>groni@pisilinux.org</Email>
</Update>
</History>
</PISI>
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>lftp</Name>
<Summary xml:lang="tr">Komut satırı FTP istemcisi</Summary>
<Description xml:lang="tr">LFTP komut satırı arayüzüne sahip gelişmiş bir dosya aktarım programıdır. FTP, HTTP, FISH, SFTP, HTTPS ve FTPS protokollerini destekler. Yer imleri, yansılama, paralel olarak birçok dosya transfer etme özellikleri bulunuyor. Güvenirlik esas alınarak tasarlandı.</Description>
</Source>
</PISI>
+29
View File
@@ -0,0 +1,29 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def build():
autotools.make('CC="%s" CFLAGS="%s -fpie" LINK="-pie -lssl" LDFLAGS="%s"' % (get.CC(),get.CFLAGS(),get.LDFLAGS()))
def install():
pisitools.dosbin("vsftpd")
pisitools.dodir("/home/ftp")
pisitools.dodir("/home/ftp/incoming")
pisitools.dodir("/usr/share/vsftpd/empty")
pisitools.dodir("/var/log/vsftpd")
pisitools.newdoc("vsftpd.conf", "vsftpd.conf.example")
pisitools.doman("vsftpd.conf.5", "vsftpd.8")
pisitools.insinto("/usr/share/doc/%s" % get.srcNAME(), "SECURITY")
pisitools.insinto("/usr/share/doc/%s" % get.srcNAME(), "EXAMPLE")
pisitools.dodoc("AUDIT", "BENCHMARKS", "BUGS", "Changelog", "FAQ",\
"LICENSE", "README*", "REFS", "REWARD", "SIZE", \
"SPEED", "TODO", "TUNING")
+7
View File
@@ -0,0 +1,7 @@
#!/usr/bin/python
import os
def postInstall(fromVersion, fromRelease, toVersion, toRelease):
os.system("/bin/chmod 722 /home/ftp/incoming")
os.system("/bin/chown ftp:ftp /home/ftp/incoming -R")
+22
View File
@@ -0,0 +1,22 @@
# -*- coding: utf-8 -*-
from comar.service import *
serviceType = "server"
serviceDesc = _({"en": "vsFTP Server",
"tr": "vsFTP Sunucusu"})
@synchronized
def start():
startService(command="/usr/sbin/vsftpd",
args="/etc/vsftpd/vsftpd.conf",
detach=True,
donotify=True)
@synchronized
def stop():
stopService(command="/usr/sbin/vsftpd",
donotify=True)
def status():
return isServiceRunning(command="/usr/sbin/vsftpd")
+8
View File
@@ -0,0 +1,8 @@
#%PAM-1.0
session optional pam_keyinit.so force revoke
auth required pam_listfile.so item=user sense=deny file=/etc/vsftpd/ftpusers onerr=succeed
auth required pam_shells.so
auth include system-auth
account include system-auth
session include system-auth
session required pam_loginuid.so
+35
View File
@@ -0,0 +1,35 @@
# /etc/ftpusers: list of users disallowed FTP access
halt
operator
root
shutdown
sync
bin
daemon
adm
lp
mail
postmaster
news
uucp
man
games
at
cron
www
named
squid
gdm
mysql
postgres
guest
nobody
alias
qmaild
qmaill
qmailp
qmailq
qmailr
qmails
postfix
@@ -0,0 +1,454 @@
Index: vsftpd-2.3.2/defs.h
===================================================================
--- vsftpd-2.3.2.orig/defs.h
+++ vsftpd-2.3.2/defs.h
@@ -1,7 +1,7 @@
#ifndef VSF_DEFS_H
#define VSF_DEFS_H
-#define VSFTP_DEFAULT_CONFIG "/etc/vsftpd.conf"
+#define VSFTP_DEFAULT_CONFIG "/etc/vsftpd/vsftpd.conf"
#define VSFTP_COMMAND_FD 0
Index: vsftpd-2.3.2/EXAMPLE/INTERNET_SITE_NOINETD/README
===================================================================
--- vsftpd-2.3.2.orig/EXAMPLE/INTERNET_SITE_NOINETD/README
+++ vsftpd-2.3.2/EXAMPLE/INTERNET_SITE_NOINETD/README
@@ -17,7 +17,7 @@ even per-connect-IP configurability.
To use this example config:
-1) Copy the vsftpd.conf file in this directory to /etc/vsftpd.conf.
+1) Copy the vsftpd.conf file in this directory to /etc/vsftpd/vsftpd.conf.
2) Start up vsftpd, e.g.
vsftpd &
@@ -51,5 +51,5 @@ in the vsftpd.conf:
listen_address=192.168.1.2
And launch vsftpd with a specific config file like this:
-vsftpd /etc/vsftpd.conf.site1 &
+vsftpd /etc/vsftpd/vsftpd.conf.site1 &
Index: vsftpd-2.3.2/EXAMPLE/INTERNET_SITE/README
===================================================================
--- vsftpd-2.3.2.orig/EXAMPLE/INTERNET_SITE/README
+++ vsftpd-2.3.2/EXAMPLE/INTERNET_SITE/README
@@ -41,13 +41,13 @@ no_access = 192.168.1.3
As an example of how to ban certain sites from connecting, 192.168.1.3 will
be denied access.
-banner_fail = /etc/vsftpd.busy_banner
+banner_fail = /etc/vsftpd/busy_banner
This is the file to display to users if the connection is refused for whatever
reason (too many users, IP banned).
Example of how to populate it:
-echo "421 Server busy, please try later." > /etc/vsftpd.busy_banner
+echo "421 Server busy, please try later." > /etc/vsftpd/busy_banner
log_on_success += PID HOST DURATION
log_on_failure += HOST
@@ -62,7 +62,7 @@ Step 2) Set up your vsftpd configuration
An example file is supplied. Install it like this:
-cp vsftpd.conf /etc
+cp vsftpd.conf /etc/vsftpd
Let's example the contents of the file:
Index: vsftpd-2.3.2/EXAMPLE/PER_IP_CONFIG/README
===================================================================
--- vsftpd-2.3.2.orig/EXAMPLE/PER_IP_CONFIG/README
+++ vsftpd-2.3.2/EXAMPLE/PER_IP_CONFIG/README
@@ -20,12 +20,12 @@ directory: hosts.allow. It lives at /etc
Let's have a look at the example:
-vsftpd: 192.168.1.3: setenv VSFTPD_LOAD_CONF /etc/vsftpd_tcp_wrap.conf
+vsftpd: 192.168.1.3: setenv VSFTPD_LOAD_CONF /etc/vsftpd/tcp_wrap.conf
vsftpd: 192.168.1.4: DENY
The first line:
If a client connects from 192.168.1.3, then vsftpd will apply the vsftpd
-config file /etc/vsftpd_tcp_wrap.conf to the session! These settings are
+config file /etc/vsftpd/tcp_wrap.conf to the session! These settings are
applied ON TOP of the default vsftpd.conf.
This is obviously very powerful. You might use this to apply different
access restrictions for some IPs (e.g. the ability to upload).
Index: vsftpd-2.3.2/EXAMPLE/VIRTUAL_USERS/README
===================================================================
--- vsftpd-2.3.2.orig/EXAMPLE/VIRTUAL_USERS/README
+++ vsftpd-2.3.2/EXAMPLE/VIRTUAL_USERS/README
@@ -15,7 +15,7 @@ See example file "logins.txt" - this spe
"fred" with password "bar".
Whilst logged in as root, create the actual database file like this:
-db_load -T -t hash -f logins.txt /etc/vsftpd_login.db
+db_load -T -t hash -f logins.txt /etc/vsftpd/login.db
(Requires the Berkeley db program installed).
NOTE: Many systems have multiple versions of "db" installed, so you may
need to use e.g. db3_load for correct operation. This is known to affect
@@ -23,10 +23,10 @@ some Debian systems. The core issue is t
database to be a specific db version (often db3, whereas db4 may be installed
on your system).
-This will create /etc/vsftpd_login.db. Obviously, you may want to make sure
+This will create /etc/vsftpd/login.db. Obviously, you may want to make sure
the permissions are restricted:
-chmod 600 /etc/vsftpd_login.db
+chmod 600 /etc/vsftpd/login.db
For more information on maintaing your login database, look around for
documentation on "Berkeley DB", e.g.
@@ -37,8 +37,8 @@ Step 2) Create a PAM file which uses you
See the example file vsftpd.pam. It contains two lines:
-auth required /lib/security/pam_userdb.so db=/etc/vsftpd_login
-account required /lib/security/pam_userdb.so db=/etc/vsftpd_login
+auth required /lib/security/pam_userdb.so db=/etc/vsftpd/login
+account required /lib/security/pam_userdb.so db=/etc/vsftpd/login
This tells PAM to authenticate users using our new database. Copy this PAM
file to the PAM directory - typically /etc/pam.d/
@@ -108,9 +108,9 @@ pasv_max_port=30999
These put a port range on passive FTP incoming requests - very useful if
you are configuring a firewall.
-Copy the example vsftpd.conf file to /etc:
+Copy the example vsftpd.conf file to /etc/vsftpd:
-cp vsftpd.conf /etc/
+cp vsftpd.conf /etc/vsftpd/
Step 5) Start up vsftpd.
Index: vsftpd-2.3.2/FAQ
===================================================================
--- vsftpd-2.3.2.orig/FAQ
+++ vsftpd-2.3.2/FAQ
@@ -34,7 +34,7 @@ needs this user to run bits of itself wi
Q) Help! Local users cannot log in.
A) There are various possible problems.
A1) By default, vsftpd disables any logins other than anonymous logins. Put
-local_enable=YES in your /etc/vsftpd.conf to allow local users to log in.
+local_enable=YES in your /etc/vsftpd/vsftpd.conf to allow local users to log in.
A2) vsftpd tries to link with PAM. (Run "ldd vsftpd" and look for libpam to
find out whether this has happened or not). If vsftpd links with PAM, then
you will need to have a PAM file installed for the vsftpd service. There is
@@ -46,12 +46,12 @@ system have a "shadow.h" file in the inc
A4) If you are not using PAM, then vsftpd will do its own check for a valid
user shell in /etc/shells. You may need to disable this if you use an invalid
shell to disable logins other than FTP logins. Put check_shell=NO in your
-/etc/vsftpd.conf.
+/etc/vsftpd/vsftpd.conf.
Q) Help! Uploads or other write commands give me "500 Unknown command.".
A) By default, write commands, including uploads and new directories, are
disabled. This is a security measure. To enable writes, put write_enable=YES
-in your /etc/vsftpd.conf.
+in your /etc/vsftpd/vsftpd.conf.
Q) Help! What are the security implications referred to in the
"chroot_local_user" option?
@@ -87,7 +87,7 @@ A2) Alternatively, run as many copies as
mode. Use "listen_address=x.x.x.x" to set the virtual IP.
Q) Help! Does vsftpd support virtual users?
-A) Yes, via PAM integration. Set "guest_enable=YES" in /etc/vsftpd.conf. This
+A) Yes, via PAM integration. Set "guest_enable=YES" in /etc/vsftpd/vsftpd.conf. This
has the effect of mapping every non-anonymous successful login to the local
username specified in "guest_username". Then, use PAM and (e.g.) its pam_userdb
module to provide authentication against an external (i.e. non-/etc/passwd)
Index: vsftpd-2.3.2/INSTALL
===================================================================
--- vsftpd-2.3.2.orig/INSTALL
+++ vsftpd-2.3.2/INSTALL
@@ -56,14 +56,14 @@ cp vsftpd.8 /usr/local/man/man8
"make install" doesn't copy the sample config file. It is recommended you
do this:
-cp vsftpd.conf /etc
+cp vsftpd.conf /etc/vsftpd
Step 4) Smoke test (without an inetd).
vsftpd can run standalone or via an inetd (such as inetd or xinetd). You will
typically get more control running vsftpd from an inetd. But first we will run
it without, so we can check things are going well so far.
-Edit /etc/vsftpd.conf, and add this line at the bottom:
+Edit /etc/vsftpd/vsftpd.conf, and add this line at the bottom:
listen=YES
@@ -135,11 +135,11 @@ cp RedHat/vsftpd.pam /etc/pam.d/ftp
Step 7) Customize your configuration
As well as the above three pre-requisites, you are recommended to install a
-config file. The default location for the config file is /etc/vsftpd.conf.
+config file. The default location for the config file is /etc/vsftpd/vsftpd.conf.
There is a sample vsftpd.conf in the distribution tarball. You probably want
-to copy that to /etc/vsftpd.conf as a basis for modification, i.e.:
+to copy that to /etc/vsftpd/vsftpd.conf as a basis for modification, i.e.:
-cp vsftpd.conf /etc
+cp vsftpd.conf /etc/vsftpd
The default configuration allows neither local user logins nor anonymous
uploads. You may wish to change these defaults.
Index: vsftpd-2.3.2/README
===================================================================
--- vsftpd-2.3.2.orig/README
+++ vsftpd-2.3.2/README
@@ -37,3 +37,8 @@ All configuration options are documented
Various example configurations are discussed in the EXAMPLE directory.
Frequently asked questions are tackled in the FAQ file.
+Important Note
+==============
+The location of configuration files was changed to /etc/vsftpd/. If you want
+to migrate your old conf files from /etc (files vsftpd.xxxx.rpmsave) use
+/etc/vsfptd/vsftpd_conf_migrate.sh
Index: vsftpd-2.3.2/tunables.c
===================================================================
--- vsftpd-2.3.2.orig/tunables.c
+++ vsftpd-2.3.2/tunables.c
@@ -188,7 +188,7 @@ tunables_load_defaults()
tunable_listen_ipv6 = 0;
tunable_dual_log_enable = 0;
tunable_syslog_enable = 0;
- tunable_background = 0;
+ tunable_background = 1;
tunable_virtual_use_local_privs = 0;
tunable_session_support = 0;
tunable_download_enable = 1;
@@ -258,11 +258,11 @@ tunables_load_defaults()
install_str_setting(".message", &tunable_message_file);
install_str_setting("nobody", &tunable_nopriv_user);
install_str_setting(0, &tunable_ftpd_banner);
- install_str_setting("/etc/vsftpd.banned_emails", &tunable_banned_email_file);
- install_str_setting("/etc/vsftpd.chroot_list", &tunable_chroot_list_file);
+ install_str_setting("/etc/vsftpd/banned_emails", &tunable_banned_email_file);
+ install_str_setting("/etc/vsftpd/chroot_list", &tunable_chroot_list_file);
install_str_setting("ftp", &tunable_pam_service_name);
install_str_setting("ftp", &tunable_guest_username);
- install_str_setting("/etc/vsftpd.user_list", &tunable_userlist_file);
+ install_str_setting("/etc/vsftpd/user_list", &tunable_userlist_file);
install_str_setting(0, &tunable_anon_root);
install_str_setting(0, &tunable_local_root);
install_str_setting(0, &tunable_banner_file);
@@ -275,7 +275,7 @@ tunables_load_defaults()
install_str_setting(0, &tunable_hide_file);
install_str_setting(0, &tunable_deny_file);
install_str_setting(0, &tunable_user_sub_token);
- install_str_setting("/etc/vsftpd.email_passwords",
+ install_str_setting("/etc/vsftpd/email_passwords",
&tunable_email_password_file);
install_str_setting("/usr/share/ssl/certs/vsftpd.pem",
&tunable_rsa_cert_file);
Index: vsftpd-2.3.2/vsftpd.8
===================================================================
--- vsftpd-2.3.2.orig/vsftpd.8
+++ vsftpd-2.3.2/vsftpd.8
@@ -21,7 +21,7 @@ itself will listen on the network. This
recommended. It is activated by setting
.Pa listen=YES
in
-.Pa /etc/vsftpd.conf .
+.Pa /etc/vsftpd/vsftpd.conf .
Direct execution of the
.Nm vsftpd
binary will then launch the FTP service ready for immediate client connections.
@@ -33,7 +33,7 @@ as root. Any command line option not sta
as a config file that will be loaded. Note that config files are loaded in the
strict order that they are encountered on the command line.
If no config files are specified, the default configuration file of
-.Pa /etc/vsftpd.conf
+.Pa /etc/vsftpd/vsftpd.conf
will be loaded, after all other command line options are processed.
.Pp
Supported options are:
@@ -47,14 +47,14 @@ their appearance on the command line, in
config files.
.El
.Sh EXAMPLES
-vsftpd -olisten=NO /etc/vsftpd.conf -oftpd_banner=blah
+vsftpd -olisten=NO /etc/vsftpd/vsftpd.conf -oftpd_banner=blah
.Pp
That example overrides vsftpd's built-in default for the "listen" option to be
-NO, but then loads /etc/vsftpd.conf which may override that setting. Finally,
+NO, but then loads /etc/vsftpd/vsftpd.conf which may override that setting. Finally,
the "ftpd_banner" setting is set to "blah", which overrides any default vsftpd
setting and any identical setting that was in the config file.
.Sh FILES
-.Pa /etc/vsftpd.conf
+.Pa /etc/vsftpd/vsftpd.conf
.Sh SEE ALSO
.Xr vsftpd.conf 5
.end
Index: vsftpd-2.3.2/vsftpd.conf.5
===================================================================
--- vsftpd-2.3.2.orig/vsftpd.conf.5
+++ vsftpd-2.3.2/vsftpd.conf.5
@@ -4,7 +4,7 @@ vsftpd.conf \- config file for vsftpd
.SH DESCRIPTION
vsftpd.conf may be used to control various aspects of vsftpd's behaviour. By
default, vsftpd looks for this file at the location
-.BR /etc/vsftpd.conf .
+.BR /etc/vsftpd/vsftpd.conf .
However, you may override this by specifying a command line argument to
vsftpd. The command line argument is the pathname of the configuration file
for vsftpd. This behaviour is useful because you may wish to use an advanced
@@ -110,7 +110,7 @@ When enabled, and vsftpd is started in "
the listener process. i.e. control will immediately be returned to the shell
which launched vsftpd.
-Default: NO
+Default: YES
.TP
.B check_shell
Note! This option only has an effect for non-PAM builds of vsftpd. If disabled,
@@ -138,7 +138,7 @@ chroot() jail in their home directory up
different if chroot_local_user is set to YES. In this case, the list becomes
a list of users which are NOT to be placed in a chroot() jail.
By default, the file containing this list is
-/etc/vsftpd.chroot_list, but you may override this with the
+/etc/vsftpd/chroot_list, but you may override this with the
.BR chroot_list_file
setting.
@@ -177,7 +177,7 @@ Default: NO
.B deny_email_enable
If activated, you may provide a list of anonymous password e-mail responses
which cause login to be denied. By default, the file containing this list is
-/etc/vsftpd.banned_emails, but you may override this with the
+/etc/vsftpd/banned_emails, but you may override this with the
.BR banned_email_file
setting.
@@ -433,7 +433,7 @@ anonymous logins are prevented unless th
file specified by the
.BR email_password_file
setting. The file format is one password per line, no extra whitespace. The
-default filename is /etc/vsftpd.email_passwords.
+default filename is /etc/vsftpd/email_passwords.
Default: NO
.TP
@@ -764,7 +764,7 @@ passwords which are not permitted. This
.BR deny_email_enable
is enabled.
-Default: /etc/vsftpd.banned_emails
+Default: /etc/vsftpd/banned_emails
.TP
.B banner_file
This option is the name of a file containing text to display when someone
@@ -803,7 +803,7 @@ is enabled. If the option
is enabled, then the list file becomes a list of users to NOT place in a
chroot() jail.
-Default: /etc/vsftpd.chroot_list
+Default: /etvsftpd.confc/vsftpd.chroot_list
.TP
.B cmds_allowed
This options specifies a comma separated list of allowed FTP commands (post
@@ -864,7 +864,7 @@ This option can be used to provide an al
.BR secure_email_list_enable
setting.
-Default: /etc/vsftpd.email_passwords
+Default: /etc/vsftpd/email_passwords
.TP
.B ftp_username
This is the name of the user we use for handling anonymous FTP. The home
@@ -987,10 +987,10 @@ the manual page, on a per-user basis. Us
with an example. If you set
.BR user_config_dir
to be
-.BR /etc/vsftpd_user_conf
+.BR /etc/vsftpd/user_conf
and then log on as the user "chris", then vsftpd will apply the settings in
the file
-.BR /etc/vsftpd_user_conf/chris
+.BR /etc/vsftpd/user_conf/chris
for the duration of the session. The format of this file is as detailed in
this manual page! PLEASE NOTE that not all settings are effective on a
per-user basis. For example, many settings only prior to the user's session
@@ -1026,7 +1026,7 @@ This option is the name of the file load
.BR userlist_enable
option is active.
-Default: /etc/vsftpd.user_list
+Default: /etc/vsftpd/user_list
.TP
.B vsftpd_log_file
This option is the name of the file to which we write the vsftpd style
Index: vsftpd-2.3.2/vsftpd.conf
===================================================================
--- vsftpd-2.3.2.orig/vsftpd.conf
+++ vsftpd-2.3.2/vsftpd.conf
@@ -1,4 +1,4 @@
-# Example config file /etc/vsftpd.conf
+# Example config file /etc/vsftpd/vsftpd.conf
#
# The default compiled in settings are fairly paranoid. This sample file
# loosens things up a bit, to make the ftp daemon more usable.
@@ -12,14 +12,14 @@
anonymous_enable=YES
#
# Uncomment this to allow local users to log in.
-#local_enable=YES
+local_enable=YES
#
# Uncomment this to enable any form of FTP write command.
-#write_enable=YES
+write_enable=YES
#
# Default umask for local users is 077. You may wish to change this to 022,
# if your users expect that (022 is used by most other ftpd's)
-#local_umask=022
+local_umask=022
#
# Uncomment this to allow the anonymous FTP user to upload files. This only
# has an effect if the above global write enable is activated. Also, you will
@@ -52,7 +52,7 @@ connect_from_port_20=YES
#
# If you want, you can have your log file in standard ftpd xferlog format.
# Note that the default log file location is /var/log/xferlog in this case.
-#xferlog_std_format=YES
+xferlog_std_format=YES
#
# You may change the default value for timing out an idle session.
#idle_session_timeout=600
@@ -87,7 +87,7 @@ connect_from_port_20=YES
# useful for combatting certain DoS attacks.
#deny_email_enable=YES
# (default follows)
-#banned_email_file=/etc/vsftpd.banned_emails
+#banned_email_file=/etc/vsftpd/banned_emails
#
# You may specify an explicit list of local users to chroot() to their home
# directory. If chroot_local_user is YES, then this list becomes a list of
@@ -95,7 +95,7 @@ connect_from_port_20=YES
#chroot_local_user=YES
#chroot_list_enable=YES
# (default follows)
-#chroot_list_file=/etc/vsftpd.chroot_list
+#chroot_list_file=/etc/vsftpd/chroot_list
#
# You may activate the "-R" option to the builtin ls. This is disabled by
# default to avoid remote users being able to cause excessive I/O on large
@@ -112,3 +112,7 @@ listen=YES
# sockets, you must run two copies of vsftpd with two configuration files.
# Make sure, that one of the listen options is commented !!
#listen_ipv6=YES
+
+pam_service_name=vsftpd
+userlist_enable=YES
+tcp_wrappers=YES
+45
View File
@@ -0,0 +1,45 @@
# Stand alone
listen=YES
max_clients=200
max_per_ip=4
# Access rights
# For PiSiLinux-desktop, anon users can upload a file but can't create a directory
anonymous_enable=YES
anon_upload_enable=YES
anon_mkdir_write_enable=NO
anon_other_write_enable=NO
# enable local users to login
local_enable=YES
# enable write on disk
write_enable=YES
# Security
# anon users can read any file in /home/ftp
anon_world_readable_only=NO
# chown uploaded files which are uploaded by anonym
chown_uploads=YES
chown_username=ftp
# jail local users
chroot_local_user=YES
connect_from_port_20=YES
hide_ids=YES
pasv_min_port=50000
pasv_max_port=60000
secure_chroot_dir=/usr/share/vsftpd/empty
# Preferrences
xferlog_enable=YES
ls_recurse_enable=NO
ascii_download_enable=NO
async_abor_enable=YES
ftpd_banner=Welcome to PiSiLinux FTP service
dirmessage_enable=YES
# Performance
idle_session_timeout=120
data_connection_timeout=300
accept_timeout=60
connect_timeout=60
+57
View File
@@ -0,0 +1,57 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>vsftpd</Name>
<Homepage>http://vsftpd.beasts.org/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>service</IsA>
<Summary>Very Secure FTP Daemon written with speed, size and security in mind</Summary>
<Description>Vsftpd is a ftp server, mostly focuses on security.</Description>
<Archive sha1sum="d5f5a180dbecd0fbcdc92bf0ba2fc001c962b55a" type="targz">https://security.appspot.com/downloads/vsftpd-3.0.3.tar.gz</Archive>
<Patches>
<Patch level="1">vsftpd-pisilinux.patch</Patch>
</Patches>
</Source>
<Package>
<Name>vsftpd</Name>
<RuntimeDependencies>
<Dependency>pam</Dependency>
<Dependency>libcap</Dependency>
<Dependency>openssl</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="config">/etc</Path>
<Path fileType="executable">/usr/sbin</Path>
<Path fileType="data">/home/ftp</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="data">/usr/share/vsftpd/empty</Path>
<Path fileType="data">/var/log/vsftpd</Path>
</Files>
<AdditionalFiles>
<AdditionalFile owner="root" permission="0644" target="/etc/pam.d/ftp">ftp-pamd</AdditionalFile>
<AdditionalFile owner="root" permission="0644" target="/etc/vsftpd/vsftpd.conf">vsftpd.conf</AdditionalFile>
<AdditionalFile owner="root" permission="0644" target="/etc/vsftpd/ftpusers">ftpusers</AdditionalFile>
</AdditionalFiles>
<Provides>
<COMAR script="package.py">System.Package</COMAR>
<COMAR script="service.py">System.Service</COMAR>
</Provides>
</Package>
<History>
<Update release="1">
<Date>2016-11-22</Date>
<Version>3.0.3</Version>
<Comment>First Release.</Comment>
<Name>Stefan Gronewold(groni)</Name>
<Email>groni@pisilinux.org</Email>
</Update>
</History>
</PISI>
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>vsftpd</Name>
<Summary xml:lang="tr">Hızlı, küçük ve ileri derecede güvenli bir ftp sunucusu</Summary>
<Description xml:lang="tr">Vsftpd güvenlik odaklı bir ftp sunucu yazılımıdır.</Description>
</Source>
</PISI>
+245
View File
@@ -24810,6 +24810,47 @@
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>python3-markups</Name>
<Homepage>https://github.com/retext-project/pymarkups</Homepage>
<Packager>
<Name>Stefan Gronewold</Name>
<Email>groni@pisilinux.org</Email>
</Packager>
<License>BSD</License>
<PartOf>programming.language.python3</PartOf>
<Summary xml:lang="en">Wrapper around various text markups</Summary>
<Description xml:lang="en">Wrapper around various text markups</Description>
<Archive type="targz" sha1sum="76257bca8a4d9cc504fb1fe040fd353a1248b743">https://pypi.python.org/packages/d4/32/642bd580c577af37b00a1eb59b0eaa996f2d11dfe394f3dd0c7a8a2de81a/Markdown-2.6.7.tar.gz</Archive>
<BuildDependencies>
<Dependency>python3-devel</Dependency>
<Dependency>python3-setuptools</Dependency>
</BuildDependencies>
<SourceURI>programming/language/python3/python3-markups/pspec.xml</SourceURI>
</Source>
<Package>
<Name>python3-markups</Name>
<Summary xml:lang="en">Wrapper around various text markups</Summary>
<RuntimeDependencies>
<Dependency>python3</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2016-11-21</Date>
<Version>2.6.7</Version>
<Comment>First Release</Comment>
<Name>Stefan Gronewold</Name>
<Email>groni@pisilinux.org</Email>
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>ruby</Name>
@@ -95339,6 +95380,83 @@ Bu Skype SILK codec ve Xiph.Org &apos;s Celt codec teknolojisi dahil RFC 6716 ol
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>portmidi</Name>
<Homepage>http://portmedia.sourceforge.net</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2+</License>
<IsA>library</IsA>
<IsA>app:console</IsA>
<PartOf>multimedia.sound</PartOf>
<Summary xml:lang="en">Real-time MIDI I/O library</Summary>
<Summary xml:lang="tr">Gerçek zamanlı MIDI G/Ç kitaplığı</Summary>
<Description xml:lang="en">PortMedia is a set of simple clean APIs and cross-platform library implementations for music and other media. PortMidi sub-project provides a real-time MIDI input/output library. This package contains the PortMidi libraries.</Description>
<Description xml:lang="tr">portmidi, PortMedia projesinin gerçek zamanlı MIDI girdi/çıktı kitaplığıdır.</Description>
<Archive type="zip" sha1sum="f45bf4e247c0d7617deacd6a65d23d9fddae6117">mirrors://sourceforge/portmedia/portmidi-src-217.zip</Archive>
<AdditionalFiles>
<AdditionalFile target="build-pyportmidi" permission="0755">build-pyportmidi</AdditionalFile>
</AdditionalFiles>
<BuildDependencies>
<Dependency>python-devel</Dependency>
<Dependency>jdk7-openjdk</Dependency>
<Dependency>alsa-lib-devel</Dependency>
<Dependency>cmake</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">portmidi-cmake.patch</Patch>
</Patches>
<SourceURI>multimedia/sound/portmidi/pspec.xml</SourceURI>
</Source>
<Package>
<Name>portmidi</Name>
<RuntimeDependencies>
<Dependency>alsa-lib</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>python-portmidi</Name>
<Summary xml:lang="en">Python bindings for portmidi</Summary>
<Summary xml:lang="tr">portmidi için python bağlayıcısı</Summary>
<PartOf>programming.language.python</PartOf>
<RuntimeDependencies>
<Dependency>python</Dependency>
<Dependency release="1">portmidi</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/python*</Path>
</Files>
</Package>
<Package>
<Name>portmidi-devel</Name>
<Summary xml:lang="en">Development files for portmidi</Summary>
<Summary xml:lang="tr">portmidi için geliştirme dosyaları</Summary>
<RuntimeDependencies>
<Dependency release="1">portmidi</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="man">/usr/share/man/man3</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2016-11-21</Date>
<Version>217</Version>
<Comment>First Release</Comment>
<Name>Stefan Gronewold</Name>
<Email>groni@pisilinux.org</Email>
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>audiofile</Name>
@@ -117084,6 +117202,133 @@ uses SIMD instructions (MMX, SSE2, etc.) to accelerate baseline JPEG compression
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>vsftpd</Name>
<Homepage>http://vsftpd.beasts.org/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>service</IsA>
<PartOf>network.ftp</PartOf>
<Summary xml:lang="en">Very Secure FTP Daemon written with speed, size and security in mind</Summary>
<Summary xml:lang="tr">Hızlı, küçük ve ileri derecede güvenli bir ftp sunucusu</Summary>
<Description xml:lang="en">Vsftpd is a ftp server, mostly focuses on security.</Description>
<Description xml:lang="tr">Vsftpd güvenlik odaklı bir ftp sunucu yazılımıdır.</Description>
<Archive type="targz" sha1sum="d5f5a180dbecd0fbcdc92bf0ba2fc001c962b55a">https://security.appspot.com/downloads/vsftpd-3.0.3.tar.gz</Archive>
<Patches>
<Patch level="1">vsftpd-pisilinux.patch</Patch>
</Patches>
<SourceURI>network/ftp/vsftpd/pspec.xml</SourceURI>
</Source>
<Package>
<Name>vsftpd</Name>
<RuntimeDependencies>
<Dependency>pam</Dependency>
<Dependency>libcap</Dependency>
<Dependency>openssl</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="config">/etc</Path>
<Path fileType="executable">/usr/sbin</Path>
<Path fileType="data">/home/ftp</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="data">/usr/share/vsftpd/empty</Path>
<Path fileType="data">/var/log/vsftpd</Path>
</Files>
<Provides>
<COMAR script="package.py">System.Package</COMAR>
<COMAR script="service.py">System.Service</COMAR>
</Provides>
<AdditionalFiles>
<AdditionalFile target="/etc/pam.d/ftp" permission="0644" owner="root">ftp-pamd</AdditionalFile>
<AdditionalFile target="/etc/vsftpd/vsftpd.conf" permission="0644" owner="root">vsftpd.conf</AdditionalFile>
<AdditionalFile target="/etc/vsftpd/ftpusers" permission="0644" owner="root">ftpusers</AdditionalFile>
</AdditionalFiles>
</Package>
<History>
<Update release="1">
<Date>2016-11-22</Date>
<Version>3.0.3</Version>
<Comment>First Release.</Comment>
<Name>Stefan Gronewold(groni)</Name>
<Email>groni@pisilinux.org</Email>
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>lftp</Name>
<Homepage>http://lftp.yar.ru/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv3</License>
<IsA>app:console</IsA>
<PartOf>network.ftp</PartOf>
<Summary xml:lang="en">Command line FTP client</Summary>
<Summary xml:lang="tr">Komut satırı FTP istemcisi</Summary>
<Description xml:lang="en">LFTP is sophisticated file transfer program with command line interface. It supports FTP, HTTP, FISH, SFTP, HTTPS and FTPS protocols. It has bookmarks, built-in mirror, can transfer several files in parallel. It was designed with reliability in mind.</Description>
<Description xml:lang="tr">LFTP komut satırı arayüzüne sahip gelişmiş bir dosya aktarım programıdır. FTP, HTTP, FISH, SFTP, HTTPS ve FTPS protokollerini destekler. Yer imleri, yansılama, paralel olarak birçok dosya transfer etme özellikleri bulunuyor. Güvenirlik esas alınarak tasarlandı.</Description>
<Icon>lftp</Icon>
<Archive type="tarxz" sha1sum="d15de1efa38111edc60b8d5e3d9ea8f41e842367">http://lftp.tech/ftp/lftp-4.7.4.tar.xz</Archive>
<BuildDependencies>
<Dependency>gnutls-devel</Dependency>
<Dependency>flex</Dependency>
<Dependency>bison</Dependency>
<Dependency>gcc</Dependency>
<Dependency>gettext-devel</Dependency>
<Dependency>libtool</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>ncurses-devel</Dependency>
<Dependency>expat-devel</Dependency>
<Dependency>libidn-devel</Dependency>
<Dependency>readline-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">config-dns-inet6_before_inet.patch</Patch>
<Patch level="1">lftp_sys-stdint-kfreebsd.patch</Patch>
</Patches>
<SourceURI>network/ftp/lftp/pspec.xml</SourceURI>
</Source>
<Package>
<Name>lftp</Name>
<RuntimeDependencies>
<Dependency>zlib</Dependency>
<Dependency>expat</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>libidn</Dependency>
<Dependency>ncurses</Dependency>
<Dependency>readline</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="config">/etc</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc/lftp</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="localedata">/usr/share/locale</Path>
<Path fileType="data">/usr/share/lftp</Path>
<Path fileType="data">/usr/share/pixmaps</Path>
</Files>
<AdditionalFiles>
<AdditionalFile target="/usr/share/pixmaps/lftp.png">lftp.png</AdditionalFile>
</AdditionalFiles>
</Package>
<History>
<Update release="8">
<Date>2016-11-22</Date>
<Version>4.7.4</Version>
<Comment>Version bump.</Comment>
<Name>Stefan Gronewold(groni)</Name>
<Email>groni@pisilinux.org</Email>
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>filezilla</Name>
+1 -1
View File
@@ -1 +1 @@
683b3e5512f3bb64b9015b54e08d26c072688602
a15573ad37e877487c75cf71b97c08ecb93d4dc7
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -1 +1 @@
2205e010e4cd8c1457d9703dde6e6633638d441e
68c0f169afaccd931ef68c9f33515823e98ec148
@@ -0,0 +1,18 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt
from pisi.actionsapi import pythonmodules
from pisi.actionsapi import pisitools
def build():
pythonmodules.compile(pyVer = "3")
def install():
pythonmodules.install(pyVer="3")
pisitools.dodoc("LICENSE.md", "README.md")
@@ -0,0 +1,39 @@
<PISI>
<Source>
<Name>python3-markups</Name>
<Homepage>https://github.com/retext-project/pymarkups</Homepage>
<Packager>
<Name>Stefan Gronewold</Name>
<Email>groni@pisilinux.org</Email>
</Packager>
<License>BSD</License>
<Summary>Wrapper around various text markups</Summary>
<Description>Wrapper around various text markups</Description>
<BuildDependencies>
<Dependency>python3-devel</Dependency>
<Dependency>python3-setuptools</Dependency>
</BuildDependencies>
<Archive sha1sum="76257bca8a4d9cc504fb1fe040fd353a1248b743" type="targz">https://pypi.python.org/packages/d4/32/642bd580c577af37b00a1eb59b0eaa996f2d11dfe394f3dd0c7a8a2de81a/Markdown-2.6.7.tar.gz</Archive>
</Source>
<Package>
<Name>python3-markups</Name>
<Summary>Wrapper around various text markups</Summary>
<RuntimeDependencies>
<Dependency>python3</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2016-11-21</Date>
<Version>2.6.7</Version>
<Comment>First Release</Comment>
<Name>Stefan Gronewold</Name>
<Email>groni@pisilinux.org</Email>
</Update>
</History>
</PISI>