Re: pure-ftpd 1.0.46 released!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Vascom schrieb am 2017-07-12 um 10:21:
> I am builded
> it https://koji.fedoraproject.org/koji/taskinfo?taskID=20472651
> You can try this build and check it functionality.
>
> Also I can try tslk with maintainers and may be gone comaintainer.
> Then I will update package in repos.
>
> ср, 12 июл. 2017 г. в 9:11, Petr Pisar <ppisar@xxxxxxxxxx
> <mailto:ppisar@xxxxxxxxxx>>:
>
>     On 2017-07-11, Vascom <vascom2@xxxxxxxxx
>     <mailto:vascom2@xxxxxxxxx>> wrote:
>     > Dominik, are you try communicate with it's maintainers?
>     >
>     Surely they know about it
>     <https://bugzilla.redhat.com/show_bug.cgi?id=1361928> but their
>     package
>     is broken since Fedora 26
>     <https://bugzilla.redhat.com/show_bug.cgi?id=1424112>.
>
>     -- Petr
>     _______________________________________________
>     devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
>     <mailto:devel@xxxxxxxxxxxxxxxxxxxxxxx>
>     To unsubscribe send an email to
>     devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
>     <mailto:devel-leave@xxxxxxxxxxxxxxxxxxxxxxx>
>
>
>
> _______________________________________________
> devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
i have build it about a month :-)
it runs on my fedora 25 without problems

the bug numbers are not valid

------------------------------------------------------------------------------------------------------------------------------
[root@srv-dksoft:]# rpm -qa | grep pure-ftpd
pure-ftpd-1.0.46-6.fc25.20170611.dk.x86_64

-------------------------------------------------------------------------------------------------------------------
[builduser@buildsrv:]$cat pure-ftpd.spec
Name:              pure-ftpd
Version:           1.0.46
Release:           7%{?dist}
Summary:           Lightweight, fast and secure FTP server
Group:             System Environment/Daemons
License:           BSD
URL:               https://www.pureftpd.org/project/pure-ftpd
Source0:           %{name}-%{version}.tar.bz2
Source1:           %{name}.service

Provides:          ftpserver
BuildRequires:     pam-devel
BuildRequires:     perl
BuildRequires:     python
BuildRequires:     libcap-devel
BuildRequires:     mariadb-devel
BuildRequires:     checkpolicy
Requires:          usermode

%description
Pure-FTPd is a fast, production-quality, standard-comformant FTP server,
based upon Troll-FTPd. Unlike other popular FTP servers, it has no known
security flaw, it is really trivial to set up and it is especially designed
for modern Linux and FreeBSD kernels.

%prep
%setup -q


%build
export CFLAGS="%{optflags} -fPIE -fuse-ld=gold -fuse-linker-plugin"
export CXXFLAGS="$CFLAGS"
export FFLAGS="$CFLAGS"
export CC="gcc $CFLAGS"
export LDFLAGS="-Wl,-z,now -Wl,-z,relro -Wl,-z,noexecstack -pie $CFLAGS"
%configure  \
 --sysconfdir=%{_sysconfdir}/%{name} \
 --with-capabilities \
 --with-sendfile \
 --with-paranoidmsg \
 --with-altlog \
 --with-puredb \
 --with-pam \
 --with-throttling \
 --with-virtualhosts \
 --with-virtualchroot \
 --with-diraliases \
 --with-mysql \
 --with-privsep \
 --with-rfc2640 \
 --with-boring \
 --without-inetd \
 --without-sysquotas \
 --without-uploadscript \
 --without-ratios \
 --without-quotas \
 --without-ftpwho \
 --without-implicittls \
 --without-tls \
 --without-ldap \
 --without-pgsql \
 --without-peruserlimits \
 --without-usernames \
 --without-bonjour \
 --without-humor \
 --without-inetd \
 --without-debug
%{__make} %{?_smp_mflags}

%install
make install-strip DESTDIR=%{buildroot}
install -d -m 755 %{buildroot}%{_unitdir}
install -p -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/%{name}.service
install -d -m 755 $RPM_BUILD_ROOT%{_sbindir}
rm %{buildroot}%{_sbindir}/pure-ftpwho
%{buildroot}%{_sbindir}/pure-uploadscript
rm -rf %{buildroot}%{_mandir} %{buildroot}%{_sysconfdir}/%{name}

%post
%systemd_post

