forked from pool/ipcalc
This commit is contained in:
commit
b531999e5c
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
ipcalc-0.41.tar.gz
Normal file
3
ipcalc-0.41.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:dda9c571ce3369e5b6b06e92790434b54bec1f2b03f1c9df054c0988aa4e2e8a
|
||||||
|
size 21599
|
56
ipcalc.spec
Normal file
56
ipcalc.spec
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
# norootforbuild
|
||||||
|
|
||||||
|
%define _prefix /usr
|
||||||
|
|
||||||
|
Name: ipcalc
|
||||||
|
Version: 0.41
|
||||||
|
Release: 0
|
||||||
|
Summary: IPv4 Address Calculator
|
||||||
|
Source: http://jodies.de/ipcalc-archive/ipcalc-%{version}.tar.gz
|
||||||
|
Patch1: http://jodies.de/ipcalc-archive/patch-queue
|
||||||
|
URL: http://jodies.de/ipcalc
|
||||||
|
Group: Productivity/Networking/System
|
||||||
|
License: GNU General Public License (GPL)
|
||||||
|
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description
|
||||||
|
ipcalc takes an IP address and netmask and calculates the resulting
|
||||||
|
broadcast, network, Cisco wildcard mask, and host range. By giving a
|
||||||
|
second netmask, you can design subnets and supernets. It is also
|
||||||
|
presents the subnetting results as easy-to-understand binary values.
|
||||||
|
|
||||||
|
Enter your netmask(s) in CIDR notation (/25) or dotted decimals
|
||||||
|
(255.255.255.0). Inverse netmasks are recognized. If you omit the
|
||||||
|
netmask ipcalc uses the default netmask for the class of your network.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
%patch1
|
||||||
|
|
||||||
|
%build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%__install -D -m 0755 ipcalc "%{buildroot}%{_bindir}/ipcalc"
|
||||||
|
|
||||||
|
%clean
|
||||||
|
%__rm -rf "%{buildroot}"
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc license changelog contributors
|
||||||
|
%{_bindir}/ipcalc
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sun Nov 18 2007 Pascal Bleser <guru@unixtech.be> 0.41
|
||||||
|
- moved to openSUSE Build Service
|
||||||
|
- added minor patch
|
||||||
|
|
||||||
|
* Sun Oct 22 2006 Pascal Bleser <guru@unixtech.be> 0.41-1
|
||||||
|
- new upstream version
|
||||||
|
- rewrote spec file
|
||||||
|
|
||||||
|
# Local Variables:
|
||||||
|
# mode: rpm-spec
|
||||||
|
# tab-width: 3
|
||||||
|
# End:
|
23
patch-queue
Normal file
23
patch-queue
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
Jahreszahl, Mehrzahl und omit ;-)
|
||||||
|
|
||||||
|
--- ipcalc-0.41 2006-07-27 11:42:31.000000000 +0200
|
||||||
|
+++ ipcalc 2006-07-28 17:05:50.000000000 +0200
|
||||||
|
@@ -2,7 +2,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
# IPv4 Calculator
|
||||||
|
-# Copyright (C) Krischan Jodies 2000 - 2004
|
||||||
|
+# Copyright (C) Krischan Jodies 2000 - 2006
|
||||||
|
# krischan()jodies.de, http://jodies.de/ipcalc
|
||||||
|
#
|
||||||
|
# This program is free software; you can redistribute it and/or modify
|
||||||
|
@@ -1082,7 +1082,7 @@
|
||||||
|
IP Calculator $version
|
||||||
|
|
||||||
|
Enter your netmask(s) in CIDR notation (/25) or dotted decimals (255.255.255.0).
|
||||||
|
-Inverse netmask are recognized. If you mmit the netmask, ipcalc uses the default
|
||||||
|
+Inverse netmasks are recognized. If you omit the netmask, ipcalc uses the default
|
||||||
|
netmask for the class of your network.
|
||||||
|
|
||||||
|
Look at the space between the bits of the addresses: The bits before it are
|
||||||
|
|
Loading…
Reference in New Issue
Block a user