Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
rbi0315:/tmp# cat mysql-common ### Commented entries have reasonable defaults. ### Uncomment to edit them. Section: misc Priority: optional Standards-Version: 3.6.2 Package: mysql-dummy # Version: <enter version here; defaults to 1.0> # Maintainer: Your Name <yourname@example.com> # Pre-Depends: <comma-separated list of packages> # Depends: <comma-separated list of packages> # Recommends: <comma-separated list of packages> # Suggests: <comma-separated list of packages> # Provides: mysqld # Replaces: <comma-separated list of packages> # Architecture: all # Copyright: <copyright file; defaults to GPL2> # Changelog: <changelog file; defaults to a generic changelog> # Readme: <README.Debian file; defaults to a generic one> # Extra-Files: <comma-separated list of additional files for the doc directory> Description: <short description; defaults to some wise words> long description and info . second paragraph rbi0315:/tmp# |
Zitat
Original von blacklondo
http://packages.debian.org/stable/net/pure-ftpd-mysql
Was spricht denn nun eigentlich dagegen dieses Paket herunterzuladen und es mit dpkg zu installieren?
Kann mich mal jemand aufklären?
Zitat
Original von Spitfire
Vielleicht stimmt das "# Provides: mysqld" nicht? Habe es von einem Beispiel hergeleitet (httpd)...
Quellcode |
|
1 2 3 4 |
Package: mysql-dummy Provides: mysqld Conflicts: mysqld Description: A dummy MySQL Package |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
rbi0315:/tmp# apt-get install pure-ftpd-common pure-ftpd-mysql Reading package lists... Done Building dependency tree... Done The following extra packages will be installed: libmysqlclient15off mysql-common Recommended packages: pure-ftpd The following packages will be REMOVED: mysql-dummy The following NEW packages will be installed: libmysqlclient15off mysql-common pure-ftpd-common pure-ftpd-mysql 0 upgraded, 4 newly installed, 1 to remove and 8 not upgraded. Need to get 2168kB of archives. After unpacking 4895kB of additional disk space will be used. Do you want to continue [Y/n]? |
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Spitfire« (22.02.2007, 11:23)
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
$ equivs-control mysql-common $ vim mysql-common Section: misc Priority: optional Standards-Version: 3.6.2 Package: mysql-common Description: foobar bar foo . second paragrapf $ equivs-build mysql-common $ dpkg --install mysql-common_1.0_all.deb $ sudo aptitude install pure-ftpd-common pure-ftpd-mysql |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
rbi0315:/tmp# apt-get install pure-ftpd-common pure-ftpd-mysql Reading package lists... Done Building dependency tree... Done The following extra packages will be installed: libmysqlclient15off mysql-common Recommended packages: pure-ftpd The following NEW packages will be installed: libmysqlclient15off pure-ftpd-common pure-ftpd-mysql The following packages will be upgraded: mysql-common 1 upgraded, 3 newly installed, 0 to remove and 8 not upgraded. Need to get 2005kB/2168kB of archives. After unpacking 4895kB of additional disk space will be used. Do you want to continue [Y/n]? |
Kann ich ja garnicht machen, da ich ein apt-get install ... gemacht habeZitat
Then, configure Pure-FTPd with --with-mysql and your favorite extra gadgets:
./configure --with-mysql --with-cookie --with-throttling --with-ratios
If your MySQL libraries are installed in a special path, you can specify it
like this:
./configure --with-mysql=/opt/mysql
In this example, headers (like mysql.h) will be searched in
/opt/mysql/include and /opt/mysql/include/mysql, while related libraries
will be searched in /opt/mysql/lib and /opt/mysql/lib/mysql .
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 |
220---------- Welcome to Pure-FTPd [privsep] [TLS] ---------- 220-You are user number 1 of 50 allowed. 220-Local time is now 23:46. Server port: 21. 220-This is a private system - No anonymous login 220-IPv6 connections are also welcome on this server. 220 You will be disconnected after 15 minutes of inactivity. USER test 331 User test OK. Password required PASS * 530 Login authentication failed |