%files
%{_bindir}/pure-*
%{_sbindir}/pure-*
%{_unitdir}/%{name}.service

----------------------------------------------------------------------------------------------------------------------------------------------------

[root@srv-dksoft:]# cat /etc/systemd/system/pure-ftpd.service
[Unit]
Description=Pure-FTPd Server

[Service]
Type=forking
ExecStart=/usr/sbin/pure-config.pl /etc/pure-ftpd/pure-ftpd.conf --daemonize
Restart=always
RestartSec=1

PrivateTmp=yes
PrivateDevices=yes
CapabilityBoundingSet=~CAP_NET_ADMIN CAP_SYS_ADMIN CAP_SYS_BOOT
CAP_SYS_MODULE CAP_SYS_PTRACE
RestrictAddressFamilies=AF_LOCAL AF_INET AF_INET6
SystemCallArchitectures=x86-64
SystemCallFilter=~acct modify_ldt add_key adjtimex clock_adjtime
delete_module fanotify_init finit_module get_mempolicy init_module
io_destroy io_getevents iopl ioperm io_setup io_submit io_cancel kcmp
kexec_load keyctl lookup_dcookie mbind migrate_pages mount move_pages
open_by_handle_at perf_event_open pivot_root process_vm_readv
process_vm_writev ptrace remap_file_pages request_key set_mempolicy
swapoff swapon umount2 uselib vmsplice

ReadOnlyDirectories=/etc
ReadOnlyDirectories=/usr
ReadOnlyDirectories=/var/lib

InaccessibleDirectories=-/boot
InaccessibleDirectories=-/media
InaccessibleDirectories=-/root
InaccessibleDirectories=-/etc/dbus-1
InaccessibleDirectories=-/etc/modprobe.d
InaccessibleDirectories=-/etc/modules-load.d
InaccessibleDirectories=-/etc/sysctl.d
InaccessibleDirectories=-/run/console
InaccessibleDirectories=-/run/dbus
InaccessibleDirectories=-/run/lock
InaccessibleDirectories=-/run/mount
InaccessibleDirectories=-/run/systemd/generator
InaccessibleDirectories=-/run/systemd/system
InaccessibleDirectories=-/run/systemd/users
InaccessibleDirectories=-/run/udev
InaccessibleDirectories=-/run/user
InaccessibleDirectories=-/usr/local/scripts
InaccessibleDirectories=-/var/lib/dbus
InaccessibleDirectories=-/var/lib/dnf
InaccessibleDirectories=-/var/lib/rpm
InaccessibleDirectories=-/var/lib/systemd
InaccessibleDirectories=-/var/lib/yum
InaccessibleDirectories=-/var/spool

InaccessibleDirectories=-/etc/httpd
InaccessibleDirectories=-/etc/postfix
InaccessibleDirectories=-/etc/ssh

InaccessibleDirectories=-/data/backup
InaccessibleDirectories=-/data/dokuments/
InaccessibleDirectories=-/data/scripts
InaccessibleDirectories=-/server/vmware

ReadOnlyDirectories=-/data/server/www/www.dk-software.org
ReadOnlyDirectories=-/data/server/www/www.dk-technik.org
ReadOnlyDirectories=-/data/server/www/www.7hirten.at
ReadOnlyDirectories=-/data/server/www/downloads.dk-software.org

ReadOnlyDirectories=-/data/Musik
ReadOnlyDirectories=-/server/Media/Musik
ReadOnlyDirectories=-/data/fileserver/yum-repo
ReadOnlyDirectories=-/data/server/www/samba
ReadOnlyDirectories=-/data/server/www/php71
ReadOnlyDirectories=-/data/server/www/php72
ReadOnlyDirectories=-/data/server/www/httpd
ReadOnlyDirectories=-/data/server/www/dk-software-fc25
ReadOnlyDirectories=-/data/server/www/dk-software-fc26

InaccessibleDirectories=-/data/server/www/mail
InaccessibleDirectories=-/data/server/www/service
InaccessibleDirectories=-/data/server/www/error
InaccessibleDirectories=-/data/server/www/icecast

[Install]
WantedBy=multi-user.target

-- 
Dominik Kucher
A-2130 Mistelbach, Ebendorferstraße 7/2/3
p: +43 (0) 720 511 941
f: +43 (0) 1 34242 289967
m: +43 (0) 676 57 68 677


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux