Skip to content

Commit d3593a4

Browse files
author
Bryce Larson
committed
added the copyright and examples from ubuntu to the rpm
1 parent b3eb0f7 commit d3593a4

File tree

6 files changed

+9
-1
lines changed

6 files changed

+9
-1
lines changed

BUILD/sshguard-1.7.1/config.log

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ configure:5009: $? = 0
565565
configure:5026: result: none required
566566
configure:5034: checking for library containing pthread_create
567567
configure:5065: gcc -std=gnu99 -o conftest -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z,relro conftest.c >&5
568-
/tmp/ccHnvhvg.o: In function `main':
568+
/tmp/ccMH0wlu.o: In function `main':
569569
/root/rpmbuild/BUILD/sshguard-1.7.1/conftest.c:38: undefined reference to `pthread_create'
570570
collect2: error: ld returned 1 exit status
571571
configure:5065: $? = 1
1.45 KB
Binary file not shown.
0 Bytes
Binary file not shown.

SOURCES/etc/sshguard/whitelist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# To see more examples, please see
2+
# /usr/share/doc/sshguard/examples/whitelistfile.example
3+
14
# Address blocks in CIDR notation
25
127.0.0.0/8
36
::1/128

SPECS/sshguard.spec

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,14 @@ mkdir -p ${RPM_BUILD_ROOT}/etc/sshguard
3131
mkdir -p ${RPM_BUILD_ROOT}/etc/sysconfig
3232
mkdir -p ${RPM_BUILD_ROOT}/usr/lib/sshguard
3333
mkdir -p ${RPM_BUILD_ROOT}/usr/lib/systemd/system-preset
34+
mkdir -p ${RPM_BUILD_ROOT}/usr/share/doc/sshguard/examples
3435
mkdir -p ${RPM_BUILD_ROOT}/lib/systemd/system
3536
cp -a ${RPM_BUILD_ROOT}/../../SOURCES/etc/sshguard/whitelist ${RPM_BUILD_ROOT}/etc/sshguard/whitelist
3637
cp -a ${RPM_BUILD_ROOT}/../../SOURCES/etc/sysconfig/sshguard ${RPM_BUILD_ROOT}/etc/sysconfig/sshguard
3738
cp -a ${RPM_BUILD_ROOT}/../../SOURCES/usr/lib/sshguard/firewall ${RPM_BUILD_ROOT}/usr/lib/sshguard/firewall
3839
cp -a ${RPM_BUILD_ROOT}/../../SOURCES/usr/lib/systemd/system-preset/00-sshguard.preset ${RPM_BUILD_ROOT}/usr/lib/systemd/system-preset/00-sshguard.preset
40+
cp -a ${RPM_BUILD_ROOT}/../../SOURCES/usr/share/doc/sshguard/examples/whitelistfile.example ${RPM_BUILD_ROOT}/usr/share/doc/sshguard/examples/whitelistfile.example
41+
cp -a ${RPM_BUILD_ROOT}/../../SOURCES/usr/share/doc/sshguard/copyright ${RPM_BUILD_ROOT}/usr/share/doc/sshguard/copyright
3942
cp -a ${RPM_BUILD_ROOT}/../../SOURCES/lib/systemd/system/sshguard.service ${RPM_BUILD_ROOT}/lib/systemd/system/sshguard.service
4043

4144
%files
@@ -50,6 +53,8 @@ cp -a ${RPM_BUILD_ROOT}/../../SOURCES/lib/systemd/system/sshguard.service ${RPM_
5053
/usr/libexec/sshg-logtail
5154
/usr/libexec/sshg-parser
5255
/usr/sbin/sshguard
56+
/usr/share/doc/sshguard/examples/whitelistfile.example
57+
/usr/share/doc/sshguard/copyright
5358
/usr/share/man/man8/sshguard.8.gz
5459

5560
%post

SRPMS/sshguard-1.7.1-1.el7.src.rpm

61 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)