]>
Commit | Line | Data |
---|---|---|
9cec3882 | 1 | Summary: Fake POP3 daemon, delivers same messages to all users |
623c910c | 2 | Summary(pl.UTF-8): Fałszywy demon POP3, dostarczający te same wiadomości do wszystkich |
87654811 | 3 | Name: fakepop |
4 | Version: 8 | |
5 | Release: 0.1 | |
6 | License: GPL | |
1e20237c | 7 | Group: Networking/Daemons/POP3 |
87654811 | 8 | Source0: http://vztech.com.br/public/software/fakepop/%{name}-src-%{version}.tar.gz |
9 | # Source0-md5: 9872ab86c626e44486ffd6016176713c | |
10 | URL: http://vztech.com.br/public/software/fakepop/ | |
b94cbdb0 JB |
11 | BuildRequires: glib2-devel >= 2.0 |
12 | BuildRequires: pkgconfig | |
5025d719 | 13 | Provides: pop3daemon |
87654811 | 14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
15 | ||
16 | %description | |
9cec3882 | 17 | fakepop is a fake POP3 daemon. It returns always the same messages to |
87654811 | 18 | all users, it does not care about usernames and passwords. All |
19 | user/pass combinations are accepted. | |
20 | ||
21 | The main purpose of fakepop is to advice users that your server only | |
9cec3882 | 22 | accepts pop3-ssl and they have wrongly configured pop3 without SSL. |
87654811 | 23 | You can customize messages in /etc/fakepop/ directory to teach your |
24 | users how they should configure their mail clients to use pop3-ssl | |
25 | instead of pop3. | |
26 | ||
9c2adda8 JR |
27 | %description -l pl.UTF-8 |
28 | fakepop to fałszywy demon POP3. Zwraca wszystkim użytkownikom zawsze | |
29 | te same wiadomości, niezależnie od nazw użytkowników i haseł. | |
30 | Wszystkie kombinacje nazw użytkownika i haseł są przyjmowane. | |
9cec3882 | 31 | |
9c2adda8 JR |
32 | Głównym celem fakepop jest doradzenie użytkownikom, że serwer |
33 | przyjmuje wyłącznie połączenia pop3-ssl, a oni mają błędnie | |
34 | skonfigurowane pop3 bez SSL. Komunikaty można zmienić w katalogu | |
35 | /etc/fakepop/, aby pouczyć użytkowników, jak powinni skonfigurować | |
36 | swoje programy pocztowe do używania pop3-ssl zamiast pop3. | |
9cec3882 | 37 | |
87654811 | 38 | %prep |
39 | %setup -q | |
40 | ||
41 | %build | |
42 | %{__make} \ | |
39685293 AG |
43 | CC="%{__cc}" \ |
44 | CFLAGS="%{rpmcflags} -D_GNU_SOURCE `pkg-config --cflags glib-2.0`" | |
87654811 | 45 | |
46 | %install | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | install -d $RPM_BUILD_ROOT%{_sysconfdir}/fakepop | |
50 | install -D fakepop $RPM_BUILD_ROOT%{_sbindir}/in.fakepop | |
51 | install -D in.fakepop.8 $RPM_BUILD_ROOT%{_mandir}/man8/in.fakepop | |
52 | ||
87654811 | 53 | %clean |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | ||
56 | %files | |
57 | %defattr(644,root,root,755) | |
58 | %doc README.* | |
9cec3882 | 59 | %dir %{_sysconfdir}/fakepop |
87654811 | 60 | %attr(755,root,root) %{_sbindir}/* |
9cec3882 | 61 | %{_mandir}/man8/* |